Which combination of steps will ensure that all network traffic that originates from the VPC will not use the public internet to communicate with the data cantor?
(Choose two.)
Adjust the route table for the public subnet to use the NAT gateway as its default route,
Adjust the route table for the public subnet to use the customer gateway for the data center’s CIDR block.
Adjust the route table for the public subnet to use the virtual private gateway for the data cantor’s CIDR block
Adjust the route table for the private subnet to use the customer gateway for the data center’s CIDR block.
Adjust the route table for the private subnet to use the virtual private gateway for the data centers CIDR block.
Explanations:
Adjusting the route table for the public subnet to use the NAT gateway would direct traffic destined for the internet through the NAT, but this does not prevent traffic from going over the public internet to the data center.
Routing traffic to the customer gateway from the public subnet would direct it to the data center over the VPN, but this is not needed as the private subnet already has the appropriate route.
Adjusting the route table for the public subnet to use the virtual private gateway ensures traffic destined for the data center’s CIDR block travels over the VPN tunnel, not the public internet.
Adjusting the route table for the private subnet to use the customer gateway would bypass the virtual private gateway, which could disrupt proper routing of traffic to the data center over the VPN.
Adjusting the route table for the private subnet to use the virtual private gateway ensures traffic to the data center is routed securely over the VPN and not the public internet.