ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - Associate Cloud Engineer discussion

Report
Export

You need to grant access for three users so that they can view and edit table data on a Cloud Spanner instance. What should you do?

A.
Run gcloud iam roles describe roles/spanner.databaseUser. Add the users to the role.
Answers
A.
Run gcloud iam roles describe roles/spanner.databaseUser. Add the users to the role.
B.
Run gcloud iam roles describe roles/spanner.databaseUser. Add the users to a new group. Add the group to the role.
Answers
B.
Run gcloud iam roles describe roles/spanner.databaseUser. Add the users to a new group. Add the group to the role.
C.
Run gcloud iam roles describe roles/spanner.viewer --project my-project. Add the users to the role.
Answers
C.
Run gcloud iam roles describe roles/spanner.viewer --project my-project. Add the users to the role.
D.
Run gcloud iam roles describe roles/spanner.viewer --project my-project. Add the users to a new group. Add the group to the role.
Answers
D.
Run gcloud iam roles describe roles/spanner.viewer --project my-project. Add the users to a new group. Add the group to the role.
Suggested answer: B

Explanation:

https://cloud.google.com/spanner/docs/iam#spanner.databaseUser

Using the gcloud tool, execute the gcloud iam roles describe roles/spanner.databaseUser command on Cloud Shell. Attach the users to a newly created Google group and add the group to the role.

asked 18/09/2024
Jason Siemens
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first