A user wants to list the IAM role that is attached to their Amazon EC2 instance. The user has login access to the EC2 instance but does not have IAM permissions. What should a solutions architect do to retrieve this information?
A) Run the following EC2 command: curl http://169.254.169.254/latest/meta-data/iam/info
B) curl http://169.254.169.254/latest / user-data/iam/info
C) http://169.254.169.254/latest/dynamic/instance-identity/
D) Run the following AWS CLI command: aws iam get-instance-profile --instance-profile-name ExampleInstanceProfile
Correct Answer:
Verified
Q338: As part of budget planning, management wants
Q339: A company currently has 250 TB of
Q340: A company is developing a real-time multiplier
Q341: A company is moving its on-premises Oracle
Q342: An ecommerce company is experiencing an increase
Q344: A solution architect needs to design a
Q345: A company has an ecommerce application running
Q346: A software vendor is deploying a new
Q347: A company recently started using Amazon Aurora
Q348: A company is moving its on-premises applications
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