Medium1 markMultiple Choice
Domain 4.5: Managing networking resourcesNetworkingStatic IPCompute Engine

GCP ACE · Question 40 · Domain 4.5: Managing networking resources

You need to assign a specific, unchanging external IP address to a Compute Engine instance that acts as an SFTP server.

Which TWO steps are required to achieve this? (Select TWO)

Answer options:

A.

Reserve a static external IP address in the correct region.

B.

Reserve a global static external IP address.

C.

Assign the reserved IP address to the instance's network interface.

D.

Configure Cloud NAT to map the internal IP to the external IP.

E.

Create a DNS A record pointing to the instance's internal IP.

How to approach this question

Understand the difference between regional and global IPs, and how they are attached to VMs.

Full Answer

To give a VM a permanent external IP, you must first reserve a regional static external IP address (because VMs are regional resources). Global IPs cannot be attached directly to VMs. After reserving the IP, you update the VM's network interface to use that specific reserved IP instead of an ephemeral one.

Common mistakes

Reserving a Global IP. Global IPs are strictly for Global Load Balancers. VMs require Regional IPs.

Practice the full GCP Associate Cloud Engineer Practice Exam 7

50 questions · hints · full answers · grading

More questions from this exam