A company hosts an application on an Amazon EC2 instance. The EC2 instance needs to access several AWS resources, including Amazon S3 and Amazon DynamoDB. What is the MOST operationally efficient solution to delegate permissions?
A) Create an IAM role with the required permissions. Attach the role to the EC2 instance.
B) Create an IAM user and use its access key and secret access key in the application.
C) Create an IAM user and use its access key and secret access key to create a CLI profile in the EC2 instance
D) Create an IAM role with the required permissions. Attach the role to the administrative IAM user.
Correct Answer:
Verified
Q769: How do AWS users trade infrastructure expenses
Q770: Which AWS service allows users to provision
Q771: A company runs its workloads on premises.
Q772: Which design principles are enabled by the
Q773: Which tasks require use of the AWS
Q775: Which AWS service enables risk auditing of
Q776: A user wants to move legacy applications
Q777: Which pillar of the AWS Well-Architected Framework
Q778: A company recently migrated to AWS and
Q779: Which of the following are benefits of
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