Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 180 discussion

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 all the Lambda functions.
  • 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.
  • D. Use Lambda environment variables with a shared AWS Key Management Service (AWS KMS) key for encryption.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
dilleman
Highly Voted 11 months, 1 week ago
Selected Answer: C
C. AWS Systems Manager Parameter Store offers a more centralized way to manage encrypted secrets across multiple services than Lambda environment variables, making it a better fit for this scenario.
upvoted 12 times
...
ShawnWon
Highly Voted 10 months ago
C. Option A (IAM database authentication) may provide secure authentication, but it doesn't directly address the storage and retrieval of the connection string. Option B (storing credentials in an encrypted RDS DB instance) might introduce unnecessary complexity and potential security risks. Option D (Lambda environment variables with a shared AWS KMS key) is a viable option, but using Parameter Store is generally considered a more centralized and managed approach for storing and retrieving sensitive data in AWS. Therefore, option C is the most appropriate choice for securely managing the database connection string in this scenario.
upvoted 7 times
...
wh1t4k3r
Most Recent 2 weeks, 6 days ago
Selected Answer: C
C is the best choice. For those that chose A: simply enabling the DB IAM auth does not address the need to use a single secure string. It would require more steps to make this work regarding lambda execution role, iam policies and etc.
upvoted 1 times
...
tsangckl
3 months ago
This appear at 17 Jun exam
upvoted 1 times
...
65703c1
3 months, 3 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
KarBiswa
6 months, 2 weeks ago
Selected Answer: A
https://aws.amazon.com/blogs/database/iam-role-based-authentication-to-amazon-aurora-from-serverless-applications/
upvoted 1 times
...
KillThemWithKindness
6 months, 3 weeks ago
Selected Answer: A
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. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html
upvoted 2 times
...
rimaSamir
7 months, 2 weeks ago
The answer is A. https://aws.amazon.com/ru/blogs/database/iam-role-based-authentication-to-amazon-aurora-from-serverless-applications/
upvoted 2 times
rimaSamir
7 months, 2 weeks ago
In Amazon Aurora, you can associate the database users with the IAM user and roles.
upvoted 1 times
...
...
SerialiDr
7 months, 4 weeks ago
Selected Answer: C
C. Store the credentials in AWS Systems Manager Parameter Store as a secure string parameter: This is a strong option. Systems Manager Parameter Store provides secure, hierarchical storage for configuration data and secrets. It can store data such as passwords and database connection strings securely, and it integrates with AWS Key Management Service (AWS KMS) for encryption. Lambda functions can then retrieve the connection string securely at runtime. D. Use Lambda environment variables with a shared AWS Key Management Service (AWS KMS) key for encryption: While Lambda environment variables can be encrypted with AWS KMS and used to store sensitive information like database connection strings, they are not as centrally manageable as Parameter Store. Each Lambda function's environment variables would need to be updated individually if the connection string changes, which is less efficient and more prone to error.
upvoted 3 times
...
TallManDan
11 months ago
Selected Answer: A
https://aws.amazon.com/blogs/database/iam-role-based-authentication-to-amazon-aurora-from-serverless-applications/
upvoted 4 times
...
Digo30sp
11 months, 2 weeks ago
Selected Answer: D
The correct answer is (D). Solution (D) is the best option because it uses Lambda environment variables with an AWS Key Management Service (AWS KMS) shared key for encryption.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...