PrepAway - Latest Free Exam Questions & Answers

Which of the following items are required to allow an application deployed on an EC2 instance to write data to

Which of the following items are required to allow an application deployed on an EC2
instance to write data to a DynamoDB table? Assume that no security Keys are allowed to
be stored on the EC2 instance. Choose 2 answers

PrepAway - Latest Free Exam Questions & Answers

A.
Create an IAM User that allows write access to the DynamoDB table.

B.
Launch an EC2 Instance with the IAM User included in the launch configuration.

C.
Create an IAM Role that allows write access to the DynamoDB table.

D.
Launch an EC2 Instance with the IAM Role included in the launch configuration.

E.
Add an IAM Role to a running EC2 instance.

F.
Add an IAM User to a running EC2 Instance.

14 Comments on “Which of the following items are required to allow an application deployed on an EC2 instance to write data to

  1. Simon Liang says:

    C,D.
    IAM Role is to control the access between different AWS services.
    E is not correct, if one EC2 instance is running, you can’t re-assign IAM role to it.




    0



    0
  2. Mr AWS says:

    I have an idea, why not log into the console, make an instance and try it. I did and you can definitely add or change a IAM role to a running instance. Under Actions > Instance Settings > Attach/Replace IAM Role




    0



    0

Leave a Reply

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