PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #315
Your organization heavily utilizes serverless applications while prioritizing security best practices. You are responsible for enforcing image provenance and compliance with security standards…
The correct answer is C. Create a Binary Authorization attestor that retrieves the Cloud Build build ID of the container. To enforce that only images built by your Cloud Build pipeline are deployed and that they pass security checks using Binary Authorization, create an attestor that verifies the Cloud Build ID and also integrates with security scan attestations.
Question
Options
- ACreate a Binary Authorization attestor that uses a scanner to assess source code management
- BCreate a Binary Authorization attestor that utilizes a scanner to evaluate container image build
- CCreate a Binary Authorization attestor that retrieves the Cloud Build build ID of the container
- DUtilize a custom Security Health Analytics module to create a policy. Enforce the policy through
How the community answered
(23 responses)- A4% (1)
- B9% (2)
- C83% (19)
- D4% (1)
Why each option
To enforce that only images built by your Cloud Build pipeline are deployed and that they pass security checks using Binary Authorization, create an attestor that verifies the Cloud Build ID and also integrates with security scan attestations.
Scanning source code management occurs before the build process and is not directly handled by Binary Authorization, which primarily verifies post-build artifacts and attestations before deployment.
While attestors can verify scan results, this option misses the specific requirement to verify that images were built by 'your Cloud Build pipeline' using the build ID for provenance.
This approach uses Binary Authorization to verify both provenance (by retrieving and validating the Cloud Build ID from an attestation automatically generated by Cloud Build) and compliance (by requiring and verifying additional attestations from security scan results), directly addressing both requirements for deployment enforcement.
Security Health Analytics and Security Command Center identify vulnerabilities and misconfigurations but do not provide the deployment-time enforcement mechanism required by Binary Authorization for image provenance and attestation verification.
Concept tested: Binary Authorization with Cloud Build provenance
Source: https://cloud.google.com/binary-authorization/docs/cloud-build-integration
Topics
Community Discussion
No community discussion yet for this question.