ElastiCache offers two engines, and the exam tests which to pick based on the features a workload needs.
The difference
Redis supports persistence, replication, automatic failover, and advanced data structures — choose it when you need high availability or richer features. Memcached is simpler, multi-threaded, and purely for caching — choose it for the simplest, horizontally-scalable cache with no persistence needed. Need failover/persistence? Redis. Simple scalable cache? Memcached.
Choosing the cache engine: exam traps
- Choose Redis/Valkey when features matter: persistence options, replication, failover, pub/sub or richer data structures can make it the better fit, depending on the engine and deployment mode.
- Choose Memcached for a simple distributed cache: it is multi-threaded and suited to straightforward caching when built-in replication, persistence and failover are not requirements.
- Cache is not the system of record: plan for cache misses and evictions; keep durable application data in the appropriate database or storage service.
- Scaling clue: adding cache capacity can reduce database load, but it does not fix incorrect cache keys, poor TTL choices or stale-data logic by itself.
- Exam trap: don’t select an engine based only on the word “faster.” Match the stated need—simple cache, data structures, replication, persistence, or failover—to the supported engine and deployment features.
Test yourself
A caching layer needs high availability with automatic failover and data persistence. Which ElastiCache engine?
- Memcached
- Redis
- Neither supports failover
- Both are identical
👉 Click to reveal the answer & explanation
Correct answer: B. Redis supports replication, automatic failover, and persistence — required for high availability. Memcached (A) is a simpler cache without persistence or failover; the other options (C, D) are incorrect.
Related topics
Amazon ElastiCache · Amazon RDS · DynamoDB DAX
Ready to pass the AWS Solutions Architect Associate (SAA-C03)?
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack
Get the SAA-C03 Practice Exams →or try 25 free questions first