Which combination of steps will resolve the latency issue?
(Choose two.)
Double the Auto Scaling group’s maximum number of servers.
Host the application code on AWS Lambda.
Scale vertically by resizing the EC2 instances.
Create an Amazon CloudFront distribution to cache the static content.
Store the application’s static content in Amazon S3.
Explanations:
CloudFront can cache static content at edge locations worldwide, reducing latency by serving the content from the nearest edge location to the user.
Storing static content in Amazon S3 provides scalable, low-latency storage, and combined with CloudFront, improves content delivery performance globally.
Doubling the Auto Scaling group’s maximum number of servers addresses dynamic scaling for peak times but does not solve latency issues related to static content.
AWS Lambda is designed for serverless, event-driven functions, not for hosting static content, and would not help reduce latency for static content.
Vertical scaling (resizing EC2 instances) may help performance to a degree, but it doesn’t address the underlying issue of static content delivery latency.