4/81
Sign inSign up free

531. Explicit Deny in a Bucket Policy

medium 5 XP ~1 minQuiz

A role's IAM policy allows s3:GetObject on arn:aws:s3:::invoices/*. The bucket policy has a statement with "Effect": "Deny" for all principals when aws:SecureTransport is false. A script using the role downloads an object over plain HTTP. What happens?

Choose one answer