nerdexam
AmazonAmazon

DVA-C02 · Question #273

DVA-C02 Question #273: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #273. The question stem and answer options stay visible for context.

Submitted by thandi_sa· Mar 5, 2026Security

Question

A developer is creating an application that reads and writes to multiple Amazon S3 buckets. The application will be deployed to an Amazon EC2 instance. The developer wants to make secure API requests from the EC2 instances without the need to manage the security credentials for the application. The developer needs to apply the principle of least privilege. Which solution will meet these requirements?

Options

  • ACreate an IAM user. Create access keys and secret keys for the user. Associate the user with an
  • BAssociate the EC2 instance with an IAM role that has an IAM policy that allows s3:ListBucket and
  • CAssociate the EC2 instance with an IAM role that has an AmazonS3FullAccess AWS managed
  • DCreate a bucket policy on the S3 bucket that allows s3:ListBucket and s3:*Object permissions to

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.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions