Full AWS Practitioner Certification Question

A company hosts an application on an Amazon EC2 instance within VPC A. The instance has an Elastic IP address. The application needs to connect securely to a database hosted in VPC B. Both VPCs are located in the same AWS account. The solution must allow secure private connectivity without exposing resources to the public internet.What is the most secure way to enable communication between the EC2 instance in VPC A and the database in VPC B?