Complete the code to specify the S3 storage class for standard storage.
aws s3 cp file.txt s3://mybucket/ --storage-class [1]
The STANDARD storage class is the default for frequently accessed data in S3.
Complete the code to specify the S3 storage class for infrequent access.
aws s3 cp file.txt s3://mybucket/ --storage-class [1]
STANDARD_IA is for data accessed less frequently but requires rapid access when needed.
Fix the error in the storage class name to use Glacier archival storage.
aws s3 cp file.txt s3://mybucket/ --storage-class [1]
GLACIER is the correct storage class for archival with longer retrieval times.
Fill both blanks to set the storage class to One Zone-Infrequent Access and enable encryption.
aws s3 cp file.txt s3://mybucket/ --storage-class [1] --sse [2]
ONEZONE_IA stores data in one availability zone for lower cost, and AES256 enables server-side encryption with Amazon S3-managed keys.
Fill all three blanks to copy a file to Glacier storage with KMS encryption and specify the storage class.
aws s3 cp file.txt s3://mybucket/ --sse [1] --storage-class [2] --metadata-directive [3]
aws:kms enables KMS encryption, GLACIER sets the archival storage class, and REPLACE tells S3 to replace metadata during the copy.