Question 65 of 500

Quick Answer

The correct approach is to use Resource Manager locks on projects and set up a Cloud Function that triggers on audit logs to require approval before removing the lock. This works because Resource Manager locks act as a hard deletion prevention mechanism at the project or resource hierarchy level, blocking any delete operation on protected resources like Cloud Storage buckets or Cloud SQL instances. By pairing the lock with a Cloud Function that listens for audit log events signaling an attempted lock removal, you can enforce a controlled approval workflow before the lock is actually lifted, ensuring no resource is deleted without explicit authorization. On the Google Professional Cloud DevOps Engineer exam, this scenario tests your understanding of combining IAM-based governance with event-driven automation, a common pattern for bootstrapping secure organizations. A frequent trap is assuming IAM roles alone can prevent deletion, but locks provide a stronger, non-identity-based barrier. Memory tip: think of the lock as a “deadbolt” that requires a key (approval) to remove, while the Cloud Function is the guard checking the key.

PCDOE Practice Question: Bootstrapping a Google Cloud organization for DevOps

This PCDOE practice question tests your understanding of bootstrapping a google cloud organization for devops. 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.

During the bootstrapping of a Google Cloud organization, the DevOps team wants to implement a policy that prevents the deletion of certain resources, such as Cloud Storage buckets or Cloud SQL instances, unless a specific approval process is followed. Which approach best achieves this goal?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "best"

    Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

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

Use Resource Manager locks on projects and set up a Cloud Function that triggers on audit logs to require approval before removing the lock.

Option C is correct because Resource Manager locks prevent accidental deletion of critical resources by placing a deletion prevention lock on the project or resource hierarchy. By combining this with a Cloud Function that monitors audit logs for lock removal attempts and requires an approval workflow before the lock is removed, the team enforces a controlled approval process for any deletion, meeting the policy requirement precisely.

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.

  • Configure Cloud Source Repositories to require code review for any changes to Terraform configurations that delete resources.

    Why it's wrong here

    This only controls infrastructure-as-code changes, not direct API calls.

  • Implement Binary Authorization to require approvals for any delete commands.

    Why it's wrong here

    Binary Authorization is for container deployment, not resource deletion.

  • Use Resource Manager locks on projects and set up a Cloud Function that triggers on audit logs to require approval before removing the lock.

    Why this is correct

    Locks prevent deletion; Cloud Functions can automate approval workflows.

    Clue confirmation

    The clue word "best" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use VPC Service Controls to block delete operations on specific services.

    Why it's wrong here

    VPC Service Controls control data exfiltration, not deletion.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may confuse Binary Authorization (which handles container deployment approvals) with a general-purpose approval system, or assume VPC Service Controls can block deletion when they are actually focused on data exfiltration prevention.

Detailed technical explanation

How to think about this question

Resource Manager locks use a 'delete' lock type that prevents the deletion of the project or folder, and by extension, all resources within it. The Cloud Function can be triggered by a Pub/Sub notification from Audit Logs (specifically the 'google.cloud.resourcemanager.v3.Projects.DeleteProject' or similar activity) to send an approval request via a custom workflow (e.g., Cloud Tasks or a ticketing system), ensuring the lock is only removed after manual approval. This approach is robust because the lock is enforced at the resource hierarchy level, making it effective even against direct API calls.

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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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 PCDOE 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 PCDOE 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 PCDOE question test?

Bootstrapping a Google Cloud organization for DevOps — This question tests Bootstrapping a Google Cloud organization for DevOps — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use Resource Manager locks on projects and set up a Cloud Function that triggers on audit logs to require approval before removing the lock. — Option C is correct because Resource Manager locks prevent accidental deletion of critical resources by placing a deletion prevention lock on the project or resource hierarchy. By combining this with a Cloud Function that monitors audit logs for lock removal attempts and requires an approval workflow before the lock is removed, the team enforces a controlled approval process for any deletion, meeting the policy requirement precisely.

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

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

Are there clue words in this question I should notice?

Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.

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 11, 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 PCDOE 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 PCDOE exam.