nerdexam
Microsoft

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.

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

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)
  • A
    2% (1)
  • B
    5% (3)
  • C
    7% (4)
  • D
    2% (1)
  • E
    85% (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.

AAdd SQL Server replication to each table.

SQL Server replication is designed to distribute data to subscribers, not to identify or record row-level changes for auditing purposes.

BExtract data from the current partition of each table.

Extracting data from the current partition only retrieves existing rows and cannot identify what has changed since the last extract.

CAdd a timestamp column to each table.

A timestamp column can show when a row was last modified but cannot capture deletes or track which specific columns changed.

DPerform a full extract of each table.

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.

EEnable change data capture on each table.Correct

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

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

Community Discussion

No community discussion yet for this question.

Full 70-467 Practice