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?
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
8 months agoCurious76
9 months agoojudz08
9 months, 2 weeks agoSomesh512
10 months agopetrv
12 months agoEnduresoul
1 year agoaragorn_brego
1 year agomouad_attaqi
1 year, 1 month agosturcu
1 year, 1 month agosturcu
1 year, 1 month ago