ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - DVA-C02 discussion

Report
Export

A company has an application that runs as a series of AWS Lambda functions. Each Lambda function receives data from an Amazon Simple Notification Service (Amazon SNS) topic and writes the data to an Amazon Aurora DB instance.

To comply with an information security policy, the company must ensure that the Lambda functions all use a single securely encrypted database connection string to access Aurora.

Which solution will meet these requirements'?

A.
Use IAM database authentication for Aurora to enable secure database connections for ail the Lambda functions.
Answers
A.
Use IAM database authentication for Aurora to enable secure database connections for ail the Lambda functions.
B.
Store the credentials and read the credentials from an encrypted Amazon RDS DB instance.
Answers
B.
Store the credentials and read the credentials from an encrypted Amazon RDS DB instance.
C.
Store the credentials in AWS Systems Manager Parameter Store as a secure string parameter.
Answers
C.
Store the credentials in AWS Systems Manager Parameter Store as a secure string parameter.
D.
Use Lambda environment variables with a shared AWS Key Management Service (AWS KMS) key for encryption.
Answers
D.
Use Lambda environment variables with a shared AWS Key Management Service (AWS KMS) key for encryption.
Suggested answer: A

Explanation:

This solution will meet the requirements by using IAM database authentication for Aurora, which enables using IAM roles or users to authenticate with Aurora databases instead of using passwords or other secrets. The developer can use IAM database authentication for Aurora to enable secure database connections for all the Lambda functions that access Aurora DB instance. The developer can create an IAM role with permission to connect to Aurora DB instance and attach it to each Lambda function. The developer can also configure Aurora DB instance to use IAM database authentication and enable encryption in transit using SSL certificates. This way, the Lambda functions can use a single securely encrypted database connection string to access Aurora without needing any secrets or passwords. Option B is not optimal because it will store the credentials and read them from an encrypted Amazon RDS DB instance, which may introduce additional costs and complexity for managing and accessing another RDS DB instance. Option C is not optimal because it will store the credentials in AWS Systems Manager Parameter Store as a secure string parameter, which may require additional steps or permissions to retrieve and decrypt the credentials from Parameter Store.

Option D is not optimal because it will use Lambda environment variables with a shared AWS Key Management Service (AWS KMS) key for encryption, which may not be secure or scalable as environment variables are stored as plain text unless encrypted with AWS KMS.

Reference: [IAM Database Authentication for MySQL and PostgreSQL], [Using SSL/TLS to Encrypt a Connection to a DB Instance]

asked 16/09/2024
mckeon mackey
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first