Configuring access and security: Cloud ACE practice questions

Configuring access and security is 20% of the free Cloud ACE mock (10 of 50 questions). Pick an answer to see right away whether it is correct, with the explanation and the documentation section it comes from.

GA.IV · Google Cloud ACE practice question

A company has separate environments—Development, Staging, and Production—and wants to ensure developers can experiment freely in Development while Production remains tightly locked down. How should you structure folders and IAM?

Choose one answer
Check answer and explanation

Correct answer: Organize environments into separate folders (Dev, Staging, Prod) under the organization or business-unit folder and apply stricter IAM and organization policies to Prod.

Explanation

Separating environments into folders allows applying distinct IAM bindings and organization policies appropriate to each environment's risk level.

Common trap

Separating environments into folders allows applying distinct IAM bindings and organization policies appropriate to each environment's risk level.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A Compute Engine VM uses a user-managed service account 'app-vm-sa' that has 'roles/storage.objectViewer' on bucket 'config-bucket'. If you remove 'roles/storage.objectViewer' from 'app-vm-sa', what happens to the VM?

Choose one answer
Check answer and explanation

Correct answer: Processes on the VM using 'app-vm-sa' lose read access to objects in 'config-bucket'.

Explanation

Removing the IAM role revokes the permissions granted through that binding for identities using 'app-vm-sa'.

Common trap

Removing the IAM role revokes the permissions granted through that binding for identities using 'app-vm-sa'.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A contractor needs temporary access to inspect logs in a staging project for two weeks. Following least privilege, what should you grant?

Choose one answer
Check answer and explanation

Correct answer: A scoped logging viewer role on the staging project, reviewed and removed when the contract ends.

Explanation

Granting a minimal, scoped role for only the required resource and duration follows least privilege.

Common trap

Granting a minimal, scoped role for only the required resource and duration follows least privilege.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A developer runs a command using '--impersonate-service-account=ci-bot@my-proj.iam.gserviceaccount.com'. The command fails with a permission denied error on the service account token/impersonation operation. What is a common cause?

Choose one answer
Check answer and explanation

Correct answer: The developer lacks the required IAM permission on 'ci-bot@my-proj.iam.gserviceaccount.com' (such as Service Account Token Creator) to impersonate it.

Explanation

Impersonating a service account requires appropriate IAM permissions on the target service account (such as Service Account Token Creator).

Common trap

Impersonating a service account requires appropriate IAM permissions on the target service account (such as Service Account Token Creator).

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A junior administrator asks for 'roles/iam.securityAdmin' on a project simply to view existing IAM policies. What is a more appropriate, least-privilege alternative for viewing policies?

Choose one answer
Check answer and explanation

Correct answer: Grant a read-only viewer role (such as 'roles/viewer' or a minimal custom role with only the required getIamPolicy permission) instead of broad IAM admin permissions.

Explanation

Granting broad IAM admin roles to someone who only needs read access violates least privilege; read access should be scoped to only what is needed.

Common trap

Granting broad IAM admin roles to someone who only needs read access violates least privilege; read access should be scoped to only what is needed.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A microservice running on GKE needs read/write access to a single Cloud Storage bucket 'order-exports-prod' and should not have broad project-wide permissions or share an over-privileged node service account. What should you do?

Choose one answer
Check answer and explanation

Correct answer: Use a dedicated service account for the GKE workload with least-privilege permissions scoped to 'order-exports-prod' and avoid over-privileging the node service account.

Explanation

Scoping permissions to a dedicated service account and limiting access to the specific bucket enforces least privilege and reduces blast radius.

Common trap

Scoping permissions to a dedicated service account and limiting access to the specific bucket enforces least privilege and reduces blast radius.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

An administrator wants to see who has permission to attach or act as a specific user-managed service account 'deploy-sa@my-proj.iam.gserviceaccount.com'. Where are permissions governing usage of the service account itself managed?

Choose one answer
Check answer and explanation

Correct answer: In the IAM policy on that service account resource (such as Service Account User / impersonation roles).

Explanation

Service accounts are resources with their own IAM policies that control who can attach them to resources or impersonate them.

Common trap

Service accounts are resources with their own IAM policies that control who can attach them to resources or impersonate them.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

An external CI/CD runner hosted outside Google Cloud needs to authenticate to Google Cloud and deploy to Cloud Run without storing long-lived service account JSON keys as secret variables. Which feature should you configure?

Choose one answer
Check answer and explanation

Correct answer: Workload Identity Federation (paired with least-privilege IAM permissions).

Explanation

Workload Identity Federation allows external workloads to exchange external identity tokens for short-lived Google Cloud credentials without static keys.

Common trap

Workload Identity Federation allows external workloads to exchange external identity tokens for short-lived Google Cloud credentials without static keys.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

An IAM policy is attached to a folder 'Finance'. Two projects, 'fin-ledger' and 'fin-reporting', reside under 'Finance'. A group 'auditors@example.com' is granted a viewer role on the 'Finance' folder. Which statement is true?

Choose one answer
Check answer and explanation

Correct answer: 'auditors@example.com' inherits the viewer role on both 'fin-ledger' and 'fin-reporting' unless restricted at a higher/applicable boundary.

Explanation

IAM policies on a folder are inherited by projects and resources contained within that folder.

Common trap

IAM policies on a folder are inherited by projects and resources contained within that folder.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

An organization wants to audit all changes to IAM policies across a project. Which log type captures IAM policy modifications?

Choose one answer
Check answer and explanation

Correct answer: Cloud Audit Logs (Admin Activity logs).

Explanation

Admin Activity audit logs record operations that modify configuration or metadata, including IAM policy changes, and are always enabled.

Common trap

Admin Activity audit logs record operations that modify configuration or metadata, including IAM policy changes, and are always enabled.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A security architect reviews IAM bindings across 25 projects and discovers several bindings attached directly to individual user email addresses rather than Google Groups. Why does Google Cloud recommend using Google Groups instead?

Choose one answer
Check answer and explanation

Correct answer: Google Groups simplify adding or removing users and maintaining consistent IAM role assignments across teams.

Explanation

Binding roles to Google Groups makes membership changes and access reviews cleaner and less error-prone than managing per-user bindings.

Common trap

Binding roles to Google Groups makes membership changes and access reviews cleaner and less error-prone than managing per-user bindings.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A security engineer needs a role containing a specific subset of permissions across Cloud Storage and Pub/Sub that does not match any single predefined role. How should they create this role?

Choose one answer
Check answer and explanation

Correct answer: Define a custom IAM role with only the required permissions and grant it at the appropriate scope.

Explanation

Custom IAM roles allow administrators to combine specific permissions into a tailored role scoped to a project or organization.

Common trap

Custom IAM roles allow administrators to combine specific permissions into a tailored role scoped to a project or organization.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A security team wants to prevent accidental public exposure of Cloud Storage buckets across all projects in the organization. Which governance mechanism helps enforce uniform constraints across projects?

Choose one answer
Check answer and explanation

Correct answer: Organization policies applied at the organization or folder level.

Explanation

Organization policies enforce centralized constraints across folders and projects in the resource hierarchy.

Common trap

Organization policies enforce centralized constraints across folders and projects in the resource hierarchy.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A team creates a custom role in project 'proj-analytics' named 'bigqueryAnalystCustom'. Where is a project-level custom role defined and available for use?

Choose one answer
Check answer and explanation

Correct answer: Within 'proj-analytics' (and cannot be bound directly to unrelated projects outside its scope).

Explanation

Project-level custom roles belong to the project where they are defined, whereas organization-level custom roles can be used across resources in that organization.

Common trap

Project-level custom roles belong to the project where they are defined, whereas organization-level custom roles can be used across resources in that organization.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A team has a service account 'batch-runner@my-proj.iam.gserviceaccount.com' and wants an authorized engineer's account to temporarily act as that service account during deployments without downloading a JSON key file. Which approach should you use?

Choose one answer
Check answer and explanation

Correct answer: Service account impersonation (generating short-lived credentials or using '--impersonate-service-account').

Explanation

Service account impersonation allows authorized principals to obtain short-lived credentials for a service account without creating long-lived static key files.

Common trap

Service account impersonation allows authorized principals to obtain short-lived credentials for a service account without creating long-lived static key files.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

A workload running on an external identity provider (such as GitHub Actions or AWS) needs short-lived access to a Google Cloud bucket without storing static keys. Which mechanism exchanges external tokens for Google Cloud credentials?

Choose one answer
Check answer and explanation

Correct answer: Workload Identity Federation.

Explanation

Workload Identity Federation enables external workloads with supported OIDC/SAML or cloud identities to authenticate to Google Cloud using short-lived credentials.

Common trap

Workload Identity Federation enables external workloads with supported OIDC/SAML or cloud identities to authenticate to Google Cloud using short-lived credentials.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

What is the difference between a user-managed service account and a Google-managed service account?

Choose one answer
Check answer and explanation

Correct answer: User-managed service accounts are created and administered by users for workloads/applications, whereas Google-managed service accounts/identities are managed by Google Cloud to act on behalf of services.

Explanation

Administrators create and manage user-managed service accounts for custom workloads, while Google manages service accounts/identities used by Google Cloud services.

Common trap

Administrators create and manage user-managed service accounts for custom workloads, while Google manages service accounts/identities used by Google Cloud services.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

Which credential approach is preferred over long-lived static service account key files when accessing Google Cloud services?

Choose one answer
Check answer and explanation

Correct answer: Short-lived credentials via service account impersonation or Workload Identity Federation.

Explanation

Short-lived credentials obtained via impersonation or identity federation reduce the risk associated with long-lived static keys.

Common trap

Short-lived credentials obtained via impersonation or identity federation reduce the risk associated with long-lived static keys.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

Which IAM role category consists of broad legacy roles ('Owner', 'Editor', 'Viewer') that generally violate the principle of least privilege for production workloads?

Choose one answer
Check answer and explanation

Correct answer: Basic roles.

Explanation

Basic roles ('Owner', 'Editor', 'Viewer') grant broad permissions across services and are generally less granular than predefined or custom roles.

Common trap

Basic roles ('Owner', 'Editor', 'Viewer') grant broad permissions across services and are generally less granular than predefined or custom roles.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


GA.IV · Google Cloud ACE practice question

Which principle dictates granting only the permissions necessary for a user, group, or service account to perform its intended task?

Choose one answer
Check answer and explanation

Correct answer: Principle of least privilege.

Explanation

Least privilege restricts access to only the permissions required for the task, minimizing security risk.

Common trap

Least privilege restricts access to only the permissions required for the task, minimizing security risk.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


Back to all topics