🔥 40% Off Crucial Exams Memberships — Deal ends today!

1 hour, 57 minutes remaining!

GCP Professional Cloud Security Engineer Practice Question

Your organization must ensure that, except for the central backup service account ([email protected]), no identity can ever delete objects from the legacy archive bucket gs://prod-archive. The bucket already inherits several project-level bindings that grant roles/storage.objectAdmin to numerous teams, and more permissions might be added later. You are not allowed to modify or remove any existing allow bindings on the project or bucket. What is the most future-proof way to meet the requirement with the least ongoing maintenance effort?

  • Attach a project-level IAM Deny policy that lists storage.objects.delete in deniedPermissions, targets principal://* (all principals), and lists serviceAccount:[email protected] in exceptionPrincipals.

  • Add an IAM Condition to every current and future roles/storage.objectAdmin binding that allows deletes only when request.auth.principal equals the backup service account.

  • Remove the existing roles/storage.objectAdmin bindings, replace them with custom roles that exclude storage.objects.delete, and grant roles/storage.objectAdmin on the bucket only to the backup service account.

  • Create an organization-level IAM Deny policy that blocks storage.objects.delete for everyone, then add a bucket-level allow binding giving roles/storage.objectAdmin to the backup service account so it overrides the deny.

GCP Professional Cloud Security Engineer
Configuring Access
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot