A company hosts a website on Amazon EC2 instances behind an Application Load Balancer (ALB). The website serves static content. Website traffic is increasing, and the company is concerned about a potential increase in cost.
A.
Create an Amazon CloudFront distribution to cache state files at edge locations
B.
Create an Amazon ElastiCache cluster. Connect the ALB to the ElastiCache cluster to serve cached files
C.
Create an AWS WAF web ACL and associate it with the ALB. Add a rule to the web ACL to cache static files
D.
Create a second ALB in an alternative AWS Region. Route user traffic to the closest Region to minimize data transfer costs
Amazon CloudFront: CloudFront is a content delivery network (CDN) service that caches content at edge locations worldwide. By creating a CloudFront distribution, static content from the website can be cached at edge locations, reducing the load on the EC2 instances and improving the overall performance.
Caching Static Files: Since the website serves static content, caching these files at CloudFront edge locations can significantly reduce the number of requests forwarded to the EC2 instances. This helps to lower the overall cost by offloading traffic from the instances and reducing the data transfer costs.
The problem with this question is that no sane AWS architect will chose any of these options and go for S3 caching. But given the choices, A is the only one which will solve the problem within reasonable cost.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
cloudenthusiast
Highly Voted 1 year, 4 months agoawsgeek75
Highly Voted 8 months, 3 weeks agoGuru4Cloud
Most Recent 1 year, 1 month agoTariqKipkemei
1 year, 3 months agonosense
1 year, 4 months ago