VPC Flashcards

1
Q

What is a VPC and subnets?

A

VPC is a private network to deploy your resources (one per region)
Subnets allow to partition the network inside the VPC (AZ)

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

What is the difference between internet gateway and NAT gateway?

A

Internet gateway helps the instances on public subnets to connect to the internet
NAT gateway helps instances on a private subnet connect to the internet while remaining private

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

What is the difference between NACL and security groups?

A

NACL:
* controls traffic from and to a subnet
* can have allow and deny rules
* stateless: return traffic must be explicitly allowed by rules

EC2:
* controls traffic from and to an EC2 instance
* can have only allow rules
* stateful: return traffic is automatically allowed, regardless of any rules

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

What is VPC peering?

A

Is a way to connect two VPCs privately using AWS’ network, making them behave as if they were in the same network
VPC peering connection is not transitive, must be established for each VPC pair

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

What are VPC endpoints?

A

Allows to connect to AWS services using a private network instead of the public network

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

How can you establish connection between your on premises data center and your cloud VPC?

A

Site to site VPN:
* using encrypted traffic
* goes over the public internet
Direct connect:
* establish physical connection between the datacenter and AWS

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

What is the three tier solution architecture?

A

Public subnet: ELB, route 53
Private subnet: ASG, EC2
Data subnet: ElastiCache, RDS

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

What is the LAMP stack?

A
  • Linux, apache, mysql, PHP
  • Can add redis to include a caching
  • EBS drive to store local data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly