nerdexam
Amazon

SOA-C02 · Question #716

An ecommerce company uses an Amazon ElastiCache (Redis OSS) cluster for in-memory caching of popular product queries on a shopping website. The cache eviction policy is randomly evicting keys…

The correct answer is D. Change the eviction policy to evict the least frequently used keys. Switching the eviction policy to least frequently used (LFU) evicts the keys with the lowest access counts first, keeping popular (high-hit) items in memory and boosting the hit ratio - without adding cost or just extending TTLs.

Submitted by neha2k· Mar 30, 2026Cost and Performance Optimization

Question

An ecommerce company uses an Amazon ElastiCache (Redis OSS) cluster for in-memory caching of popular product queries on a shopping website. The cache eviction policy is randomly evicting keys whether or not a TTL is set. A SysOps administrator must improve the cache hit ratio without increasing costs. Which solution will meet these requirements?

Options

  • AAdd another node to the ElastiCache cluster.
  • BIncrease the ElastiCache TTL value.
  • CChange the eviction policy to randomly evict keys that have a TTL set.
  • DChange the eviction policy to evict the least frequently used keys.

How the community answered

(50 responses)
  • A
    4% (2)
  • B
    14% (7)
  • C
    6% (3)
  • D
    76% (38)

Explanation

Switching the eviction policy to least frequently used (LFU) evicts the keys with the lowest access counts first, keeping popular (high-hit) items in memory and boosting the hit ratio - without adding cost or just extending TTLs.

Topics

#ElastiCache Redis#cache eviction policy#cache hit ratio#LFU eviction

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice