
Answer-first summary for fast verification
Answer: 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.
The correct approach is to configure an alias-IP range. In Google Cloud, a VPC subnet can have primary and secondary (alias) IP ranges. By configuring an alias-IP range of 172.16.45.0/24 on instances within the subnet 10.1.1.0/24, the instances can have IP addresses from both ranges. Alias IPs allow a single VM to use multiple IP addresses from different ranges on the same network interface. Options A and B relate to traffic routing or DNS, not IP assignment. Option D (VPC peering) is used for connecting VPCs, not assigning IPs within a single VPC.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can you create a new VPC network that enables instances to have IP addresses in both the 10.1.1.0/24 and 172.16.45.0/24 subnets?
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.
No comments yet.