ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 87 - SAP-C02 discussion

Report
Export

A solutions architect needs to implement a client-side encryption mechanism for objects that will be stored in a new Amazon S3 bucket. The solutions architect created a CMK that is stored in AWS Key Management Service (AWS KMS) for this purpose.

The solutions architect created the following IAM policy and attached it to an IAM role:

During tests, me solutions architect was able to successfully get existing test objects m the S3 bucket However, attempts to upload a new object resulted in an error message. The error message stated that me action was forbidden.

Which action must me solutions architect add to the IAM policy to meet all the requirements?

A.
Kms:GenerateDataKey
Answers
A.
Kms:GenerateDataKey
B.
KmsGetKeyPolpcy
Answers
B.
KmsGetKeyPolpcy
C.
kmsGetPubKKey
Answers
C.
kmsGetPubKKey
D.
kms:SKjn
Answers
D.
kms:SKjn
Suggested answer: A

Explanation:

https://aws.amazon.com/premiumsupport/knowledge-center/s3-access-denied-error-kms/

'An error occurred (AccessDenied) when calling the PutObject operation: Access Denied' This error message indicates that your IAM user or role needs permission for the kms:GenerateDataKey action.

asked 16/09/2024
ACHILLE CARROLL
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first