Trang chủBài viếtSeriesThi thửVề mình

RADD nâng cao — Phần 1: Requirements Specification & Modeling

RADD nâng cao — Phần 1: Requirements Specification & Modeling

RADD — CBAP Level (30%)

RADD chiếm 30% trong CBAP — KA quan trọng nhất, chiếm gần 1/3 đề thi. Ở CBAP level, RADD test khả năng advanced modeling, enterprise-level design, và strategic requirement decisions.

6 Tasks trong RADD

Task 1: Specify & Model Requirements

Modeling Technique Selection Guide

1. BPMN (Business Process Model and Notation)

CBAP-level BPMN đòi hỏi hiểu sâu về pools, lanes, message flows, và sub-processes.

BPMN Element Levels:

LevelElementsCBAP Depth
BasicTasks, Gateways, Start/End Events✅ Must know
IntermediatePools, Lanes, Message Events, Sub-processes✅ Must know
AdvancedCompensation, Error handling, Complex gateways🟡 Good to know
ExecutableData objects, Service tasks, Script tasks⚪ Not tested

2. ERD (Entity-Relationship Diagram)

Cardinality Rules:

SymbolMeaningExample
`--
||--o\{One to Many (optional)Customer — Orders (0..*)
||--|\{One to Many (required)Order — OrderLines (1..*)
`}--|{`Many to Many

3. Use Case Diagram — Enterprise

Use Case Specification Template

ElementContent
UC IDUC-001
NamePlace Order
ActorCustomer
PreconditionCustomer logged in, cart not empty
Main Flow1. Customer reviews cart → 2. Selects shipping → 3. Enters payment → 4. Confirms order → 5. System generates order
Alternative Flow3a. Payment declined → Show error → Retry
Exception Flow2a. Item out of stock → Notify → Remove item
PostconditionOrder created, confirmation email sent
Business RulesBR-001: Min order $10, BR-002: Free shipping > $50

4. State Diagram

5. Decision Table

Business Rule: Discount Calculation

Condition 1: Customer TypeCondition 2: Order AmountCondition 3: SeasonAction: Discount
VIP≥ $1000Holiday25%
VIP≥ $1000Regular20%
VIP< $1000Any15%
Regular≥ $1000Holiday15%
Regular≥ $1000Regular10%
Regular< $1000Holiday10%
Regular< $1000Regular5%
NewAnyAny5%
💡Decision Tables vs Decision Trees

Decision Table: Best khi nhiều conditions kết hợp, cần đảm bảo completeness (mọi combination đều có action). Decision Tree: Best khi conditions có hierarchy rõ ràng, dễ visualize flow. CBAP có thể hỏi: "Given this business rule, which representation is more appropriate?"

Task 2: Verify Requirements

Verification Checklist

Requirements Quality Attributes

AttributeBad Example ❌Good Example ✅
Specific"System should be fast""Page load < 2 seconds for 95th percentile"
Measurable"Easy to use""New user completes task in < 5 minutes without help"
Consistent"All users can view AND only admins can view""Admins can view all data; users can view own data"
Feasible"100% uptime""99.9% uptime (8.76 hours downtime/year)"
Testable"System should handle heavy load""System supports 10,000 concurrent users"
Atomic"System shall allow login and manage profile""FR-001: System shall allow login. FR-002: System shall allow profile management."

Verification Techniques

TechniqueHow It WorksBest For
Peer ReviewAnother BA reviews specificationsCatching omissions, ambiguity
WalkthroughAuthor presents to reviewersComplex requirements understanding
InspectionFormal review with checklistCritical/regulated requirements
PrototypingBuild mockup to verify understandingUI/UX requirements
ModelingCreate models to verify consistencyData & process requirements

Task 3: Validate Requirements

Verify vs Validate

Validation Techniques

TechniqueDescriptionCBAP Level
Structured WalkthroughWalk stakeholders through requirementsValidate understanding
PrototypingInteractive prototype reviewValidate UX/workflow
Acceptance Criteria ReviewReview pass/fail criteriaValidate testability
Day-in-the-Life TestingSimulate real usage scenarioValidate completeness
Business Rules ValidationTest rules with real data scenariosValidate correctness
⚠️CBAP trap: Verify ≠ Validate

Đây là câu bẫy phổ biến nhất trong CBAP exam. Verify = check quality (BA có thể tự làm). Validate = check business value (PHẢI có stakeholder). Nếu câu hỏi nói "check with stakeholder" → Validate. Nếu nói "check for completeness/consistency" → Verify.

Non-functional Requirements (NFRs)

NFR Categories — Enterprise Level

CategorySub-typesCBAP Example
PerformanceResponse time, Throughput, Latency"API response < 200ms for 99th percentile"
ReliabilityAvailability, MTBF, MTTR"99.9% uptime, MTTR < 30 minutes"
SecurityAuthentication, Authorization, Encryption"Multi-factor authentication for admin functions"
ScalabilityVertical, Horizontal, Data volume"Support 10x current user base without architecture change"
UsabilityLearnability, Accessibility, Efficiency"WCAG 2.1 AA compliance"
MaintainabilityModularity, Testability, Modifiability"New module deployment without system restart"
PortabilityAdaptability, Installability"Support major browsers, iOS 15+, Android 12+"
ComplianceRegulatory, Standards, Audit"GDPR compliant, SOC 2 Type II certified"
NFRs often determine architecture

NFRs thường quyết định kiến trúc giải pháp. "99.99% availability" → cần redundancy, failover. "10,000 concurrent users" → cần horizontal scaling. BA phải elicit NFRs sớm để architect có thể design phù hợp.

Câu hỏi CBAP thường gặp về RADD (Part 1)

Scenario 1

BA document: "System shall display order information quickly and efficiently." QA nói requirement không testable. BA nên:

A. Add test: "QA verify system displays order info"
B. Rewrite: "System shall display order details within 2 seconds of request"
C. Remove requirement
D. Ask stakeholder to define "quickly"

Scenario 2

BA cần model một process phức tạp với 3 departments, message passing, và error handling. Technique tốt nhất:

A. Flowchart
B. Use Case Diagram
C. BPMN with pools, lanes, and message events
D. State Diagram

Scenario 3

Validation session với stakeholders reveals requirement bị miss. BA nên:

A. Add requirement, re-verify, trace to business objective
B. Skip vì đã pass verification
C. Add to next phase
D. Create change request

📝 Tóm tắt kiến thức nổi bật

Key Takeaways — Bài 8
  • RADD ở CBAP chiếm 30% — vẫn là KA lớn nhất, nhưng ở level enterprise modeling
  • Advanced BPMN: Pools, lanes, sub-processes, error events, compensation, message flows
  • ERD with Mermaid: Entity relationships (1:1, 1:N, M:N), attributes, inheritance
  • Use Case Specification: Preconditions → Main Flow → Alternative Flows → Exception Flows → Postconditions
  • Verify vs Validate: Verify = quality check (correct, complete, consistent, testable) → Validate = business fit
  • NFR Categories: Performance, Security, Availability, Scalability, Usability, Maintainability, Compliance
  • Model selection depends on context: data model (ERD), process model (BPMN), behavior model (State/Use Case)

📋 Bài kiểm tra trắc nghiệm — Bài 8

💡Hướng dẫn làm bài

Làm 10 câu bên dưới trong 17 phút. Đáp án ở cuối bài.

Câu 1. Enterprise integration: 3 systems need to share customer data. BA needs to model the data structure across systems. Best model:

  • A. BPMN process diagram
  • B. Enterprise Data Model (ERD across systems showing shared entities)
  • C. Use Case Diagram
  • D. State Diagram

Câu 2. Use Case specification has "Main Flow" and "Alternative Flow". The difference:

  • A. No difference
  • B. Main Flow = happy path (normal); Alternative Flow = valid but different path (still reaches goal)
  • C. Alternative Flow = error scenarios only
  • D. Main Flow is optional

Câu 3. BA discovers requirement REQ-101 is "Complete" and "Correct" but fails "Consistent" check. This means:

  • A. Requirement is fine
  • B. REQ-101 contradicts another requirement — needs to be resolved
  • C. Requirement needs more detail
  • D. Requirement failed validation

Câu 4. BPMN Sub-process is used when:

  • A. Process is too simple
  • B. A complex portion of a process needs to be encapsulated and potentially reused
  • C. Process has no activities
  • D. Only for manual processes

Câu 5. NFR: "System must encrypt all data at rest and in transit using AES-256." This drives which design decision?

  • A. Database schema design
  • B. Security architecture — encryption layers, key management, SSL/TLS configuration
  • C. UI design
  • D. Process flow design

Câu 6. BA needs to model an entity (Insurance Claim) that goes through states: Filed → Under Review → More Info Needed → Approved/Denied → Closed. Best model:

  • A. ERD
  • B. BPMN
  • C. State Machine Diagram
  • D. Use Case Diagram

Câu 7. Verification checklist item: "Is the requirement testable?" Requirement: "System should be user-friendly." Result:

  • A. Pass — user-friendly is testable
  • B. Fail — "user-friendly" is subjective, not measurable, not testable
  • C. Pass — with surveys
  • D. Not applicable

Câu 8. Enterprise has 20 APIs for different services. BA needs to model how they interact. Best model:

  • A. ERD
  • B. System Integration Diagram / Interface Map
  • C. State Diagram
  • D. Decision Table

Câu 9. Exception Flow in Use Case means:

  • A. Regular path
  • B. Error handling path — when something goes wrong and system needs to recover
  • C. Alternative happy path
  • D. Admin-only path

Câu 10. BA finished modeling. Stakeholder says "I don't understand the ERD." BA should:

  • A. Explain database concepts
  • B. Create alternative visualization (simpler diagram or natural language description) appropriate for stakeholder's level
  • C. Skip stakeholder review
  • D. Remove ERD from documentation

🔑 Đáp án & Giải thích

CâuĐáp ánGiải thích
1BCross-system data sharing → Enterprise Data Model showing shared entities and relationships.
2BMain Flow = normal path. Alternative Flow = valid variation. Exception Flow = error/failure.
3BFails Consistent = contradicts another requirement. BA must investigate and resolve conflict.
4BSub-process = encapsulate complex portion. Enables modularity and reuse.
5BEncryption NFR → security architecture decisions: encryption algorithms, key management, TLS.
6CEntity with lifecycle states → State Machine Diagram is ideal.
7B"User-friendly" is subjective → not testable. Should be "Task completion rate > 90% by first-time users."
8BMultiple APIs interacting → System Integration / Interface Map shows connections and data flows.
9BException Flow = error handling, unexpected situations, system recovery.
10BAdapt communication to audience — create appropriate visualization for non-technical stakeholders.

📊 Thang đánh giá

Số câu đúngĐánh giáHành động
9-10⭐ Xuất sắcRADD Part 1 enterprise level nắm vững!
7-8✅ TốtÔn lại Use Case specification và NFR-to-design mapping
5-6⚠️ Trung bìnhRADD 30% — cần ôn model selection và verification
< 5❌ Cần ôn lạiRADD quyết định pass/fail — invest heavily here

Tiếp theo: RADD nâng cao — Phần 2: Solution Design & Architecture 👉