EBS and EC2 Storage Flashcards

1
Q

Requirement of attaching an EBS to EC2

A

They have to be in the same availability zone

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

What are the two EBS Volume Types

A

SSD Volumes and Magnetic Volumes

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

What are SSD volumes used for?

A

For transactional workloads, such as database and boot volumes (performance depends mostly on IOPS). Can read and write quickly. Small and random I/O operations.

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

What is a General Purpose EBS Volume?

A

(GP2) SSD Volume that balances both pricing and performance.

Ratio 3 IOPs per GB with up to 1000 IOPS and availability to burst up to 3000 IOPS for volumes of 334 GB and above. 6,000 IOPS/volume

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

What is a Provisioned IOPs EBS Volume?

A

(IO1) SSD Volume used for extreme performance I/O intensive apps (large relational or NoSQL DB).

Used for mission critical low-latency or high throughput workloads. over 10000 IOPs.

64,000 IOPS/volume

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

What is a Throughput HHD EBS Volume?

A

(STI) A HHD volume. Low cost designed for frequent access throughput intensive workloads.

Ex. Big Data, data warehouse, log processing.

500 IPS

CANNOT be a boot volume

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

What is a Cold HHD EBS Volume?

A

(SCI) Lowest cost storage for infrequent accessed workloads

Ex. File Server

250 IOPS

CANNOT be a boot volume

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

What is a Magnetic EBS Volume

A

It is the standard HHD volume. Used for Legacy. It is the lowest cost per GB of all EBS volume types that IS BOOTABLE.

Good for workloads where data is accessed infrequently and for apps where lowest storage cost is important

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

Three ways to encrypt root device volume?

A

1) Can now encrypt upon creation

2) Use OS system level encryption

3) Take a snapshot. Copy snapshot, then create image (go to AMI), and then click launch.

40-200 IOPS

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

TRUE or FALSE: Once you pick size for EBS volume it can’t be changed

A

FALSE: you can increase volume size at any time

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

Do you need to shut down EC2 instance in order to change/upgrade EBS Volume

A

No, although it is recommended

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

Can you delete a sanpshot of root device of EBS volume used by a registered AMI?

A

NO, You must first remove the AMI before you can delete the snapshot

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

How to protect your EBS from failure

A

Auto replicate in AZ

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

How to move an EBS Volume to another AZ

A

Create a Snapshot of Volume
Turn snapshot into AMI
Make sure Virtualiztion type is Hardware assisted virtualization
See image under AMI
NOTE Snapshots exist in S3
Best practic is to stop instance before taking a snapshot

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

2 AMI Storage Options for EC2

A

Instance Store
EBS Backed Volumes

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

What type of Storage is Instance Store?

A

Ephemeral Storage

If underlying hardware stops you will lose data

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

Negatives of using Instance Store as Storage on EC2

A

Restricts instance types you can choose
Have to be added on EC2 creation
CANNOT stop instance (can only REBOOT and TERMINATE)
Can loose data if underlying hardware stops

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

Positives of using EBS Backed Volumes on EC2

A

Persistent storage (can stop instance and data will persist)
Can add more EBS backed volumes to EC2 even after creation
Can tell AWS to keep root device volume when EC2 is deleted

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

Where are Instance Store volumes created from and where are EBS Backed Volumes created from?

A

Instance Store = templates stored in S3
EBS = EBS Snapshot

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

Virtual Network Card for EC2

A

ENI
Elastic Network Interface

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

When to add ENI or multiple ENIs to EC2

A

If want management network (separate than production network)
Use network and security appliances in VPC
Create dual homed instances with workloads/roles on distinct subnets
Create low-budget high availability solutions

Basic networking. Or need separate management network for your production network, or separate loggin network you need to do at low cost. In this scenario use multiple ENIs for each network.

22
Q

What to Add to EC2 if Need single root I/O virtualization/ speed up network?

A

EN
Enhanced Networking

Need speeds b/w 10 -100 Gbps. & need reliable high throughput

23
Q

Two methodologies for increasing network performance on EC2

A

Elastic Network Adaptor (ENA)
- Speeds up network to 100 Gbps
- Most often correct answer

Intel 82599 Virtual Function (VF)
- Supports network speeds of up to 10 Gbps
- Typically used for older instances

24
Q

Network device that you can attach to EC2 instance to accelerate High Performance Computing (HPC) and machine learning applications.

A

Elastic Fabric Adaptor

25
Q

How to share EBS Snapshot with other AWS accounts

A

Unencrypted snapshots - make snapshot public

Encrypted Snapshot - also need to share CMK

26
Q

How can you increase the performance of a volume?

A
  • You can stripe volumes together in a RAID 0 config
  • Ensure that your EC2 instances are types that can be optimized for use with EBS
  • Schedule snapshots of HDD based volumes for periods of low use
27
Q

How to monitor EBS Volumes?

A

Cloudwatch
- Volume status checks
- Volume events

28
Q

Max volume size

A

16 TiB

29
Q

How to create incremental backups in EBS

A

Snapshots. But note snapshots are constrained to the region they are created. And shared snapshots must be encrypted with a CMK

30
Q

If an EBS backed instance is deleted what happens to the root volume?

A

It is deleted by default. But by default all additional EBS volumes created and attached to the instance are retained.

31
Q

When you attach a new EBS volume on EC2 instance what steps do you have to take to use volume?

A

Create a file system on the volume and then mount it

32
Q

What is Amazon EFS?

A

Elastic File System

Storage grows and shrinks automatically and you only pay for what you use (don’t need to pre-provision storage as opposed to EBS)

Can Scale up to petabytes

33
Q

TRUE or FALSE: EFS is stored Multi-AZ

A

TRUE

34
Q

TRUE or FALSE: EFS works on Windows and Linux EC2?

A

FALSE only works on Linux

35
Q

Available features of EFS

A

Lifecycle policy
Enable encryption
Supports SFSv4
Read after write consistency
Multiple EC2 can access/share same file store

36
Q

What do you have to enable to install EFS on an EC2?

A

Must install amazon-efs-utils tool on EC2 server
Need to add NFS security policy for EC2 inbound firewall rules

37
Q

SMB based file services for Window applications

A

Windows FSx

38
Q

File system used to process large data sets of hundreds of gigabytes for second (HPC, Big Data, sub millisecond) Can store data directly to S3

A

Amazon FSx for Lustre

39
Q

Ways to encrypt data at rest that will be uploaded to EBS Volume (not guaranteed EBS is encrypted)

A

Encrypt data using native encryption tools available in EC2 Server

Encrypt data inside your app before storing it in EBS

Use third party volume encryption tools

40
Q

How to save RAM down to Disk on an EC2 instance

A

EC2 Hibernate

41
Q

Describe EC2 Hibernate

A
  1. Saves RAM down to Disk
  2. On start up restores root volume to previous state
  3. RAM reloaded
  4. Processes Resumed
  5. Same instance ID retained
42
Q

Max time for EC2 Hibernate

A

60 days

43
Q

Max amount of RAM to save for EC2 Hibernate

A

150 GB

44
Q

TRUE or FALSE instances with Hibernate are slower to boot up

A

FALSE

45
Q

EC2 Hibernate which families are available

A

C, M, and R

46
Q

Migrate Share Point or Active Directory

A

FSx for Windows

47
Q

Centeralized Backup Service for AWS

A

AWS Backup

48
Q

Services supported for AWS Backup

A

EC2, EBS, EFS, Fsx for Luster, FSx for Windows, AWS Storage Gateway

49
Q

What services can you use to backup all of your EC2 instances across all of your AWS accounts

A

AWS Organizations
AWS Backup

50
Q

EBS Volume type gives you the highest performance in terms of IOPS?

A

EBS Provisioned IOPS SSD (io2 Block Express)