
Answer-first summary for fast verification
Answer: Use gcloud to create a key file for the service account that has appropriate permissions.
To use a service account outside of Google Cloud, such as on other platforms or on-premises, you must first establish the identity of the service account. The recommended approach is to use the gcloud command to create a key file for the service account. This key file can then be used to provide the necessary authentication credentials for the on-premises application to access GCP services like AutoML.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are developing an application designed to operate within your on-premises data center, which will leverage Google Cloud Platform (GCP) services, including AutoML. You have already set up a service account that possesses the necessary permissions to access AutoML. Now, you need to configure authentication to allow your on-premises environment to interact securely with the GCP APIs. What steps should you take to enable this authentication?
A
Use service account credentials in your on-premises application.
B
Use gcloud to create a key file for the service account that has appropriate permissions.
C
Set up direct interconnect between your data center and Google Cloud Platform to enable authentication for your on-premises applications.
D
Go to the IAM & admin console, grant a user account permissions similar to the service account permissions, and use this user account for authentication from your data center.