nerdexam
Microsoft

DP-203 · Question #377

You are building a data flow in Azure Data Factory that upserts data into a table in an Azure Synapse Analytics dedicated SQL pool. You need to add a transformation to the data flow. The…

The correct answer is B. alter row. The Alter Row transformation in Azure Data Factory data flows allows you to define row-level modification policies (insert, update, upsert, delete) that control exactly how each row is written to the sink.

Submitted by fatima_kr· Mar 30, 2026Develop data processing

Question

You are building a data flow in Azure Data Factory that upserts data into a table in an Azure Synapse Analytics dedicated SQL pool. You need to add a transformation to the data flow. The transformation must specify logic indicating when a row from the input data must be upserted into the sink. Which type of transformation should you add to the data flow?

Options

  • Ajoin
  • Balter row
  • Csurrogate key
  • Dselect

How the community answered

(39 responses)
  • A
    13% (5)
  • B
    79% (31)
  • C
    3% (1)
  • D
    5% (2)

Why each option

The Alter Row transformation in Azure Data Factory data flows allows you to define row-level modification policies (insert, update, upsert, delete) that control exactly how each row is written to the sink.

Ajoin

The Join transformation merges two data streams based on a matching key condition but has no capability to define row-level write policies such as upsert for the sink.

Balter rowCorrect

The Alter Row transformation is specifically designed to apply conditional row policies on incoming data. It lets you define expressions that mark each row as insert, update, upsert, or delete before it reaches the sink, which is precisely the mechanism needed to control upsert behavior when writing to an Azure Synapse Analytics dedicated SQL pool.

Csurrogate key

The Surrogate Key transformation generates and appends an auto-incrementing integer column to the stream; it does not influence how rows are inserted or updated in the destination.

Dselect

The Select transformation is used to project, rename, or drop columns from the data stream and plays no role in specifying upsert or other row modification logic.

Concept tested: Alter Row transformation for sink row policies in ADF data flows

Source: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-alter-row

Topics

#alter row transformation#data flow#upsert logic#Azure Data Factory

Community Discussion

No community discussion yet for this question.

Full DP-203 Practice