Storage and Data Managment Flashcards
What should you use to protect your S3 data from accidental deletion and to provide an easy way to revert to a previous version of a file?
MFA delete and versioning
What protection does MFA delete provide to S3?
It protects against accidental deletion and suspension of versioning
You need to ensure S3 data is encrypted in transit. How do you do this?
SSL and TLS is required by default
You need to to encrypt your S3 data and do not want to manage encryption keys. The keys should be changed frequently. What AWS service will you use?
S3 managed keys
You need to to encrypt your S3 data and do not want to manage encryption keys. Also ensure the key used is encrypted and provide an audit trail to see when the key is used. What AWS service will you use?
AWS Key mgmt service, Managed Keys
What is included in the PUT request header if the file is required to be encrypted at upload time?
x-amz-server-side-encryption :AES256 or :ams:kms
How do you ensure S3 put requests are encrypted?
Use a bucket policy that denies any S3 PUT that does not include x-amz-server-side-encryption
What is the default setting for root volume EBS retention?
Delete on termination
An instance is created. After creation you realize you did not change the default for the instance store root volume retention to ensure the volume is not deleted on instance termination. How can this be changed?
You can’t . This can only be set when the instance is created
An instance is created. After creation you realize you did not change the default for EBS root volume retention to ensure the volume is not deleted on instance termination. How can this be changed?
You can’t instance store will always be deleted on termination. They cannot be retained
An instance is created. You have and EBS root volume and an additional EBS volume. You terminate the instance. What happens to the EBS volumes?
The root volume is deleted unless the default was changed. The additional volume will always be retained
Can you encrypt an existing EFS filesystem?
No. It can only have encryption set at creation
Can you encrypt an existing RDS database?
No. It can only have encryption set at creation
You have an RDS DB that need to be encrypted. How do you do this?
Create a new RDS DB that is encrypted and migrate
How do you migrate an existing EBS volume that you would like to encrypt?
Create a snapshot
copy the snapshot and apply encryption
Restore encrypted snapshot to a new encrypted volume