EC2 and EBS Flashcards

1
Q

What are the available EC2 instance types (billing)?

A

On Demand

Reserved (1-3 years)

Spot (Bid based)

Dedicated Hosts

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

What are the typical use cases for EC2 On Demand Instances?

A

Fixed rate by the hour or second

No upfront payments

No long term committment

Short term, spiky or unpredictable workloads

POC testing applications

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

What are the typical use cases for EC2 Reserved Instances?

A

Apps with steady state or predictable usage

Reduced costs from down payment

Need for a (Scheduled RI) for a monthly sale

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

What are the types of Reserved Instances?

A

Standard

Convertible (equal or greater value)

Scheduled (recurring)

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

What are the use cases for Spot Instances?

A

Apps with flexible start and end times

Apps only feasible at low costs

Urgent need for large additional compute)

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

What are the use cases for Dedicated Host EC2 instances?

A

Situations where regulations disallow multi-tenant virtualization

3rd Part Licensing Needed

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

What are the instance family types?

A
  • F - FPGA
  • I - IOPS
  • G - Graphics
  • H - High Disk Throughput
  • T - General Purpose (T2 Micro)
  • D - Density
  • R - RAM
  • M - Main Choice for general purpose
  • C - Compute
  • P - Graphics (think Pics)
  • X - Extreme Memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where are EBS volumes stored?

A

virtually and replicated across an AZ

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

What are the available EBS Volume Types?

A

GP2 - General Purpose 2

IO1 - Provisioned IOPS

ST1 - Throughput Optimized

SC1 - Cold HDD

Standard - Magnetic

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

What are GP2 volumes and when are they used?

A

General Purpose SSD

< 10,000 IOPS

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

What are IO1 volumes and when are they used?

A

Provisioned IOPS SSD

I/O intensive apps

large RDS or NoSQL DBs

> 10,000 IOPS

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

What are ST1 volumes and when are they used?

A

Throughput Optimized HDD

Big Data

Data Warehouses

Log Processing

Cannot be a boot volume

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

What are Cold HDD volumes and when are they used?

A

Lowest Cost per GB of all EBS bootables

Infrequently accessed workloads

lowest storage cost important

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

If a spot instance is terminated by Amazon EC2, you will/will*** not be charged for a partial hour of usage. If you terminate the instance yourself, you ***will/will not be charged for the complete hour in which the instance ran

A

will not

will

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

What are Magnetic Standard EBS volumes?

A

Previous generation magnetic

Can be boot volume

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

What is a Subnet?

A

Range of IP addresses in your VPC

Each subnet resides in a different AZ

Isolate EC2 resources from each other

Isolate EC2 resources from the Internet

17
Q

What is a security group?

A

A set of firewall rules that control traffic for your instance. Not as smart as a WAF

18
Q

What is a DMZ?

A

Demilitarized Zone

AKA Screened submetwork

Seperates a LAN from the Internet

Web front ends located in DMZ

19
Q

What do you need to connect to an EC2 instance from Windows?

A

Private Key

Putty App

PPK (converted from PEM in PuttyGen)

20
Q

What popular ports need to be opened in your security group to allow connections?

A

SSH (22)

HTTP (80)

HTTPS (443)

RDP (3389)

21
Q

In terms of EC2, how do we design for failure?

A

Have one EC2 instance in each AZ you are serving

22
Q

What are the three ways to interact with AWS?

A

Console

CLI

SDKs

23
Q

What are the two web servers available?

A

Apache, IIS

24
Q

What are the three types of load balancers?

A

Application - Layer 7

Network - High Performance and static IPs

Classic - Existing apps, phasing out

25
Q

What is important to remember about web servers and availability zones?

A

Best practice is to place them in seperate AZs (subnets)