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?

A

1 hour

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
Q

What is a spot fleet?

A

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
Q

What condition effects whether a spot fleet is fulfilled or not?

A

Whether the maximum price you specified in the request exceeds the current Spot price

27
Q

What are the potential strategies for a spot fleet?

A

capacityOptimized, lowestPrice, diversified, InstancePoolsToUseCount (must be used in combination with lowestPrice)

28
Q

What are the use cases for VMware?

A

Connecting private cloud to AWS public cloud, cloud migration, disaster recovery

29
Q

How do you deploy vCenter?

A

Using VMware on the AWS cloud

30
Q

What is AWS Outposts?

A

Outposts allows you to have a large variety of AWS services in your data center

31
Q

Who manages AWS Outposts infrastructure?

A

AWS

32
Q

What are the two options of AWS Outposts?

A

Outposts Rack and Outposts Servers

33
Q

What can you save up to with spot instances?

A

90 percent

34
Q

What can you save up to with reserved instances?

A

72 percent

35
Q

What happens when you start an EC2 instance?

A

Operating systems boots up, user data script is run (bootstrap scripts), applications start

36
Q

What is hibernation also called?

A

Suspsend to disk

37
Q

What does EC2 hibernation do?

A

Saves the contents from the instance memory (RAM) to EBS root volume. EBS root volumes and any attached EBS data volumes persist

38
Q

What is the benefit of EC2 hibernation over stopping the instance?

A

The instance boots much faster because the OS doesn’t have to reboot

39
Q

What are some examples where EC2 hibernation would be useful?

A

Services that take time to initialize

40
Q

How long can you hibernate an instance for?

A

up to 60 days

41
Q

What is a launch template?

A

Specifies all of the needed settings that go into building out an EC2 instance

42
Q

What is the difference between a launch template and configurations?

A

Launch configurations have more limitations than templates such as can only be used for autoscaling, they are immutable, etc

43
Q

What is an auto scaling group?

A

A collection of instances that are treated as a collective group for purposes of scaling and management

44
Q

what is the recommended minimum amount of instances in an autoscaling group?

A

2

45
Q

What are the 3 important settings to set on an autoscaling group?

A

min instances, max instances, desired instances

46
Q

What are the corresponding services to the 3 W’s?

A

What: launch templates, Where: autoscaling groups, When: scaling policies

47
Q

Should you scale in aggressively and scale out conservatively?

A

No, the opposite, takes more time to scale out than in

48
Q

What payment type of EC2 instance is best for fulfilling the minimum count of EC2 instances in an autoscaling group?

A

Reserved instances