A developer is building an application that will run on Amazon EC2 instances. The application needs to connect to an Amazon DynamoDB table to read and write records. The security team must periodically rotate access keys. Which approach will satisfy these requirements?
A) Create an IAM role with read and write access to the DynamoDB table. Generate access keys for the user and store the access keys in the application as environment variables.
B) Create an IAM user with read and write access to the DynamoDB table. Store the user name and password in the application and generate access keys using an AWS SDK.
C) Create an IAM role, configure read and write access for the DynamoDB table, and attach to the EC2 instances.
D) Create an IAM user with read and write access to the DynamoDB table. Generate access keys for the user and store the access keys in the application as a credentials file.
Correct Answer:
Verified
Q409: A company provides APIs as a service
Q410: A development team wants to run their
Q411: A developer is implementing authentication and authorization
Q412: A developer is creating a new application
Q413: A developer must increase read performance from
Q415: An application is real-time processing millions of
Q416: A developer is trying to get data
Q417: A video-hosting website has two types of
Q418: A company has a two-tier application running
Q419: A developer is building an application integrating
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