AWS Certified Security – Specialty (SCS-C02) — Question 65

A security engineer is configuring account-based access control (ABAC) to allow only specific principals to put objects into an Amazon S3 bucket. The principals already have access to Amazon S3.

The security engineer needs to configure a bucket policy that allows principals to put objects into the S3 bucket only if the value of the Team tag on the object matches the value of the Team tag that is associated with the principal. During testing, the security engineer notices that a principal can still put objects into the S3 bucket when the tag values do not match.

Which combination of factors are causing the PutObject operation to succeed when the tag values are different? (Choose two.)

Answer options

Correct answer: A, C

Explanation

The correct answer includes A and C because the principal's identity-based policy allows the PutObject action without conditions, which means they can bypass the tag matching requirement. Additionally, the S3 bucket's resource policy does not explicitly deny the action, allowing the operation to succeed. Options B, D, and E are incorrect as they do not accurately describe the situation affecting access control in this scenario.