exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 80 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 80
Topic #: 1
[All Associate Cloud Engineer Questions]

You want to add a new auditor to a Google Cloud Platform project. The auditor should be allowed to read, but not modify, all project items.
How should you configure the auditor's permissions?

  • A. Create a custom role with view-only project permissions. Add the user's account to the custom role.
  • B. Create a custom role with view-only service permissions. Add the user's account to the custom role.
  • C. Select the built-in IAM project Viewer role. Add the user's account to this role.
  • D. Select the built-in IAM service Viewer role. Add the user's account to this role.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
cloudenthu01
Highly Voted 4 years, 2 months ago
C is correct roles/Viewer role provides access to all resources under the projects but do not alter the state of these resources
upvoted 45 times
mav3r1ck
2 years ago
It should be A. https://cloud.google.com/iam/docs/faq#when_would_i_use_basic_roles When would I use basic roles? You can use basic roles in development and test environments, where it might be appropriate for some principals to have wide-ranging permissions. Avoid basic roles in production environments.
upvoted 5 times
jrisl1991
1 year, 7 months ago
But in this case we're not asked to follow any best practices. Besides, the help article says "In production environments, do not grant basic roles unless there is no alternative.", and in this case there's no alternative since we need to grant access to all resources.
upvoted 1 times
...
mav3r1ck
2 years ago
Principle of least privilege
upvoted 2 times
creativenets
1 year, 2 months ago
i disagree.
upvoted 1 times
...
...
...
...
glam
Highly Voted 3 years, 10 months ago
C. Select the built-in IAM project Viewer role. Add the user's account to this role.
upvoted 13 times
...
DWT33004
Most Recent 4 months, 3 weeks ago
Selected Answer: C
C. Select the built-in IAM project Viewer role. Add the user's account to this role. Explanation: IAM Project Viewer Role: The IAM project Viewer role provides read-only access to all resources within a Google Cloud Platform project. This role allows the user to view project items, including resources and configurations, but does not grant permissions to modify them. This aligns with the requirement of allowing the auditor to read, but not modify, all project items. Built-in Role: The IAM project Viewer role is a built-in role provided by Google Cloud Platform. It is specifically designed for users who need read-only access to project resources. Least Privilege: Selecting the IAM project Viewer role ensures that the auditor has the necessary permissions to perform their tasks without granting them unnecessary privileges. It follows the principle of least privilege, providing only the permissions required to fulfill their role.
upvoted 4 times
...
tmwf
6 months, 1 week ago
Selected Answer: C
I think C is more correct .
upvoted 1 times
...
thewalker
9 months, 2 weeks ago
Selected Answer: C
C is better though it is a basic role, as the question says all the project items.
upvoted 2 times
...
BAofBK
10 months ago
The correct answer is C
upvoted 1 times
...
ArtistS
10 months, 2 weeks ago
C is correct. Project viewer provide read-only permissions to all resources; no permission to change resources.
upvoted 1 times
...
drinkwater
10 months, 3 weeks ago
To grant an auditor read-only access to all project items on Google Cloud Platform, you should choose option A: A. Create a custom role with view-only project permissions. Add the user's account to the custom role. Explanation: - Creating a custom role allows you to define specific permissions tailored to your needs, in this case, view-only access to project items. - By selecting the necessary read-only project permissions for the custom role, you can provide the auditor with the appropriate level of access without allowing modifications. - Adding the user's account to this custom role will grant them the specified permissions. Option B refers to "view-only service permissions," which may not provide the desired level of access to all project items. Options C and D suggest using built-in roles, but they may have more permissions than needed for a read-only auditor role. Custom roles offer a more precise approach for achieving the specified permissions.
upvoted 1 times
...
jayjani66
1 year, 1 month ago
Answer is C. Select the built-in IAM project Viewer role. Add the user's account to this role. The IAM project Viewer role is a built-in role in Google Cloud that provides read-only access to all resources within a project. This role allows users to view project items, configurations, and metadata but does not grant any permission to modify or make changes to the resources.
upvoted 1 times
...
trainingexam
1 year, 2 months ago
Selected Answer: A
with principle of leastprivilege should be A Also, question is asking to set permission on single project. Basic principles grants permissions on all project.
upvoted 2 times
...
Jeevan4433
1 year, 4 months ago
It is option A. I just referred here! https://cloud.google.com/iam/docs/roles-overview Caution: Basic roles include thousands of permissions across all Google Cloud services. In production environments, do not grant basic roles unless there is no alternative. Instead, grant the most limited predefined roles or custom roles that meet your needs
upvoted 3 times
...
sabrinakloud
1 year, 4 months ago
Selected Answer: A
we should avoid basic roles
upvoted 2 times
...
Jelly_Wang
1 year, 4 months ago
Selected Answer: C
Go for C. The debate is between A and C. From auditor accessibility perspective they are the same, but from practical perspective C is the only option. For people who vote for A, you must never work with auditors in an enterprise level project. There are hundred if not thousands of permission you need to set one by one if you create custom role by yourself. And they will come to you and ask for permission every single day. And this is an "there's no alternative" situation where using Basic role is practical.
upvoted 9 times
...
ashtonez
1 year, 5 months ago
Selected Answer: C
I would go with C, A and C are equally correct, with principle of leastprivilege should be A, with recomendation of not using custom roles becasue they are not maintained by gcp it should be C, since its not stating its a production env its a little bit ambiguous
upvoted 1 times
...
Buruguduystunstugudunstuy
1 year, 6 months ago
Selected Answer: C
To allow the new auditor to read, but not modify, all project items in a Google Cloud Platform project, the best option would be; C. Select the built-in IAM project Viewer role. Add the user's account to this role.
upvoted 3 times
...
xaqanik
1 year, 6 months ago
Selected Answer: A
Google recommends: Basic roles include thousands of permissions across all Google Cloud services. In production environments, do not grant basic roles unless there is no alternative. Instead, grant the most limited predefined roles or custom roles that meet your needs.
upvoted 2 times
Vladimir_Sakhonchik
1 year, 6 months ago
I didn't find in question about production
upvoted 1 times
xaqanik
1 year, 5 months ago
auditor works on a production project. nothing to do them in test and development projects
upvoted 5 times
...
...
...
Nazz1977
1 year, 7 months ago
Selected Answer: A
Avoid basic roles in production environments.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago