VPC & Shared Responsibility Model Flashcards

1
Q

Shared Responsibility Levels

A

CIA

Infrastructure (EC2)
Container Services (OS & App Mgt)
Absracted (DynamoDB)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Shared Responsibility - Amazon vs Client

A

Client is responsible for Clisde Side Encryption and Customer Data

Amazon

  • 1) OS and Application Mgt
  • 2) S3 and DynamoDB
  • 3) Hypervisor???
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is VPC

A

Logical Data Center in AWS

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

How many Availability Zones can a VPC Span

A

Multiple :D

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

How man Regions can a VPC Span

A

1

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

What do VPCs consis of

A

Routs, Tables, ACL, IGW, Subnets, SGs

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

How many Availability Zones per subnet

A

1

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

VPC Peering

A

you can peer VPCs even with other AWS accounts if you have an agreement

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

NAT Instance does not support

A

Transitive Peering

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

NAT Instance - what Instance setting do you need to disable?

A

Source Destination Check

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

NAT Instance - what type of subnet must it be under

A

Public

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

NAT Instance - what does it need in order to work

A

1) Elastic IP

2) Route out of the private subnet

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

NAT Instance - Traffic size depends on this

A

Size of Instance

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

NAT Instance - what does it need to create High Availability

A

Autoscalling groups

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

NAT Instance - Does is use Security Groups or ACLs

A

Security Groups of course silly

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

NAT Instance - are Stateful or Stateless

17
Q

Stateful

A

Return Traffic Automatically Allowed. This the FULL = FULL of RIGHTS

18
Q

Stateless

A

Return Traffic must be Explicitly Allowed

19
Q

NAT Gateways Benefits

A

No need to patch and is preferred.

20
Q

NAT Gateways - Use ACL or SGs

A

ACLs. Only thing that uses SG are NAT Instances

21
Q

NAT Gateways - Auto assigns a public address - true or false

22
Q

NAT Gateways - what VPC item do you add them to? Subnet, IGW, Route, ACL

A

Route. They are added to the defualt route just like Route Instances.

23
Q

ACL (Access Control Lists) - Created automatically when VPC is created - true or false

A

true. A single default ACL (and Route) is created. it allows all traffic both inbount and outbound by default. Not like a custom.

24
Q

ACL - Default ACL allow all traffic - true or false

25
ACL - Custom ACL allow all traffic - true or false
False - Denies all by default. It's Stateless so access must be assigned explicitly.
26
ACL - What happens when a subnet is not explicitly associated to an ACL?
The subnet will be associated with the default ACL. Subnet MUST be assigned to some ACL. Default allows all traffic.
27
ACL - 1 Subnet equals how many ACLs
1 ACL. When you add a subnet to a new ACL the subnet is then removed from the old ACL.
28
ACL - Can an ACL have multiple Subnets
Yes
29
ACL - How are rules evaluted
In order form small to large
30
ACL - Inbound and outbound roles are assigned together - true or flase
False. Inbound and outbound rules are assigned invidually. Stateless son!
31
NAT vs Bastion
NAT=provides INTERNET traffic to EC2 in proivate subnet | Bastion= aka JumpBox allows secure admin EC2s in proivate subnets
32
Resiliency - where must the 2 public subnets be located for resiliency?
in different Availability Zones
33
Resiliency - how to you achieve resiliency for bastions?
Auto scalling Group. use Route53 with RR or Failover.
34
Resiliency - How to make a NAT Instance resilient?
HARD- 1 in each public subnet each with their on public IP. | Need Fail Over Script
35
VPC - How to monitor traffic
using VPC Flow Logs
36
VPC - How many allowed per Region
5 VPCs
37
ACL - what level do they provide security
At the Subnet Level. Also they block IP address as opposed to ports only.