Medium1 markMultiple Choice
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)
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
Q01You are starting a new initiative and need to create a new Google Cloud project using the Cloud S...EasyQ02Your company is migrating to Google Cloud and wants to manage user identities centrally. They cur...MediumQ03You have just created a new Google Cloud project and want to deploy a containerized application u...MediumQ04Your finance team wants to perform complex SQL queries on your Google Cloud billing data to analy...MediumQ05You are managing a development project in Google Cloud. You want to ensure that you are notified ...Easy
Expert