Google Cloud Professional Cloud Developer — Question 335

You are responsible for improving the security of your Cloud Run services to protect these services against supply chain threats. You need to ensure that there are adequate security controls such as SLSA Level 3 builds for container images and non-falsifiable provenance for container images by using Google Cloud tools. What should you do?

Answer options

Correct answer: B

Explanation

The correct answer is B because using Cloud Build along with Binary Authorization ensures that only verified builds are deployed to Cloud Run, which aligns with SLSA Level 3 requirements. Option A is incorrect as local builds do not provide the necessary security guarantees. Option C, while useful for provenance, does not specifically address the need for Binary Authorization. Option D focuses on deployment automation rather than securing the build process.