nerdexam
Microsoft

70-463 · Question #239

Your company uses a proprietary encryption algorithm to secure sensitive data. A custom cryptographic assembly was developed in Microsoft .NET and is used in several applications. A SQL Server Integra

The correct answer is B. Use an SSIS Script transformation that uses the custom assembly to encrypt the data when. An SSIS Script transformation integrates directly into the data flow pipeline and can reference the custom .NET assembly to encrypt rows inline, minimizing deployment effort and maximizing throughput.

Extract and transform data

Question

Your company uses a proprietary encryption algorithm to secure sensitive data. A custom cryptographic assembly was developed in Microsoft .NET and is used in several applications. A SQL Server Integration Services (SSIS) package is importing data into a Windows Azure SQL Database database. Some of the data must be encrypted with the proprietary encryption algorithm. You need to design the implementation strategy to meet the requirements while minimizing development and deployment effort and maximizing data flow performance. What should you do?

Options

  • ACreate a SQL Common Language Runtime (SQLCLR) function that uses the custom
  • BUse an SSIS Script transformation that uses the custom assembly to encrypt the data when
  • CCreate a SQL Common Language Runtime (SQLCLR) stored procedure that uses the custom
  • DUse an SSIS Script task that uses the custom assembly to encrypt the data when inserting it.

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    48% (11)
  • C
    13% (3)
  • D
    30% (7)

Why each option

An SSIS Script transformation integrates directly into the data flow pipeline and can reference the custom .NET assembly to encrypt rows inline, minimizing deployment effort and maximizing throughput.

ACreate a SQL Common Language Runtime (SQLCLR) function that uses the custom

A SQLCLR function requires CLR integration to be enabled on the Azure SQL Database instance and adds per-row remote invocation overhead rather than processing rows inline within the SSIS data flow.

BUse an SSIS Script transformation that uses the custom assembly to encrypt the data whenCorrect

The Script transformation is a data flow component that processes rows inline as they pass through the pipeline, allowing it to load and invoke the custom .NET cryptographic assembly without requiring CLR integration on the destination database. This approach requires only a project reference to the existing assembly inside the Script transformation, minimizing development effort. Because encryption occurs in-process within the data flow, it also avoids the network round-trip overhead associated with database-side approaches.

CCreate a SQL Common Language Runtime (SQLCLR) stored procedure that uses the custom

A SQLCLR stored procedure also requires CLR integration to be enabled on the database and executes outside the SSIS data flow pipeline, adding network round-trip latency for every encryption call.

DUse an SSIS Script task that uses the custom assembly to encrypt the data when inserting it.

An SSIS Script task is a control flow element that executes between data flow tasks rather than inline within the data flow, so it cannot encrypt individual rows as they stream through the pipeline.

Concept tested: SSIS Script transformation for inline custom assembly use

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

Topics

#Script transformation#custom assembly#encryption#data flow performance

Community Discussion

No community discussion yet for this question.

Full 70-463 Practice