mediummultiple choiceObjective-mapped

A team serves static web assets (JS, CSS, images) from an Amazon S3 origin through CloudFront. Recently, the S3 origin has received a high number of requests for the same files, increasing origin data transfer costs. CloudFront access logs show many cache misses, and each request includes a unique query string used only for tracking (for example, ?utm=...). The application does not require query-string-specific content. What CloudFront change will most directly reduce origin fetches and cost?

Question 1mediummultiple choice
Full question →

A team serves static web assets (JS, CSS, images) from an Amazon S3 origin through CloudFront. Recently, the S3 origin has received a high number of requests for the same files, increasing origin data transfer costs. CloudFront access logs show many cache misses, and each request includes a unique query string used only for tracking (for example, ?utm=...). The application does not require query-string-specific content. What CloudFront change will most directly reduce origin fetches and cost?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Update the CloudFront cache policy to exclude query strings from the cache key so that requests differing only by tracking query parameters reuse the same cached object.

CloudFront cache misses increase when the cache key includes values that vary per request. If the tracking query string is part of the cache key, each unique ?utm value generates a separate cache entry even though the underlying object (JS/CSS/image) is identical, causing repeated origin fetches. Excluding query strings from the cache key collapses those variations into a single cached object, increasing the cache hit rate and reducing origin fetches and origin data transfer.

B

Distractor review

Lower the minimum TTL and set Cache-Control headers to no-store to force CloudFront to revalidate more often.

no-store (or effectively forcing revalidation/short TTLs) reduces cache effectiveness. That increases the number of requests that must reach the origin or be revalidated, which directly increases origin fetches and cost—opposite of the goal.

C

Distractor review

Enable Origin Shield to ensure all origin fetches go through a single regional shield with no other configuration changes.

Origin Shield can reduce origin load in some scenarios by improving cache coordination, but it does not change what constitutes a unique cache object. If query strings remain in the cache key, CloudFront will still treat each unique tracking query string as a different cache object, so cache misses and origin fetches will remain high.

D

Distractor review

Switch the S3 origin from S3 to a different storage class optimized for request rates, keeping the cache key the same.

Changing the S3 storage class does not address the root cause: CloudFront cache fragmentation caused by query strings in the cache key. Even with a different storage class, CloudFront will still generate separate cache entries (and therefore origin fetches) for each unique query string.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Related practice questions

Related SAA-C03 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this SAA-C03 question test?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Update the CloudFront cache policy to exclude query strings from the cache key so that requests differing only by tracking query parameters reuse the same cached object. — CloudFront is generating many cache misses because the cache key varies by a tracking query string. When unique query parameter values (for example, ?utm=...) are included in the cache key, CloudFront treats each variant as a separate object, even though the content is identical. This results in repeated origin fetches from S3, increasing origin data transfer cost. Excluding query strings from the CloudFront cache key makes those requests map to the same cached object, raising the cache hit ratio and directly reducing origin fetch volume and cost. Forcing more frequent revalidation or using no-store reduces caching and increases origin traffic. Origin Shield can help with origin load coordination, but it does not change the cache key; therefore it does not eliminate cache fragmentation caused by tracking query strings. Changing the S3 storage class does not affect how CloudFront forms the cache key or the resulting cache miss rate.

What should I do if I get this SAA-C03 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.