70-467 · Question #83
You need to identify changes in the financial database. What should you do?
The correct answer is A. Enable change data capture on each table. Change Data Capture (CDC) in SQL Server is the correct mechanism to track and identify row-level insert, update, and delete changes in database tables.
Question
You need to identify changes in the financial database. What should you do?
Options
- AEnable change data capture on each table.
- BAdd SQL Server mirroring to each table.
- CPerform a full extract of each table.
- DAdd SQL Server log shipping to each table.
- ECreate an AlwaysOn Availability Group that includes all the tables.
How the community answered
(27 responses)- A96% (26)
- B4% (1)
Why each option
Change Data Capture (CDC) in SQL Server is the correct mechanism to track and identify row-level insert, update, and delete changes in database tables.
Enabling CDC on each table causes SQL Server to read the transaction log and record all DML changes (inserts, updates, deletes) into dedicated change tables. This provides a reliable, low-overhead audit trail of exactly what changed and when, making it ideal for incremental ETL loads from a financial database.
SQL Server database mirroring is a high-availability feature that replicates an entire database to a secondary server; it does not expose or capture row-level change data for consumption.
A full extract copies all rows every time and cannot distinguish changed rows from unchanged rows, making incremental change identification impossible.
Log shipping copies transaction log backups to a secondary server for disaster recovery and does not provide a queryable change data feed.
AlwaysOn Availability Groups synchronize entire databases for high availability and readable secondaries; they do not track or surface individual row changes for ETL processing.
Concept tested: SQL Server Change Data Capture for incremental change tracking
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.