MCQs on VPC Core Concepts and Setup | AWS Amazon VPC Virtual Private Cloud

Dive into AWS Amazon VPC with these 30 essential MCQs. Covering key topics like VPC core concepts, subnets, CIDR blocks, IP addressing, routing, and internet gateways, this comprehensive set helps enhance your understanding of Amazon VPC. Designed for AWS certification preparation, these questions will strengthen your grasp of network setup and connectivity.


Multiple-Choice Questions

1. VPC Core Concepts and Setup

  1. What does VPC stand for in AWS?
    a) Virtual Private Cloud
    b) Virtual Public Cloud
    c) Virtual Protocol Control
    d) Virtual Proxy Configuration
  2. A VPC in AWS spans:
    a) A single availability zone
    b) A single region
    c) Multiple regions
    d) Multiple accounts
  3. By default, a newly created VPC includes:
    a) An internet gateway
    b) A main route table
    c) Predefined subnets
    d) DNS hostnames enabled
  4. How many VPCs can you create per AWS account by default?
    a) 1
    b) 5
    c) 10
    d) 20
  5. A default VPC comes with:
    a) Public and private subnets
    b) Default security group and route table
    c) Internet gateway pre-attached
    d) All of the above

2. Subnets, CIDR Blocks, and IP Addressing

  1. What is the purpose of a subnet in a VPC?
    a) Isolate traffic between regions
    b) Partition a VPC’s IP address range
    c) Define DNS resolution rules
    d) Enable private DNS
  2. What does CIDR stand for?
    a) Common Internet Domain Routing
    b) Classless Inter-Domain Routing
    c) Custom Internet Data Routing
    d) Cloud Integration Data Routing
  3. A /24 CIDR block provides how many usable IP addresses?
    a) 254
    b) 256
    c) 512
    d) 128
  4. A subnet can span:
    a) Multiple VPCs
    b) A single availability zone
    c) Multiple regions
    d) Multiple availability zones
  5. Which IP address range is reserved for private networking in IPv4?
    a) 10.0.0.0/8
    b) 172.16.0.0/12
    c) 192.168.0.0/16
    d) All of the above
  6. What happens when a subnet is marked as public?
    a) It is connected to an internet gateway
    b) It allows all traffic by default
    c) It requires a NAT gateway
    d) It has no route table attached
  7. A primary requirement for a private subnet is:
    a) A route to the internet
    b) A NAT gateway for outbound traffic
    c) DNS hostnames enabled
    d) Public IPs assigned
  8. Overlapping CIDR blocks between VPCs in peering connections result in:
    a) Increased latency
    b) Route conflicts
    c) Enhanced connectivity
    d) Automatic address resolution
  9. The smallest CIDR block supported by AWS for a VPC is:
    a) /16
    b) /28
    c) /24
    d) /32
  10. How do you calculate the usable IPs in a subnet?
    a) Subtract 1 IP for the gateway
    b) Subtract 2 IPs for DNS servers
    c) Subtract 5 IPs for reserved addresses
    d) Subtract 3 IPs for NAT

3. Routing and Internet Gateways

  1. A route table in a VPC is used to:
    a) Enable cross-region replication
    b) Define network traffic rules
    c) Assign IP addresses
    d) Configure VPNs
  2. What is the purpose of an internet gateway in AWS?
    a) Provide a route to the internet
    b) Control inbound traffic to private subnets
    c) Manage network firewalls
    d) Assign public IPs to instances
  3. By default, a route table in a custom VPC includes:
    a) A route to the internet
    b) A route to the VPC’s CIDR block
    c) No routes at all
    d) A route to the nearest edge location
  4. What is a key requirement for a subnet to communicate with the internet?
    a) Elastic IP assigned
    b) Route table with a route to the internet gateway
    c) NAT gateway in the subnet
    d) Security group with public access
  5. How many internet gateways can a VPC have?
    a) 1
    b) 2
    c) 5
    d) Unlimited
  6. A NAT gateway is required when:
    a) Private subnets need outbound internet access
    b) Public subnets need internet access
    c) DNS queries need routing
    d) Load balancers are configured
  7. A main route table automatically:
    a) Allows inbound traffic
    b) Contains a route to local CIDR blocks
    c) Blocks all traffic by default
    d) Disables route propagation
  8. Which component connects an on-premises network to a VPC?
    a) Internet gateway
    b) Virtual private gateway
    c) Transit gateway
    d) NAT gateway
  9. What is the purpose of route propagation?
    a) To automatically update subnets with new IPs
    b) To allow dynamic route updates via VPN or Direct Connect
    c) To manage overlapping CIDR blocks
    d) To synchronize route tables
  10. A custom VPC without an internet gateway will:
    a) Allow internet-bound traffic
    b) Block all inbound and outbound traffic
    c) Only allow private communication within the VPC
    d) Be automatically deleted
  11. Elastic IP addresses are primarily used to:
    a) Assign static public IPs to resources
    b) Configure DNS resolution
    c) Route private IPs to public domains
    d) Manage load balancing
  12. A NAT gateway is required to:
    a) Route private subnet traffic to the internet
    b) Allow SSH access to instances
    c) Manage edge location connectivity
    d) Enable multi-region networking
  13. Route tables can be associated with:
    a) Entire VPCs
    b) Individual subnets
    c) Availability zones
    d) Internet gateways
  14. What protocol is required for routing between VPCs in a peering connection?
    a) BGP
    b) HTTP
    c) TCP/IP
    d) No additional protocol is required
  15. A VPC endpoint allows private connectivity to:
    a) Public internet services
    b) AWS services like S3 without an internet gateway
    c) On-premises data centers
    d) Regional internet locations

Answers Table

QnoAnswer
1a) Virtual Private Cloud
2b) A single region
3b) A main route table
4c) 10
5d) All of the above
6b) Partition a VPC’s IP address range
7b) Classless Inter-Domain Routing
8a) 254
9b) A single availability zone
10d) All of the above
11a) It is connected to an internet gateway
12b) A NAT gateway for outbound traffic
13b) Route conflicts
14b) /28
15c) Subtract 5 IPs for reserved addresses
16b) Define network traffic rules
17a) Provide a route to the internet
18b) A route to the VPC’s CIDR block
19b) Route table with a route to the internet gateway
20a) 1
21a) Private subnets need outbound internet access
22b) Contains a route to local CIDR blocks
23b) Virtual private gateway
24b) To allow dynamic route updates via VPN or Direct Connect
25c) Only allow private communication within the VPC
26a) Assign static public IPs to resources
27a) Route private subnet traffic to the internet
28b) Individual subnets
29d) No additional protocol is required
30b) AWS services like S3 without an internet gateway

Use a Blank Sheet, Note your Answers and Finally tally with our answer at last. Give Yourself Score.

X
error: Content is protected !!