1. Home
  2. Computer Science MCQs
  3. Cloud Computing
  4. A VPC subnet is created with CIDR 10.0.4.0/24 in AWS. How…

Added 30 Nov -0001

A VPC subnet is created with CIDR 10.0.4.0/24 in AWS. How many IP addresses can actually be assigned to resources?

  1. 254, because only the network and broadcast addresses are unusable inside a subnet here
  2. 250, because AWS reserves six addresses once the VPC router is also counted
  3. 251, because AWS reserves five addresses in every subnet for networking functions Correct answer
  4. 256, because a /24 mask leaves eight host bits with no addresses reserved

Correct answer

C. 251, because AWS reserves five addresses in every subnet for networking functions

13 views

MCQSEXAM

Explanation

Subnet sizing subtracts five addresses from every AWS subnet: the network address, the VPC router, DNS, a future-use address and the broadcast address, so a /24 offers 251 usable ones. A /28, with 16 addresses, therefore yields only 11 assignable IPs. Overlapping CIDRs across VPCs cannot be routed together without re-addressing or a NAT layer.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Cloud Computing MCQs

Practise all Cloud Computing MCQs

Similar MCQs