A user has created an application which will be hosted on EC2. The application makes calls to DynamoDB to fetch certain data. The application is using the DynamoDB SDK to connect with from the EC2 instance. Which of the below mentioned statements is true with respect to the best practice for security in this scenario?
A) The user should attach an IAM role with DynamoDB access to the EC2 instance
B) The user should create an IAM user with DynamoDB access and use its credentials within the application to connect with DynamoDB
C) The user should create an IAM role, which has EC2 access so that it will allow deploying the application
D) The user should create an IAM user with DynamoDB and EC2 access. Attach the user with the application so that it does not use the root account credentials
Correct Answer:
Verified
Q547: A user is having data generated randomly
Q548: An organization is planning to create a
Q549: A user has configured an ELB to
Q550: A user is trying to create a
Q551: A user is trying to understand the
Q553: A user has created a VPC with
Q554: An organization has configured Auto Scaling for
Q555: A sys admin is trying to understand
Q556: An organization (Account ID 123412341234) has attached
Q557: A user is trying to understand the
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