VPC Flashcards

1
Q

VPC. What does it mean. What is it.

A

Virtual Private Cloud.

It’s your own little bit of the AWS network.

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

VPC Limit Per Account

A

5 VPCs, per region, per account.

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

What’s a subnet?

A

Subnets allow you to split your VPC into networks.

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

True or false. Subjects must reside in the CIDR block of their parent VPC?

A

True

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

CIDR block means.

A

Classless inter domain routing.

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

True or false. Public subnets will have a public and private IP.

A

True.

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

For a subnet to be made public. You must carry out two action. What are they?

A

Add an internet gateway

Add a record to the routes table referring to said internet gateway.

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

The two types of subnet are.

A

Public

Private

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

IGW stands for?

A

Internet gateway.

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

True or false. To make a application highly available. Resources should be in subnets split across multiple AZ’s.

A

True.

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

All subnets have a default route that can not be deleted. It allows all the subnets to talk to each other. What is this route?

A

10.0.0.0/16

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

1st address in an AWS subnet is reserved for…

A

Network

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

2nd address in an AWS subnet is reserved for…

A

Routing

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

3rd address in an AWS subnet is reserved for…

A

DNS

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

4th address in an AWS subnet is reserved for…

A

AWS future use

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

Last address in an AWS subnet is reserved for…

A

Broadcasting

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

NACL stands for

A

Network access control list

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

What is the purpose of a NACL?

A

Network firewalls for subnets.

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

True or false. NACLs contain a numbered list of rules that run sequentially

A

True

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

What’s the purpose of a security group?

A

Firewall / access control at the resource level.

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

Security groups are state full. What doss this mean?

A

You don’t have to configure rules to allow for return traffic.

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

NACLs are stateless. What does this mean?

A

You will have to configure rules for how to handle return traffic.

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

What’s the purpose of a NAT gateway?

A

It allows resources from a private subnet to make requests out to the internet.

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

True or false. NAT gateways do not respond to incoming requests from the internet?

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Steps that must be taken to get a NAT gateway up and running?
Create the Nat gateway. | Add a route to the gateway in the routes table.
26
NAT gateway stands for.
Network Address Translator.
27
What’s the purpose in a bastion host?
It allows you to access subnets from external hosts. Eg connect to an EC2 in a private subnet, from your home computer.
28
What resource is used to create a bastion host on AWS?
EC2
29
Keys to other servers should never be kept on a bastion server. How do you get around this?
SSH agent forwarding.
30
What does the transit gateway do?
It’s one hub that can centralise all data in all VPCs.
31
If your VPN decice DOES support BGP (Border Gateway Protocol) you should enable...
Dynamic routing
32
If your VPN decice DOES NOT support BGP (Border Gateway Protocol) you should specify.
Static Routing.
33
True or false. A subnet is automatically created when you create a VPC?
False.
34
When creating a VPC. AWS automatically creates three things.
A DHCP options set A route table A network ACL
35
True or false. An internet gateway is highly available, redundant and horizontally scaleable.
True.
36
An ENI can be attached directly to a running instance. What is this practise known as?
A hot attatch
37
Attaching an ENI to an instance during launch, is known as
A cold attatch
38
Where are VPC flowlogs stored
Cloudwatch Logs
39
Once a VPC flow log has been created. Can it be modified.
Nope
40
VPC flow logs. Can capture info from...
A network interface for an instance A subnet The VPC
41
Each VPC flow log. Is made up with data from a time window. How long is this time window?
15 mins
42
A route table can be assigned to how many subnets?
One
43
Can a subnet be assigned to multiple routes tables?
Yes
44
Within a VPC public subnet. What function does the IP address provide?
To allow communication with external resources via the internet.
45
What does the local route on a routes table enable?
Communication between VPC subnets.
46
Security groups support allow rules only. True or false.
True
47
You launch a dedicated EBS-Backed EC2 instance. Does the EBS run on the single tennant hardware with the EC2 instance?
No.
48
What RDS service uses mirroring, instead of multi AZ deployment
Microsoft sql server
49
IAM policy logic always starts with...
A default deny.
50
Are network ACLs stateless or stateful
Stateful
51
Can instances in a custom security group, communicate with each other by default?
No. You must give explicit permission.
52
Can instances in the default security group, communicate with each other by default?
Yes
53
Are EIPs region specific?
Yes
54
Can EIPs be moved between VPCs in the same region
Yes
55
What does a VPC end point allow for?
To establish a private connection between a VPC and other AWS resources. Eg an EC2 instance in a private subnet and s3
56
To make different resources talk to each other. Always use .... never ....
IAM roles | Access keys
57
You can not use NAT gateways on private subnets. What must you use instead?
VPC end points
58
The two types of VPC endpoint are
Gateway endpoint | Interface endpoint
59
When to use a gateway endpoint?
For s3 and Dynamo
60
When to use an interface endpoint?
When it’s not for s3 or Dynamo
61
Want to secure your VPC. Use what two things?
Network ACLs | Security groups
62
If you add a rule to a network ACL. Does it effect all instances in the related subnet?
Yes
63
You detect a malicious set of IPs attacking your VPC. Where best to apply a block on the IP range?
The network ACL
64
NAT instances. Who is responsible for security, scalability and health checks?
You are.
65
What is NAT gateway?
Fully managed service for NAT instances
66
How to make NAT gateways HA?
Place them in multiple AZ’s
67
True or false. NAT gateways are a good choice where a NAT instance is a bottle neck?
True
68
Is Amazon direct connect encrypted by default?
No
69
How to encrypt data sent over direct connect?
Use a VPN
70
Is direct connect considered low latency?
Yes
71
What does direct connect do?
Managed connectivity between multiple VPCs
72
What is flat network architecture in AWS
Single account with a single VPC
73
What is seven enter network architecture in AWS?
Multiple accounts in multiple VPCs
74
Is transistive routing supporting in VPC peering?
No
75
Does VPC Peering work cross region?
Yes
76
Site to site VPN connections require
A pupbloc IP address on the customer gateway of the on premisises network A virtual gateway attatched to the VPC
77
Can you share a NAT instance across a VPC?
No
78
You have a direct connect connection. But you need it to be highly available. How do you do this?
Have a redundant connection fallback from another location.