Prev Question
Next Question

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?

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

Prev Question
Next Question

Leave a Reply

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