nerdexam
Microsoft

70-458 · Question #146

You are developing a SQL Server Integration Services (SSIS) package to load data into a Windows Azure SQL Database database. Thepackage consists of several data flow tasks. The package has the…

The correct answer is C. Use an event handler for OnTaskFailed for the package. See the full explanation below for the reasoning.

Question

You are developing a SQL Server Integration Services (SSIS) package to load data into a Windows Azure SQL Database database. Thepackage consists of several data flow tasks. The package has the following auditing requirements: - If a data flow task fails, a Transact-SQL (T-SQL) script must be executed. - The T-SQL script must be executed only once per data flow task that fails, regardless of the nature of the error. You need to ensure that auditing is configured to meet these requirements. What should you do?

Options

  • AUse an event handler for OnError for the package.
  • BUse an event handler for OnError for each data flow task.
  • CUse an event handler for OnTaskFailed for the package.
  • DView the job history for the SQL Server Agent job.
  • EView the All Messages subsection of the All Executions report for the package.
  • FStore the System::SourceID variable in the custom log table.
  • GStore the System::ServerExecutionID variable in the custom log table.
  • HStore the System::ExecutionInstanceGUID variable in the custom log table.
  • IEnable the SSIS log provider for SQL Server for OnError in the package control flow.
  • JEnable the SSIS log provider for SQL Server for OnTaskFailed in the package control flow.

How the community answered

(32 responses)
  • B
    6% (2)
  • C
    81% (26)
  • E
    9% (3)
  • G
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 70-458 Practice