AWS Certified Solutions Architect – Professional (SAP-C02) — Question 228

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because deploying a Lambda@Edge function to standardize query string parameters will ensure they are consistently formatted, which increases the cache hit ratio. Options B and D would not address the inconsistent casing and ordering issue, while C suggests a more complex solution that may introduce additional latency rather than resolving the root cause.