PrepAway - Latest Free Exam Questions & Answers

Which action must you take in order to have a running Amazon EC2 instance with an IAM role assigned to it?

You launch an Amazon EC2 instance without an assigned AVVS identity and Access Management (IAM) role.
Later, you decide that the instance should be running with an IAM role. Which action must you take in order to
have a running Amazon EC2 instance with an IAM role assigned to it?

PrepAway - Latest Free Exam Questions & Answers

A.
Create an image of the instance, and register the image with an IAM role assigned and an Amazon EBS
volume mapping.

B.
Create a new IAM role with the same permissions as an existing IAM role, and assign it to the running
instance.

C.
Create an image of the instance, add a new IAM role with the same permissions as the desired IAM role, and
deregister the image with the new role assigned.

D.
Create an image of the instance, and use this image to launch a new instance with the desired IAM role
assigned.

Explanation:

http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-usingrole-ec2instance.html

18 Comments on “Which action must you take in order to have a running Amazon EC2 instance with an IAM role assigned to it?

  1. MJ says:

    B might not be correct, since its mentioned “same permissions as an existing IAM role”, so questions doesn’t say to use any existing IAM role.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *