Professional Cloud Developer · Free Practice Question Medium
Question 20
What is the best practice regarding service accounts for GCE VM instances?
- A Each VM instance should have a unique service account with all permissions
- B Each VM instance should have its own service account with only necessary permissions
- C Use a single service account for all VM instances
- D Use a single service account for VM instances with the same workload
Reveal correct answer
Correct answer: B
Explanation
The best practice is for each VM instance to have its own service account with only the necessary permissions. Using a single service account can cause issues if there are changes in the permissions, which would affect all the VMs that use it.Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
