You’ve integrated Cloud Build, Artifact Analysis, and created an attestor. Only images that pass automated UAT tests should be deployable to production GKE clusters. What next steps enforce this?
Choose an answer
Tap an option to check your answer.
Correct answer: After the UAT phase, sign the attestation with a key stored in Cloud Key Management Service (KMS). Add a GKE cluster-specific rule in Binary Authorization for the production Google Cloud project policy..
Why this is the answer
To enforce that only images passing UAT are deployed to production, the attestation must be signed with a secure key. Cloud KMS is the recommended and most secure service for storing cryptographic keys in Google Cloud, offering robust key management and auditing capabilities, unlike Kubernetes secrets which are less secure for this purpose. The Binary Authorization policy must then be configured on the production Google Cloud project, specifically targeting the GKE clusters where the images will be deployed. This policy will check for the required attestation before allowing deployment, ensuring only UAT-approved images reach production. Setting a rule for the UAT project would not prevent unapproved images from reaching production.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed