
Answer-first summary for fast verification
Answer: 2, 1, 3
## Explanation The correct order is **C. 2, 1, 3** because: 1. **pip install databricks-cli** (Step 2) - You must first install the Databricks CLI using pip before you can use any databricks commands. 2. **databricks configure -token** (Step 1) - After installation, you need to configure the CLI with authentication (using a token) to connect to your Databricks workspace. 3. **databricks workspace ls $path** (Step 3) - Only after successful installation and configuration can you run workspace commands like listing the contents of a directory. This logical sequence ensures that: - The CLI is available on your system - Authentication is properly set up - You can then execute workspace operations The other options would fail because: - **A (3, 2, 1)**: You can't run databricks commands before installing the CLI - **B (1, 3, 2)**: You can't configure or use the CLI before it's installed - **D (2, 3, 1)**: You can't list workspace contents before configuring authentication
Author: LeetQuiz .
Ultimate access to all questions.
In what order do the following commands need to be run in order to install and configure the Databricks CLI in the Databricks workspace at the location stored in the variable path?
A
3, 2, 1
B
1, 3, 2
C
2, 1, 3
D
2, 3, 1
No comments yet.