EC2 Flashcards

1
Q

EC2

A

Elastic Compute Cloud
IaaS

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

EC2 Capabilities

A

Rent VM’s (EC2)
Store data (EBS)
Load balancing (ELB)
Scale using auto-scaling group (ASG)

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

EC2 OS’s

A

Windows, Mac, Linux

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

Bootstrapping

A

Launch commands when the machine starts

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

EC2 User Data Script

A

Bootstrap Script

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

EC2 Keypair

A

Used to connect securely to EC2 Instance

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

General purpose instance type

A

Diverse workloads
Balance of resources

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

Compute optimized Instance Type

A

Compute intensive tasks

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

Compute optimized good for

A

High performance

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

Memory Optimized Instance Type

A

Workloads that process large data sets in memory

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

Memory Optimized Instance Type use cases

A

High performance databases
Distributed web scale cache stores
In-memory DB’s for BI
Apps processing real-time big unstructured data

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

Storage Optimized Instance type

A

Storage intensive tasks requiring high sequential read/write to large data on local storage

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

Storage Optimized Instance type use cases

A

High frequency OLTP
Relational and NoSQL DB
Cache for in-memory DB’s (Redis)
Data warehousing apps
Distributed File Systems

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

Security groups

A

Control traffic in and out of instances

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

Security groups contain…

A

Rules

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

Security groups act like…

A

Firewalls

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

SFTP port

A

22

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

EC2 Instance Connect

A

Use web browser to connect to EC2 Instance

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

IAM Roles

A

Provides creds to an EC2 instance

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

Reserved instances used for…

A

Long running workloads

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

Reserved instance time periods

A

1 & 3 years

22
Q

Savings plan

A

Commit to amount of usage (limit) for long workloads

23
Q

Spot instances used for

A

Short workloads

24
Q

Potential issues with spot instances

A

Cheap
Can be lost
Less reliable

25
Q

Dedicated host

A

Book an entire physical server

26
Q

Dedicated instances

A

Hardware not shared

27
Q

Capacity reservations

A

Reserve capacity in a specific Availability Zone

28
Q

EC2 On Demand

A

Pay for what you use

29
Q

EC2 Linux and Windows billing timeframe

A

per second after 1 minute

30
Q

EC2 billing timeframe for non-windows or linux

A

Per hour

31
Q

EC2 on demand recommended for

A

Short term uninterrupted workloads

32
Q

EC2 Reserved instances discount amount

A

72% compared to On-demand

33
Q

EC2 Reserved instances payment options

A

No upfront
Partial upfront
All Upfront

34
Q

EC2 Reserved instances recommended for…

A

Steady-state applications

35
Q

Convertible reserve instance allows…

A

Changing EC2 type, family, OS, scope, tenancy

36
Q

Convertible reserve instance discount amount

A

Up to 66%

37
Q

EC2 Savings plan discount

A

Up to 72%

38
Q

EC2 Savings plan commits to…

A

Minimum usage with on-demand pricing for overage

39
Q

EC2 Tenancy options (3)

A

Host
Dedicated
Default

40
Q

EC2 Savings plan locked into…

A

Instance family
Region

41
Q

EC2 Spot instance discount

A

Up to 90%

42
Q

Most cost effective EC2 Instance

A

Spot instance

43
Q

Why can you lose a spot instance

A

If usage price goes over current spot price

44
Q

Which EC2 instance billing isn’t suitable for critical jobs or DB’s?

A

Spot instances

45
Q

Reasons to use EC2 Dedicated hosts… (2)

A

Compliance requirements
Use existing software licenses.

46
Q

Most expensive EC2 type

A

Dedicated host

47
Q

EC2 Dedicated instances may share…

A

HW with other instances on the same account

48
Q

EC2 Capacity reservations commitment and discount

A

No commitment and no discount

49
Q

Do you pay for Capacity Reservations when not using them?

A

Yes

50
Q

Who is responsible for OS updates in EC2?

A

Customer