Quiz 5 Question 6 of 20

Developers report a Lambda execution role receives AccessDenied for s3:GetObject on arn:aws:s3:::reports-q4/* despite an attached IAM policy allowing it. The bucket policy was recently updated, and an SCP now restricts S3 in non-logging accounts. Which diagnostic method should the engineer use to pinpoint the cause of the authorization failure?

Select an answer to reveal the explanation.

Motivation