Storage & Data Management Flashcards

1
Q

What is the difference between upload and update/delete a file on S3?

A
# After upload you can read right away.
# After update/delete takes some time to propagate.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is S3?

A
# Is object-based
# Can store objects from 0 Bytes to 5 TB
# Unlimited storage
# S3 is a universal namespace
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are S3 classes?

A
# S3 Frequent access
# S3 - IA - infrequent access
# S3 - One Zone IA - === IA, but data is in single zone
# S3 - Reduced Redundancy storage - for data that can be reproducible again if lost
# Glacier - Archived data, takes 3-5 hours to access.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the core of S3?

A
# Key (name)
# Value (data)
# Version ID
# Metadata
# Subresources 
   - bucket configuration: Policies, Acess Control list
   - Cors
   - Transfer Acceleration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are S3 Lifecycle Policies?

A

Are lifecycle based on creation date, you can use this lifecycle to transfer objects to glacier or S3 infrequent access, or delete them after a expiry date

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

What is MFA S3?

A

S3 enable versioning, to add a layer of protection S3 enable 2FA/MFA, in order to delete file need valid code of the device to delete a file or supespend/reactivate a S3 bucket.

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

What are two types of S3 encrypt?

A
# In transit: SSL/TLS
# Encryption of object: 
  - SSE-S3(key managed by s3)
  - SSE-KMS(key managed by KMS)
  - SSE-C(key managed by client)
# Client Side encrypt
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to enforce use of encryption on S3?

A

Use bucket policy, on PUT must have header x-amz-server-side-encryption.

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

What is default value for EBS root on termination EC2?

A

Delete the EBS root device, this can be modificated on creation only. In other hand, additional volumes are persisted automatically.

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

What is instance store?

A

Is ephemeral storage, come if EC2 instance and is 10GB.

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

What services for storage needs to check encryption on creation?

A

EFS, RDS and EBS volumes.

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

How to add encryption after storage was created?

A

Create snapshot of current storage, then restore this snapshot in a Volume encrypted.(Have downtime)

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

What is and what is the difference between KMS and CloudHSM?

A

Both generate, store and manage encryption keys. KMS is multi-tenancy. But if the app need dedicated hardware for managing keys, use CloudHSM.

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

What is AMI?

A

AMIS are templates for launching EC2.

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

Is AMI region bound?

A

yes

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

What are the 2 restriction for copy/share AMIS?

A
# Encrypted AMIS - copy the underlying snapshot, re-encrypt with own key, an then create from the snapshot
# Some amis have billingProducs code(Windows, RedHat, aws marketplace), so cannot copy. But can create ami from ec2 using an AMI paid.
17
Q

What is the difference between snowball and snowball edge?

A

Snowball is Computer that is used for transfer data to AWS physical mode(100TB of data/ Weeks), and SnowBall Edge is equal to Snowball the difference is that has compute capability, to transforma data before store(Has lambda and s3).

18
Q

What are the types of Storage gateway?

A

File gateway: files stored on S3, acess using NFS/SMB
# Volume gateway:
- Stored Volumes: data stored on site, and backup stored on s3 as EBS snapshots
- Cached Volumes: All data is stored on s3, and frequent data is cached local
#Tape gateway/VTL - Archiving data to GLACIER, througth s3 lifecycle.

19
Q

What is athena?

A

Is for query log data storage on s3, using SQL, serverless.