From the course: Google Cloud Associate Cloud Engineer Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Questions breakdown

Questions breakdown

- All right, let's look at some questions related to this lesson. Your project requires a service account to allow a VM instance to interact with Cloud Storage. Which of the following GCloud commands would you use to create a new service account named, "Storage Access SA"? So feel free to pause the video here, think about the answer. I'll give you the answer in a few seconds. So the right answer here is B, GCloud, IAM, Service Accounts, create, and the name of the service accounts. So service account is an IAM resource, is a resource that is part of the IAM entity. So that should be all you needed to know to answer this one. It's really about remembering the, the right syntax and the right GCloud command here. Second question. You want to grant a service account named, "App Service SA" the minimum necessary permissions to read data from a specific storage bucket named, "My App Bucket". Which role should you assign it to service account for this purpose? Feel free to pause the video…

Contents