Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To ensure only tested container images are deployed to Cloud Run from Artifact Registry using Cloud Build while minimizing operational overhead, what is the recommended approach?
A
Deploy a new revision to a Cloud Run service. Assign a tag that allows access to the revision at a specific URL without serving traffic. Test that revision again. Migrate the traffic to the Cloud Run service after you confirm that the new revision is performing as expected.
B
Enable Binary Authorization on your Cloud Run service. Create an attestation if the container image has passed all tests. Configure Binary Authorization to allow only images with appropriate attestation to be deployed to the Cloud Run service.
C
Create a GKE cluster. Verify that all tests have passed, and then deploy the image to the GKE cluster.
D
Configure build provenance on your Cloud Build pipeline. Verify that all the tests have passed, and then deploy the image to a Cloud Run service.