GCP Professional Cloud Security Engineer Practice Question

Your organization runs multiple Anthos clusters on VMware (GKE Enterprise edition). A centralized Cloud project already hosts a Binary Authorization policy named team-policy that requires every container image to carry an attestation signed by the CI/CD system's KMS key. You must ensure that:

  1. All workloads deployed to the production user cluster are blocked at deploy-time unless they comply with team-policy.
  2. Developers should be able to test non-attested images on the dev user cluster, but any violations must be logged for later review.

Which approach meets these requirements while minimizing operational overhead?

  • Disable Binary Authorization at the project level and instead run vulnerability scans post-deployment with Cloud Run Jobs in both clusters.

  • Duplicate team-policy into each cluster's namespace and annotate any deployment in production with breakglass: "true"; leave dev without Binary Authorization enabled.

  • Reference the centralized team-policy in both user-cluster configuration files, set enableBinaryAuthorization: true, and specify defaultAdmissionRule.enforcementMode: ENFORCED_BLOCK_AND_AUDIT_LOG for production while using DRYRUN_AUDIT_LOG_ONLY for the dev cluster.

  • Set defaultAdmissionRule.enforcementMode: DRYRUN_AUDIT_LOG_ONLY in the centralized policy so both clusters log violations, and instruct platform admins to manually delete non-compliant pods in production.

GCP Professional Cloud Security Engineer
Managing operations
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