
Answer-first summary for fast verification
Answer: Use POST requests to clone and trigger, and GET for exporting.
To clone a job, you would use a POST request to the `/jobs/clone` endpoint with the job ID in the payload. To trigger a run, another POST request to `/jobs/run-now` with the job ID. For exporting the output, a GET request to `/jobs/runs/get-output` with the run ID. This method follows the standard REST API practices for CRUD operations.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are required to use the Databricks REST API to clone an existing job, trigger a new run of this cloned job, and then export the output of this run. Describe the HTTP requests you would use for each of these tasks, including the necessary headers and payloads. Provide a detailed explanation of each step.
A
Use GET requests to clone and trigger, and POST for exporting.
B
Use POST requests to clone and trigger, and GET for exporting.
C
Use PUT requests for all tasks.
D
Use DELETE requests for cloning and triggering.
No comments yet.