Ultimate access to all questions.
A company operates an application using Amazon EC2 and AWS Lambda within a VPC configured with both public and private subnets. EC2 instances are placed in a private subnet, necessitating direct network access by Lambda functions for application operation. The company plans for a 1-year application runtime with an expanding Lambda function count. They seek a solution to optimize costs and reduce latency. Which approach should be adopted?