LeadershipTechnical ManagerExecution and Process

Session 06 - Risk Management

"Risk management là không để bất ngờ xảy ra. Nếu bạn bất ngờ, bạn đã thất bại ở khâu nhận diện." - Tom DeMarco


1. Risk Identification Techniques

1.1 Brainstorming Sessions

Tổ chức workshop với cross-functional team (dev, QA, PO, ops):

  • Timebox 60 phút, mỗi người viết risk lên sticky note
  • Nhóm theo category: Technical, Schedule, Resource, External
  • Không judge trong giai đoạn brainstorm - quantity over quality

1.2 Checklist-Based Identification

Dùng checklist chuẩn để không bỏ sót rủi ro phổ biến:

CategoryCâu hỏi kiểm tra
TechnologyCó dùng tech mới team chưa kinh nghiệm?
IntegrationCó phụ thuộc API bên thứ 3 không kiểm soát?
PerformanceĐã có benchmark cho expected load?
SecurityCó xử lý PII/payment data?
TeamCó key person dependency (bus factor = 1)?
TimelineDeadline có fixed bởi external event (compliance, marketing)?
InfrastructureCó single point of failure?
DataMigration data lớn hoặc phức tạp?

1.3 SWOT Analysis cho Software Projects

┌─────────────────────────┬─────────────────────────┐
│ STRENGTHS               │ WEAKNESSES              │
│ - Team kinh nghiệm .NET│ - Thiếu DevOps engineer  │
│ - CI/CD pipeline mature │ - Legacy codebase phức   │
│ - Good test coverage    │   tạp, ít documentation  │
├─────────────────────────┼─────────────────────────┤
│ OPPORTUNITIES           │ THREATS                 │
│ - Cloud migration giảm  │ - Vendor lock-in với     │
│   cost infrastructure   │   third-party API        │
│ - .NET 8 performance    │ - Key developer có thể   │
│   improvements          │   nghỉ việc Q2           │
└─────────────────────────┴─────────────────────────┘

2. Risk Assessment Matrix

Probability x Impact Grid

Impact: Low (1)Impact: Medium (2)Impact: High (3)Impact: Critical (4)
Probability: High (4)4 - Medium8 - High12 - Critical16 - Critical
Probability: Medium (3)3 - Low6 - Medium9 - High12 - Critical
Probability: Low (2)2 - Low4 - Medium6 - Medium8 - High
Probability: Rare (1)1 - Low2 - Low3 - Low4 - Medium

Scoring Guide

Probability:

  • Rare (1): < 10% xảy ra
  • Low (2): 10-30%
  • Medium (3): 30-60%
  • High (4): > 60%

Impact:

  • Low (1): Chậm 1-2 ngày, không ảnh hưởng scope
  • Medium (2): Chậm 1 Sprint, cần điều chỉnh scope nhỏ
  • High (3): Chậm > 1 Sprint, ảnh hưởng budget hoặc quality
  • Critical (4): Dự án có thể fail, mất khách hàng, data breach

3. Mitigation Strategies - 4T Framework

Avoid (Tránh)

Loại bỏ hoàn toàn nguồn rủi ro.

Rủi roChiến lược Avoid
Tech mới chưa provenDùng tech đã quen, đã có production experience
Vendor lock-inDùng abstraction layer, multi-cloud strategy
Scope creepFixed scope contract, strict change control

Transfer (Chuyển giao)

Chuyển rủi ro cho bên khác chịu.

  • Outsource module phức tạp cho team chuyên gia
  • SLA contract với third-party - nếu API down, vendor chịu penalty
  • Insurance - cyber insurance cho data breach risk
  • Cloud managed services - chuyển operational risk cho AWS/Azure

Mitigate (Giảm thiểu)

Giảm probability hoặc impact.

  • Spike/PoC trước khi commit timeline → giảm technical uncertainty
  • Automated testing → giảm probability regression bugs
  • Cross-training → giảm impact khi key person nghỉ
  • Blue-green deployment → giảm impact khi deploy lỗi

Accept (Chấp nhận)

Chấp nhận rủi ro khi cost mitigation > impact.

  • Ghi nhận vào risk register
  • Chuẩn bị contingency plan (kế hoạch dự phòng)
  • Dành contingency budget (thường 10-20% tổng effort)

4. Technical Risk Register Template

IDRisk DescriptionCategoryProb (1-4)Impact (1-4)ScoreStrategyMitigation ActionOwnerStatusDue Date
R-001Third-party payment API thay đổi contract không báo trướcIntegration3412MitigateTạo adapter pattern, viết contract testDev LeadOpenSprint 5
R-002Senior dev nghỉ việc giữa dự ánResource236MitigateCross-training, pair programming, tài liệu hoáTech LeadOpenOngoing
R-003Database migration 10M records gây downtimeTechnical339MitigateDry-run trên staging, online migration strategyDBAOpenSprint 4
R-004Performance không đạt SLA 200ms response timeTechnical248MitigateLoad test sớm từ Sprint 2, caching strategyDev LeadOpenSprint 3
R-005Compliance requirement thay đổi (GDPR update)External144AcceptMonitor regulatory changes, contingency 2 SprintPOWatchQuarterly

5. Sprint Risk Review

Khi nào review risk?

Tích hợp risk review vào các Scrum ceremonies:

CeremonyRisk Activity
Sprint PlanningReview risk register, xác định risk nào ảnh hưởng Sprint này
Daily StandupFlag risk mới phát sinh (blockers = risks hiện thực hoá)
Sprint ReviewĐánh giá lại risk score sau Sprint - có giảm chưa?
RetrospectiveBổ sung risk mới, đóng risk đã mitigate xong

Risk Burndown

Track tổng risk score theo thời gian - giống burndown chart nhưng cho risk:

Risk Score
60 |  ████
50 |  ████ ███
40 |  ████ ███ ██
30 |  ████ ███ ██ ███
20 |  ████ ███ ██ ███ ██
10 |  ████ ███ ██ ███ ██ █
 0 |________________________
    S1   S2  S3  S4  S5 S6

Mục tiêu: Risk score phải giảm dần qua các Sprint. Nếu tăng, team cần escalate.


6. Common Software Project Risks and Mitigations

Top 10 Rủi Ro Phổ Biến

#Rủi roProbabilityMitigation
1Scope creep - yêu cầu liên tục thay đổiHighChange control process, MoSCoW prioritization
2Unrealistic timeline - deadline không khả thiHighEvidence-based estimation, velocity tracking
3Key person dependency - bus factor = 1MediumPair programming, code review, documentation
4Technical debt accumulation - code quality xuống dầnHigh20% Sprint capacity cho tech debt, quality gates
5Third-party dependency failure - API down, vendor bỏMediumAdapter pattern, fallback mechanisms, SLA contract
6Security vulnerability - data breach, injectionMediumSAST/DAST scanning, security Sprint, threat modeling
7Performance degradation - hệ thống chậm dầnMediumLoad testing mỗi Sprint, APM monitoring
8Integration failures - services không nói chuyện đượcMediumContract testing, integration test environment
9Team burnout - overtime liên tụcMediumSustainable pace, WIP limits, mental health check-in
10Deployment failures - deploy gây outageLowBlue-green deploy, automated rollback, canary releases

Risk Response Decision Tree


Session tiếp theo: Session 07 - Requirements Engineering sẽ đi sâu vào kỹ thuật thu thập và quản lý yêu cầu phần mềm.