Phase 10 Quiz
ใช้ Quiz นี้ทบทวน runtime choices, container deployment, serverless design และ messaging reliability ก่อนเข้าสู่ CI/CD phase
1. ECS Service
ECS Service ใช้ทำอะไร?
2. Fargate
ข้อดีหลักของ Fargate คืออะไร?
3. Lambda concurrency
ทำไมต้องระวัง Lambda concurrency?
4. SQS DLQ
DLQ มีประโยชน์อย่างไร?
5. Short answer
ออกแบบ workload แบบ event-driven ให้ reliable ควรมี control อะไรอย่างน้อย 5 ข้อ?
Answer key
- ดูแล long-running tasks ตาม desired count และช่วย deployment
- รัน containers โดยไม่ต้องจัดการ servers/capacity hosts เอง
- เพราะ traffic spike อาจ overload downstream services เช่น database หรือ third-party API
- เก็บ messages ที่ process ไม่สำเร็จหลัง retry เพื่อ debug/replay
- ตัวอย่าง: DLQ, retry with backoff, idempotency key, visibility timeout, message retention, alarms, structured logs, tracing, reserved concurrency, least privilege IAM