Phase 9 Quiz
ใช้ Quiz นี้เช็กความพร้อมก่อนเข้าสู่ Containers และ Serverless phase
1. Terraform state
Terraform state ใช้ทำอะไร?
2. Remote backend
เหตุผลหลักที่ทีมควรใช้ Remote State คืออะไร?
3. Terraform plan
ทำไมต้องอ่าน terraform plan ก่อน apply?
4. AWS CDK
AWS CDK deploy infrastructure ผ่านอะไร?
5. Short answer
ระบุ checklist อย่างน้อย 5 ข้อก่อน apply Terraform ใน production
Answer key
- Map resource ใน configuration กับ resource จริง และช่วยคำนวณ changes
- เพื่อแชร์ state อย่างปลอดภัยและรองรับ locking/collaboration
- เพื่อรู้ว่าจะ create, update, replace หรือ destroy resource อะไร
- Synthesize เป็น CloudFormation template แล้ว deploy ผ่าน CloudFormation
- ตัวอย่าง: fmt, validate, remote state/locking, reviewed plan, least privilege role, no secrets in state/Git, backup/rollback, approval, small change set, cost impact