exam questions

Exam Professional Cloud Network Engineer All Questions

View all questions & answers for the Professional Cloud Network Engineer exam

Exam Professional Cloud Network Engineer topic 1 question 42 discussion

Actual exam question from Google's Professional Cloud Network Engineer
Question #: 42
Topic #: 1
[All Professional Cloud Network Engineer Questions]

You want to configure a NAT to perform address translation between your on-premises network blocks and GCP.
Which NAT solution should you use?

  • A. Cloud NAT
  • B. An instance with IP forwarding enabled
  • C. An instance configured with iptables DNAT rules
  • D. An instance configured with iptables SNAT rules
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rezavage
Highly Voted 4 years ago
It couldn't be A. Cause Cloud NAT is just an outbound NAT and can not DNAT the unsolicited incoming traffic from On-Prem to GCP. In order to intercept ,translate and forward an incoming session into GCP we need to provide additional DNAT rules on an intermediate GCP instance. So the answer will be C I guess.
upvoted 21 times
...
lxs
Highly Voted 2 years, 8 months ago
Selected Answer: A
It is not said it is VPN connection, so we must assume it is traffic between public IPs. GCP recommends to use Cloud NAT. Even if we go with instance machine we need to reserve public IP, enable ip forwarding (b) AND make SNAT for egress connections in iptables (c) AND make DNAT for ingress connections(d). Questions sounds like bidirectional communication. Why it cannot be VPN? Because prefixes and routes are configured on Cloud Router. It is not even possible to bind Cloud NAT and Router together with VPN. It is A or B,C,D (all 3, because it acts like a reverse proxy)
upvoted 5 times
...
RKS_2021
Most Recent 3 months, 1 week ago
Selected Answer: A
Cloud NAT is correct ans.
upvoted 1 times
...
thewalker
6 months ago
Selected Answer: A
Cloud NAT is a managed NAT service that provides a simple and scalable way to configure address translation between your on-premises network blocks and GCP. Cloud NAT is a fully managed service, so you do not need to manage the underlying infrastructure or software.
upvoted 2 times
thewalker
6 months ago
The other options are incorrect because: B. An instance with IP forwarding enabled. This is not a good solution because it is not scalable and it is not as secure as Cloud NAT. C. An instance configured with iptables DNAT rules. This is not a good solution because it is not as scalable as Cloud NAT and it is more complex to manage. D. An instance configured with iptables SNAT rules. This is not a good solution because it is not as scalable as Cloud NAT and it is more complex to manage. Therefore, the best option is to use Cloud NAT.
upvoted 1 times
...
...
desertlotus1211
8 months, 1 week ago
Answer is A: Cloud NAT is a distributed, software-defined managed service. It's not based on proxy VMs or appliances. Cloud NAT configures the Andromeda software that powers your Virtual Private Cloud (VPC) network so that it provides source network address translation (source NAT or SNAT) for resources. Cloud NAT also provides destination network address translation (destination NAT or DNAT) for established inbound response packets.
upvoted 1 times
desertlotus1211
8 months, 1 week ago
If the question asked to NAT between the Internet and GCP - what would you choose?
upvoted 1 times
...
...
BenMS
10 months, 1 week ago
Selected Answer: C
The one thing I do know is that Cloud NAT is NOT the right solution here, since it handles outbound connections from GCP to a single public IP address. My best guess for the right answer is C, since we need to change the Destination address of packets coming from an on-premises subnet into GCP - i.e. DNAT. I don't think merely forwarding the packets to a particular address will be sufficient, as we need to perform NAT on an entire network range.
upvoted 1 times
desertlotus1211
8 months, 1 week ago
You're wrong... Cloud NAT is a distributed, software-defined managed service. It's not based on proxy VMs or appliances. Cloud NAT configures the Andromeda software that powers your Virtual Private Cloud (VPC) network so that it provides source network address translation (source NAT or SNAT) for resources. Cloud NAT also provides destination network address translation (destination NAT or DNAT) for established inbound response packets. The Answer is A
upvoted 2 times
...
...
xhilmi
10 months, 2 weeks ago
Selected Answer: C
C. An instance configured with iptables DNAT rules This option suggests using iptables DNAT rules for on-premises to GCP NATing. DNAT (Destination Network Address Translation) is often used to redirect incoming packets from a public IP address to a private IP address inside your network, which aligns with the scenario of on-premises to GCP communication.
upvoted 1 times
...
Kyle1776
11 months, 4 weeks ago
Selected Answer: D
This is a tough one with the wording but 100% C or D. A- for internet-based NAT only not private on a VPN B- This is a requirement for this setup to work but on its own will not perform NAT c- This is required for on-prem to GCP NATing D- This is required for GCP to on-prem NATing If I had to only select one I would choose D since its GCP to On-prem NATing. But B and C would also be required for the full thing to work. I labbed this up BTW to get these results and B, C, and D were configured sooooooo.... do with that what you will.
upvoted 2 times
Kyle1776
10 months, 4 weeks ago
Misread the question. It should be C since its on-prem to GCP.
upvoted 2 times
...
...
didek1986
1 year, 2 months ago
Selected Answer: B
Cloud NAT service is not intended to allow communication between on-premises network and GCP resources, it just handles the inbound and outbound Address Translations in GCP (A is wrong)
upvoted 2 times
...
rr4444
1 year, 3 months ago
TOO AMBIGUOUS about which way the NAT is happening
upvoted 1 times
...
Komal697
1 year, 7 months ago
Selected Answer: A
A. Cloud NAT is the recommended solution for performing address translation between your on-premises network blocks and GCP. It is a fully managed service that provides automatic scaling, redundancy, and high availability. It allows you to translate the private IP addresses in your on-premises network to the public IP addresses used by resources in your GCP network. Cloud NAT also provides a simple and consistent configuration experience, making it easy to set up and manage.
upvoted 2 times
Komal697
1 year, 7 months ago
Option B, which is an instance with IP forwarding enabled, can be used to set up NAT for traffic going from GCP to on-premises networks. However, it cannot be used to set up NAT for traffic going from on-premises networks to GCP. To set up NAT for traffic coming from on-premises networks to GCP, you need to use a solution such as Cloud NAT, which can perform source NAT for outbound traffic from GCP.
upvoted 1 times
...
...
pkethireddy
1 year, 9 months ago
Which is the right answer?
upvoted 2 times
...
pk349
1 year, 9 months ago
B: Enabling IP forwarding is not sufficient to cause the instance to forward packets. You must configure its guest operating system as well.
upvoted 2 times
...
conip
1 year, 9 months ago
Selected Answer: B
I would go for B "If an on-premises router advertises a custom dynamic route to a Cloud Router managing a Cloud VPN tunnel or Cloud Interconnect attachment (VLAN), Cloud NAT gateways cannot use that route." https://cloud.google.com/nat/docs/overview#interaction-routes
upvoted 1 times
...
TD24
1 year, 10 months ago
With given options, i would go with "C" - DNAT
upvoted 2 times
...
ccieman2016
1 year, 10 months ago
Selected Answer: B
Could be B, cloud NAT not applicable here. C is incomplete, instance need have ip forwarding enable. for me is B.
upvoted 2 times
...
AzureDP900
1 year, 11 months ago
A. Cloud NAT
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago