AWS Certified SysOps Administrator – Associate (legacy) — Question 337

A user has setup a VPC with CIDR 20.0.0.0/16. The VPC has a private subnet (20.0.1.0/24. and a public subnet (20.0.0.0/24.. The user's data center has CIDR of
20.0.54.0/24 and 20.1.0.0/24. If the private subnet wants to communicate with the data center, what will happen?

Answer options

Correct answer: D

Explanation

Because the data center CIDR block 20.0.54.0/24 overlaps with the VPC's primary CIDR block of 20.0.0.0/16, AWS will route this traffic locally within the VPC rather than forwarding it to the data center. Conversely, the CIDR block 20.1.0.0/24 lies outside the VPC's range, allowing traffic to be successfully routed to the data center via the virtual private gateway.