Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
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 runs containerized workloads across Google Kubernetes Engine (GKE) and Cloud Run. The security compliance team establishes a mandatory software supply chain policy:
Which solution should you implement to enforce this deployment control?
Configure IAM conditions on Artifact Registry to restrict roles/artifactregistry.reader permissions to service accounts that present valid X.509 client certificates during image pulls.
Configure a Binary Authorization policy rule with evaluationMode set to ALWAYS_DENY and define admissionWhitelistPatterns matching the container image repository URLs in Artifact Registry.
Configure a Binary Authorization policy rule with evaluationMode set to REQUIRE_ATTESTATION and enforcementMode set to DRYRUN_AUDIT_LOG_ONLY, binding attestors to Cloud KMS asymmetric signing keys.
Configure a Binary Authorization policy rule with evaluationMode set to REQUIRE_ATTESTATION and enforcementMode set to ENFORCED_BLOCK_AND_AUDIT_LOG, specifying attestors configured with the corresponding public keys and Artifact Analysis notes.
Binary Authorization is a Google Cloud deploy-time security service that ensures only trusted container images are deployed across platforms such as Google Kubernetes Engine (GKE) and Cloud Run. It uses a policy model where deployment admission is gated by verifiable cryptographic signatures called attestations.
evaluationMode to REQUIRE_ATTESTATION ensures that the admission controller requires digital signatures created by trusted signers before allowing execution.enforcementMode to ENFORCED_BLOCK_AND_AUDIT_LOG blocks any container deployment attempt that fails attestation verification and writes an audit event directly to Cloud Audit Logs.This approach directly satisfies the enterprise requirement for automated signature verification prior to container execution while leveraging native Google Cloud deploy-time enforcement and centralized logging without altering workload code.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Still curious? Scout, our AI tutor, can explain this concept further and answer your follow-up questions.