Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise is securing its software supply chain across Google Kubernetes Engine (GKE) clusters and Cloud Run services using Binary Authorization.
The security architecture requires:
prod-attestor that verifies cryptographic signatures generated by the CI/CD pipeline using a Cloud KMS asymmetric key pair.prod-attestor before container deployment across all production GKE clusters and Cloud Run services.us-central1-a.staging-cluster) configured to log policy violations without blocking non-compliant container deployments.Which configuration should the security engineer implement to satisfy these requirements?
Binary Authorization is a deploy-time security control for Google Kubernetes Engine (GKE) and Cloud Run that ensures only trusted container images are deployed. An attestor is a named Google Cloud resource that verifies cryptographic signatures (attestations) associated with a container image digest. The attestor links an Artifact Analysis note—which serves as the metadata anchor for storing attestation occurrences—to public keys or asymmetric Cloud Key Management Service (Cloud KMS) cryptographic keys used to verify those signatures.
defaultAdmissionRule to REQUIRE_ATTESTATION with requireAttestationsBy: [projects/PROJECT_ID/attestors/prod-attestor] ensures all GKE and Cloud Run deployments enforce signature validation across standard workloads.clusterAdmissionRules for us-central1-a.staging-cluster with Dry Run Mode (DRYRUN_AUDIT_LOG_ONLY) evaluates the policy against incoming deployments and emits audit logs in Cloud Logging without rejecting unverified containers.--binauthz-evaluation-mode=PROJECT_SINGLETON_POLICY_ENFORCE activates the admission controller to query the project's singleton policy at deploy time.This solution follows Google Cloud recommended security practices by leveraging built-in Artifact Analysis metadata management, Cloud KMS cryptographic key protection, and native project singleton policy evaluation flags on GKE.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.