exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 354 discussion

A developer is running an application on an Amazon EC2 instance. When the application tries to read an Amazon S3 bucket, the application fails. The developer notices that the associated IAM role is missing the S3 read permission. The developer needs to give the application the ability to read the S3 bucket.

Which solution will meet this requirement with the LEAST application disruption?

  • A. Add the permission to the role. Terminate the existing EC2 instance. Launch a new EC2 instance.
  • B. Add the permission to the role so that the change will take effect automatically.
  • C. Add the permission to the role. Hibernate and restart the existing EC2 instance.
  • D. Add the permission to the S3 bucket. Restart the EC2 instance.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
KennethNg923
Highly Voted 8 months, 3 weeks ago
Selected Answer: B
When you modify an IAM role's permissions, the changes take effect almost immediately (typically within a few minutes) without requiring any instance restart or replacement.
upvoted 5 times
...
65703c1
Most Recent 11 months, 2 weeks ago
Selected Answer: B
B is the correct answer.
upvoted 4 times
...
mehanizator
1 year ago
Selected Answer: B
ChatGPT: B
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago