ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 608 - DVA-C01 discussion

Report
Export

A developer uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3) to store data in Amazon S3. The developer needs to decrypt and download the encrypted objects by using the GetObject API call. What is the LEAST amount of information that the developer must provide in the API call to meet this requirement?

A.
The S3 object key only
Answers
A.
The S3 object key only
B.
The S3 object key and the encryption key
Answers
B.
The S3 object key and the encryption key
C.
The S3 object key and the Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key
Answers
C.
The S3 object key and the Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key
D.
The S3 object key and a randomly salted Hash-based Message Authentication Code (HMAC) value of the encryption key
Answers
D.
The S3 object key and a randomly salted Hash-based Message Authentication Code (HMAC) value of the encryption key
Suggested answer: A

Explanation:

https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html

Encryption request headers, like x-amz-server-side-encryption, should not be sent for GET requestsif your object uses server-side encryption with KMS keys (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest error.

https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html#API_GetObject_Examples

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/get-object.htmlSample Request:

The following request returns the object my-image.jpg.

GET /my-image.jpg HTTP/1.1

Host: bucket.s3.<Region>.amazonaws.com

Date: Mon, 3 Oct 2016 22:32:00 GMT

Authorization: authorization string


asked 16/09/2024
David Stutz
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first