Google Professional Cloud Network Engineer Exam - Topic 3 Question 102 Discussion
You have several VMs across multiple VPCs in your cloud environment that require access to internet endpoints. These VMs cannot have public IP addresses due to security policies, so you plan to use Cloud NAT to provide outbound internet access. Within your VPCs, you have several subnets in each region. You want to ensure that only specific subnets have access to the internet through Cloud NAT. You want to avoid any unintentional configuration issues caused by other administrators and align to Google-recommended practices. What should you do?
D) Create a constraints/compute.restrictCloudNATUsage organizational policy constraint. Attach the constraint to a folder that contains the associated projects. Configure the allowedValues to only contain the subnets that should have internet access. Deploy Cloud NAT and select only the allowed subnets.
A) Deploy Cloud NAT in each VPC and configure a custom source range that includes the allowed subnets. Configure Cloud NAT rules to only permit the allowed subnets to egress through Cloud NAT.
B) Create a firewall rule in each VPC at priority 500 that targets all instances in the network and denies egress to the internet (0.0.0.0/0). Create a firewall rule at priority 300 that targets all instances in the network, has a source filter that maps to the allowed subnets, and allows egress to the internet (0.0.0.0/0). Deploy Cloud NAT and configure all primary and secondary subnet source ranges.
C) Create a firewall rule in each VPC at priority 500 that targets all instances in the network and denies egress to the internet (0.0.0.0/0). Create a firewall rule at priority 300 that targets all instances in the network, has a source filter that maps to the allowed subnets, and allows egress to the internet (0.0.0.0/0). Deploy Cloud NAT and configure a custom source range that includes the allowed subnets.
Colette
9 months agoJulian
9 months agoJeff
10 months agoBarrett
10 months agoReuben
10 months agoCeola
10 months agoTawna
11 months agoBok
11 months agoLemuel
11 months agoPhil
11 months agoPaola
11 months agoJess
11 months agoDesmond
11 months agoJames
2 years agoBernardine
1 year agoCherry
1 year agoHyun
1 year agoAlaine
1 year agoMickie
2 years agoEliz
1 year agoSheron
1 year agoIsreal
2 years agoAngella
1 year agoJerry
1 year agoBuck
2 years agoRenea
2 years agoNaomi
2 years agoTeresita
1 year agoBlythe
2 years agoVivan
2 years agoTegan
2 years agoLigia
2 years agoFarrah
2 years agoBillye
2 years agoLeonor
1 year agoLing
1 year agoIvette
2 years agoVeronika
2 years ago