Certified Data Engineer Professional Exam QuestionsBrowse all questions from this exam

Certified Data Engineer Professional Exam - Question 48


A data engineer, User A, has promoted a new pipeline to production by using the REST API to programmatically create several jobs. A DevOps engineer, User B, has configured an external orchestration tool to trigger job runs through the REST API. Both users authorized the REST API calls using their personal access tokens.

Which statement describes the contents of the workspace audit logs concerning these events?

Show Answer
Correct Answer: C

When using the REST API to create and trigger jobs, the identity associated with each event is determined by who performed the action. In this case, User A created the jobs and thus their identity will be associated with the job creation events. User B configured the external orchestration tool to trigger the job runs, so their identity will be associated with the job run events. This separation ensures that audit logs accurately reflect who performed each specific action.

Discussion

4 comments
Sign in to comment
spaceexplorerOption: C
Jan 24, 2024

C is correct

rok21Option: C
Dec 9, 2023

C is correct

spudteoOption: E
Feb 10, 2024

When you create a job your role is IS OWNER and RUN AS. So when you trigger a job, it will run as the RUN AS entity. And it should be user A if someone dosen't have changed it

hal2401meOption: E
Feb 25, 2024

https://docs.databricks.com/api/azure/workspace/jobs/create API/jobs/create:run_as object Write-only setting, available only in Create/Update/Reset and Submit calls. Specifies the user or service principal that the job runs as. If not specified, the job runs as the user who created the job. In the question, it's not stated that user A creates a service principal. So runas can only be himself.