AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 106

An Amazon EC2 instance is running in a VPC and needs to download an object from a restricted Amazon S3 bucket. When the DevOps engineer tries to download the object, an AccessDenied error is received.

What are the possible causes for this error? (Choose two.)

Answer options

Correct answer: B, D

Explanation

The AccessDenied error is often due to an incorrect S3 bucket policy (B) or IAM role misconfiguration (D). While the other options may affect accessibility in different contexts, they do not directly cause this specific error when trying to download an object.