Google Cloud Professional Cloud Network Engineer — Question 56
You need to create a new VPC network that allows instances to have IP addresses in both the 10.1.1.0/24 network and the 172.16.45.0/24 network.
What should you do?
Answer options
- A. Configure global load balancing to point 172.16.45.0/24 to the correct instance.
- B. Create unique DNS records for each service that sends traffic to the desired IP address.
- C. Configure an alias-IP range of 172.16.45.0/24 on the virtual instances within the VPC subnet of 10.1.1.0/24.
- D. Use VPC peering to allow traffic to route between the 10.1.0.0/24 network and the 172.16.45.0/24 network.
Correct answer: C
Explanation
The correct answer, C, is valid because configuring an alias-IP range allows instances in one subnet to also recognize and use IPs from a different range. Options A and B do not relate to network configuration and would not enable the desired IP addressing. Option D, while useful for connecting VPCs, does not facilitate the direct use of two IP ranges within a single VPC subnet.