VPC Fundementals Flashcards

(29 cards)

1
Q

What is a VPC?

A

A Virtual Private Cloud, a private network in AWS to deploy resources.

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

What is a subnet?

A

A partition of a VPC’s network; tied to an Availability Zone.

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

What is the difference between public and private subnets?

A

Public subnets can access the internet; private subnets cannot.

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

What component allows subnets to access the internet?

A

Internet Gateway for public subnets; NAT Gateway for private subnets.

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

What is an Internet Gateway?

A

Allows instances in a VPC to connect to the internet.

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

What is a NAT Gateway?

A

Allows instances in private subnets to access the internet while remaining unreachable from it.

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

What is a NACL?

A

A subnet-level firewall that allows or denies traffic.

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

What is a Security Group?

A

An instance-level firewall that only allows traffic.

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

How do NACLs and Security Groups differ?

A

NACLs are stateless and support DENY rules; Security Groups are stateful and support only ALLOW rules.

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

What is the purpose of VPC Flow Logs?

A

To capture information about IP traffic going to and from network interfaces in a VPC.

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

Where can VPC Flow Logs send data?

A

Amazon S3, CloudWatch Logs, or Kinesis Data Firehose.

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

What is VPC Peering?

A

A private connection between two VPCs using the AWS network.

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

Can VPC peering be transitive?

A

No, VPC peering is not transitive.

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

What is a VPC Endpoint?

A

Allows private access to AWS services from your VPC.

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

What are the two types of VPC Endpoints?

A

Gateway (for S3/DynamoDB) and Interface (for other services).

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

What is Site-to-Site VPN?

A

Encrypted VPN over the internet connecting on-premises to AWS.

17
Q

What is AWS Direct Connect?

A

A private, fast, secure physical connection from on-premises to AWS.

18
Q

Which connection goes over the public internet?

A

Site-to-Site VPN.

19
Q

Which connection is private and takes longer to set up?

A

AWS Direct Connect.

20
Q

What is a NAT Gateway used for?

A

Providing internet access to private subnets.

21
Q

What are NACLs and where are they applied?

A

Network Access Control Lists applied at the subnet level.

22
Q

What are Security Groups and where are they applied?

A

Instance-level firewalls applied to EC2 or ENI.

23
Q

What are VPC Flow Logs used for?

A

Monitoring IP traffic and troubleshooting network issues.

24
Q

Can you peer VPCs with overlapping CIDRs?

A

No, VPC peering requires non-overlapping CIDR blocks.

25
What does LAMP stand for?
Linux, Apache, MySQL, PHP.
26
Where does Apache run in the LAMP stack?
On EC2, serving as the web server.
27
Where is the database hosted in a typical LAMP architecture on AWS?
Amazon RDS with MySQL.
28
Which AWS service can be added for caching in LAMP?
Amazon ElastiCache.
29
Where is application logic and data stored in EC2?
On an EBS volume (root or additional).