Biztalk Interview Questions and Answers
Question - 111 : - What group does a user need to belong to in order to submit messages to the message box?
Answer - 111 : -
The user needs to be a member of the hot group or isolated host group (assuming a default installation).
Question - 112 : - What are Persistence Points and what causes them?
Answer - 112 : -
- Persistence is when the state of a running Orchestration is stored into SQL.
- It is good enough to know various shape and actions cause persistence. More specifically, it occurs: end of a transactional scope, at a send shape, at a start Orchestration shape, during dehydration, if the system shuts down expectedly or unexpectedly, or the business process suspends or ends.
Question - 113 : - When working with Schemas, Maps, Pipelines, and Orchestrations, how should the projects be structured?
Answer - 113 : -
- Schemas and Maps in its own project
- Or Schemas and Maps together in its own project
- Orchestrations in its own project
- Pipelines in it own project
Question - 114 : - How do you achieve First-In-First-Out message processing of messages received from multiple sources using an Orchestration?
Answer - 114 : -
- Use a Sequential Convoy to process the messages in the order they are received into the Message Box.
- Make sure Ordered Delivery is set to True inside the Orchestration Receive Port.
Question - 115 : - How do you call a Non-Serializable .Net helper class inside an Expression Shape?
Answer - 115 : -
Add a reference to that class.
- Make sure your Orchestration is Long Running transactional.
- Add an Atomic scope.
- Create an Orchestration variable of that class inside the scope.
- Create an instance on that object inside the scope.
- Call the method.
- Bonus: Mention the class must be strongly signed and in the GAC.
Question - 116 : - How to route binary data?
Answer - 116 : -
To route binary data you can use pass-through pipelines on the receive location and send port. BizTalk will route (copy) the data from the source (receive location) to the destination (send port). If you want to route the binary data based on some information in the binary data then you write a custom Disassembler to promote the properties you need from the incoming message to route the binary data.
Question - 117 : - Which Interfaces do you need to implement in a disassembling custom pipeline component?
Answer - 117 : -
- A disassembling pipeline component receives one message on input and produces zero or more messages on output. Disassembling components are used to split interchanges of messages into individual documents. Disassembler components must implement the following interfaces:
- Ibase Component.
- Idisassembler Component.
- IComponentUI.
- IPersistPropertyBag.
Question - 118 : - What are the execution modes in a pipeline Stage?
Answer - 118 : -
- A stage in a pipeline has an execution mode of either “All” or “First Match”, which controls the components that get executed if more than one component is added to a stage.
- For stages with a mode of “All”, each component is called to process the message in the order in which they are configured in the stage.
- For stages with a mode of “First Match”, each component is polled to indicate that it is the right component until a match is found, at which point the component that matches is executed, while the remaining components do not get executed.
Question - 119 : - What is Rehydration?
Answer - 119 : -
When a message is received, or else when a timeout has expired, the orchestration engine can be automatically triggered to rehydrate the instance – it is at this point that the orchestration engine loads the saved instance of the orchestration into memory, restores the state, and runs its from the point it left off.
Question - 120 : - What is the difference between a delay shape vs a listen shape?
Answer - 120 : -
A ‘Delay’ is very much like a sleep on the current thread. A ‘Listen’ shape is used to wait for an incoming resource, with a timeout period.