exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 118 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 118
Topic #: 1
[All Professional Cloud Architect Questions]

Your company has just acquired another company, and you have been asked to integrate their existing Google Cloud environment into your company's data center. Upon investigation, you discover that some of the RFC 1918 IP ranges being used in the new company's Virtual Private Cloud (VPC) overlap with your data center IP space. What should you do to enable connectivity and make sure that there are no routing conflicts when connectivity is established?

  • A. Create a Cloud VPN connection from the new VPC to the data center, create a Cloud Router, and apply new IP addresses so there is no overlapping IP space.
  • B. Create a Cloud VPN connection from the new VPC to the data center, and create a Cloud NAT instance to perform NAT on the overlapping IP space.
  • C. Create a Cloud VPN connection from the new VPC to the data center, create a Cloud Router, and apply a custom route advertisement to block the overlapping IP space.
  • D. Create a Cloud VPN connection from the new VPC to the data center, and apply a firewall rule that blocks the overlapping IP space.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
VishalB
Highly Voted 3 years, 9 months ago
Correct Answer: A - IP Should not overlap so applying new IP address is the solution
upvoted 42 times
zanfo
3 years, 1 month ago
A is not correct. "What should you do to enable connectivity and make sure that there are no routing conflicts when connectivity is established?" if you apply VPN con BGP, the actual IP address will be propagated to on prem environment with overlapping RFC1918 as result. B is correct with custom route
upvoted 7 times
...
...
TotoroChina
Highly Voted 3 years, 10 months ago
Answer is C. https://cloud.google.com/network-connectivity/docs/router/how-to/advertising-custom-ip
upvoted 36 times
meh009
3 years, 6 months ago
The Q states to establish connectivity. This would merely prevent that. Ans is A
upvoted 5 times
...
don_v
1 year, 3 months ago
I would also agree with C. Still, this part is confusing: "C. Create a Cloud VPN connection from the new VPC to the data center, create a Cloud Router, and apply a custom route advertisement to *block* the overlapping IP space." To *block*? Not to block. just to alias with advertised IP addresses.
upvoted 2 times
...
RKS_2021
3 years, 9 months ago
ANS is B https://cloud.google.com/architecture/best-practices-vpc-design
upvoted 8 times
RKS_2021
1 year, 7 months ago
It will be a NAT Router instance, which will route the traffic. I have practically applied the configuration.
upvoted 3 times
...
imgcp
3 years, 9 months ago
B is NOT correct. Cloud NAT is specifically used for translating the IP address of the outbound packets destined to the Internet. But this question is about using VPN communication between two private IP address spaces (RFC1918). Cloud NAT cannot achieve the purpose here, you can't use Cloud NAT to translate from one private IP to another private ip. I would vote for C.
upvoted 13 times
dija123
1 year ago
You can use private or hybrid NAT https://cloud.google.com/nat/docs/overview#private-nat
upvoted 3 times
...
Bill831231
3 years, 6 months ago
Thanks for the clarification, just one question, without a solution like NAT or reip, the service on the devices with overlapping IP subnet will be unavailable for on-premise devices, not sure if the question also about this
upvoted 1 times
...
...
elenamatay
3 years, 3 months ago
You can't use Cloud NAT according to this documentation: https://cloud.google.com/nat/docs/troubleshooting#overlapping-ip-addresses "Can I use Cloud NAT to connect a VPC network to another network to work around overlapping IP addresses? No, Cloud NAT cannot apply to any custom route whose next hop is not the default internet gateway. For example, Cloud NAT cannot apply to traffic sent to a next hop Cloud VPN tunnel, even if the destination is a publicly routable IP address."
upvoted 16 times
...
...
...
Zek
Most Recent 1 month, 4 weeks ago
Selected Answer: B
https://cloud.google.com/nat/docs/overview#private-nat Assume that your Google Cloud resources in a VPC network need to communicate with destinations in a VPC, on-premises, or other cloud provider network that is owned by a different business unit. However, the destination network contains subnets whose IP addresses overlap with the IP addresses of your VPC network. In this scenario, you create a Cloud NAT gateway for Private NAT that translates traffic between the subnets in your VPC network to the non-overlapping subnets of the other network.
upvoted 2 times
...
Peto12
4 months, 1 week ago
Selected Answer: B
With A you need to apply new IP addresses, with B you can use private NAT.
upvoted 1 times
...
andreacola
6 months ago
Selected Answer: B
Assume that the resources in your VPC network need to communicate with the resources in a VPC network or an on-premises or other cloud provider network that is owned by a different business unit. However, that network contains subnets whose IP addresses overlap with the IP addresses of your VPC network. In this scenario, you create a Private NAT gateway that translates traffic between the subnets in your VPC network to the non-overlapping subnets of the other network.
upvoted 5 times
...
Abhinavchawlac2d
6 months, 4 weeks ago
Correct Option: B. Create a Cloud VPN connection from the new VPC to the data center, and create a Cloud NAT instance to perform NAT on the overlapping IP space. This option effectively allows you to connect the two environments while addressing the overlapping IP space issue through NAT, ensuring that the VMs can communicate without conflicts.
upvoted 2 times
...
3fd692e
7 months ago
Selected Answer: B
There is a Private NAT you can use and is specifically designed to resolve overlapping private IP issues: https://medium.com/niveus-solutions/private-cloud-nat-and-why-we-need-it-on-gcp-f6ad0c96facb#:~:text=Private%20Cloud%20NAT%20with%20NCC,helps%20connect%20onprem%20to%20gcp.
upvoted 5 times
...
lucaluca1982
9 months ago
Selected Answer: B
Given that you are not going out to the internet and you need to use a Cloud Router for your VPC, you need to ensure that there is no overlap in the IP ranges between your data center and the newly acquired company's VPC. The best approach to manage this without renumbering the entire network is to use Network Address Translation (NAT) to handle the overlapping IP addresses.
upvoted 1 times
...
nhatne
10 months ago
Selected Answer: B
would go for B
upvoted 2 times
...
Sephethus
10 months, 2 weeks ago
The answer is B. Cloud VPN and Cloud NAT help you get around this problem easily without all the work of creating a new subnet and reassigning IPs to everything. Cloud NAT: Network Address Translation (NAT) allows you to translate IP addresses in your VPC to a different IP range, avoiding conflicts with overlapping IP ranges in your data center. This ensures that traffic can flow between the environments without routing conflicts. Cloud VPN: Establishing a Cloud VPN connection provides secure connectivity between the new VPC and your data center. By combining this with Cloud NAT, you can effectively manage and resolve the IP address overlap.
upvoted 1 times
Sephethus
10 months, 2 weeks ago
Cloud NAT does not directly resolve IP address conflicts due to overlapping ranges. Cloud NAT is typically used for instances without external IP addresses to access the internet while preserving their internal IPs for internal communications.
upvoted 1 times
...
...
eff12c1
11 months ago
Selected Answer: B
Using Cloud NAT to translate overlapping IP addresses is the most effective solution to ensure seamless connectivity between the new company's VPC and your company's data center without routing conflicts. This approach avoids the complexity of reconfiguring IP addresses and ensures that both networks can communicate effectively. https://cloud.google.com/nat/docs/overview#private-nat
upvoted 4 times
ccpmad
10 months, 4 weeks ago
It is not NAT, we are not going out to internet. We need cloud router
upvoted 1 times
VegasDegenerate
4 months ago
NAT doesn’t necessarily need to be used only for internet communication
upvoted 1 times
...
...
...
sandyrao
11 months ago
Selected Answer: B
Ans is B
upvoted 1 times
...
pico
11 months, 3 weeks ago
Selected Answer: B
https://cloud.google.com/nat/docs/overview#private-nat Assume that the resources in your VPC network need to communicate with the resources in a VPC network or an on-premises or other cloud provider network that is owned by a different business entity. However, the VPC network of that business entity contains subnets whose IP addresses overlap with the IP addresses of your VPC network. In this scenario, you create a Private NAT gateway that routes traffic between the subnets in your VPC network to the non-overlapping subnets of that business entity.
upvoted 2 times
...
Polosaty
1 year, 1 month ago
Selected Answer: B
I was absolutely sure that B was obviously wrong until I found that https://cloud.google.com/nat/docs/overview#private-nat So it seems like the answer is B...
upvoted 8 times
JaimeMS
12 months ago
B. THIS should be the accepted answer, the link you provide is 100% certain. It's a Private Hybrid NAT: " ...private-to-private translations... traffic between VPC networks and on-premises networks..." "...IP addresses overlap with the IP addresses of your VPC network. In this scenario, you create a Private NAT gateway..." B, 100%
upvoted 2 times
...
...
shashii82
1 year, 1 month ago
The challenge with Option A is that changing IP addresses can be complex and might impact existing applications, configurations, and dependencies within the new company's VPC. It might introduce additional complexity and potential risks during the integration process. Option C, on the other hand, allows you to maintain the existing IP addressing in the new company's VPC while selectively blocking the overlapping IP space during the routing process. This can be a more flexible and less disruptive approach, especially in scenarios where readdressing is not practical. In summary, both options might have their use cases, but Option C provides a solution that doesn't require changing IP addresses and can help avoid potential disruptions caused by such changes.
upvoted 1 times
...
bargou
1 year, 3 months ago
Selected Answer: A
with C option we would not able to connect to VM with those overlapping IP. we need to add a middle VPC between them. it will be more complicated. we have not choice here except reassigning IP adresses so i choose option A
upvoted 1 times
...
stefanop
1 year, 4 months ago
I think now the answer should change since Private NAT is publicly available: https://cloud.google.com/nat/docs/private-nat
upvoted 7 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