0
0
AWScloud~5 mins

CIDR blocks and IP addressing in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does CIDR stand for and what is its purpose?
CIDR stands for Classless Inter-Domain Routing. It helps allocate IP addresses more efficiently by allowing flexible block sizes instead of fixed classes.
Click to reveal answer
beginner
Explain the format of a CIDR block, for example, 192.168.1.0/24.
A CIDR block has an IP address followed by a slash and a number. The number (/24) shows how many bits are fixed for the network part. Here, /24 means the first 24 bits are network, leaving 8 bits for hosts.
Click to reveal answer
intermediate
How many IP addresses are available in a /28 CIDR block?
A /28 block has 32 - 28 = 4 bits for hosts. That means 2^4 = 16 IP addresses total. Usually, 2 are reserved (network and broadcast), so 14 usable addresses.
Click to reveal answer
beginner
Why is CIDR important in AWS VPC networking?
CIDR lets you define the size of your VPC and subnets precisely. This helps avoid wasting IP addresses and allows better control over network design.
Click to reveal answer
beginner
What is the difference between public and private IP addresses in CIDR blocks?
Public IPs are reachable on the internet, while private IPs are used inside private networks. Private IP ranges are defined by specific CIDR blocks like 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
Click to reveal answer
What does the '/16' mean in the CIDR block 10.0.0.0/16?
AIt is a subnet mask of 255.255.255.0
BThe last 16 bits are the network part
CThe first 16 bits are the network part
DThere are 16 IP addresses total
How many usable IP addresses are in a /30 subnet?
A6
B4
C8
D2
Which CIDR block is a private IP range?
A192.168.1.0/24
B8.8.8.0/24
C172.32.0.0/12
D100.64.0.0/10
Why should you avoid overlapping CIDR blocks in AWS VPCs?
AIt causes IP address conflicts and routing issues
BIt increases network speed
CIt reduces security
DIt automatically merges the networks
What is the subnet mask equivalent of /24?
A255.255.0.0
B255.255.255.0
C255.0.0.0
D255.255.255.255
Describe what a CIDR block is and how it helps in IP addressing.
Think about how IP addresses are grouped and counted.
You got /4 concepts.
    Explain why choosing the right CIDR block size is important when creating an AWS VPC.
    Consider how many devices you want to connect and how IPs are assigned.
    You got /4 concepts.