Storage Flashcards

1
Q

Currently, a company makes use of EBS snapshots to back up their EBS Volumes. As a part of the business continuity requirement, these snapshots need to be made available in another region. How could this be achieved?

A

Create Snapshot and copy the snapshot to a new region

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

An application with a 150 GB relational database runs on an EC2 Instance. While the application is used infrequently with small peaks in the morning and evening, which storage type would be the most cost-effective option for the above requirement?

A

Amazon EBS General Purpose SSD (gp2 or gp3)
EBS provisioned IOPS is not a good choice because the data is accessed infrequently
EBS Throughput Optimized HDD is not good because the minimum size is 500 GB

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

Currently, General Purpose SSD (gp2) volume type states a maximum IOPS of 16,000. What block size is this measurement based on?

A

16KiB I/O Size

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

Which OS are supported for EFS?

A

Only Linux

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

With the same amount of GBs provisioned, which one cost less between a S3 Standard, an EBS gp2 and an EFS?

A

S3 Standard < EFS < EBS gp2

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

What is EBS io2 Block Express?

A

It has 256,000 at 16 KB I/O max IOPS and 4,000 MiB/s, so is the EBS with highest IOPS and throughput.
It also has 99.999% durability, that is better then all the other volume types which have 99.9%

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

Max IOPS of a gp3 and gp2 volume?

A

16,000 at 16 KB I/O
250 MiB/s per gp2, 1000 MiB/s per gp3

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

Max IOPS of a io1 and io2 volume?

A

64,000 at 16 KB I/O and 1000 MiB/s

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

A company is creating a new application that will store a large amount of data. The data will be analyzed hourly and modified by several Amazon EC2 Linux instances that are deployed across multiple Availability Zones. The application team believes the amount of space needed will continue to grow for the next 6 months.
What would you use between EFS and EBS io1?

A

EFS, it can share data between instance and it’s pay per use, it scales on demand

EBS io1 can be multi-attach, but not across different AZs. You also pay more because you have to provision capacity

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

Can you attach EBS io1 and io2 to multiple EC2 across different AZs?

A

No, multiattach is available only within a single AZ

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

What happen to the instance store of an EC2 if the instance is terminated?

A

The data is lost. The instance store only persists during the lifetime of the instance and the reboots

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

Minimum volume size and max throughput for HDD?

A

For st1 (Throughput Optimized HDD): 125 GiB minimum size, 500 MiB/s throughput
For st2 (Cold Storage HDD): 125 GiB minimum size, 250 MiB/s throughput

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

In which conditions an HDD is more efficient?

A

ThroughPut Optimized HDD (st1) and Cold HDD (sc1) deliver optimal performance only when I/O operations are large and sequential

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

Are there data transfer charges for replicating a RDS instance in the same region?

A

No

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

Which are the performance modes of EFS?

A

General Purpose and Max I/O

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

Can you move data from Snowball to Glacier?

A

Not directly, you first need to send them to S3, and then you can move them to Glacier with a lifecycle policy

17
Q

Can you detach an EBS volume and attach it to a new EC2 instance?

A

Yes, but only if it is in the same AZ. To move it to a different AZ you need to make a snapshot first

18
Q

What EBS volume would you choose for a frequently accessed, throughput intensive workload?

A

st1 HDD

19
Q

What is EC2 Instance Store

A

Instance Store are more performant than EBS volumes, up to 3.3 million IOPS, but they lose the data if the instance is stopped. Backup and replication are your responsability

20
Q

What are the modes of EFS?

A

You can choose the mode at creation time
Performance Mode:
General purpose (default): latency sensitive use cases (web server, CMS)
MAX I/O: lower latency and higher throughput (big data, media processing)
Throughput mode:
Bursting: higher throughput than performance mode, with burst of up to 100 MiB/s (increases with system size)
Provisioned: you set your throughput regardless of storage size

21
Q

RDS is to relational databases what Fsx is to…

A

File Systems
FSx provides a managed way to deploy file systems like Window File Server and Lustre

22
Q

What is AWS Data Sync?

A

Service to move large amount of data from on-premises/other cloud to AWS, or from an AWS service to another AWS service

23
Q

What’s the only way in AWS to move data between two locations preserving the metadata?

A

AWS Data Sync

24
Q

Can you copy data from Snowball Edge to Glacier?

A

No, you can only copy data directly to S3, then create a lifecycle policy to move it to Glacier

25
Q

I have an encrypted EBS volume attached to an EC2 instance. Is the encryption at rest or in-flight?

A

Both. Encryption is actually done in the EC2 instance before sending data to EBS, so the data are encrypted in flight and also at rest