ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 198 - Professional Cloud Developer discussion

Report
Export

You have an application deployed in Google Kubernetes Engine (GKE). You need to update the application to make authorized requests to Google Cloud managed services. You want this to be a one-time setup, and you need to follow security best practices of auto-rotating your security keys and storing them in an encrypted store. You already created a service account with appropriate access to the Google Cloud service. What should you do next?

A.
Assign the Google Cloud service account to your GKE Pod using Workload Identity.
Answers
A.
Assign the Google Cloud service account to your GKE Pod using Workload Identity.
B.
Export the Google Cloud service account, and share it with the Pod as a Kubernetes Secret.
Answers
B.
Export the Google Cloud service account, and share it with the Pod as a Kubernetes Secret.
C.
Export the Google Cloud service account, and embed it in the source code of the application.
Answers
C.
Export the Google Cloud service account, and embed it in the source code of the application.
D.
Export the Google Cloud service account, and upload it to HashiCorp Vault to generate a dynamic service account for your application.
Answers
D.
Export the Google Cloud service account, and upload it to HashiCorp Vault to generate a dynamic service account for your application.
Suggested answer: A

Explanation:

https://cloud.google.com/kubernetes-engine/docs/concepts/workload-identity

Applications running on GKE might need access to Google Cloud APIs such as Compute Engine API, BigQuery Storage API, or Machine Learning APIs.

Workload Identity allows a Kubernetes service account in your GKE cluster to act as an IAM service account. Pods that use the configured Kubernetes service account automatically authenticate as the IAM service account when accessing Google Cloud APIs. Using Workload Identity allows you to assign distinct, fine-grained identities and authorization for each application in your cluster.

asked 18/09/2024
test fdf
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first