nerdexam
Microsoft

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.

Design an ETL solution (Extract, Transform, and Load)

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)
  • A
    96% (26)
  • B
    4% (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.

AEnable change data capture on each table.Correct

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.

BAdd SQL Server mirroring to each table.

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.

CPerform a full extract of each table.

A full extract copies all rows every time and cannot distinguish changed rows from unchanged rows, making incremental change identification impossible.

DAdd SQL Server log shipping to each table.

Log shipping copies transaction log backups to a secondary server for disaster recovery and does not provide a queryable change data feed.

ECreate an AlwaysOn Availability Group that includes all the tables.

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

#change data capture#CDC#incremental extraction#ETL source systems

Community Discussion

No community discussion yet for this question.

Full 70-467 Practice