VPC Flashcards

1
Q

How many IP addresses does AWS reserve in a subnet

A

First 4 and last 1 IP address in each subnet’s CIDR block

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

How many IP addresses are available in /28 CIDR Block range?

A

16

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

How to allow instances in Private Subnet to be able to connect to the internet

A

Attach a NAT Gateway in Public Subnet
& add path in Route Table to internet to point to NAT Gateway

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

Scalability of NAT Gateway

A

5 Gbps - 45 Gbps

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

Outside traffice hits what items in VPC first

A

Internet Gateway or VPN
Router
Route Table
ACL
Security Group
Instances

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

Security Groups are Stateful or Stateless

A

Stateful (allows communication back and forth outbound open by default)

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

Max number of NACLs can a subnet be associated with at a time

A

1

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

NACLs are Stateful or Stateless

A

Stateless (have to set both inbound and outbound)

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

Here are my NACL rules

100 Port 80 Allow
200 Port 443 Allow
300 Port 80 Deny
* All. 0.0.0.0/0 Deny

What will happen with Port 80 access

A

Still will have access since Allow is lowest #

Lowest #s evaluated first

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

How to connect to AWS services without an internet gateway or NAT Gateway

A

VPC Endpoints

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

TRUE or FALSE VPC peering allows transitive peering

A

FALSE, hub and spoke model only

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

TRUE or FALSE VPC peering can be done across regions AND AWS accounts

A

TRUE

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

TRUE or FALSE VPC Peering must be done over overlapping CIDR ranges

A

FALSE, Cannot overlap CIDR ranges

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

3 options to share applications across VPCs

A
  1. Open VPC up to Internet
    - big security no-no
    - lots to manage
  2. VPC Peering
    - manage all the peering relationships
    - whole network will be accessible, even if you have multiple apps on VPC
  3. PrivateLink
    - no internet tables or nat gateways
    - only expose application to 100s or 1000 of customer VPCs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

AWS resources needed for Private Link

A

Network Load Balancer in service VPC
ENI on customer VPC

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

How to connect sites together that each have their own VPN

A

AWS VPN CloudHub

17
Q

TRUE or FALSE VPN CloudHub is used for customers that don’t have access to the internet

A

FALSE, internet is required for VPN CloudHub (all traffic is encrypted)

18
Q

Service to connect On-Premise directly to AWS Cloud

A

AWS Direct Connect

19
Q

True or False: Does AWS Direct Connect require a VPN or Internet

A

FALSE, Direct Connect even increase bandwith throughput because don’t have to go over internet

20
Q

2 Types of AWS Direct Connections

A

Dedicated Connection:
physical ethernet requested through AWS console

Hosted Connection:
physical ethernet that an AWS Direct Connection Partner sets up. e.g Verizon

21
Q

AWS Service to simplify VPN connections that are complicated

A

Transit Gateway

22
Q

Allows AWS Devices/servers to connect to 5G network and mobile edge computing

A

AWS Wavelength

23
Q

An EC2 instance is removed from an EC2 instance pool but the instance continues to direct the traffic to the instance. What can you do to fix this?

A

Disable Sticky Sessions.

24
Q

Load Balancers - How to keep connections open to instances that become unhealthy

A

Enable Deregistration delays