GCP ACE · Question 47 · Domain 5.2: Managing service accounts
You need to run a script on your local on-premises workstation that interacts with GCP APIs. The script needs to authenticate as a service account. Which TWO steps are required? (Select TWO)
Answer options:
Generate a JSON key for the service account.
Attach the service account to your local workstation.
Set the GOOGLE_APPLICATION_CREDENTIALS environment variable to point to the key file.
Run gcloud auth login with your personal account.
Enable Identity-Aware Proxy (IAP).
50 questions · hints · full answers · grading