Question 155 of 509
Design for security and compliancehardMultiple SelectObjective-mapped

Quick Answer

The answer is attaching an IAM policy to a project and attaching an IAM policy to an organization. These are valid IAM policy attachment methods because Google Cloud uses a hierarchical resource model where policies set at the organization node are inherited by all folders and projects beneath it, while policies attached directly to a project apply only to that project’s resources. This tests your understanding of policy inheritance and the principle of least privilege on the Google Professional Cloud Architect exam, where a common trap is assuming you can attach policies to individual resources like Compute Engine instances—you cannot; IAM policies are only attached to projects, folders, or the organization node. A helpful memory tip is to think of the hierarchy as a family tree: policies flow down from the top (organization) through branches (folders) to leaves (projects), but never attach to the leaves themselves.

Google PCA Design for security and compliance Practice Question

This PCA practice question tests your understanding of design for security and compliance. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which TWO of the following are valid methods to control access to Google Cloud resources using Identity and Access Management (IAM)?

Question 1hardmulti select
Full question →

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

Attach an IAM policy to an organization

Attaching an IAM policy to an organization (option A) is a valid method because it allows you to set organization-wide policies that apply to all projects and resources within that organization. This is a fundamental feature of Google Cloud's hierarchical resource management, where policies can be inherited from the organization node down to folders and projects, enabling centralized control over access.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Attach an IAM policy to an organization

    Why this is correct

    IAM policies can be attached at the organization level.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Attach an IAM policy to a project

    Why this is correct

    IAM policies can be attached at the project level.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Attach an IAM policy to a user

    Why it's wrong here

    Users are identities; policies are attached to resources.

  • Assign an IAM role directly to a user

    Why it's wrong here

    Roles are assigned via policies, not directly.

  • Attach an IAM policy to a service account

    Why it's wrong here

    Service accounts are identities; policies are attached to resources.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the distinction between attaching a policy to a resource versus assigning a role to an identity, where candidates mistakenly think that attaching a policy to a user or service account is valid, when in fact policies are always attached to resources, not to identities.

Detailed technical explanation

How to think about this question

IAM policies in Google Cloud are JSON or YAML documents that define bindings between roles and members (users, groups, or service accounts). These policies are attached to resource nodes in the hierarchy (organization, folder, project, or individual resource), and the effective policy for a resource is the union of the policy attached to that resource and the policies inherited from its ancestors. This inheritance model allows for efficient management of permissions at scale, such as granting a security analyst read-only access to all projects in an organization by attaching a policy at the organization level.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PCA practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCA practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCA question test?

Design for security and compliance — This question tests Design for security and compliance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Attach an IAM policy to an organization — Attaching an IAM policy to an organization (option A) is a valid method because it allows you to set organization-wide policies that apply to all projects and resources within that organization. This is a fundamental feature of Google Cloud's hierarchical resource management, where policies can be inherited from the organization node down to folders and projects, enabling centralized control over access.

What should I do if I get this PCA question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCA 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 PCA exam.