How can the application locate this information?

A Developer is creating an application that needs to locate the public IPv4 address of the Amazon EC2 instance on which it runs.

How can the application locate this information?
A . Get the instance metadata by retrieving http://169.254.169.254/latest/metadata/.
B . Get the instance user data by retrieving http://169.254.169.254/latest/userdata/.
C . Get the application to run IFCONFIG to get the public IP address.
D . Get the application to run IPCONFIG to get the public IP address.

Answer: A

Explanation:

Reference: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html

Latest DVA-C01 Dumps Valid Version with 463 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments