AmazonAmazon
DVA-C02 · Question #401
DVA-C02 Question #401: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #401. The question stem and answer options stay visible for context.
Submitted by brentm· Mar 5, 2026Security
Question
A developer is creating a new batch application that will run on an Amazon EC2 instance. The application requires read access to an Amazon S3 bucket. The developer needs to follow security best practices to grant S3 read access to the application. Which solution meets these requirements?
Options
- AAdd the permissions to an IAM policy. Attach the policy to a role. Attach the role to the EC2
- BAdd the permissions inline to an IAM group. Attach the group to the EC2 instance profile.
- CAdd the permissions to an IAM policy. Attach the policy to a user. Attach the user to the EC2
- DAdd the permissions to an IAM policy. Use IAM web identity federation to access the S3 bucket
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.