nerdexam
Amazon

DVA-C02 · Question #127

A team is developing an application that is deployed on Amazon EC2 instances. During testing, the team receives an error. The EC2 instances are unable to access an Amazon S3 bucket. Which steps…

The correct answer is A. Check whether the policy that is assigned to the IAM role that is attached to the EC2 instances B. Check the S3 bucket policy to validate the access permissions for the S3 bucket. Option A is correct because IAM roles are used to grant permissions to AWS services, such as EC2 instances, to access other AWS services, such as S3 buckets. The policy assigned to the IAM role attached to the EC2 instances should be checked to ensure that it grants access to…

Submitted by layla.eg· Mar 5, 2026Troubleshooting and Optimization

Question

A team is developing an application that is deployed on Amazon EC2 instances. During testing, the team receives an error. The EC2 instances are unable to access an Amazon S3 bucket. Which steps should the team take to troubleshoot this issue? (Choose two.)

Options

  • ACheck whether the policy that is assigned to the IAM role that is attached to the EC2 instances
  • BCheck the S3 bucket policy to validate the access permissions for the S3 bucket.
  • CCheck whether the policy that is assigned to the IAM user that is attached to the EC2 instances
  • DCheck the S3 Lifecycle policy to validate the permissions that are assigned to the S3 bucket.
  • ECheck the security groups that are assigned to the EC2 instances. Make sure that a rule is not

How the community answered

(54 responses)
  • A
    83% (45)
  • C
    2% (1)
  • D
    9% (5)
  • E
    6% (3)

Explanation

Option A is correct because IAM roles are used to grant permissions to AWS services, such as EC2 instances, to access other AWS services, such as S3 buckets. The policy assigned to the IAM role attached to the EC2 instances should be checked to ensure that it grants access to the Option B is also correct because the S3 bucket policy controls access to the S3 bucket. The S3 bucket policy should be checked to ensure that the access permissions are correctly configured.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice