EC2 Flashcards

1
Q

What is EC2?

A

A web service that provides compute capacity on the cloud

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

What prompts the creation of an ephemeral port?

A

“When an SSH request is made

The OS generates a random port which is assigned as the source port for return traffic”

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

What is an instance store?

A

“provides temporary block-level storage for your instance.

Good for temp info that changes frequently like buffers caches scratch data”

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

When is the data in an instance store lost?

A

“The underlying disk drive fails
the instance stops
the instance terminates”

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

What is a spot instance?

A

An instance that is available for less than the On-demand price becasue of it not being used

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

What is instance warm-up?

A

When a target tracking scaling policy notifies an instance that it will be required an the EC2 spins up before it is needed reducing latency

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

What is a placement group?

A

“designated strategic groupings of instances in AWS coming in 3 styles
Cluster - packs of instances close together in an AZ for low latency HPC applications
Partition - spreads your instance across logical partitions such that groups of instances in one partition do not hardware used in large distributed and replicated workloads like Hadoop Cassandra and Kafka
Spread - stricktly places a mall group or instances across distinct underlying hardware to reduce correlated failures”

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

How can you merge placement groups?

A

instances can be migrated from one froup to another but merging placement groups is not supported

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

What is an ENA?

A

“Elastic Network Adapter
a custom network interface for EC2s for high throughput, packat per second(PPS) performance and low latencies
For use on EC2s with supporting Linux kernal and distrobution”

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

“(not sure about this one)

How do you set up an ENA?”

A

“check to see if your instance type supports the featureby running
ethtool -i etho
get the ena as the driver”

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

what is a spot instance?

A

Instances at up to 90% reduced prices but they can be terminated if reserved by other AWS users

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

What is an RI?

A

“Reserved instance

commit to a specific EC2 usage contract to recieve services at a lower cost”

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