Storage & Data Management Flashcards
What is the difference between upload and update/delete a file on S3?
# After upload you can read right away. # After update/delete takes some time to propagate.
What is S3?
# Is object-based # Can store objects from 0 Bytes to 5 TB # Unlimited storage # S3 is a universal namespace
What are S3 classes?
# 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.
What are the core of S3?
# Key (name) # Value (data) # Version ID # Metadata # Subresources - bucket configuration: Policies, Acess Control list - Cors - Transfer Acceleration
What are S3 Lifecycle Policies?
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
What is MFA S3?
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.
What are two types of S3 encrypt?
# 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 to enforce use of encryption on S3?
Use bucket policy, on PUT must have header x-amz-server-side-encryption.
What is default value for EBS root on termination EC2?
Delete the EBS root device, this can be modificated on creation only. In other hand, additional volumes are persisted automatically.
What is instance store?
Is ephemeral storage, come if EC2 instance and is 10GB.
What services for storage needs to check encryption on creation?
EFS, RDS and EBS volumes.
How to add encryption after storage was created?
Create snapshot of current storage, then restore this snapshot in a Volume encrypted.(Have downtime)
What is and what is the difference between KMS and CloudHSM?
Both generate, store and manage encryption keys. KMS is multi-tenancy. But if the app need dedicated hardware for managing keys, use CloudHSM.
What is AMI?
AMIS are templates for launching EC2.
Is AMI region bound?
yes