Question 295 of 500
Setting up a cloud solution environmenthardMultiple ChoiceObjective-mapped

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

Google ACE Setting up a cloud solution environment Practice Question

This ACE practice question tests your understanding of setting up a cloud solution environment. 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. 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.

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?

Question 1hardmultiple choice
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

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

Option B is correct because it uses Eventarc to capture audit log events for 'google.cloud.resourcemanager.v3.CreateProject' and triggers a Cloud Function that programmatically applies IAM bindings to the new project. This ensures the bindings are applied automatically without manual steps, leveraging serverless event-driven architecture.

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.

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

    Why it's wrong here

    No native org policy constraint applies IAM bindings. Org policies enforce resource configuration constraints, not IAM state.

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

    Why this is correct

    Eventarc can trigger on Cloud Audit Log events (project.create) and invoke a Cloud Function that applies default IAM bindings via the Resource Manager API — a fully automated, event-driven guardrails pattern.

    Related concept

    Read the scenario before looking for a memorised answer.

  • 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

    This is actually the simplest correct answer: IAM bindings at the org level inherit to all child resources including new projects. This is the correct approach for blanket access without per-project automation.

    Related concept

    Read the scenario before looking for a memorised answer.

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

    Why it's wrong here

    Terraform modules enforce bindings only for IaC-managed projects. Console-created projects would not get the bindings, creating compliance gaps.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that IAM inheritance from the organization level automatically applies to new projects, but in reality, inheritance only applies to existing resources; new projects do not inherit bindings set at the organization level unless they are created within a folder that has the binding, and even then, the binding is not 'default' for all new projects.

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

  • 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 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?

Setting up a cloud solution environment — This question tests Setting up a cloud solution environment — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Trigger a Cloud Function via Eventarc on project creation audit log events to automatically apply the IAM bindings. — Option B is correct because it uses Eventarc to capture audit log events for 'google.cloud.resourcemanager.v3.CreateProject' and triggers a Cloud Function that programmatically applies IAM bindings to the new project. This ensures the bindings are applied automatically without manual steps, leveraging serverless event-driven architecture.

What should I do if I get this ACE 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

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.