How can software determine the public and private IP addresses of the Amazon EC2 instance that it is running on?

How can software determine the public and private IP addresses of the Amazon EC2 instance that it is running on?
A. Query the appropriate Amazon CloudWatch metric.
B. Use ipconfig or ifconfig command.
C. Query the local instance userdata.
D. Query the local instance metadata.

amazon-exams

One thought on “How can software determine the public and private IP addresses of the Amazon EC2 instance that it is running on?

  1. The public and private IP addresses of the Amazon EC2 instance that it is running on “Query the local instance metadata”

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.