Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C03 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C03 exam

Exam AWS Certified Solutions Architect - Associate SAA-C03 topic 1 question 550 discussion

A company is using AWS Key Management Service (AWS KMS) keys to encrypt AWS Lambda environment variables. A solutions architect needs to ensure that the required permissions are in place to decrypt and use the environment variables.

Which steps must the solutions architect take to implement the correct permissions? (Choose two.)

  • A. Add AWS KMS permissions in the Lambda resource policy.
  • B. Add AWS KMS permissions in the Lambda execution role.
  • C. Add AWS KMS permissions in the Lambda function policy.
  • D. Allow the Lambda execution role in the AWS KMS key policy.
  • E. Allow the Lambda resource policy in the AWS KMS key policy.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Guru4Cloud
Highly Voted 1 year, 1 month ago
Selected Answer: BD
To decrypt environment variables encrypted with AWS KMS, Lambda needs to be granted permissions to call KMS APIs. This is done in two places: The Lambda execution role needs kms:Decrypt and kms:GenerateDataKey permissions added. The execution role governs what AWS services the function code can access. The KMS key policy needs to allow the Lambda execution role to have kms:Decrypt and kms:GenerateDataKey permissions for that specific key. This allows the execution role to use that particular key.
upvoted 6 times
...
wizcloudifa
Most Recent 5 months, 2 weeks ago
Selected Answer: BD
As per the principle of least privilege, granting permissions = role level
upvoted 4 times
...
TariqKipkemei
11 months ago
Selected Answer: BD
Allow the Lambda execution role in the AWS KMS key policy then add AWS KMS permissions in the role.
upvoted 2 times
...
ssa03
1 year, 1 month ago
Selected Answer: BD
Correct Answer: BD
upvoted 2 times
...
Nirav1112
1 year, 2 months ago
its B & D
upvoted 1 times
...
mrsoa
1 year, 2 months ago
Selected Answer: BD
BD BD BD BD
upvoted 1 times
...
Deepakin96
1 year, 2 months ago
Selected Answer: BD
Its B and D
upvoted 1 times
...
Bmaster
1 year, 2 months ago
My choice is B,D
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...