Microsoft TS: Developing Business Process and Integration Solutions by Using Microsoft BizTalk Server 2010 Sample Questions:
1. In a Microsoft Visual Studio solution, you include an existing shared BizTalk Server 2010 project that is used by more than one BizTalk application. You specify that the shared BizTalk project will be deployed to the same BizTalk application as the other BizTalk projects in the solution. During deployment of the BizTalk project from Visual Studio, you receive the following error: Failed to add resource(s). Resource(Type="System.BizTalk:BizTalkAssembly" -Luid="Contoso.SharedComponent, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c4b6d1ca34bb90c0") is already in store and is either associated with another application or with another type. You need to deploy the projects of the solution that reference the shared BizTalk project without errors. What should you do?
A) Open Configuration Manager and clear the Deploy check box for the shared BizTalk project. Then build and deploy the solution.
B) Use the BizTalk Administration console to import a copy of the MSI package of the shared component into every BizTalk application.
C) Use the BizTalk Administration console to export the assemblies as a Microsoft Windows Installer (MSI) package for the BizTalk solution.
D) Open Configuration Manager and clear the Deploy check box for all BizTalk projects. Then build and deploy the solution.
2. An existing BizTalk Server 2010 messaging solution for processing orders has a send port group that contains two send ports.
Send Port A is for Supplier A and Send Port B is for Supplier B.
Each supplier receives only one copy of each order message.
The order schema has a promoted property named OrderAmount that contains the total amount of the order.
The send port group subscribes to all messages where a promoted property OrderAmount exists.
The send ports do not have a filter defined. Messages with an order amount less than or equal to 1000 must be sent to Supplier A.
Messages with an order amount greater than 1000 must be sent to Supplier B.
Only a single message can be sent to either Supplier A or Supplier B.
You need to modify the solution to route each order message to either Supplier A or Supplier B.
What should you do?
A) Set a filter on Send Port A to subscribe for messages where OrderAmount is <= 1000. Set a filter on Send Port B to subscribe for messages where OrderAmount is > 1000. Stop and start the send port group.
B) Keep the existing filter condition on the send port group. Add a filter condition on the send port group to subscribe for messages where OrderAmount is <= 1000. Add a filter OR condition on the send port group to subscribe for messages where OrderAmount is > than 1000.
C) Set a filter on Send Port A to subscribe for messages where OrderAmount is <= 1000. Set a filter on Send Port B to subscribe for messages where OrderAmount is > 1000. Delete the send port group.
D) Delete the existing filter condition on the send port group. Add a filter condition on the send port group to subscribe for messages where OrderAmount is <= 1000. Add a filter OR condition on the send port group to subscribe for messages where OrderAmount is > 1000.
3. A solution in Microsoft Visual Studio 2010 contains a test project with unit tests for a BizTalk Server 2010 schema. When the test project is built, an error occurs that indicates that the tested schema does not contain a definition for ValidateInstance or an extension method with this name. You need ensure that the project builds in Visual Studio 2010 without errors. What should you do?
A) Set Redeploy to False in the project properties for the schema project.
B) Check Enable Code Analysis on Build in the project properties for the test project.
C) Sign the assembly with a strong name key in the project properties for the schema project.
D) Set Enable Unit Testing to True in the project properties for the schema project.
4. You are developing a BizTalk Server 2010 orchestration that processes messages received from the BizTalk FILE adapter. You need to retrieve the original file name of the message and store it in a variable named FileName for future processing. What should you do?
A) Inside an expression shape in the BizTalk Orchestration Designer, use the FILE.ReceivedFileName context property to assign the FileName variable.
B) Inside a message assignment shape in the BizTalk Orchestration Designer, use the WSS.Filename context property to assign the FileName variable.
C) Inside an expression shape in the BizTalk Orchestration Designer, use the LEGACY.FilePath context property to assign the FileName variable.
D) Inside a message assignment shape in the BizTalk Orchestration Designer, use the BTS.MessageType context property to assign the FileName variable.
5. A BizTalk Server 2010 application sends purchase orders. Current applications use an existing mail server to send mail. The purchase order application should use a distribution list that is managed by a new mail server. Company IT policy does not allow you to create a new host for the new mail server. You need to create a BizTalk port that sends orders to the email distribution list through the new mail server.
What should you do?
A) Create an SMTP send port configured to send to the email distribution list. Override the current SMTP send handler settings by entering the new mail server in the SMTP server name field in the Handler Override section of the port.
B) Create an SMTP send port configured to send to the email distribution list. Create a filter on the send port with the SMTP.SMTPHost context property equal to the new mail server.
C) Create an SMTP send port configured to send to the email distribution list. Specify the name of the new mail server in Microsoft Internet Information Services (IIS) Manager.
D) Create a send port group with an SMTP send port configured to send to the email distribution list. Create a filter on the send port group with the SMTP.SMTPHost context property equal to the new mail server.
Solutions:
| Question # 1 Answer: A | Question # 2 Answer: C | Question # 3 Answer: D | Question # 4 Answer: A | Question # 5 Answer: A |

We're so confident of our products that we provide no hassle product exchange.


By Rodney


