mediummultiple choiceObjective-mapped

A company serves the same public content to many users through Amazon CloudFront. The origin is experiencing increased fetches because CloudFront cache hit rate is dropping. Most requests include an Authorization header and a custom header that changes per user. The response content is identical regardless of these headers. What change should the solutions architect make to restore a high cache hit rate?

Question 1mediummultiple choice
Full question →

A company serves the same public content to many users through Amazon CloudFront. The origin is experiencing increased fetches because CloudFront cache hit rate is dropping. Most requests include an Authorization header and a custom header that changes per user. The response content is identical regardless of these headers. What change should the solutions architect make to restore a high cache hit rate?

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

Create a custom cache policy that excludes the Authorization header and the per-user changing custom header from the cache key.

CloudFront cache keys determine how requests map to cached objects. If the response is identical regardless of certain headers, including those headers in the cache key causes cache fragmentation (many unique cache keys for what is effectively the same content). Excluding the Authorization header and the varying custom header from the cache key allows CloudFront to reuse cached responses across users, restoring hit rate and reducing origin fetches.

B

Distractor review

Lower the TTL to a few seconds so cached objects expire sooner and origin fetches decrease.

Lowering TTL increases how frequently CloudFront has to revalidate or refetch content, which typically increases origin load and decreases cache hit rate.

C

Distractor review

Disable caching for the affected paths so CloudFront always forwards all headers to the origin.

Disabling caching removes the benefit of the cache layer. That will almost certainly reduce cache hit rate to near zero and increase origin fetches.

D

Distractor review

Force all requests to use query-string based caching and include all headers in the cache policy for correctness.

Including high-cardinality, per-user changing headers in the cache key preserves the cache fragmentation problem and keeps the hit rate low. Query-string caching does not address header-driven variability unless the cache key is explicitly designed to exclude the varying elements.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

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?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Create a custom cache policy that excludes the Authorization header and the per-user changing custom header from the cache key. — CloudFront uses cache policies to determine which request components (headers, query strings, cookies) are part of the cache key. Because the response content is identical regardless of the Authorization header and the per-user changing custom header, those headers should not be included in the cache key. The best fix is to create a custom cache policy that excludes those headers, which reduces cache fragmentation and increases cache hit rate, lowering origin fetches. Why others are wrong: Lower TTL values generally increase revalidation/refetch frequency, reducing hit rate. Disabling caching removes caching entirely. Including all headers in the cache policy keeps the same high-cardinality behavior (different headers per user), which will continue to fragment the cache. Query-string-only caching does not automatically fix header-based cache key fragmentation if headers that vary per user remain in the cache key.

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.