Q1. DRAG DROP - (Topic 4)
You are developing a WCF Data Services service in Visual Studio 2012 to display movie information from a SQL Server database that changes every 24 hours. The service is defined in the following class.
The application contains the following Entity Framework model.
The service must only return data for movies that are currently in theaters.
You need to add a method to the MovieService class to filter the data.
How should you build the method? (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:
Q2. DRAG DROP - (Topic 4)
You are developing a WCF service. The service will stream messages to clients on the internal network.
You must use Windows Authentication, and all messages must be binary encoded.
You need to configure the service.
What should you do? (To answer, drag the appropriate elements to the correct location or locations in the answer area. Each element 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:
Q3. HOTSPOT - (Topic 4)
You are developing an application.
The application must be deployed from Team Foundation Server after a successful build is completed. The Process tab of the Build Definition screen is shown in the exhibit. (Click the Exhibit button.)
You need to configure the automated deployment.
In which section should you define the parameters for the automated deployment? (To answer, select the appropriate section in the answer area.)
Answer:
Q4. DRAG DROP - (Topic 2)
The UploadOrder() method in the UploadCallbackService service is not implementing the callback behavior defined in the IUploadCallBackService interface.
You need to modify the class to implement the required callback behavior.
What should you do? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segments 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:
Q5. DRAG DROP - (Topic 4)
You are developing an ASP.NET Web API for a home inventory management system. You need to limit access to users with IP addresses based only in the United States. You have the following code:
Which code segments should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate code segments to the correct targets 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:
Q6. - (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)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B,C
Q7. - (Topic 3)
The PurchaseOrders.xml file contains all of the purchase orders for the day.
You need to query the XML file for all of the shipping addresses.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q8. DRAG DROP - (Topic 1)
You need to parse flight information from Blue Yonder Airlines. The content of the XML file is shown below.
Some airlines do not specify the timezone of the arrival time. If the timezone is not specified, then it should be interpreted per the business requirements.
You need to implement the LoadFlights() and Parse() methods of the BlueYonderLoader class.
What should you do? (To answer, drag the appropriate code segments to the correct location in the answer area. Each 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:
Q9. - (Topic 2)
You need to regenerate the service proxies to include task-based asynchronous method signatures.
Which command should you use?
A. aspnet_regiis.exe /t:code http://localhost:62965/UploadCallbackService.svc
B. svcutil.exe /t:code http://localhost:62965/UploadCallbackService.svc
C. aspnet_compiler.exe /t:code http://localhost:62965/UploadCallbackService.svc
D. aspnet_regiis.exe /t:code http://localhost:62965/UploadService.svc
E. svcutil.exe /t:code http://localhost:62965/UploadService.svc
Answer: B
Explanation: http://msdn.microsoft.com/en-us/library/aa347733.aspx
Q10. DRAG DROP - (Topic 4)
You are developing an ASP.NET MVC Web API image management application.
The application must meet the following requirements:
It must send or receive image data without the use of a buffer.
It must allow up to 4 MB of image data to be received.
It must allow up to 3 MB of image data to be sent.
You need to complete the code 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.)
Answer: