You received a JSON file that contained a private key of a Service Account in order to get access to several resources in a Google Cloud project. You downloaded and installed the Cloud SDK and want to use this private key for authentication and authorization when performing gcloud commands. What should you do?
A) Use the command gcloud auth login and point it to the private key. Use the command gcloud auth login and point it to the private key.
B) Use the command gcloud auth activate-service-account and point it to the private key. gcloud auth activate-service-account
C) Place the private key file in the installation directory of the Cloud SDK and rename it to "credentials.json".
D) Place the private key file in your home directory and rename it to "GOOGLE_APPLICATION_CREDENTIALS".
Correct Answer:
Verified
Q192: You are monitoring an application and receive
Q193: The core business of your company is
Q194: You have an application that uses Cloud
Q195: Your finance team wants to view the
Q196: Your company set up a complex organizational
Q197: You created several resources in multiple Google
Q198: Your company has workloads running on Compute
Q200: You are running a data warehouse on
Q201: You are managing a project for the
Q202: You will have several applications running on
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents