Question No: 24 – (Topic 2)

The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternalQueueService.cs file.

You need to throw the FaultException exception.

Which code segments can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply)

Option A

Option B

Option C

Option D

Answer: B,C

Question No: 25 DRAG DROP – (Topic 2)

The GetQueueItems() action in the InboundQueueController controller is not populating the view with data. The action must populate the view with data by calling the GetExternalOrders() method in the ExternalQueueService service using the ChannelFactory class.

You need to modify the action to populate the view with data.

What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:

Question No: 26 DRAG DROP – (Topic 2)

The GetExternalOrders() method must use members of the EntityClient namespace to query the database for all records in the InboundQueue entity.

You need to modify the GetExternalOrders() method to return the correct data.

What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:

Question No: 27 – (Topic 2)

The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternatQueueService.cs file.

You need to throw the FaultException exception.

Which code segment can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply.)

Option A

Option B

Option C

Option D

Answer: C

Question No: 28 – (Topic 2)

You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.

Which code segment should you use?

Option A

Option B

Option C

Option D

Answer: A

Question No: 29 DRAG DROP – (Topic 2)

You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.

Which code segment should you use?

Answer:

Question No: 30 DRAG DROP – (Topic 2)

You need to create the ShippingContext class in the ShippingAddress.es file to meet the requirements.

What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)