AWS Certified Security – Specialty — Question 493

The AWS Systems Manager Parameter Store is being used to store database passwords used by an AWS Lambda function. Because this is sensitive data, the parameters are stored as type SecureString and protected by an AWS KMS key that allows access through IAM. When the function executes, this parameter cannot be retrieved as the result of an access denied error.
Which of the following actions will resolve the access denied error?

Answer options

Correct answer: C

Explanation

To successfully retrieve and decrypt a SecureString parameter from AWS Systems Manager Parameter Store, the execution role of the AWS Lambda function requires explicit permission to decrypt the underlying AWS KMS key. Granting kms:Decrypt permissions to the Lambda function's IAM role resolves the access denied error. Modifying the VPC configuration or targeting the SSM service principal does not provide the Lambda execution environment with the necessary decryption capabilities.