Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 385

A company uses an AWS Lambda function to transfer files from an Amazon S3 bucket to the company's SFTP server. The Lambda function connects to the SFTP server by using credentials such as username and password. The company uses Lambda environment variables to store these credentials.

A developer needs to implement encrypted username and password credentials.

Which solution will meet these requirements?

    Correct Answer: B

    The best solution to meet the requirement of implementing encrypted username and password credentials for a Lambda function is to use AWS Systems Manager Parameter Store. AWS Systems Manager Parameter Store allows for secure storage of sensitive information like credentials and supports encryption using AWS Key Management Service (KMS). This approach is more secure and managed compared to storing credentials in environment variables or plaintext files.

Discussion
rdiazOption: B

parameter store is the most suitable option