nerdexam
Microsoft

70-463 · Question #115

You have been asked to revise a SQL Server Integration Services (SSIS) package. The package only includes Execute SQL tasks. To make sure that, in the event of an Execute SQL task failing, changes mad

The correct answer is D. Required.. Setting the SSIS package TransactionOption property to 'Required' forces all Execute SQL tasks to participate in a single distributed transaction that rolls back entirely if any task fails.

Configure and deploy SSIS solutions

Question

You have been asked to revise a SQL Server Integration Services (SSIS) package. The package only includes Execute SQL tasks. To make sure that, in the event of an Execute SQL task failing, changes made by all of the Execute SQL tasks is rolled back. To do this, you want to alter the TransactionOption property of the package. Which of the following is the value that must be set for the TransactionOption property of the package?

Options

  • ANotSupported.
  • BSupported.
  • CNotRequired.
  • DRequired.

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    3% (1)
  • D
    91% (31)

Why each option

Setting the SSIS package TransactionOption property to 'Required' forces all Execute SQL tasks to participate in a single distributed transaction that rolls back entirely if any task fails.

ANotSupported.

NotSupported means the package explicitly opts out of transactions entirely, so no rollback mechanism exists if a task fails.

BSupported.

Supported means the package will join an existing ambient transaction if one is present, but will not start its own - leaving no rollback guarantee when the package runs standalone.

CNotRequired.

NotRequired is not a valid value for the TransactionOption property; the three valid enumeration values are NotSupported, Supported, and Required.

DRequired.Correct

When TransactionOption is set to Required, the SSIS package starts a distributed transaction and all child tasks that support transactions enlist in it. If any Execute SQL task fails, the entire transaction is rolled back - undoing all changes made by every task - because Required is the only setting that guarantees atomicity across the package.

Concept tested: SSIS package TransactionOption Required property for atomic rollback

Source: https://learn.microsoft.com/en-us/sql/integration-services/integration-services-transactions

Topics

#TransactionOption#transaction rollback#Execute SQL task#package transactions

Community Discussion

No community discussion yet for this question.

Full 70-463 Practice