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)

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