Topic 1 Question 550
2 つ選択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?
Add AWS KMS permissions in the Lambda resource policy.
Add AWS KMS permissions in the Lambda execution role.
Add AWS KMS permissions in the Lambda function policy.
Allow the Lambda execution role in the AWS KMS key policy.
Allow the Lambda resource policy in the AWS KMS key policy.
ユーザの投票
コメント(7)
- 正解だと思う選択肢: 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.
👍 3Guru4Cloud2023/08/21 My choice is B,D
👍 1Bmaster2023/08/01- 正解だと思う選択肢: BD
Its B and D
👍 1Deepakin962023/08/03
シャッフルモード