A Developer has code running on Amazon EC2 instances that needs read-only access to an Amazon DynamoDB table. What is the MOST secure approach the Developer should take to accomplish this task?
A) Create a user access key for each EC2 instance with read-only access to DynamoDB. Place the keys in the code. Redeploy the code as keys rotate.
B) Use an IAM role with an AmazonDynamoDBReadOnlyAccess policy applied to the EC2 instances.
C) Run all code with only AWS account root user access keys to ensure maximum access to services.
D) Use an IAM role with Administrator access applied to the EC2 instance.
Correct Answer:
Verified
Q105: A company is launching an ecommerce website
Q106: A company has implemented AWS CodePipeline to
Q107: A Developer has a legacy application that
Q108: A Company runs continuous integration/continuous delivery (CI/CD)
Q109: A company wants to migrate an imaging
Q111: A company is developing an application that
Q112: A Developer wants to insert a record
Q113: A Development team wants to immediately build
Q114: A Developer has discovered that an application
Q115: A Developer has written an Amazon Kinesis
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents