mediumMultiple ChoiceObjective-mapped
Google ACE Practice Question: A GCP project administrator needs to share…
A GCP project administrator needs to share read-only access to all resources in the project with an external auditor who has a Gmail account (auditor@gmail.com). What should the admin do?
⚠ Common exam trap
Google Cloud often tests the misconception that external users with Gmail accounts cannot be added to GCP IAM policies, leading candidates to incorrectly choose the Cloud Identity option, but in reality, any Google Account (including @gmail.com) can be granted IAM roles directly.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Grant the Viewer role to auditor@gmail.com in the project's IAM policy
Granting the Viewer (roles/viewer) role to auditor@gmail.com in the project's IAM policy is correct because it provides read-only access to all resources in the project without requiring a Cloud Identity account. Gmail accounts are supported as Google Accounts and can be added directly to IAM policies, allowing them to authenticate and access resources via the GCP Console or APIs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a service account for the auditor and share the JSON key file
Why it's wrong here
Service accounts are intended for application components (VMs, Cloud Functions, etc.) that need to authenticate to Google APIs, not for human users. Sharing a JSON key file exposes long-lived credentials outside the project, creating a severe security risk: the key can be copied, has no built-in MFA, and revocation is cumbersome. Moreover, the auditor would then need to use gcloud with the key to access resources, lacking a proper interactive login; for human access, you should use a Google account with an IAM role like Viewer.
- ✓
Grant the Viewer role to auditor@gmail.com in the project's IAM policy
Why this is correct
Cloud IAM supports granting a role to any Google account, and a Gmail address is a valid principal identifier. The Viewer role (roles/viewer) is a predefined IAM role that encompasses read-only permissions across all services in the project, such as listing compute instances, viewing Cloud Storage buckets, and reading configurations. By assigning this role to auditor@gmail.com in the project IAM policy, the auditor gets exactly the read-only visibility needed without any write or management capabilities.
- ✗
Add auditor@gmail.com as a project billing admin to give them read-only access
Why it's wrong here
Adding auditor@gmail.com as a project billing admin grants them access to the billing account itself, not to project resources. The Billing Admin role (roles/billing.admin) can manage payment methods, budgets, and billing exports, but it does not include permissions like resourcemanager.projects.get or compute.instances.list. Since the auditor needs to review project resources, this role misses entirely; Viewer (roles/viewer) on the project IAM policy is the correct read-only role.
- ✗
Create a Cloud Identity account for the auditor — Gmail accounts cannot access GCP projects
Why it's wrong here
This option falsely assumes Gmail accounts are not valid IAM principals. In Cloud IAM, any Google account, including @gmail.com addresses, can be granted roles on a project as long as they authenticate via Google. Creating a Cloud Identity account would make the auditor part of an organization's identity directory, but it does not automatically grant any access—you still must assign IAM roles. It also may be enterprise-preferred but is an unnecessary extra step, and the Cloud Identity account itself would not be the same principal unless the email is changed.
Go deeper
Related to this question
Learn chapter
Google Cloud Platform Overview
Key term
IAM policy
An IAM policy is a set of rules that determines who can access specific cloud resources and what actions they are allowed to perform.
Key term
IAM
Identity and Access Management (IAM) is a framework of policies and technologies that ensures the right individuals have the appropriate access to technology resources.
About these practice questions
One of 769 original ACE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.