Which statement should you use to create the contract to be used in conversations?

You are a database administrator for NuTex Corporation. Your company maintains survey data in the Research database residing on an instance of SQL Server 2008. You are creating a Service Broker application to send and receive messages between two services, //NuTex.com/SurveyInput and //NuTex.com/ Respondent.
You want to receive survey-related information from another organization that maintains data on a different database, Prod. The survey data sent from the Prod database is in XML format. At periodic intervals, the Research database will initiate a conversation to request survey response data.
You have created the message type to validate the incoming survey data using the following statement:
CREATE MESSAGE TYPE [//NuTex.com/Research/SurveyData] VALIDATION = WELL_FORMED_XML;
Which statement should you use to create the contract to be used in conversations?
A. CREATE CONTRACT [//NuTex.com/Research/SurveyData/Contract1]
([//NuTex.com/Research/SurveyData] SENT BY TARGET);
B. CREATE CONTRACT [//NuTex.com/Research/SurveyData/Contract1]
([//NuTex.com/Research/SurveyData] SENT BY ANY);
C. CREATE CONTRACT [//NuTex.com/Research/SurveyData/Contract1]
(SurveyData SENT BY INITIATOR);
D. CREATE CONTRACT [//NuTex.com/Research/SurveyData/Contract1]
([DEFAULT] SENT BY ANY);

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.