Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You need to create a new Service Account that can list Compute Engine instances in a project while adhering to Google's recommended practices. What should you do?
A
Create an Instance Template, and allow the Service Account Read Only access for the Compute Engine Access Scope.
B
Create a custom role with the permission compute.instances.list and grant the Service Account this role.
C
Give the Service Account the role of Compute Viewer, and use the new Service Account for all instances.
D
Give the Service Account the role of Project Viewer, and use the new Service Account for all instances.