Google Cloud Professional Cloud Security Engineer — Question 284

You're developing the incident response plan for your company. You need to define the access strategy that your DevOps team will use when reviewing and investigating a deployment issue in your Google Cloud environment. There are two main requirements:
✑ Least-privilege access must be enforced at all times.
✑ The DevOps team must be able to access the required resources only during the deployment issue.
How should you grant access while following Google-recommended best practices?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating a custom IAM role with limited permissions ensures that the DevOps team has only the access necessary to address deployment issues while adhering to the principle of least privilege. Option A grants too much access, while C provides excessive permissions with the Project Owner role. Option D, while it restricts the access, does not utilize a custom role that can be tailored to specific needs.