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โ€‹ 

AviralBhardwaj
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โ€‹ 

Ajay Kumar Pandey

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โ€‹ 

Ajay Kumar Pandey

Aviral-Bhardwaj
Esteemed Contributor III

sorry this is not a right answer ๐Ÿ˜

AviralBhardwaj

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 Kumar Pandey

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

Ajay Kumar Pandey

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.

AviralBhardwaj

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group