ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 548 - SAA-C03 discussion

Report
Export

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.
Answers
A.
Add AWS KMS permissions in the Lambda resource policy.
B.
Add AWS KMS permissions in the Lambda execution role.
Answers
B.
Add AWS KMS permissions in the Lambda execution role.
C.
Add AWS KMS permissions in the Lambda function policy.
Answers
C.
Add AWS KMS permissions in the Lambda function policy.
D.
Allow the Lambda execution role in the AWS KMS key policy.
Answers
D.
Allow the Lambda execution role in the AWS KMS key policy.
E.
Allow the Lambda resource policy in the AWS KMS key policy.
Answers
E.
Allow the Lambda resource policy in the AWS KMS key policy.
Suggested answer: B, D

Explanation:

B and D are the correct answers because they ensure that the Lambda execution role has the permissions to decrypt and use the environment variables, and that the AWS KMS key policy allows the Lambda execution role to use the key. The Lambda execution role is an IAM role that grants the Lambda function permission to access AWS resources, such as AWS KMS. The AWS KMS key policy is a resource-based policy that controls access to the key. By adding AWS KMS permissions in the Lambda execution role and allowing the Lambda execution role in the AWS KMS key policy, the solutions architect can implement the correct permissions for encrypting and decrypting environment variables. Reference:

AWS Lambda Execution Role

Using AWS KMS keys in AWS Lambda

asked 16/09/2024
gokulakrishna S B
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first