Multiple Choice
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
Correct Answer:
Verified
Q241: A company wants to automate the security
Q242: A company has hired a new cloud
Q243: A company hosts its product information webpages
Q244: A solutions architect is designing a new
Q245: A company is running a publicly accessible
Q247: A solutions architect is designing the cloud
Q248: A leasing company generates and emails PDF
Q249: A company is running an ASP.NET MVC
Q250: A company is running a global application.
Q251: A company with facilities in North America,