Lab 3A — ElastiCache (Redis) cache-aside in front of Aurora
Redis vs Memcached, cache-aside pattern, ElastiCache in VPC security groups, Lambda-in-VPC tradeoff, CloudFront vs ElastiCache vs DAX, TTL invalidation
0:00 / ~24m0/15 answered
15 timed scenario questions (~24 min, ~96 sec each). Reinforces night-23-elasticache-redis.md and night-23-lab-elasticache-setup scripts. Answer without peeking at night-23-quiz-answers.json first.
1.GSA dashboard hammers SELECT resort_stats for IS-001 thousands of times per minute. Aurora CPU spikes. You add ElastiCache in the same VPC. Which pattern does night-23-lab implement?
2.An exam scenario needs session storage with sorted-set leaderboards and optional Multi-AZ automatic failover. Memcached or Redis?
3.night-23-lab places saa-study-gsa-redis in Night 9 private subnets. Which ingress rule belongs on saa-study-gsa-redis-sg?
4.saa-study-gsa-cache-reader runs in private subnets like Night 17 stats-uploader. First invoke after idle takes 30+ seconds. Primary cause?
5.Static wiki HTML is cached at CloudFront POPs. Relational resort_stats rows are cached in Redis inside the VPC. What is the best distinction?
6.Wiki viewCount hot reads already live on DynamoDB (Night 18). Which AWS cache targets DynamoDB specifically?
7.Night 17 stats-uploader UPSERTs monthly_runs in Aurora. Night 23 cache-reader may return stale counts until TTL expires. Exam-aligned mitigation?
8.You need the simplest horizontal in-memory cache for opaque JSON blobs — no failover, no lists or sets. Best fit?
9.An operator asks whether saa-study-gsa-redis is the system of record for resort_stats. Correct answer?
10.night-23-lab creates saa-study-gsa-redis-subnets spanning private-a and private-b. Why is a cache subnet group required?
11.Bench invoke clears the key then calls GET twice. Second response shows cache_hit true and lower latency_ms. What happened?
12.Production Redis often enables in-transit encryption and AUTH tokens. night-23 study lab skips them. Why still deploy redis-sg?
13.High availability Redis with automatic failover to a replica in another AZ. Which ElastiCache construct?
14.saa-study-gsa-cache-reader reuses saa-study-gsa-lambda-stats-sg from Night 16/17. Which connections does that SG need to initiate?
15.You run night-23-lab-elasticache-teardown.ps1. Correct resource order concept?