CERTIFIED-DATA-ENGINEER-PROFESSIONAL · Question #75
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…
The correct answer is B. fs. The Databricks CLI 'fs' command (databricks fs) provides file system operations for DBFS (Databricks File System). It supports commands such as 'databricks fs cp' to copy/upload local files to DBFS paths (e.g., dbfs:/mnt/...), 'ls' to list contents, 'rm' to remove files, and…
Question
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?
Options
- Aconfigure
- Bfs
- Cjobs
- Dlibraries
- Eworkspace
How the community answered
(34 responses)- A3% (1)
- B91% (31)
- C6% (2)
Explanation
The Databricks CLI 'fs' command (databricks fs) provides file system operations for DBFS (Databricks File System). It supports commands such as 'databricks fs cp' to copy/upload local files to DBFS paths (e.g., dbfs:/mnt/...), 'ls' to list contents, 'rm' to remove files, and 'mkdirs' to create directories. To upload a custom Python Wheel (.whl file) to a DBFS-mounted object storage path, you would use: databricks fs cp ./my_package.whl dbfs:/path/to/wheels/. Option A (configure) sets up CLI authentication. Option C (jobs) manages job definitions and runs. Option D (libraries) manages cluster library attachments but does not handle file uploads to storage. Option E (workspace) manages Databricks workspace notebooks and folders, not DBFS file storage.
Topics
Community Discussion
No community discussion yet for this question.