Question 1
AdvancedBuilding and implementing CI/CD pipelines for applications and infrastructure · Securing the CI/CD deployment pipeline
A financial services company is building a CI/CD pipeline using Cloud Build and Cloud Deploy. To comply with internal security policies, they must ensure that only container images that have passed all vulnerability scans and integration tests are deployable to their production GKE clusters. Furthermore, the mechanism enforcing this must be resistant to tampering, even by users with project owner roles. Which combination of services should be implemented to meet these requirements?
Answer and explanation
Correct answer: C
This is the most secure and tamper-resistant solution. Binary Authorization is a service specifically designed to enforce deployment-time policies on GKE. By creating a cryptographic attestation (a signature proving the image passed all checks) in a secure build environment and requiring that attestation in the GKE cluster's policy, you create a strong, auditable link. This enforcement happens at the GKE control plane level and cannot be easily bypassed, even by project owners, without modifying the Binary Authorization policy itself, which can be tightly controlled.
