New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Network Engineer Exam - 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:

0/2000 characters
Daniela
2 months ago
I thought you had to do more than just add tags.
upvoted 0 times
...
Maile
2 months ago
Definitely B, that’s the right move!
upvoted 0 times
...
Felix
3 months ago
B seems correct, but I’d double-check the instance names.
upvoted 0 times
...
Sherell
3 months ago
Wait, is it really that simple?
upvoted 0 times
...
Jacinta
3 months ago
You need to add tags to existing instances.
upvoted 0 times
...
Jeniffer
3 months ago
I feel like option B makes the most sense since we want existing instances to recognize the new NAT gateway.
upvoted 0 times
...
Ayesha
4 months ago
I'm a bit confused about the commands. Does option A actually relate to the NAT gateway setup?
upvoted 0 times
...
Loreen
4 months ago
I remember practicing a similar question where we had to configure NAT, and I think adding tags was the right approach.
upvoted 0 times
...
Lai
4 months ago
I think we need to add the tags to the existing instances, but I'm not entirely sure if it's option B or something else.
upvoted 0 times
...
Franklyn
4 months ago
Ah, I see now. Option B is the correct answer - we use the "gcloud compute instances add-tags" command to apply the "no-ip" tag to the existing instances. Simple but effective!
upvoted 0 times
...
Elroy
4 months ago
I'm a bit confused here. Do I need to enable IP forwarding on the NAT gateway instance first? Or is that not necessary?
upvoted 0 times
...
Kerry
5 months ago
Okay, I think I've got this. The key is to add the "no-ip" tag to the existing instances so they use the new NAT gateway. Let me double-check the options.
upvoted 0 times
...
Luke
5 months ago
Hmm, this looks like a tricky one. I'll need to think through the steps carefully to make sure I get the right command.
upvoted 0 times
...
Elli
8 months 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
Teddy
7 months ago
Definitely, option B is the most logical step to ensure existing instances use the new NAT gateway.
upvoted 0 times
...
Erinn
7 months ago
That's what I was thinking too, option B seems like the way to go.
upvoted 0 times
...
Gerald
7 months ago
I agree, adding the 'no-ip' tag to existing instances makes sense.
upvoted 0 times
...
Rodolfo
7 months ago
I think option B is the correct choice.
upvoted 0 times
...
...
Lindsey
8 months ago
I agree with Mabelle, creating a new instance with the correct tags seems like the right approach.
upvoted 0 times
...
Sena
8 months ago
But adding tags to existing instances won't make them use the new NAT gateway.
upvoted 0 times
...
Mabelle
9 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Jerilyn
9 months 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
9 months 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
Carma
8 months ago
Yeah, it's pretty straightforward. Just add the 'no-ip' tag to the existing instances and they'll use the new NAT gateway.
upvoted 0 times
...
Melissia
9 months ago
B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
...
Sena
9 months ago
I think the answer is B.
upvoted 0 times
...
Telma
9 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
Jacinta
8 months ago
I'm pretty sure the answer is B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
Tandra
8 months ago
Actually, I think it might be C) gcloud builds submit --config=cloudbuild.waml --substitutions=TAG_NAME=no-ip
upvoted 0 times
...
Mee
8 months ago
No, I believe the correct answer is B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
Mona
9 months ago
I think the answer is A) sudo sysctl -w net.ipv4.ip_forward=1
upvoted 0 times
...
...
Ammie
10 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
Wynell
8 months ago
Exactly, that way the existing instances will use the new NAT gateway.
upvoted 0 times
...
Rana
8 months ago
That makes sense, we just need to add the 'no-ip' tag to the existing instances.
upvoted 0 times
...
Amber
9 months ago
B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
...

Save Cancel