EX-4: CDE Harm Scoring & Budget Verification
Track: CDE & Governance • Difficulty: Beginner • Mastery Points: 100 PTS
Business Problem Scenario
Global DynaDatum Bank maintains 71 columns across 11 core lakehouse tables. The Architecture Review Board established that governance budgets must be allocated strictly to Critical Data Elements (CDEs) to avoid compliance paralysis. A data element qualifies as a CDE if and only if an inaccuracy or corruption in it scores >= 4 (out of 5) on Financial, Regulatory, or Customer Harm. Exactly 12 distinct columns across the enterprise meet this threshold. To be audit-ready under BCBS 239, every certified CDE must have an identified System of Record (SoR).
Engineering Objective
Write an audit aggregation query against gov.cde_register that counts certified CDEs with harm_score >= 4 and an identified System of Record. • Expected Columns: count(*) AS total_cdes, count(system_of_record) AS cdes_with_sor • Acceptance Criteria: - Filter for records where harm_score >= 4 AND system_of_record IS NOT NULL. - Assert that exactly 12 distinct CDEs qualify using a HAVING clause (HAVING count(*) = 12). - Example Qualifying CDE: ledger_balance (harm score = 5, System of Record = 'Core Banking Ledger'). - Example Non-Qualifying Field: customer_nickname (harm score = 1, System of Record is null). Key Concepts: - Critical Data Element (CDE): An attribute essential for regulatory returns, balance sheet reporting, or capital adequacy calculation. - System of Record (SoR): The authoritative source system with legal and architectural provenance over an attribute's lifecycle. - BCBS 239: Basel Committee on Banking Supervision standard 239 for risk data aggregation.
Target Table: gov.cde_register (cde_id STRING, column_name STRING, table_name STRING, system_of_record STRING, data_owner STRING, tier STRING, harm_category STRING, harm_score INT)
Verification & Architecture Insights
BCBS 239 Principle 1 (Governance) and DAMA-DMBOK establish that data governance operates under an engineering and operational budget. Restricting certified CDE status to exactly 12 columns with harm_score >= 4 and verified Systems of Record guarantees that mission-critical statutory capital reporting is protected without overwhelming data engineering pipelines.