← All quizzes

Night 29

Week 4 review — storage, analytics, edge, compute, integration

Full Week 4 recap: ElastiCache, Athena/Iceberg, Route 53, CloudFront/API GW, EC2/EBS/EFS/Spot, integration services, S3/EBS/EFS storage decision tree

0:00 / ~48m0/30 answered

30 timed scenario questions (~48 min, ~96 sec each). Reinforces night-29-week-4-review.md and Nights 23–28. No new lab deploy. Answer without peeking at night-29-quiz-answers.json first.

  1. 1.The Iceland Fargate pipeline writes processed GeoJSON that must survive task stop, Spot interruption, and AZ failure. Temporary sort files on the worker can be discarded after upload. Where should durable output live?

  2. 2.Night 23 Lambda implements cache-aside for resort_stats rows. On a cache miss, what is the correct sequence?

  3. 3.A mobile app needs server-side session state with automatic Multi-AZ failover and sorted-set leaderboards. Which ElastiCache engine?

  4. 4.GSA serves static wiki HTML globally and caches resort_stats JSON inside the Night 9 VPC. Which pairing matches each layer?

  5. 5.Executives want a one-time report: count of resorts grouped by country_code from last month's snapshot. Live wiki bookings must stay on Aurora with millisecond UPSERTs. Where do you run the report SQL?

  6. 6.Auditors ask: 'What did resort_snapshot look like before yesterday's bad ETL?' The table is Apache Iceberg on S3. Which feature answers without restoring a separate backup bucket?

  7. 7.An Athena table spans 8 TB in S3 with a partition column country_code. Analysts filter WHERE country_code = 'IS' on almost every query. What reduces cost most?

  8. 8.A retailer runs petabyte-scale nightly BI with hundreds of concurrent complex JOINs across curated marts. Unpredictable ad hoc SQL on raw S3 is a separate team. Best primary warehouse?

  9. 9.globalskiatlas.com uses Route 53 failover: PRIMARY alias to us-east-1 ALB, SECONDARY to S3 static site. PRIMARY ALB fails health checks. What must be configured for automatic DNS failover?

  10. 10.You operate identical API stacks in us-east-1 and eu-west-1. Each user should hit the Region with lowest network latency among those two. Which Route 53 policy?

  11. 11.You must point the apex domain witcoskitech.com directly to a CloudFront distribution. Which DNS record type is valid at the zone apex?

  12. 12.A gaming company needs static anycast IP addresses for UDP game traffic with automatic steering to healthy Regional endpoint groups. HTTP caching is irrelevant. Best service?

  13. 13.Production wiki API at globalskiatlas.com/api/wiki* uses Cognito JWT on writes. Anonymous GET /api/wiki/pages must always reach origin today. Current CloudFront behavior?

  14. 14.Three external partners each have a contracted API rate limit. Exceeding one partner's quota must not throttle the others. Which API Gateway feature?

  15. 15.You enable CloudFront caching on anonymous GET /api/wiki/pages with a 60-second TTL. Which cache-key design avoids serving one user's private draft to another?

  16. 16.A general-purpose Linux web server EC2 instance needs a boot volume with moderate random IOPS. Default cost-effective SSD choice?

  17. 17.MySQL runs on EC2 (not RDS) with sustained 80,000 random IOPS on the data volume. Which EBS type?

  18. 18.A log aggregation EC2 instance writes one 400 GB sequential file per night. Cost-sensitive; random IOPS irrelevant. Best EBS data volume?

  19. 19.Twenty AWS Batch EC2 instances must read and write the same PMTiles build configuration files concurrently during a job. Which storage?

  20. 20.A stateless image-encoding fleet runs 6 hours nightly. Two-minute interruption notice is acceptable; checkpoint to S3 every 15 minutes. Best EC2 purchasing model?

  21. 21.GSA Iceland pipeline must run at 06:00 UTC on the first day of every month with no long-running queue buffer. Which service triggers the job?

  22. 22.A producer Lambda emits 5,000 messages per minute. Downstream workers process 500 per minute and must not lose messages during spikes. Pull-based buffer?

  23. 23.One order-placed event must reach billing, shipping, and analytics teams. Each team processes at its own pace with isolated retry/DLQ. Best pattern?

  24. 24.Clickstream events must land in S3 within minutes for Athena queries. No custom consumer code or shard management. Best ingest path?

  25. 25.A fraud team needs the same live transaction stream consumed by three independent apps with replay from the last 24 hours. Custom aggregation logic per app. Best service?

  26. 26.Millions of payment authorization flows per day; each workflow completes in under 30 seconds. Full execution history and audit trail are not required. Step Functions type?

  27. 27.After Iceland ECS task exits 0 and reaches STOPPED, a stats uploader should pull work at its own pace. GSA Night 13 pattern. Success signal path?

  28. 28.CloudWatch shows FailedInvocations > 0 on the EventBridge rule but Invocations = 0. The ECS task never appears in the cluster. Most likely failure mode?

  29. 29.Seven years of monthly Iceland pipeline GeoJSON prefixes are accessed once a year for compliance audits. Retrieval can take hours. Lowest-cost S3 tier?

  30. 30.Wiki viewCount reads hit DynamoDB hot keys at microsecond latency inside the same Region. Which caching service is purpose-built for DynamoDB?

Answer all 30 questions to submit.