ASSOCIATE-CLOUD-ENGINEER · Question #220
You will have several applications running on different Compute Engine instances in the same project. You want to specify at a more granular level the service account each instance uses when calling G
The correct answer is A. When creating the instances, specify a Service Account for each instance. When you create an instance using the gcloud command-line tool or the Google Cloud Console, you can specify which service account the instance uses when calling Google Cloud APIs. https://cloud.google.com/compute/docs/access/service- accounts#associating_a_service_account_to_an_i
Question
Options
- AWhen creating the instances, specify a Service Account for each instance
- BWhen creating the instances, assign the name of each Service Account as instance metadata
- CAfter starting the instances, use gcloud compute instances update to specify a Service Account
- DAfter starting the instances, use gcloud compute instances update to assign the name of the
How the community answered
(37 responses)- A95% (35)
- B3% (1)
- C3% (1)
Explanation
When you create an instance using the gcloud command-line tool or the Google Cloud Console, you can specify which service account the instance uses when calling Google Cloud APIs. https://cloud.google.com/compute/docs/access/service- accounts#associating_a_service_account_to_an_instance
Topics
Community Discussion
No community discussion yet for this question.