Full AWS Practitioner Certification Question

A healthcare analytics platform runs on Amazon EC2 instances located within private subnets of a VPC. These instances must retrieve and update data stored in an Amazon DynamoDB table. To comply with strict security and compliance policies, all data traffic between the application and AWS services must remain within the AWS network and never traverse the public internet. What is the most secure and efficient way to allow the EC2 instances to access the DynamoDB table?