Bird
0
0

Which of the following is the correct CIDR notation for a subnet with 512 IP addresses?

easy📝 Configuration Q12 of 15
AWS - VPC Fundamentals
Which of the following is the correct CIDR notation for a subnet with 512 IP addresses?
A/23
B/25
C/22
D/24
Step-by-Step Solution
Solution:
  1. Step 1: Calculate bits needed for 512 addresses

    512 addresses require 9 bits (2^9 = 512) for host part.
  2. Step 2: Determine CIDR prefix

    IPv4 has 32 bits total, so prefix = 32 - 9 = 23. So CIDR is /23.
  3. Final Answer:

    /23 -> Option A
  4. Quick Check:

    512 IPs = 2^(32-23) = 512 [OK]
Quick Trick: Use 32 minus log2(IP count) for CIDR [OK]
Common Mistakes:
MISTAKES
  • Choosing /24 which gives only 256 addresses
  • Confusing /22 with 1024 addresses
  • Miscounting bits for hosts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes