Full AWS Practitioner Certification Question

A product engineering team uses a dedicated AWS account that is connected to the company's on-premises infrastructure via dual AWS Direct Connect links. All non-VPC-bound traffic is routed through a virtual private gateway. A new serverless componenta Lambda functionwas created through the AWS Console and needs secure, low-latency access to a legacy database running in a private subnet within the companys data center. What is the most appropriate way to ensure that the Lambda function can access the on-premises database?