
Answer-first summary for fast verification
Answer: By setting the x-amz-server-side-encryption header in the PutObject API call.
The correct answer is B. When using the PutObject API operation to store objects in an S3 bucket, setting the x-amz-server-side-encryption header is the appropriate method to enable server-side encryption with Amazon S3 managed keys (SSE-S3). This header specifies the server-side encryption algorithm used to encrypt the object. Setting this header to 'AES256' activates SSE-S3 encryption.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a developer ensure server-side encryption with Amazon S3 managed keys (SSE-S3) for objects added to an S3 bucket via the PutObject API operation?
A
By creating and assigning an AWS KMS key to the S3 bucket.
B
By setting the x-amz-server-side-encryption header in the PutObject API call.
C
By including the encryption key in the HTTP header for each request.
D
By implementing TLS to encrypt data in transit to the S3 bucket.
No comments yet.