
Answer-first summary for fast verification
Answer: Because these events are managed separately, User A will have their identity associated with the job creation events and User B will have their identity associated with the job run events.
In Databricks, when actions are performed via the REST API using personal access tokens (PATs), the audit logs will reflect the identity of the user whose PAT was used for each action. User A used their PAT to create jobs, so the job creation events will be associated with User A. User B used their PAT to trigger job runs, so the job run events will be associated with User B. This separation of events based on the user's PAT usage means that the audit logs will distinctly record User A's identity for job creation and User B's identity for job runs. Therefore, the correct statement is that User A will have their identity associated with the job creation events and User B will have their identity associated with the job run events, as described in option C.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A data engineer, User A, has deployed a new pipeline to production by programmatically creating multiple jobs via the REST API. A DevOps engineer, User B, has set up an external orchestration tool to initiate job runs through the REST API. Both users authenticated the REST API calls using their personal access tokens.
What information will be recorded in the workspace audit logs for these events?
A
Because the REST API was used for job creation and triggering runs, a Service Principal will be automatically used to identify these events.
B
Because User A created the jobs, their identity will be associated with both the job creation events and the job run events.
C
Because these events are managed separately, User A will have their identity associated with the job creation events and User B will have their identity associated with the job run events.
D
Because the REST API was used for job creation and triggering runs, user identity will not be captured in the audit logs.
No comments yet.