Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Google Cloud Certified - Associate Cloud Engineer Associate-Cloud-Engineer Question # 73 Topic 8 Discussion

Google Cloud Certified - Associate Cloud Engineer Associate-Cloud-Engineer Question # 73 Topic 8 Discussion

Associate-Cloud-Engineer Exam Topic 8 Question 73 Discussion:
Question #: 73
Topic #: 8

You have an application that reads data from a Pub/Sub topic. During local development, you authenticated using your personal credentials to test the application. You now want to deploy the application to Vertex AI and have created a new service account to be used as the application ' s identity. You need to ensure that the deployed application can still access the Pub/Sub topic. What should you do?


A.

Extract your access token by using the gcloud auth print-access-token command, and store it with the application.


B.

Grant the relevant IAM roles to the service account used as your agent identity.


C.

Create a secret in Secret Manager to store your personal credentials, and configure the application ' s authentication code to use this secret.


D.

Generate a JSON private key for the service account, and upload the key as Vertex AI metadata.


Get Premium Associate-Cloud-Engineer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.