Google Cloud Professional Cloud Security Engineer — Question 161

Your organization heavily utilizes serverless applications while prioritizing security best practices. You are responsible for enforcing image provenance and compliance with security standards before deployment. You leverage Cloud Build as your continuous integration and continuous deployment (CI/CD) tool for building container images. You must configure Binary Authorization to ensure that only images built by your Cloud Build pipeline are deployed and that the images pass security standard compliance checks. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because it directly aligns with the requirement to ensure that only images built through the Cloud Build pipeline are deployed, contingent upon passing security compliance checks. Option A focuses on source code management rather than container images, C centers on build IDs which do not guarantee security compliance, and D involves a custom module that does not specifically address the CI/CD process with Binary Authorization.