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 4 months, 2 weeks agoAlejandroU
Most Recent 1 month, 2 weeks agoarekm
1 month agoCurious76
5 months, 1 week agoojudz08
5 months, 3 weeks agoSomesh512
6 months, 1 week agopetrv
8 months, 1 week agoEnduresoul
8 months, 2 weeks agoaragorn_brego
8 months, 2 weeks agomouad_attaqi
9 months, 2 weeks agosturcu
9 months, 2 weeks agosturcu
9 months, 2 weeks ago