☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact
aws

AWS Certified Developer - Associate DVA-C02

40 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 38 of 40

Single answer

An application that is hosted on an Amazon EC2 instance needs access to files that are stored in an Amazon S3 bucket. The application lists the objects that are stored in the S3 bucket and displays a table to the user. During testing, a developer discovers that the application does not show any objects in the list.
What is the MOST secure way to resolve this issue?

A

A.Update the IAM instance profile that is attached to the EC2 instance to include the S3:* permission for the S3 bucket.

B

B.Update the IAM instance profile that is attached to the EC2 instance to include the S3:ListBucket permission for the S3 bucket.

C

C.Update the developer's user permissions to include the S3:ListBucket permission for the S3 bucket.

D

D.Update the S3 bucket policy by including the S3:ListBucket permission and by setting the Principal element to specify the account number of the EC2 instance.

Correct Answer: A

<p>B.Update the IAM instance profile that is attached to the EC2 instance to include the S3:ListBucket permission for the S3 bucket.</p>

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of AWS certification topics.

About this practice exam

Review 40 AWS questions with answers and explanations. Use the navigation to move through the exam at your own pace.