EBS Flashcards

1
Q

What is HA of an EBS Volume?

A

EBS automatically replicated within an AZ

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

What is the scalability of EBS?

A

You can change types or increase capacity with no downtime and no performance impact

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

What is the use case for gp2 and gp3?

A

Boot volume, test and development, no latency sensitive requirement. Installing an OS

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

What is the IOPS max for gp2? gp3?

A

16000 iops

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

What is the use case for io1/io2?

A

Need high performance, latency sensitive, database workloads, OLTP, expensive, greater than 16k iops needed

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

What is the iops for io1/io2?

A

64000 iops per volume

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

What is the use case for st1?

A

low cost to store lots data, frequently accessed, throughput intensive, for big data, etl, data warehouse, log processing?

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

What should you think when you hear big data, etl, data warehouse, log processing?

A

Throughput, not iops

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

What restriction does st1 have?

A

It can’t be a boot volume?

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

What is the use case for sc1?

A

Need lowest cost option, infrequently scanned data, performance not a factor

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

What restriction does sc1 have?

A

Can’t be a boot volume

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

Where is the EBS volume location in realtion to the EC2 instance?

A

It is in the same AZ

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

How do you share a snapshot?

A

Snapshots can be shared in the same region but outside region need to create a copy of the snapshot in that region.

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

How do you take a consistent snapshot?

A

You stop the ec2 instance first

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

How would you move an ebs volume to a different region?

A

Take a snapshot of the ebs volume. Copy snapshot to another region. You can encrypt snapshot if it is unencrypted.

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

How would you move an ec2 instance to a different region? **

A

Take snapshot of ebs, copy snapshot to other region, create an ami of the snapshot and launch.

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

How would you encrypt an unencrypted ebs volume?

A

Copy the snapshot of the unencrypted ebs volume, and then launch an new instance using an ami of the new snapshot

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

What happens to encryption if you take a snapshot of an encrypted volume?

A

The snapshot will be encrypted and all volumes made from the snapshot are encrypted

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

What does end to end encryption mean for an ebs volume?

A

Snaphots are encrypted. data is encrypted at rest and in flight between instance and volume

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

What happens by default to the root volume if an instance is terminated?

A

The root volume is terminated

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

What is ec2 hibernation? On Hibernation? On Startup?

A

Instance has contents of RAM saved to disk. On startup processes are resumed, RAM is reloaded from disk, instance retains its instance id, prev attached volumes are reattached.

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

Does EC2 hibernation instances keep their instance id?

A

Yes they keep their instance id

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

Why use EC2 hibernation?

A

Makes booting up your instance faster

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

What is the size restrictions for RAM in EC2 Hibernation? How long can hibernation be?

A

150 GB RAM max and 60 days

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is EFS?
Elastic File System is a NFS for EC2
26
How many EC2 instances can use EFS? Are there AZ restrictions?
Multiple EC2 instances can use the same EFS, and instances can be in different AZ's (unlike EBS)
27
What OS works with EFS?
Only Linux
28
Why use EFS?
Multiple instances that need access to a central NFS. Automatic scaling of capacity, highly scalable to petabytes, pay for what you need
29
What are the 2 performance types for EFS?
1. General Purpose (web servers, CMS) | 2. Max I/O (media processing, big data)
30
Does EFS have lifecycle management?
Yes
31
What are the storage tiers for EFS?
Frequently accessed and Infrequently accessed
32
How many concurrent NFS connections does EFS support?
Supports thousand of connections
33
What is the consistency of reads for EFS? What is the HA?
Read after write consistency. Multi AZ
34
What is FSX for Windows?
Managed native Windows File System storage on Windows Server
35
When should you use FSX over EFS?
When you need Sharepoint or AD migrations.
36
What is the difference between FSX and EFS? Protocols?
FSX is for Windows using SMB. EFS is for Unix.
37
What is SMB?
Server Message Block - protocol for windows FS
38
What is FSX for Lustre?
Linux Managed Filesystem for compute intensive workloads
39
What use cases are there for FSX for Lustre?
HPC, Machine Learning, AI, massive dataset processing, media processing
40
Where does FSX for Lustre store things?
Stores things in S3
41
What is an AMI?
Amazon machine image contains the info needed to launch an instance. Blueprint for an instance
42
What is the difference between instance store vs ebs store?
Root volume is backed by an ebs volume from an ebs snapshot. Root volume is backed by a template stored in S3
43
What happens if you stop an instance store? What hap-pens if the instance hardware fails?
You can't stop an instance store. You will lose all data if the instance hardware fails
44
What happens if you reboot an instance store?
Data will be retained
45
What happens if you terminate and instance with instance store?
Data is lost
46
What happens if you stop an ebs store? reboot ebs backed instance?
Data is retained in both cases
47
What happens if you terminate and instance with ebs store?
The default is to terminate the root volume, but can be changed to retain
48
What is AWS Backup?
Allows consolidated backup across AWS services.
49
What is AWS Backup with Organizations?
Allows backup of multiple AWS accounts in your organization. Centralized control of backups of multiple services in multiple accounts
50
Why use AWS Backup?
Centralized control, can set lifecycle policies, automate backups, enforce backup policies like encryption
51
What engines does RDS support?
Postgresql, Mysql, Oracle, MariaDB, Aurora, Sql Server
52
What is OLTP vs OLAP? What should RDS be used for?
OLTP = large amounts of small transactions OLAP = large amounts of data, analysis and complex queries RDS is for OLTP
53
How does Multi AZ work for RDS? Is the copy async or sync?
There is a primary instance, and a standby instance in another AZ. If primary fails, then AWS switches DNS to point to standby. Data is synchronously copied to standby.
54
Is Multi AZ used for performance gains in RDS?
No, Multi AZ is only for DR
55
What are Read Replicas used for?
Increasing performance of RDS
56
What is a read replica?
A read only copy of the db
57
Where can you deploy a read replica?
Can put a read replica in a different AZ or different Region
58
What DNS endpoint does Multi Az use vs read replica?
Multi AZ uses the same DNS endpoint while a read replica has a separate DNS endpoint
59
How many read replicas can you have for RDS?
5 per database for MySQL,MariaDB,Postrgresql,Oracle, Sql Server For Aurora you can have 15 replicas
60
Can you promote a read replica into a standalone db?
Yes you can, but it breaks replication
61
What must be turned on in RDS to enable Read Replicas?
Automatic Backups
62
Can you make a Read Replica Multi AZ?
Yes you can make read replicas multi az
63
Can you access the stand by RDS Instance in Multi AZ?
No you cannot access this instance while the primary db is still running
64
What is Aurora?
Amazon proprietary use of postresql/mysql bringing commercial support/reliability with open source cost/simplicty
65
What performance increases can you get with Aurora?
You can get 5x performance increase
66
How many copies are kept for Aurora?
2 copies in each AZ for a total of 6 copies
67
How many read replicas can Aurora have? vs. non-Aurora?
15 read replicas vs 5 read replicas
68
Can you share EBS snapshots with other accounts? What needs to be done for you to do so?
Yes you can. To share EBS snapshots publicly, the snapshot must be unencrypted. For encrypted snapshots you must share the customer managed KMS key as well
69
Why use Aurora?
Storage and CPU Autoscales up and down - perfect for unpredictable workloads
70
What is Aurora Serverless?
Aurora Serverless is pay for what you use, on demand and auto scales up or down
71
How many copies of data loss can happen for write? for read?
2 copies can be lost for write, and 3 for read
72
How does failover for Aurora work? vs. non-Aurora?
There is automated failover to a read replica in Aurora while non-Aurora does not have failover
73
How does backups work?
Automated backups are on by default and continuous
74
What is DynamoDB?
A NoSQL document/key-value database for millisecond latency.
75
What are 4 facts about DynamoDB?
1. It is on SSD 2. Spread across 3 geographic distinct datacenters 3. Default is eventually consistent reads 4. Can be strongly consistent reads
76
What is DAX?
DynamoDB Accelerator which is a pass through cache, apps will talk to DynamoDB and it will handle the caching
77
What is the general point of ACID?
Your transaction all succeeds or none at all
78
How do you use ACID in DynamoDB?
Use DynamoDB Transactions for acid on 1 or more table in a single region and account
79
What region do DynamoDB backups live in?
The same region as the DynmoDB table
80
What is the retention for On-Demand Dynamo backups?
Retained until deleted
81
What is the retention for Dynamo Point in Time Recovery?
35 days and at 5 minutes in the past interval
82
Is Dynamo PITR turned on by default?
No it is not turned on by default
83
What is DynamoDB Streams?
Time ordered sequences of changes to items in a table
84
How long does data stay in a DynamoDB Stream?
24 hours
85
What components are in a DynamoDB stream?
The stream, stream records aka sequences, shards aka a grouping of sequences
86
What must be done to use DynamoDB Global Tables?**
You need to turn on DynamoDB Streams
87
Why use Dynamo Global Tables?
1. Provides multi region, multi master replication for HA and DR 2. No need to rewrite applications 3. Your application can be globally located 4. Less than 1 second latency
88
Why use DAX?
10x performance increase, changes latency from milliseconds to microseconds, fully managed caching