cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

MCQ of The Week (Data Engineer Associate Preparation)

Aviral-Bhardwaj
Esteemed Contributor III

A data engineer, User A, has promoted a new pipeline to production by using the REST API to programmatically create several jobs. A DataOps 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?

a- Because User B last configured the jobs, their identity will be associated with both the job creation events and the job run events.

b- Because the REST API was used for job creation and triggering runs, a Service Principal will be automatically used to identify these events.

c- Because the REST API was used for job creation and triggering runs, user identity will not be captured in the audit logs.

d- 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.

e- Because User A created the jobs, their identity will be associated with both the job creation events and the job run events.

@Vigneshraja Palaniraj​ 

1 ACCEPTED SOLUTION

Accepted Solutions

Ajay-Pandey
Esteemed Contributor III

@Aviral Bhardwaj​ 

e- Because User A created the jobs, their identity will be associated with both the job creation events and the job run events.

#DAIS2023​ 

View solution in original post

5 REPLIES 5

Ajay-Pandey
Esteemed Contributor III

@Aviral Bhardwaj​ 

e- Because User A created the jobs, their identity will be associated with both the job creation events and the job run events.

#DAIS2023​ 

Aviral-Bhardwaj
Esteemed Contributor III

sorry this is not a right answer 😁

Ajay-Pandey
Esteemed Contributor III

I have tested this, and this should be right.

Can you please test this once at your end??

If I have created any job and you will use your PAT to run the job it still show my name as creator and run as

Ajay-Pandey
Esteemed Contributor III

Below are the snippets where I have triggered the job using my PAT through Rest API and still it shows the creator's name as Run as.

image.png

Aviral-Bhardwaj
Esteemed Contributor III

@Ajay Pandey​  II really appreciate your efforts and you are right in terms of UI, but when we carefully see the question we found

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

audit logs are generated and sent in our s3 bucket so I was thinking about that prospect

so you are also right but if I check my workspace logs then I was thinking

d- 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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!