
Explanation:
The correct command is gcloud compute instances list. This command lists Google Compute Engine instances, including both internal and external IP addresses. Other options like gcloud compute networks list-ip., gcloud compute networks list., and gcloud compute instances list-ip. are incorrect because they either do not support the action list-ip or do not list IP addresses as required. For more details, refer to the Google Cloud SDK documentation.
To list all the internal and external IP addresses of all compute instances, which command should you use?
A
gcloud compute networks list-ip.
B
gcloud compute instances list.
C
gcloud compute networks list.
D
gcloud compute instances list-ip.
No comments yet.