Assuming that the Databricks CLI has been installed and configured correctly, which Databricks CLI command can be used to upload a custom Python Wheel to object storage mounted with the DBFS for use with a production job?
Answer D. The Databricks CLI libraries command is used to manage libraries, including installing custom Python wheels. Specifically, the install subcommand can be used to install a wheel. In contrast, Option B. fs: This command interacts with the Databricks File System (DBFS) to manage files, but it is primarily used for basic file operations (like cp, ls, rm), not specifically for uploading libraries.
this is a bit tricky, question is asked to upload custom Python Wheel, you can use fs command, but since it'll be used in production job, job command might be needed to perform databricks jobs operations?
https://docs.databricks.com/en/dev-tools/cli/commands.html
Answer B is corrent:
"... which Databricks CLI command can be used to upload a custom Python Wheel to object storage mounted with the DBFS ..."
The question asks, how to upload the wheel. Not install it or configure it in a job.
https://docs.databricks.com/en/archive/dev-tools/cli/dbfs-cli.html
The Databricks CLI fs command is used for interacting with the Databricks File System (DBFS). You can use it to put files into DBFS, which includes uploading custom Python Wheels to a directory in DBFS. The fs command has subcommands like cp that can be used to copy files from your local file system to DBFS, which is backed by an object storage mounted with dbutils.fs.mount().
databricks fs cp my_package.whl dbfs:/mnt/my-mount-point/my_package.whl
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
arik90
Highly Voted 6 months, 3 weeks agoAlejandroU
Most Recent 4 months agoarekm
3 months, 2 weeks agoCurious76
7 months, 3 weeks agoojudz08
8 months, 1 week agoSomesh512
8 months, 3 weeks agopetrv
10 months, 3 weeks agoEnduresoul
10 months, 4 weeks agoaragorn_brego
11 months agomouad_attaqi
11 months, 4 weeks agosturcu
12 months agosturcu
12 months ago