Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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
1 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
...
Lindsey
1 months ago
I agree with Mabelle, creating a new instance with the correct tags seems like the right approach.
upvoted 0 times
...
Sena
1 months ago
But adding tags to existing instances won't make them use the new NAT gateway.
upvoted 0 times
...
Mabelle
1 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Jerilyn
1 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
2 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
1 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
1 months ago
B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
...
Sena
2 months ago
I think the answer is B.
upvoted 0 times
...
Telma
2 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
15 days ago
I'm pretty sure the answer is B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
Tandra
23 days ago
Actually, I think it might be C) gcloud builds submit --config=cloudbuild.waml --substitutions=TAG_NAME=no-ip
upvoted 0 times
...
Mee
1 months ago
No, I believe the correct answer is B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
Mona
1 months ago
I think the answer is A) sudo sysctl -w net.ipv4.ip_forward=1
upvoted 0 times
...
...
Ammie
2 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
1 months ago
Exactly, that way the existing instances will use the new NAT gateway.
upvoted 0 times
...
Rana
1 months ago
That makes sense, we just need to add the 'no-ip' tag to the existing instances.
upvoted 0 times
...
Amber
1 months ago
B) gcloud compute instances add-tags [existing-instance] --tags no-ip
upvoted 0 times
...
...

Save Cancel