EC2 Flashcards

1
Q

What does EC2 stand for?

A

Elastic Compute Cloud

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

What are the 4 EC2 pricing options?

A

On Demand, Reserved, Spot, Dedicated

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

What are the length options for a reserved EC2 instance?

A

1 or 3 years

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

What is the spot EC2 instance pricing?

A

There is no set pricing as it fluctuates with supply and demand

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

What is the most expensive EC2 option?

A

Dedicated

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

What are the benefits of On Demand EC2 pricing?

A

Flexible, which makes it good for unpredictable markets or for functioning for an unknown length of time

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

When would you use reserved instances?

A

When there is predictable usage or specific capacity requirements

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

What are the types of reserved instances?

A

Standards, Convertible, and Scheduled

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

Are reserved instances geographically defined?

A

Yes, they are reserved in a specific region

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

What applications should be run on spot instances?

A

Flexible start and end times

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

What are some common use cases for dedicated hosts?

A

Regulatory requirements that may not support multi-tenant virtualization or licensing that does not support multi-tenancy

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

What are the 3 types of EC2 placement groups?

A

Cluster, spread, and partition

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

What is a cluster group placement?

A

Grouping of instances within a single availability zone

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

What are cluster placement groups recommended for?

A

applications that need low network latency, high network throughput, or both

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

What is a spread placement group?

A

A group of instances that are each placed on distinct underlying hardware

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

What are spread placement groups recommended for?

A

Applications that have a small number of critical instances that should be kept separate from each other

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

What is a partition placement group?

A

A partition placement group puts each instance on its own rack. (Each rack has its own network and power source)

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

What EC2 pricing option should you use to fulfill special licensing requirements?

A

Dedicated Host

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

When is a spot instance provisioned?

A

When it is below your max spot price

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

What is a spot block?

A

Stops your spot instance from being terminated even if it goes above your spot max price for between 1 and 6 hours

21
Q

On what time interval are spot instance prices determined?

22
Q

What are some examples of work that spot instances would suit well?

A
  1. Big data and analytics
  2. Containerized workloads
  3. CI/CD and testing
  4. Image and media rendering
  5. High performance computing
23
Q

What are spot instances not suited for?

A

Persistent workloads like a database or critical workloads

24
Q

How do you terminate a spot instance that is persistent?

A

First, you have to cancel the request, then terminate the instance

25
What is a spot fleet?
A spot fleet attempts to launch the number of spot instances and (optionally) On-Damand instances to meet the target capacity you specified in the Spot Fleet request.
26
What condition effects whether a spot fleet is fulfilled or not?
Whether the maximum price you specified in the request exceeds the current Spot price
27
What are the potential strategies for a spot fleet?
capacityOptimized, lowestPrice, diversified, InstancePoolsToUseCount (must be used in combination with lowestPrice)
28
What are the use cases for VMware?
Connecting private cloud to AWS public cloud, cloud migration, disaster recovery
29
How do you deploy vCenter?
Using VMware on the AWS cloud
30
What is AWS Outposts?
Outposts allows you to have a large variety of AWS services in your data center
31
Who manages AWS Outposts infrastructure?
AWS
32
What are the two options of AWS Outposts?
Outposts Rack and Outposts Servers
33
What can you save up to with spot instances?
90 percent
34
What can you save up to with reserved instances?
72 percent
35
What happens when you start an EC2 instance?
Operating systems boots up, user data script is run (bootstrap scripts), applications start
36
What is hibernation also called?
Suspsend to disk
37
What does EC2 hibernation do?
Saves the contents from the instance memory (RAM) to EBS root volume. EBS root volumes and any attached EBS data volumes persist
38
What is the benefit of EC2 hibernation over stopping the instance?
The instance boots much faster because the OS doesn't have to reboot
39
What are some examples where EC2 hibernation would be useful?
Services that take time to initialize
40
How long can you hibernate an instance for?
up to 60 days
41
What is a launch template?
Specifies all of the needed settings that go into building out an EC2 instance
42
What is the difference between a launch template and configurations?
Launch configurations have more limitations than templates such as can only be used for autoscaling, they are immutable, etc
43
What is an auto scaling group?
A collection of instances that are treated as a collective group for purposes of scaling and management
44
what is the recommended minimum amount of instances in an autoscaling group?
2
45
What are the 3 important settings to set on an autoscaling group?
min instances, max instances, desired instances
46
What are the corresponding services to the 3 W's?
What: launch templates, Where: autoscaling groups, When: scaling policies
47
Should you scale in aggressively and scale out conservatively?
No, the opposite, takes more time to scale out than in
48
What payment type of EC2 instance is best for fulfilling the minimum count of EC2 instances in an autoscaling group?
Reserved instances