nerdexam
Microsoft

70-450 · Question #90

You are a professional level SQL Sever 2008 Database Administrator. Two SQL Server 2008 instances are managed by you, and they are respectively called Ins01 and Ins02. The Sales database is included…

The correct answer is B. To finish the task, the linked server to utilize distributed transactions. When you have created your linked server EXEC master.dbo.sp_addlinkedserver @server = N.\MAPS, @srvproduct=NSQL Server' You can configure it to use distributed transaction EXEC master.dbo.sp_serveroption @server=N'.\MAPS'; @optname=Nremote proc transaction promotion'…

Design an optimized database solution

Question

You are a professional level SQL Sever 2008 Database Administrator. Two SQL Server 2008 instances are managed by you, and they are respectively called Ins01 and Ins02. The Sales database is included in Ins01, while the Accounts database is contained by Ins02. A transaction is started by A procedure in the Sales database. And then, the Sales.dbo.Order table and the Accounts.dbo. OrderHistory table are updated by the procedure through a linked server. Since you are the technical support of the company, you are required to make sure that a two- phase commit is utilized by the transaction. Which action will you perform to finish the task?

Options

  • ATo finish the task, a Service Broker should be configured to have the proper transaction
  • BTo finish the task, the linked server to utilize distributed transactions
  • CTo finish the task, the linked server should be properly configured for delegation.
  • DTo finish the task, the linked server should be properly configured for impersonation.

How the community answered

(70 responses)
  • A
    7% (5)
  • B
    74% (52)
  • C
    14% (10)
  • D
    4% (3)

Explanation

When you have created your linked server EXEC master.dbo.sp_addlinkedserver @server = N.\MAPS, @srvproduct=NSQL Server' You can configure it to use distributed transaction EXEC master.dbo.sp_serveroption @server=N'.\MAPS'; @optname=Nremote proc transaction promotion', @optvaiue=N`true'

Topics

#distributed transactions#linked server#two-phase commit#cross-instance

Community Discussion

No community discussion yet for this question.

Full 70-450 Practice