nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #95

You are building an application that will run in your data center. The application will use Google Cloud Platform (GCP) services like AutoML. You created a service account that has appropriate access

The correct answer is B. 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. Public/private key pairs provide a secure way of accomplishing this goal. https://cloud.google.com/iam/docs/creating-managing

Submitted by khalil_dz· Mar 30, 2026Configuring access and security

Question

You are building an application that will run in your data center. The application will use Google Cloud Platform (GCP) services like AutoML. You created a service account that has appropriate access to AutoML. You need to enable authentication to the APIs from your on-premises environment. What should you do?

Options

  • AUse service account credentials in your on-premises application.
  • BUse gcloud to create a key file for the service account that has appropriate permissions.
  • CSet up direct interconnect between your data center and Google Cloud Platform to enable
  • DGo to the IAM & admin console, grant a user account permissions similar to the service account

How the community answered

(52 responses)
  • A
    4% (2)
  • B
    94% (49)
  • D
    2% (1)

Explanation

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. Public/private key pairs provide a secure way of accomplishing this goal. https://cloud.google.com/iam/docs/creating-managing-service-account-keys

Topics

#service account#key file#on-premises authentication#API access

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice