EC2 Flashcards

1
Q

EC2 stands for

A

Elastic Compute Cloud

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

EC2

A

quickly scale capacity up or down as your computing requirements change through. EC2’s are essentially virtual machines

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

4 EC2 pricing models

A
  1. On demand 2. Reserved 3. Spot 4. Dedicated hosts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EC2 Spot pricing

A

like the stock market for Amazon extra capacity

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

EC2 Dedicated Host

A

physical EC2 server dedicated to your use

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

IOPS acronym

A

Input Output per second

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

T or F: If you create an inbound rule for a port type and range, it is automatically allowed for outbound as well

A

T

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

With security groups everything is ___________ by default

A

blocked

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

T or F: You can multiple security groups attached to one EC2 instance

A

T

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

Elastic Block Store (EBS)

A

virtual hard disk in the cloud. Persistent block storage volumes for use with Amazon EC2 instances

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

5 types of EBS

A
  1. General Purpose 2. Provisioned IOPS (SSD) 3. Throughput Optimized Hard Disk Drive 4. Cold Hard Disk Drive 5. Magnetic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

General Purpose EBS

A

for most workloads. max 16k IOPS

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

Provisioned IOPS EBS

A

for databases. Max IOPS 64k

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

Throughput Optimized Hard Disk Drive EBS

A

for big data and data warehouses. Max IOPS 500

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

Cold Hard Disk Drive EBS

A

for file servers. Max IOPS 250

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

Magnetic EBS

A

for infrequently accessed data. 40-200 IOPS

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

T or F: You can move EBS volumes to AZ’s other than the one your EC2 instance is in

A

T

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

Snapshots exist where?

A

S3

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

Snapshots

A

Point in time copies of volumes

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

Instance store (ephemeral storage)

A

root device for an instance launched from the AMI is an instance store volume created from a template stored in S3. Cannot be stopped.

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

Elastic Network Interface (ENI)

A

virtual network card for EC2. Gives basic networking. Gives you private and public IP addresses

22
Q

Enhanced Networking

A

uses Single root I/O virtualization (SR-IOV) to provide HPC capabilities. Need speeds 10-100 GBps

23
Q

Elastic Fabric Adapter (EFA)

A

network device you can attach to your EC2 to accelerate HPC and ML apps. Can use OS bypass if you’re running Linux

24
Q

Root Device Volume

A

Hard disk that has your OS on it

25
Can you share snapshots?
Only if they are unencrypted
26
How do you encrypt a root device volume if you don't do it at creation?
create snapshot of unencrypted volume, create copy of snapshot and select encrypt option, create ami from encrypted snapshot, and use that ami to launch new encrypted instances
27
Spot Instances
take advantage of unused EC2 capacity at 90% discount. Like spot pricing in the stock market. Use this with flexible apps, not critical apps.
28
Spot Fleet
Collection of spot and on demand instances. Attempts to launch number of instances to meet demand in your price restraints.
29
Spot Fleet strategies
1. capacity optimized 2. diversified 3. lowest price 4. InstancePoolstoUseCount - spot instances distributed across number of spot instance pools you specify. Must use in combination with lowest price
30
Spot Block
block spot instances from terminating
31
Ec2 Hibernate
OS told to hibernate and saves contents from instance memory (RAM) to your EBS root volume. RAM contents reloaded when you restart.
32
T or F: root device volume must be encrypted to use hibernation
T
33
AWS CloudTrail
increase visibility into user and resource activity by recording AWS management console actions and API calls. Audit log to track who is making changes and updates
34
Boot Strap Scripts
automate processes upon creation of objects
35
Elastic File System (EFS)
file storage service for EC2 instances. Storage capacity scales up and down on demand.
36
FSx for Windows File Servver
native MS windows file system to easily move windows based apps that require file storage to AWS
37
FSx for Lustre
file system optimized for compute intensive workloads
38
3 types of EC2 placement groups
1. Clustered Placement Groups 2. Spread Placement Groups 3. Partitioned
39
Clustered Placement Group
grouping of instances within single AZ. For apps that need low latency and high network throughput
40
Spread Placement Group
group of instances that are each place don distinct underlying hardware. For small number of critical instances that should be kept separate from each other for redundancy
41
Partitioned Placement Group
each partition in placement group has its own set of racks. Each rack has own network and power source. Isolates impact of hardware failure.
42
HPC stands for...
High Performance Compute
43
Enhanced networking
uses single root I/O virtualization (SR-IOV) to provide high performance networking capabilities on supported instance types.
44
Elastic Network Adapter (ENA)
type of enhanced networking. Supports network speeds up to 100GBps
45
OS Bypass
enables HPC and ML apps to bypass OS kernel and communicate directly with EFA device
46
AWS Batch
runs hundreds of thousands batch computing jobs. allows you to run single job that spans multiple EC2 instances
47
AWS Parallel Cluster
deploy and manage HPC clusters on AWS
48
WAF stands for...
Web Application Firewall
49
AWS WAF
web app firewall that lets you monitor HTTP and HTTPS requests that are fwded to Amazon CloudFront, an app load balancer, or API gateway
50
3 different behaviors AWS WAF allows
1. allow all requests except ones you specify 2. block all requests except ones you specify 3. count requests that match properties you specify.