0
0
GCPcloud~20 mins

Access control (IAM vs ACLs) in GCP - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Access Control Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding IAM vs ACLs in GCP

Which statement correctly describes the difference between IAM and ACLs in Google Cloud Platform?

AACLs replace IAM roles and are the recommended way to manage permissions across all GCP services.
BIAM controls access at the project or resource level using roles, while ACLs control access at the individual object level, such as files in Cloud Storage.
CIAM is used only for network security, while ACLs manage user permissions for all resources.
DIAM and ACLs are identical and can be used interchangeably for all GCP resources.
Attempts:
2 left
💡 Hint

Think about the scope of control each method provides.

Architecture
intermediate
2:00remaining
Choosing Access Control for Cloud Storage

You want to allow a specific user to read only one file in a Cloud Storage bucket without giving access to the entire bucket. Which access control method should you use?

AAssign an IAM role with read permission on the entire bucket to the user.
BUse IAM to grant the user owner permissions on the project.
CCreate a new project and move the file there to isolate access.
DUse an ACL to grant read permission on the specific file to the user.
Attempts:
2 left
💡 Hint

Consider the granularity of permissions needed.

security
advanced
2:00remaining
Impact of Overly Broad IAM Roles

What is the most likely security risk if a user is granted the 'Owner' IAM role on a GCP project?

AThe user can create, modify, and delete any resource, potentially causing accidental or malicious damage.
BThe user can only view resources but cannot make changes.
CThe user can only access billing information but not resources.
DThe user is restricted to read-only access on all resources.
Attempts:
2 left
💡 Hint

Think about what the 'Owner' role allows in GCP.

service_behavior
advanced
2:00remaining
Effect of Removing ACLs on Cloud Storage Objects

If you remove all ACL entries from a Cloud Storage object, what will be the effect on access to that object?

AThe object becomes publicly accessible to anyone on the internet.
BThe object remains accessible to all users who had ACL permissions before removal.
COnly users with IAM permissions on the bucket or project can access the object.
DThe object is deleted automatically by Cloud Storage.
Attempts:
2 left
💡 Hint

Consider how access is controlled when ACLs are empty.

Best Practice
expert
3:00remaining
Best Practice for Managing Access in Large GCP Environments

In a large organization with many teams and projects, what is the best practice for managing access control to ensure security and ease of management?

AUse IAM groups and predefined roles to assign permissions, minimizing direct user assignments and using ACLs only when necessary.
BAssign IAM roles directly to individual users on each project to keep control tight.
CRely solely on ACLs for all resources to have fine-grained control at the object level.
DGrant all users the Owner role on projects to avoid permission issues.
Attempts:
2 left
💡 Hint

Think about scalability and security in large teams.