Soru

Zorluk: KolayStrengthening Identity, Access, and Network Security

A solutions architect is auditing a multi-account AWS environment to strengthen identity and access controls. A new member AWS account is placed under an Organizational Unit (OU) that has a Service Control Policy (SCP) attached. The SCP explicitly allows only read and write actions for Amazon S3. The administrator expects the IAM users in the member account to immediately have access to Amazon S3, but the users receive 'Access Denied' errors when attempting to list S3 buckets. Which of the following explains why the users cannot access Amazon S3?

  1. Service Control Policies establish permission boundaries by filtering permissions but do not grant access directly; the users must also be granted permission by local IAM policies.Cevap
  2. B
    The SCP automatically grants S3 permissions, but the default implicit deny in the member account's root user account policy overrides the SCP permissions.
  3. C
    The S3 buckets are encrypted using AWS-managed KMS keys, which cannot be accessed by IAM users in member accounts unless the key policy is explicitly modified to delegate trust.
  4. D
    The IAM users are attempting to access the S3 buckets through an interface VPC endpoint, and the Route 53 Private Hosted Zone for S3 has not been associated with the member account's VPC.

Cevap

Service Control Policies establish permission boundaries by filtering permissions but do not grant access directly; the users must also be granted permission by local IAM policies.
The correct option is that Service Control Policies establish permission boundaries by filtering permissions but do not grant access directly, requiring local IAM policies to grant permissions. In AWS Organizations, access is only permitted if it is allowed by both the SCP and the identity-based policy. The SCP acts as a filter, while the IAM policy acts as the grant.

Adım Adım Çözüm

1
Analyze how Service Control Policies (SCPs) function within AWS Organizations.
SCPs act as a filter to define the maximum allowed permissions for accounts within an OU. They do not grant permissions directly to IAM users, groups, or roles.
Understanding the inheritance and boundary nature of SCPs is critical to troubleshooting multi-account access control.
2
Determine the local configuration requirements in the member account.
To access S3, the IAM users must have local IAM policies attached that explicitly grant them the necessary S3 permissions.
An identity-based policy is required to grant the actual access, which is then restricted (or filtered) by the boundary set by the SCP.

Anahtar Kavram

SCPs act as permission guardrails or filters rather than permission grants. Access is only allowed when both the SCP and the local IAM policy explicitly permit the action.
Bu soruyu puanla