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

A company has an application that needs to read objects from an Amazon S3 bucket. The company configures an IAM policy and attaches the policy to an IAM role that the application uses. When the application tries to read objects from the S3 bucket, the application receives AccessDenied errors.

A security engineer must resolve this problem without decreasing the security of the S3 bucket or the application.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Option C is correct because using AWS Identity and Access Management Access Analyzer helps identify policy misconfigurations securely, and verifying role assumption ensures the application is correctly using the intended credentials. Option D is incorrect because disabling S3 Block Public Access decreases the security of the bucket. Options A and B are incorrect because they do not address the root identity-based policy or role assumption issues.