Topic 1 Question 297
A company has a complex web application that leverages Amazon CloudFront for global scalability and performance. Over time, users report that the web application is slowing down.
The company's operations team reports that the CloudFront cache hit ratio has been dropping steadily. The cache metrics report indicates that query strings on some URLs are inconsistently ordered and are specified sometimes in mixed-case letters and sometimes in lowercase letters.
Which set of actions should the solutions architect take to increase the cache hit ratio as quickly as possible?
Deploy a Lambda@Edge function to sort parameters by name and force them to be lowercase. Select the CloudFront viewer request trigger to invoke the function.
Update the CloudFront distribution to disable caching based on query string parameters.
Deploy a reverse proxy after the load balancer to post-process the emitted URLs in the application to force the URL strings to be lowercase.
Update the CloudFront distribution to specify casing-insensitive query string processing.
ユーザの投票
コメント(14)
A. Yes, because Amazon CloudFront considers the case of parameter names and values when caching based on query string parameters , thus inconsistent query strings may cause CloudFront to forward mixed-cased/misordered requests to the origin. Triggering a Lambda@Edge function based on a viewer request event to sort parameters by name and force them to be lowercase is the best choice. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/QueryStringParameters.html#query-string-parameters-optimizing-caching https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-cloudfront-trigger-events.html
B. No, because this will exacerbate the caching issue by sending all query string parameters requests to the origin C. No, because this won't help increase the cache hit ratio D. No, because a CloudFront distribution specifies information about the origin/source of your content and how to track and manage content delivery.
👍 5dkx2023/07/12- 正解だと思う選択肢: A
A , same questions this version 1 https://www.examtopics.com/discussions/amazon/view/27789-exam-aws-certified-solutions-architect-professional-topic-1/
👍 2SkyZeroZx2023/06/25 - 正解だと思う選択肢: A👍 2SmileyCloud2023/06/27
シャッフルモード