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
Learn chapter
Introduction to Azure Data Engineering
Key term
Azure Data Factory
Azure Data Factory is a cloud-based data integration service that lets you create, schedule, and orchestrate data pipelines to move and transform data from various sources to destinations.
Key term
Azure Synapse Analytics
Azure Synapse Analytics is a cloud-based data integration, warehousing, and analytics service that brings together big data and data warehouse capabilities under one platform.
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 →
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.