AWS Certified Solutions Architect - Professional free question 4 / 10 · Domain 2: Security, Compliance, and Governance
With an RCP attached at the root, you denied access by principals outside the organization to S3 buckets in member accounts. However, an S3 bucket in the management account could still be accessed by an outside principal that its bucket policy allowed. Which explanation of this behavior is correct?
- RCPs apply to resources that include AWS managed keys, and in this case the allow in the bucket policy took priority
- RCPs restrict the users and roles of the management account, and they are designed not to apply to the resources of member account buckets
- RCPs do not apply to resources in the management account, and what RCPs restrict is access to resources in member accounts
- RCPs apply to access from principals inside the organization, and access from outside the organization is not covered
Show the answer and explanation
Answer: C
Why this is correct
RCPs are a way to centrally control the maximum available permissions for resources in the organization, and they do not affect resources in the management account. They affect only resources in the member accounts of the organization. The effective permissions of service-linked roles and the AWS managed keys of AWS KMS are not covered either.
Why the other options are wrong
"RCPs restrict the users and roles of the management account, and they are designed not to apply to the resources of member account buckets" … An RCP controls access to resources, not the principals of an account. Resources in the member accounts are the ones it applies to, so the claim that it does not apply to member account buckets is wrong.
"RCPs apply to resources that include AWS managed keys, and in this case the allow in the bucket policy took priority" … RCPs do not apply to the AWS managed keys of AWS KMS. Moreover, the behavior here is explained by the exclusion of the management account, not by the allow in the bucket policy taking priority.
"RCPs apply to access from principals inside the organization, and access from outside the organization is not covered" … RCPs apply to access to resources in member accounts, including access from accounts outside the organization. They are not designed to exclude outside access.
Key point
RCPs do not affect resources in the management account, and SCPs do not affect users or roles in the management account. RCPs can also restrict access from principals outside the organization.