PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #331
Your organization is worried about recent news headlines regarding application vulnerabilities in production applications that have led to security breaches. You want to automatically scan your…
The correct answer is D. Enable Binary Authorization and create attestations of scans. Binary Authorization is a deploy-time security control for GKE and Cloud Run that enforces a policy requiring container images to be attested before they are allowed to run. In a CI/CD pipeline, vulnerability scanning tools (such as Container Analysis in Artifact Registry) scan…
Question
Options
- AUse Kubernetes role-based access control (RBAC) as the source of truth for cluster access by
- BUse gcloud artifacts docker images describe LOCATION-
- CEnforce the use of Cloud Code for development so users receive real-time security feedback on
- DEnable Binary Authorization and create attestations of scans.
How the community answered
(43 responses)- A9% (4)
- B2% (1)
- C19% (8)
- D70% (30)
Explanation
Binary Authorization is a deploy-time security control for GKE and Cloud Run that enforces a policy requiring container images to be attested before they are allowed to run. In a CI/CD pipeline, vulnerability scanning tools (such as Container Analysis in Artifact Registry) scan images and create cryptographic attestations upon passing. Binary Authorization then verifies these attestations at deploy time, blocking any unscanned or non-verified images from running. This is a fully automated, end-to-end solution that covers both requirements: automatic scanning in the pipeline and enforcement of verified-only deployments. Option A (Kubernetes RBAC) controls who can access the cluster, not image verification. Option B is a manual, one-time gcloud command, not an automated pipeline control. Option C (Cloud Code) only provides feedback during development and cannot enforce deployment-time verification.
Topics
Community Discussion
No community discussion yet for this question.