EC2 Flashcards

1
Q

What are the principles behind the AWS philosophy on pricing?

A

a. pay as you go
b. pay for what you use
c. pay less as you use more
d. pay even less when you reserve capacity

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

What are the available EC2 pricing models

A

a. On Demand
b. Reserved
c. Spot
d. Dedicated Hosts

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

When is On Demand pricing appropriate

A

a. desire for low cost and flexibility without upfront costs or long-term commitment
b. applications are short-term, spiky, or have unpredictable workloads that cannot be interrupted
c. applications being tested for the first time

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

When is Reserved pricing model appropriate

A

a. applications are steady state and have predictable usage
b. applications require reserved capacity
c. able to make upfront payment to reduce TCO

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

What are the available Reserved pricing models

A

a. Standard Reserved
b. Convertible Reserved
c. Scheduled

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

When is Spot pricing model appropriate

A

a. applications have flexible start & end times
b. applications are only feasible at very low compute prices
c. urgent and large amounts of additional computing capacity are needed

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

When is Dedicated Hosting pricing appropriate

A

a. restrictions due to regulatory requirements such as multi-tenant virtualization
b. licensing restrictions that don’t support multi-tenancy or cloud deployments

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

What are the purchase options for Dedicated Hosting

A

a. desire hourly on-demand hosting

b. reserved at a discounted price

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

What is EC2

A

a. host virtualization in the cloud

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

How is Spot pricing calculated for EC2

A

a. terminated by customer - charged for the full hour

b. terminated by AWS - charged for partial hour

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

The default setting for Termination Protection on an EC2 instance is

A

turned off

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

On an EBS-backend instance, the default action for the root EBS volume to ____ when the instance is terminated.

A

be deleted

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

The Root Volumes of your DEFAULT AMI can/can not be encrypted.

A

can not, but it can be encrypted later

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

Which volumes of and EC2 instance can be encrypted

A

root; but only after up an running
EBS volumes at instantiation
Other additional volumes at instantiation

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

Changes to security groups take effect

A

immediately

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

Security Group rules are stateful/stateless

A

stateful

17
Q

To allow a port or ip for communication with an EC2 instance, use___
To block a port or ip for communication with an EC2 instance, use ___

A

Security groups

Network Access Control Lists (NACLs)

18
Q

For EC2 instances, by default, all inbound traffic is

A

blocked

19
Q

For EC2 instances, by default, all outbound traffic is

A

allowed

20
Q

What is EBS

A

Elastic Block Store, a virtual HDD

21
Q

What media types of EBS are available

A
General Purpose (SSD)
Provisioned IOPS (SSD)
Throughput optimized HDD
Cold HDD
Magnetic
22
Q

What are the use cases for

a. GP SSD
b. Provisioned IOPS SSD
c. Throughput Optimized HDD
d. Cold HDD
e. EBS Magnetic

A

a. Most Work Loads: balances price and performance for transactional workloads
b. Databases: highest performance for mission critical apps
c. Big Data & Data Warehouses: low cost, frequently accessed, throughput intensive
d. File Servers: Lowest cost
e. Workloads with Infrequent Access: previous generation

23
Q

in terms of location, what is the relationship between an EC2 instance and Volume location?

A

they are the same

24
Q

When terminating an EC2 instance, the EBS volumes will

A

persist

25
Q

Where do snapshots get stored

A

in S3

26
Q

Snapshots are full or incremental

A

incremental

27
Q

AMIs can be created from ________ and ________

A

Volumes

Snapshots