week 5.2: Amazon VPC Flashcards

(16 cards)

1
Q

What is an Amazon VPC, and what two main capabilities does it provide for AWS resources?

A

A Virtual Private Cloud is a logically isolated virtual network within AWS where resources can be launched.

It provides:
* Isolation from other AWS networks
* Full control over networking configuration (IP ranges, subnets, routing, gateways)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which networking components can be configured inside an AWS VPC?

A
  • IP address range (CIDR block)
  • Subnets
  • Route tables
  • Network gateways
  • Security layers (security groups / network ACLs)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is a VPC described as logically isolated rather than physically isolated?

A

Because AWS customers share the same physical infrastructure, but networking rules and configurations isolate each VPC logically.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the relationship between VPCs, Regions, and Availability Zones?

A
  • A VPC belongs to one AWS Region
  • It can span multiple Availability Zones within that region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a subnet in AWS VPC networking?

A

A subnet is a range of IP addresses within a VPC used to divide the VPC into smaller networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do subnets relate to Availability Zones in AWS?

A

Each subnet exists in only one Availability Zone, but a VPC can contain multiple subnets across multiple AZs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the two types of AWS subnets and how do they differ?

A

Public subnet
* Has access to the internet through an Internet Gateway

Private subnet
* No direct internet access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What happens when you create a VPC with a CIDR block?

A

You assign the range of private IPv4 addresses that resources in that VPC can use.

Example:
10.0.0.0/16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why cannot the CIDR block of a VPC be changed after creation?

A

Because the entire VPC networking structure (subnets, routing, resources) depends on the original address range.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the largest and smallest IPv4 CIDR block allowed when creating an AWS VPC?

A

Largest:
/16 → 65,536 addresses

Smallest:
/28 → 16 addresses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why must subnet CIDR blocks not overlap within a VPC?

A

Overlapping IP ranges would cause routing conflicts and prevent AWS from determining the correct destination network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

In a subnet with CIDR block 10.0.0.0/24, why are only 251 addresses usable?

A

AWS reserves 5 IP addresses in every subnet.

Reserved addresses:
* Network address
* Router/internal communication
* DNS server
* Future use
* Broadcast address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which IP addresses are reserved in AWS for subnet 10.0.0.0/24?

A

Address Purpose
10.0.0.0 Network address
10.0.0.1 Internal communication
10.0.0.2 DNS server
10.0.0.3 Future use
10.0.0.255 Broadcast

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the difference between a public IPv4 address and an Elastic IP address in AWS?

A

Public IPv4
* Automatically assigned
* Can change when instance stops/starts

Elastic IP
* Manually allocated
* Static address
* Can be remapped to different instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why might AWS charge for Elastic IP addresses?

A

To discourage users from reserving unused public IP addresses, which are limited global resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly