exam questions

Exam Certified Data Engineer Professional All Questions

View all questions & answers for the Certified Data Engineer Professional exam

Exam Certified Data Engineer Professional topic 1 question 115 discussion

Actual exam question from Databricks's Certified Data Engineer Professional
Question #: 115
Topic #: 1
[All Certified Data Engineer Professional Questions]

When using CLI or REST API to get results from jobs with multiple tasks, which statement correctly describes the response structure?

  • A. Each run of a job will have a unique job_id; all tasks within this job will have a unique job_id
  • B. Each run of a job will have a unique job_id; all tasks within this job will have a unique task_id
  • C. Each run of a job will have a unique orchestration_id; all tasks within this job will have a unique run_id
  • D. Each run of a job will have a unique run_id; all tasks within this job will have a unique task_id
  • E. Each run of a job will have a unique run_id; all tasks within this job will also have a unique run_id
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
cales
Highly Voted 2 months, 3 weeks ago
Selected Answer: E
The correct answer is E. https://docs.databricks.com/api/workspace/jobs/getrun You can visit the link and observe the response sample of the API { "job_id": 11223344, "run_id": 455644833, job_id is the unique id of the job. run_id is the unique id of the run Then each task will have its unique run id: "tasks": [ { ... "run_id": 2112892, ...
upvoted 5 times
...
arekm
Most Recent 6 hours ago
Selected Answer: E
E - but between D & E is a play on the words. Still E seems a tiny bit more explicit. The bottom line the run_id attribute of each task within the job will be different.
upvoted 1 times
...
AlejandroU
6 days, 15 hours ago
Selected Answer: E
Answer E. Job Run (run_id): Each execution of a job has a unique run_id for the entire job. Task Run (run_id): For jobs with multiple tasks, each task also gets its own run_id, which is distinct from the job's run_id. This run_id for tasks can be used to retrieve individual task outputs. https://docs.databricks.com/api/workspace/jobs/getrun "tasks: The list of tasks performed by the run. Each task has its own run_id which you can use to call JobsGetOutput to retrieve the run results. "
upvoted 1 times
...
Thameur01
1 month ago
Selected Answer: B
B if the question is about /api/2.1/jobs/get D if the question /api/2.1/jobs/runs/get
upvoted 2 times
...
Thameur01
1 month ago
Selected Answer: D
The question should clearly specify, get jobs or get job run, there differences in response
upvoted 1 times
...
cf56faf
1 month, 3 weeks ago
Selected Answer: D
Must be D.
upvoted 1 times
...
benni_ale
2 months ago
Selected Answer: E
E
upvoted 2 times
...
Kreshu
2 months, 2 weeks ago
Selected Answer: E
Correct answer is E
upvoted 2 times
...
thelio_team
3 months ago
tested answer is E : 'tasks': [{'run_id': *****, 'task_key': '######', ....
upvoted 3 times
...
MDWPartners
7 months, 1 week ago
Selected Answer: D
Seems right
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago