AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 137
You need to create a subnet in a VPC that supports 14 hosts. You need to be as accurate as possible since you run a very large company. What CIDR should you use?
Answer options
- A. /28
- B. /24
- C. /25
- D. /27
Correct answer: D
Explanation
The correct CIDR is /27, which provides 32 IP addresses, allowing for 30 usable hosts after accounting for the network and broadcast addresses. A /28 offers only 16 addresses (14 usable), which is insufficient, while /24 and /25 provide more addresses than necessary for just 14 hosts.