A company is using Amazon ElastiCache for Redis as a caching layer for a web application. The application's response time has increased, and the operations team suspects that cache evictions are occurring frequently. Which ElastiCache metric should be monitored to confirm cache evictions?
Evictions metric shows the number of keys evicted due to memory pressure, which directly indicates cache evictions.
Why this answer
The Evictions metric in Amazon ElastiCache for Redis shows the number of keys evicted due to memory pressure. Option A (CacheHits) is wrong because it indicates successful key retrievals, not evictions. Option B (SwapUsage) is wrong because it shows the amount of swap space used, not eviction count.
Option D (CurrItems) is wrong because it shows the current number of items in the cache, not evictions.