AWS Certified Database – Specialty — Question 353

A pharmaceutical company uses Amazon Quantum Ledger Database (Amazon QLDB) to store its clinical trial data records. The company has an application that runs as AWS Lambda functions. The application is hosted in the private subnet in a VPC.
The application does not have internet access and needs to read some of the clinical data records. The company is concerned that traffic between the QLDB ledger and the VPC could leave the AWS network. The company needs to secure access to the QLDB ledger and allow the VPC traffic to have read-only access.
Which security strategy should a database specialist implement to meet these requirements?

Answer options

Correct answer: B

Explanation

Amazon QLDB is a fully managed, serverless ledger database that cannot be deployed directly inside a customer's VPC, making options A, C, and D incorrect as they assume QLDB resides in a subnet or supports security groups. To establish private connectivity without traffic leaving the AWS network, an AWS PrivateLink VPC endpoint for QLDB must be created. Attaching a custom VPC endpoint policy allows the database specialist to restrict access to read-only actions for the Lambda functions.