QuestionQ69

VerifiedConfiguring access and security

You are managing the security configuration of your company’s Google Cloud organization. The Operations team needs specific permissions on both a Google Kubernetes Engine (GKE) cluster and a Cloud SQL instance. Two predefined Identity and Access Management (IAM) roles together contain the permissions the team needs, but each also includes many permissions the team must not have. You need to configure the necessary IAM permissions for this team while following Google-recommended practices. What should you do?

Explanation

Because the predefined roles include permissions beyond what the team needs, granting them (B) or the broader Kubernetes Engine Admin and Cloud SQL Admin roles (D) would violate least privilege, and a custom role that combines all of their permissions (A) carries the same excess access. A custom role with only the required permissions follows Google's guidance to grant the most limited predefined or custom roles that meet your needs; custom roles help you enforce the principle of least privilege.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!