Interview Q&A / AWS & Cloud
AWS & Cloud interview questions
EC2, S3, Lambda, IAM and VPC basics, with when to pick which service.
Prefer rapid revision? Practise AWS & Cloud short interview answers →
- What is the difference between ElastiCache for Redis and ElastiCache for Memcached?
Memcached is a simple, multi-threaded key-value cache for plain caching. Redis supports richer data types, persistence, replication with failover, and features like pub/sub, so it suits caching plus sessions, leaderboards and queues.
BeginnerQuick answer1 min read - What are lazy loading and write-through caching strategies?
Lazy loading fills the cache only when a read misses, then stores the result. Write-through updates the cache at the same time as the database on every write, so reads are rarely stale but the cache holds data that may never be read.
IntermediateQuick answer1 min read