Question 1 · Design and develop database solutions
You are building a compliance system in Microsoft Fabric SQL database. You need a table that automatically records the full history of every change made to employee salary records, including the exact time period each version was valid, without requiring application-level logic. Which table type satisfies this requirement?
Show answer & explanation
Correct answer: B
- B. A system-versioned temporal table with a linked history table
A system-versioned temporal table automatically maintains a history table that records every row version along with SysStartTime and SysEndTime columns, capturing precisely when each version was valid — entirely managed by the database engine without application changes. Option A (ledger append-only) provides tamper-evidence via blockchain-style hashing but does not automatically store prior versions with time periods; it records all INSERTs but does not automatically snapshot UPDATE/DELETE history by validity period. Option C (in-memory optimized table) is designed to reduce lock contention and latency for high-throughput OLTP; it has no built-in history or time-travel capability. Option D (graph table) models entity relationships as nodes and edges; it has no native mechanism for tracking historical versions of row data over time.