Exam4Training

What should you do?

Your application services run in Google Kubernetes Engine (GKE). You want to make sure that only images from your centrally-managed Google Container Registry (GCR) image registry in the altostrat-images project can be deployed to the cluster while minimizing development time .

What should you do?
A . Create a custom builder for Cloud Build that will only push images to gcr.io/altostrat-images.
B . Use a Binary Authorization policy that includes the whitelist name pattern gcr.io/attostrat-images/.
C . Add logic to the deployment pipeline to check that all manifests contain only images from gcr.io/altostrat-images.
D . Add a tag to each image in gcr.io/altostrat-images and check that this tag is present when the image is deployed.

Answer: B

Exit mobile version