
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 modify the configuration, update the parallelism settings in the job settings. 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.
Using the Databricks REST API, describe how you would clone an existing job, modify its configuration to increase parallelism, trigger a new run of this modified job, and then export the output of this run. Provide detailed steps including the necessary HTTP requests, headers, and payloads.
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.