Courseiva
Develop data processinghardMultiple ChoiceObjective-mapped

DP-203 Develop data processing Practice Question

Exhibit

Refer to the exhibit.
{
  "type": "MappingDataFlow",
  "typeProperties": {
    "sources": [
      {
        "dataset": {
          "referenceName": "ADLS_Source",
          "type": "DatasetReference"
        },
        "sourceSettings": {
          "sourceType": "DelimitedText",
          "columnDelimiter": ",",
          "rowDelimiter": "\n"
        }
      }
    ],
    "sinks": [
      {
        "dataset": {
          "referenceName": "Synapse_Sink",
          "type": "DatasetReference"
        },
        "sinkSettings": {
          "sinkType": "AzureSynapse",
          "allowCopyCommand": true,
          "tableOption": "autoCreate"
        }
      }
    ],
    "transformations": [
      {
        "name": "DerivedColumn",
        "type": "DerivedColumn",
        "script": "column1 == "Error" ? toString(column1) : column1"
      }
    ]
  }
}

You are reviewing a mapping data flow in Azure Data Factory that reads a CSV file from ADLS Gen2 and writes to an Azure Synapse Analytics dedicated SQL pool. The data flow includes a Derived Column transformation with the expression: `column1 == "Error" ? toString(column1) : column1`. The pipeline fails with an error indicating that the sink table could not be created. What is the most likely cause?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The sink dataset is configured for JSON format.

In a mapping data flow, the sink dataset must match the destination format. For an Azure Synapse dedicated SQL pool, the dataset should be of type 'Azure Synapse Analytics' (table), not JSON. If the dataset is set to JSON, the pipeline will fail when trying to create the sink table because the format is incompatible. Option C is incorrect because allowCopyCommand is a feature of the Copy activity, not mapping data flows.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The source file does not have a header row.

    Why it's wrong here

    The source file not having a header row might cause issues in the data flow, but it would not directly cause the sink table creation failure.

  • The Derived Column expression has a syntax error.

    Why it's wrong here

    The Derived Column expression is syntactically valid (column1 == "Error" ? toString(column1) : column1), so a syntax error is not the cause.

  • Using allowCopyCommand with autoCreate is not supported.

    Why it's wrong here

    allowCopyCommand is a copy activity feature and is not used in mapping data flows. Therefore, this is not applicable and not the cause.

  • The sink dataset is configured for JSON format.

    Why this is correct

    If the sink dataset is configured for JSON format, but the sink is an Azure Synapse dedicated SQL pool table, there will be a format mismatch. The data flow expects a table format for the sink, and attempting to create a table with JSON format settings could cause the error.

Go deeper

Related to this question

About these practice questions

This DP-203 question is part of Courseiva's 760-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DP-203 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-203 exam.