
Ultimate access to all questions.
Explanation:
Evicting the Least Frequently Used (LFU) keys (allkeys-lfu policy) ensures that the most popular and frequently accessed product queries remain in the cache. This directly improves the cache hit ratio without needing to scale up. Adding a node (Option A) would increase costs, violating the requirements. Options B and C do not address the issue of the most popular items being randomly evicted.
No comments yet.
Question 41.
An ecommerce company uses an Amazon ElastiCache for Redis 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?
A
Add another node to the ElastiCache cluster.
B
Increase the ElastiCache TTL value.
C
Change the eviction policy to randomly evict keys that have a TTL set.
D
Change the eviction policy to evict the least frequently used keys.