EBS and ECS Flashcards

1
Q

What are the EBS SSD volume types?

A

General-purpose SSD
- gp2

Provisioned IOPS SSD

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

What are the EBS HDD volume types?

A
  • st1: Throughput Optimised HDD

- sc1: Cold HDD

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

EBS SSD gp2 characteristics

A

General-purpose SSD

  • Suitable for boot disks and general applications
  • Up to 16.000 IOPS per volume
  • Up to 99.9% durability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

EBS SSD gp3 characteristics

A

Provisioned IOPS SSD

  • Suitable for high-performance applications
  • Predictable 3.000 IOPS baseline performance and 125 MiB/s regardless of volume size
  • Up to 99.9% durability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

EBS SSD io1 characteristics

A

Provisioned IOPS SSD

  • Suitable for OLTP and latency-sensitive applications
  • 50 IOPS/GiB
  • Up to 64,000 IOPS per volume
  • High performance and most expensive
  • Up to 99.9% durability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

EBS SSD io2 characteristics

A

Provisioned IOPS SSD

  • Suitable for OLTP and latency-sensitive applications
  • 500 IOPS/GiB
  • Up to 64,000 IOPS per volume
  • Up to 99.999% durability
  • Latest generation Provisioned IOPS volume
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

EBS HDD st1 characteristics

A

Throughput Optimised HDD

  • Suitable for big data, DWH, ETL
  • Max throughput is 500 MB/s per volume
  • Can’t be a boot volume
  • Up to 99.9% durability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

EBS HDD sc1 characteristics

A

Cold HDD

  • Max throughput is 250 MB/s per volume
  • Less frequently accessed data
  • Can’t be a boot volume
  • Lowest cost
  • Up to 99.9% durability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Volumes exist on … and Snapshots exist on …

A

EBS and S3

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

Are Snapshots incremental?

A

Yes. Only the blocks that have changed since your last Snapshot are moved to S3. The first Snapshot may take some time to create.

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

How can I take a consistent snapshot?

A

Stop the instance and detach the volume

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

Can I share snapshots between accounts and regions?

A

You can share snapshots between AWS accounts as well as between regions, but first, you need to copy that snapshot to the target region.

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

Can I resize or change an EBS volume type on the fly?

A

Yes, you can resize EBS volumes on the fly as well as change the volume type

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

Instance Store volumes are also known as…

A

Ephemeral Storage

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

What happens with the data if you stop an Instance Store instance or the underlying host fails?

A

The data in the Instance Store volumes will be lost

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

What happens with the data if you stop an EBS-backed instance?

A

EBS-backed instances can be stopped. You will not lose the data in this instance it is stopped

17
Q

What happens with the data if you reboot an EBS-backed or Instance Store instance?

A

You can reboot both EBS and instance store volumes and you will not lose your data

18
Q

What happens with boot volumes in EBS-backed or Instance Store instances on termination?

A

By default, both boot volumes will be deleted on termination. However, with EBS volumes, you can tell AWS to keep the root device volume.

19
Q

Are snapshots of encrypted volumes encrypted?

A

Yes

20
Q

Are volumes created from encrypted snapshots encrypted?

A

Yes

21
Q

Is the data in flight moving between the instance and the volume encrypted?

A

Yes

22
Q

How to encrypt a root device?

A
  1. Create a snapshot of the unencrypted root device volume
  2. Create a copy of the snapshot and select the encrypt option
  3. Create an AMI from the encrypted snapshot
  4. Use that AMI to launch new encrypted instances
23
Q

EC2 Hibernation

A
  • Preserves the in-memory RAM on persistent storage (EBS)
  • Much faster to boot up because you don’t need to reload the OS
  • Instance RAM must be less than 150MB
  • Instance families included: C3, C4, C5, M3, M4…
  • Available for Windows, Amazon Linux AMI and ubuntu
  • Instances can’t be hibernated for more than 60 days
  • Available for On-Demand instances and Reserved instances
24
Q

What protocol does EFS support?

A

NFS v4

25
Q

How many concurrent connections does EFS support?

A

Thousands of concurrent NFS connections

26
Q

How’s the pricing model for EFS?

A

Only pay for the storage you use (no pre-provisioning required)

27
Q

How much can the storage for EFS scale?

A

Can scale up to petabytes

28
Q

How is data stored in EFS in terms of location?

A

Data is stored across multiple AZs within a region

29
Q

What’s the consistency model of EFS?

A

read-after-write consistency

30
Q

When to use EFS?

A

When you need distributed, highly resilient storage for Linux instances and Linux-based applications

31
Q

When to use Amazon FSx for Windows?

A

When you need centralised storage for Windows-based applications, such as SharePoint, Microsoft SQL Server, Workspaces, IIS Web Server, or any other native Microsoft application

32
Q

When to use Amazon FSx for Lustre?

A

When you need high-speed, high capacity distributed storage. This will be for applications that do high-performance computing (HPC), financial modelling, etc. Remember that FSx for Lustre can store data directly on S3.

33
Q

What is AWS Backup?

A

Use AWS Backup to backup AWS services, such as EC2, EBS, EFS, Amazon FSx for Lustre, Amazon FSx for Windows File Server, and AWS Storage Gateway.

34
Q

Why use AWS Backup in conjunction with AWS Organisations?

A

You can use AWS Organisations in conjunction with AWS Backup to back up your different AWS serviced across multiple AWS accounts

35
Q

What are the benefits of AWS Backup?

A

AWS Backup gives you centralised control, letting you automate your backups and define lifecycle policies for your data. You get better compliance, as you can enforce your backup policies, ensure your backups are encrypted, and audit them once complete