Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Professional Cloud Network Engineer Topic 5 Question 106 Discussion

Actual exam question for Google's Professional Cloud Network Engineer exam
Question #: 106
Topic #: 5
[All Professional Cloud Network Engineer Questions]

You have configured a Compute Engine virtual machine instance as a NAT gateway. You execute the following command:

gcloud compute routes create no-ip-internet-route \

--network custom-network1 \

--destination-range 0.0.0.0/0 \

--next-hop instance nat-gateway \

--next-hop instance-zone us-central1-a \

--tags no-ip --priority 800

You want existing instances to use the new NAT gateway. Which command should you execute?

Show Suggested Answer Hide Answer
Suggested Answer: B

https://cloud.google.com/sdk/gcloud/reference/compute/routes/create

In order to apply a route to an existing instance we should use a tag to bind the route to it.


Contribute your Thoughts:

Elli
21 hours ago
Wow, this is a tricky one. I'm going to have to go with option B, though. Seems like the most logical choice to me.
upvoted 0 times
...
Lindsey
4 days ago
I agree with Mabelle, creating a new instance with the correct tags seems like the right approach.
upvoted 0 times
...
Sena
5 days ago
But adding tags to existing instances won't make them use the new NAT gateway.
upvoted 0 times
...
Mabelle
12 days ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Jerilyn
13 days ago
Okay, let's see here. I'm going to go with option B. Tagging the existing instances with 'no-ip' seems like the way to go.
upvoted 0 times
...
Magdalene
14 days ago
Haha, this question is a piece of cake! Of course, the answer is B. Who would've thought configuring a NAT gateway could be so easy?
upvoted 0 times
Melissia
10 days ago
B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
...
Sena
14 days ago
I think the answer is B.
upvoted 0 times
...
Telma
1 months ago
Hmm, I'm not sure about this one. Let me think it through again. Ah, I got it! The answer is B, adding the 'no-ip' tag to the existing instances.
upvoted 0 times
Mee
2 days ago
No, I believe the correct answer is B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
Mona
8 days ago
I think the answer is A) sudo sysctl -w net.ipv4.ip_forward=1
upvoted 0 times
...
...
Ammie
1 months ago
The question seems straightforward. I think the answer is B, since we need to add the 'no-ip' tag to the existing instances to make them use the new NAT gateway.
upvoted 0 times
Rana
3 days ago
That makes sense, we just need to add the 'no-ip' tag to the existing instances.
upvoted 0 times
...
Amber
8 days ago
B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77