Medium1 markMultiple Choice
GCP ACE · Question 43 · Domain 5.1: Managing Identity and Access Management
You need to grant a new team member access to manage Cloud SQL instances in a specific project. You want to follow the principle of least privilege. Which TWO actions should you take? (Select TWO)
You need to grant a new team member access to manage Cloud SQL instances in a specific project. You want to follow the principle of least privilege. Which TWO actions should you take? (Select TWO)
Answer options:
A.
Assign the role to their individual Google account or a Google Group they belong to.
B.
Assign the roles/editor role.
C.
Assign the roles/cloudsql.admin role.
D.
Create a Service Account and share the JSON key with the team member.
E.
Assign the role at the Organization level.
How to approach this question
Identify the correct identity type for a human user and the most restrictive predefined role for the task.
Full Answer
To follow the principle of least privilege, you should assign a predefined role specific to the service they need to manage (`roles/cloudsql.admin`). This role should be bound to their identity (user account or group) at the project level, not the organization level.
Common mistakes
Selecting the Editor role, which is a primitive role that grants too much access.
Practice the full GCP Associate Cloud Engineer Practice Exam 1
50 questions · hints · full answers · grading
More questions from this exam
Q01What is the highest level of the Google Cloud resource hierarchy?EasyQ02You need to enable the Compute Engine API in a new project using the command line. Which command ...EasyQ03You are setting up a new GCP environment. You need to grant a group of developers access to view ...MediumQ04You want to receive an email notification when your GCP spending exceeds $1000 this month. What s...EasyQ05You need to analyze your GCP billing data using complex SQL queries to understand cost trends acr...Medium
Expert