ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 71 - Associate Cloud Engineer discussion

Report
Export

You are using Container Registry to centrally store your company's container images in a separate project. In another project, you want to create a Google Kubernetes Engine (GKE) cluster. You want to ensure that Kubernetes can download images from Container Registry. What should you do?

A.
In the project where the images are stored, grant the Storage Object Viewer IAM role to the service account used by the Kubernetes nodes.
Answers
A.
In the project where the images are stored, grant the Storage Object Viewer IAM role to the service account used by the Kubernetes nodes.
B.
When you create the GKE cluster, choose the Allow full access to all Cloud APIs option under 'Access scopes'.
Answers
B.
When you create the GKE cluster, choose the Allow full access to all Cloud APIs option under 'Access scopes'.
C.
Create a service account, and give it access to Cloud Storage. Create a P12 key for this service account and use it as an imagePullSecrets in Kubernetes.
Answers
C.
Create a service account, and give it access to Cloud Storage. Create a P12 key for this service account and use it as an imagePullSecrets in Kubernetes.
D.
Configure the ACLs on each image in Cloud Storage to give read-only access to the default Compute Engine service account.
Answers
D.
Configure the ACLs on each image in Cloud Storage to give read-only access to the default Compute Engine service account.
Suggested answer: A

Explanation:

As mentioned above, Container Registry ignores permissions set on individual objects within the storage bucket so this isnt going to work.

Ref:https://cloud.google.com/container-registry/docs/access-control

asked 18/09/2024
Narender B
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first