70-467 · Question #73
You need to identify changes in the financial database. What should you do?
The correct answer is E. Enable change data capture on each table. Change Data Capture (CDC) is the correct SQL Server feature for tracking row-level inserts, updates, and deletes in a table by reading the transaction log.
Question
You need to identify changes in the financial database. What should you do?
Options
- AAdd SQL Server replication to each table.
- BExtract data from the current partition of each table.
- CAdd a timestamp column to each table.
- DPerform a full extract of each table.
- EEnable change data capture on each table.
How the community answered
(61 responses)- A2% (1)
- B5% (3)
- C7% (4)
- D2% (1)
- E85% (52)
Why each option
Change Data Capture (CDC) is the correct SQL Server feature for tracking row-level inserts, updates, and deletes in a table by reading the transaction log.
SQL Server replication is designed to distribute data to subscribers, not to identify or record row-level changes for auditing purposes.
Extracting data from the current partition only retrieves existing rows and cannot identify what has changed since the last extract.
A timestamp column can show when a row was last modified but cannot capture deletes or track which specific columns changed.
A full extract retrieves all data on every run and requires a separate comparison process to detect changes, making it inefficient and unreliable for change identification.
Enabling Change Data Capture on each table causes SQL Server to read the transaction log and record all DML changes (inserts, updates, deletes) into a corresponding change table. This provides a reliable, low-overhead mechanism to identify exactly what changed, when, and the before/after values - precisely what financial auditing requires.
Concept tested: SQL Server Change Data Capture (CDC) for auditing
Source: https://learn.microsoft.com/en-us/sql/relational-databases/track-changes/about-change-data-capture-sql-server
Topics
Community Discussion
No community discussion yet for this question.