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)
A.
Create an IAM Role that allows write access to the DynamoDB table.
B.
Add an IAM Role to a running EC2 instance.
C.
Create an IAM User that allows write access to the DynamoDB table.
D.
Add an IAM User to a running EC2 instance.
E.
Launch an EC2 Instance with the IAM Role included in the launch configuration.
Explanation:
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TicTacToe.Phase3.ht
ml
A and B.
See step #4 of the following whitepaper.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
So according to that white paper the answer should be B and E
You are correct as B is now an acceptable answer but not when question was written.
A & B
A&B.
Create an IAM Role that allows write access to the DynamoDB table
Add an IAM Role to a running EC2 instance. (As per AWS latest enhancement, this is possible now)
The question asks “Which of the following items are required” – to my understanding the question implies “which of the following items in sequence are required”. If you consider A and E in sequence, the answer is correct