GCP ACE · Question 40 · Domain 4.5: Managing networking resources
You have an existing Compute Engine instance named 'ftp-server' that currently has an ephemeral external IP address. You need to assign it a static external IP address so that clients can reliably connect to it. You have not yet created the static IP.
Which TWO gcloud commands must you run to accomplish this? (Select TWO)
Answer options:
gcloud compute addresses create [ADDRESS_NAME] --region=[REGION]
gcloud compute instances update ftp-server --static-ip
gcloud compute instances add-access-config ftp-server --address=[IP_ADDRESS]
gcloud compute networks assign-ip ftp-server --type=static
gcloud compute instances delete-access-config ftp-server
50 questions · hints · full answers · grading