PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #261
You are developing a new application that uses exclusively Compute Engine VMs. Once a day, this application will execute five different batch jobs. Each of the batch jobs requires a dedicated set of…
The correct answer is D. 1. Create a general service account "g-sa" to orchestrate the batch jobs. This approach adheres to the principle of least privilege by ensuring that each batch job has only the permissions it needs to run. The general service account “g-sa” is used to orchestrate the batch jobs, and the Service Account Token Creator role allows it to obtain…
Question
Options
- A
- Create a general service account "g-sa" to orchestrate the batch jobs.
- B
- Create a general service account "g-sa" to execute the batch jobs.
- C
- Create a workload identity pool and configure workload identity pool providers for each batch
- D
- Create a general service account "g-sa" to orchestrate the batch jobs.
How the community answered
(29 responses)- A7% (2)
- C10% (3)
- D83% (24)
Explanation
This approach adheres to the principle of least privilege by ensuring that each batch job has only the permissions it needs to run. The general service account “g-sa” is used to orchestrate the batch jobs, and the Service Account Token Creator role allows it to obtain short-lived access tokens for the batch job service accounts “b-sa-[1-5]”. This setup allows the batch jobs to be executed with the permissions of the respective service accounts.
Topics
Community Discussion
No community discussion yet for this question.