Advanced EC2 Flashcards

1
Q

Networking has two sorts of IPs

A

IPv4 and IPv6

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

IP that allows the machine to be identified on the internet

A

Public IP

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

IP that allows the machine to be identified on a private network only

A

Private IP

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

Do public IPs need to be unique across the whole web?

A

Yes

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

Can two private networks have the same IPs?

A

Yes

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

Can there be two of the same IPs in a private network?

A

No

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

Private IPs connect to the WWW using a

A

NAT + internet gateway

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

When you stop and then start an EC2 instance, it can change its public
IP

A

True

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

Static IPv4 address designed for dynamic cloud computing used to mask the failure of an instance or software by rapidly remapping the address to another instance in your account

A

Elastic IP

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

Instead of using Elastic IPs, it is advisable to

A

Use a random public IP and register a DNS name to it

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

Control over the EC2 Instance placement strategy

A

Placement Groups

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

Placement group strategy that clusters instances into a low-latency group in a single Availability Zone

A

Cluster

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

Placement group strategy that spreads instances across underlying hardware (max 7 instances per group per AZ)

A

Spread

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

Placement group strategy that spreads instances across many different partitions within an AZ. Can scales to 100s of EC2 instances per group

A

Partition

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

Placement group with very low latency, instances are in the same rack, same AZ

Used for:
* Big Data job that needs to complete fast
* Application that needs extremely low latency and high network throughput

A

Cluster

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

Placement group with reduced risk of failure due to the instances being spread across different AZ.

Used for:
* Application that needs to maximize high availability
* Critical Applications where each instance must be isolated from failure from each other

A

Spread

17
Q

Placement group that can have up to 100s of EC2 instances and can span across multiple AZ in the same region.

Used for:
* HDFS, HBase, Cassandra, Kafka

A

Partition

18
Q

Logical component in a VPC that represents a virtual network card (Bound to a specific AZ)

A

Elastic Network Interfaces (ENI)

19
Q

Can you create an ENI independently and attach them to different EC2 instances for failover?

A

Yes

20
Q

Saves the contents from the instance memory (RAM) to your Amazon Elastic Block Store (Amazon EBS) root volume. Amazon EC2 persists the instance’s EBS root volume and any attached EBS data volumes

A

EC2 Hibernation

21
Q

Are CloudWatch or CloudWatchLogs capable of capturing data inside an EC2 instance?

A

No