GCP PCA · Question 28 · Technical Processes
Your company is adopting a DevSecOps culture. The security team wants to ensure that only container images that have been built by the official CI/CD pipeline and scanned for vulnerabilities can be deployed to the production GKE cluster. How should you enforce this?
Your company is adopting a DevSecOps culture. The security team wants to ensure that only container images that have been built by the official CI/CD pipeline and scanned for vulnerabilities can be deployed to the production GKE cluster. How should you enforce this?
Answer options:
Write a Kubernetes Mutating Admission Webhook to check the image registry URL before allowing the pod to start.
Implement Binary Authorization on the GKE cluster and require attestations from Cloud Build and Container Analysis.
Use IAM to restrict access to the GKE cluster so only the Cloud Build service account can run 'kubectl apply'.
Enable Google Cloud Armor on the GKE ingress to block malicious traffic.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Professional Cloud Architect Practice Exam 7
50 questions · hints · full answers · grading
Expert