ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 91 - ANS-C00 discussion

Report
Export

You need to find the public IP address of an instance that you're logged in to. What command would you use?

A.
curl ftp://169.254.169.254/latest/meta-data/public-ipv4
Answers
A.
curl ftp://169.254.169.254/latest/meta-data/public-ipv4
B.
scp localhost/latest/meta-data/public-ipv4
Answers
B.
scp localhost/latest/meta-data/public-ipv4
C.
curl http://127.0.0.1/latest/meta-data/public-ipv4
Answers
C.
curl http://127.0.0.1/latest/meta-data/public-ipv4
D.
curl http://169.254.169.254/latest/meta-data/public-ipv4
Answers
D.
curl http://169.254.169.254/latest/meta-data/public-ipv4
Suggested answer: D

Explanation:

Explanation: curl http://169.254.169.254/latest/meta-data/public-ipv4

asked 16/09/2024
Dario Esposito
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first