Question 592 of 1,000
hardMultiple ChoiceObjective-mapped

Automatically Apply IAM Bindings to New Projects Using Eventarc and Cloud Functions

This ACE practice question tests your understanding of iam inheritance. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: iAM Inheritance. 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.

You need to configure a GCP organization so that when new projects are created, a specific set of default IAM bindings is automatically applied (e.g., the security team's group gets Security Reviewer on every new project). Which approach achieves this without requiring manual post-creation steps?

Quick Answer

The answer is to trigger a Cloud Function via Eventarc on project creation audit log events to automatically apply the IAM bindings. This approach is correct because Eventarc captures the `google.cloud.resourcemanager.v3.CreateProject` audit log event, which fires every time a new project is created, and routes it to a Cloud Function that programmatically applies the desired IAM bindings to the new project. This serverless, event-driven architecture ensures the bindings are applied instantly without any manual post-creation steps, making it ideal for enforcing security policies at scale. On the Google Associate Cloud Engineer exam, this scenario tests your understanding of Eventarc’s ability to react to organization-level audit logs and your ability to combine it with Cloud Functions for automated governance. A common trap is to rely on organization policies or folder-level IAM, which cannot apply project-specific bindings automatically. Memory tip: think “Eventarc catches the creation, Cloud Function applies the permission.”

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

Add the security team's group to the organization's IAM policy with Security Reviewer role — it will inherit to all new projects.

Option C is correct because IAM inheritance allows roles assigned at the organization level to propagate to all child resources, including newly created projects, without any additional automation. Option B is incorrect because while Eventarc can trigger on audit logs, this approach introduces unnecessary complexity and potential latency; IAM inheritance is the designed method for applying default IAM bindings across all projects.

Key principle: IAM Inheritance

Answer analysis

Option-by-option breakdown

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

  • Set an org policy constraint that applies default IAM bindings to all new projects.

    Why it's wrong here

    Incorrect. Organization policy constraints are used for enforcing policies like location restrictions, not for applying IAM bindings.

  • Trigger a Cloud Function via Eventarc on project creation audit log events to automatically apply the IAM bindings.

    Why it's wrong here

    Incorrect. Although technically possible, this approach requires setting up a Cloud Function and Eventarc, which is more complex and less reliable than using IAM inheritance directly. The intended method is to use organization-level IAM policies.

  • Add the security team's group to the organization's IAM policy with Security Reviewer role — it will inherit to all new projects.

    Why this is correct

    Correct. Assigning a role to a group at the organization level automatically grants that role to all projects created under the organization, meeting the requirement without manual steps.

    Related concept

    IAM Inheritance

  • Require all project creators to use a Terraform module that includes the IAM binding in its configuration.

    Why it's wrong here

    Incorrect. This relies on project creators to use a specific module, which is not automatic and can be bypassed.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The exam often tests IAM inheritance as a straightforward method for applying permissions across projects. Candidates may overlook that organization-level roles apply to all projects, not just existing ones.

Detailed technical explanation

How to think about this question

Eventarc routes audit log events via Pub/Sub to Cloud Functions, enabling near-real-time reactions to project creation. The Cloud Function uses the Resource Manager API (projects.getIamPolicy and projects.setIamPolicy) to add the binding. A subtle behavior: the function must handle eventual consistency and potential race conditions if multiple bindings are applied simultaneously. In real-world scenarios, this pattern is used to enforce security baselines across a growing organization.

KKey Concepts to Remember

  • IAM Inheritance

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

IAM Inheritance

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.

Related practice questions

Related ACE 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 ACE 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 ACE question test?

IAM Inheritance

What is the correct answer to this question?

The correct answer is: Add the security team's group to the organization's IAM policy with Security Reviewer role — it will inherit to all new projects. — Option C is correct because IAM inheritance allows roles assigned at the organization level to propagate to all child resources, including newly created projects, without any additional automation. Option B is incorrect because while Eventarc can trigger on audit logs, this approach introduces unnecessary complexity and potential latency; IAM inheritance is the designed method for applying default IAM bindings across all projects.

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

Review iAM Inheritance, then practise related ACE questions on the same topic to reinforce the concept.

What is the key concept behind this question?

IAM Inheritance

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

Keep practising

More ACE practice questions

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 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.