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?
Suggested Answer: A
Get Premium Associate Cloud Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
SO
Solange
1 year ago
D is misleading, it should be GOOGLE_APPLICATION_CREDENTIALS, not 'GOOGLE_APPUCATION_CREDENTiALS'.
TA
Tamekia
1 year ago
A won't work for service accounts, just saying.
SE
Serina
1 year ago
Wait, can you really just rename the file like that? Sounds sketchy.
LA
Lashaun
1 year ago
Totally agree, B is the way to go!
KI
Kimberlie
1 year ago
B is the correct command to activate the service account.
WI
Willow
1 year ago
I remember that `gcloud auth login` is for user accounts, so I don't think option A is correct, but I'm not entirely sure about the others.
EL
Eleonore
1 year ago
I practiced a similar question where we had to authenticate using a service account, and I believe option B is the correct choice.
SO
Soledad
1 year ago
I think I remember that for service accounts, we usually use the `gcloud auth activate-service-account` command, but I'm not completely sure if that's the right one here.
ME
Mendy
1 year ago
I feel like I might have seen something about renaming files in the home directory, but I can't recall if it was specifically for service accounts or something else.
VI
Viva
1 year ago
Hmm, I'm not sure about this one. I'll have to think it through carefully. Maybe I should review my notes on web tracking techniques.
GW
Gwenn
1 year ago
Okay, let me think this through step-by-step. The question is asking about tracking multiple customer relations, so I think the best approach would be to use a related list. I'm leaning towards option D, adding the related company to the first company's contact roles related list with supplier as the value.
AR
Ariel
1 year ago
I'm pretty sure it's the MX record that DNS uses to find a mail service.