Question 105 of 157
Single answerA 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?
✓ACreate an IAM role with the required permissions. Attach the role to the EC2 instance.
BCreate an IAM user and use its access key and secret access key in the application.
CCreate an IAM user and use its access key and secret access key to create a CLI profile in the EC2 instance
DCreate an IAM role with the required permissions. Attach the role to the administrative IAM user.
✓
Correct Answer: A
Create an IAM role with the required permissions. Attach the role to the EC2 instance.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of AWS certification topics.