Homework Help: Questions and Answers: You are migrating your enterprise applications to GCP Your organization is securely monitored by security team and they want visibility of all the projects in the organization. You are the lead of GCP project and have assigned org admin role for yourself in google cloud resource manager. What IAM role in google cloud will you assign to security team to make sure no changes are made to any of these applications?
a) Org admin, project viewer
b) Org viewer, project admin
c) Org viewer, project viewer
d) org viewer, project owner
Answer
To determine the appropriate IAM (Identity and Access Management) roles to assign to the security team, we need to ensure that the team has visibility into all projects without the ability to make changes. This means they should have read-only access at both the organization and project levels.
- Org Admin: Full control at the organization level
- Org Viewer: Read-only access at the organization level
- Project Admin: Full control of all resources in a project
- Project Viewer: Read-only access to all resources in a project
- Project Owner: Full control over a project
Given Options: Step by Step Answering
a) Org admin, project viewer
- Org admin: This role provides full control over the entire organization, including the ability to make changes to projects, folders, and other resources. It does not meet the requirement for read-only access.
- Project viewer: This role provides read-only access to project resources.
b) Org viewer, project admin
- Org viewer: This role provides read-only access to view the organization’s resources, which is appropriate for the security team’s needs.
- Project admin: This role provides full control over the project’s resources, including the ability to make changes, which does not meet the requirement for read-only access.
c) Org viewer, project viewer
- Org viewer: Provides read-only access to view the organization’s resources.
- Project viewer: Provides read-only access to view the project’s resources.
- This combination provides read-only access at both the organization and project levels, which aligns with the requirement.
d) Org viewer, project owner
- Org viewer: Provides read-only access to view the organization’s resources.
- Project owner: This role provides full control over the project, including the ability to make changes, which does not meet the requirement for read-only access.
Final Answer
Based on the above analysis, the correct answer is:
c) Org viewer, project viewer
Org viewer provides the security team with read-only access to both the organization and project resources, ensuring visibility without the ability to make changes.
Learn More: Homework Help
Q. Which of the following is not a right set of Foundation Models available?