nerdexam
Microsoft

70-463 · Question #102

You are designing a SQL Server Integration Services (SSIS) data flow to load sales transactions from a source system into a data warehouse hosted on SQL Azure. One of the columns in the data source…

The correct answer is D. Script Component. When the standard Conditional Split transformation is not available as an answer choice, the Script Component configured as a transformation is the correct tool for routing rows to different outputs based on custom logic such as product code evaluation.

Extract and transform data

Question

You are designing a SQL Server Integration Services (SSIS) data flow to load sales transactions from a source system into a data warehouse hosted on SQL Azure. One of the columns in the data source is named ProductCode. Some of the data to be loaded will reference products that need special processing logic in the data flow. You need to enable separate processing streams for a subset of rows based on the source product code. Which data flow transformation should you use?

Options

  • ASource Assistant
  • BAudit
  • CDestination Assistant
  • DScript Component

How the community answered

(26 responses)
  • A
    15% (4)
  • B
    12% (3)
  • C
    4% (1)
  • D
    69% (18)

Why each option

When the standard Conditional Split transformation is not available as an answer choice, the Script Component configured as a transformation is the correct tool for routing rows to different outputs based on custom logic such as product code evaluation.

ASource Assistant

Source Assistant is a design-time helper for adding source adapters to a data flow; it does not participate in row-level transformation or routing logic.

BAudit

The Audit transformation appends system-level metadata columns (such as package name or machine name) to each row and does not provide the ability to split or route rows to separate outputs.

CDestination Assistant

Destination Assistant is a design-time helper for adding destination adapters to a data flow; it does not inspect row content or route rows between processing paths.

DScript ComponentCorrect

The Script Component can be added to a data flow as a transformation and configured with multiple synchronous or asynchronous outputs, allowing custom C# or VB.NET code to inspect each row's ProductCode and direct it to the appropriate output buffer. This provides full programmatic control over row routing when the built-in Conditional Split is not listed or when more complex logic is required. Each output can then feed a separate downstream processing path in the data flow.

Concept tested: SSIS Script Component for custom row routing in data flow

Source: https://learn.microsoft.com/en-us/sql/integration-services/data-flow/transformations/script-component

Topics

#Script Component#data flow routing#conditional processing#product code

Community Discussion

No community discussion yet for this question.

Full 70-463 Practice