Microsoft 70-487 Exam Practice Questions (P. 3)
- Full Access (200 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #11
DRAG DROP -
You are developing a WCF service.
The WCF service requires implementations of the new data contracts to validate against the old schema.
You need to develop a new data contract without breaking current functionality.
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.)
Select and Place:

You are developing a WCF service.
The WCF service requires implementations of the new data contracts to validate against the old schema.
You need to develop a new data contract without breaking current functionality.
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.)
Select and Place:

send
light_mode
delete
Question #12
You are developing a WCF service.
A new service instance must be created for each client request.
You need to choose an instancing mode.
Which instancing mode should you use?
A new service instance must be created for each client request.
You need to choose an instancing mode.
Which instancing mode should you use?
- ASingle
- BPerRequest
- CPerCall
- DMultiple
- EPerSession
Correct Answer:
C
PerCall: A new InstanceContext (and therefore service object) is created for each client request.
C
PerCall: A new InstanceContext (and therefore service object) is created for each client request.
send
light_mode
delete
Question #13
DRAG DROP -
You are creating a WCF service.
The service endpoints must be exposed to the Microsoft Azure Service Bus. The service bus has a namespace named RestaurantSB. The key provider is
"owner".
You need to modify the web.config file to expose the endpoints.
You have the following markup in the web.config file:

Which attributes should you include in Target 1, Target 2 and Target 3 to complete the markup? (To answer, drag the appropriate attributes to the correct targets or locations in the answer area. Each attribute 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.)
Select and Place:

You are creating a WCF service.
The service endpoints must be exposed to the Microsoft Azure Service Bus. The service bus has a namespace named RestaurantSB. The key provider is
"owner".
You need to modify the web.config file to expose the endpoints.
You have the following markup in the web.config file:

Which attributes should you include in Target 1, Target 2 and Target 3 to complete the markup? (To answer, drag the appropriate attributes to the correct targets or locations in the answer area. Each attribute 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.)
Select and Place:

send
light_mode
delete
Question #14
DRAG DROP -
You are developing an ASP.NET MVC Web API application.
The application must meet the following requirements:
✑ It must send or receive data without the use of a buffer.
✑ It must allow up to 1 MB of data to be received.
✑ It must allow up to 2 MB of 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.)
Select and Place:

You are developing an ASP.NET MVC Web API application.
The application must meet the following requirements:
✑ It must send or receive data without the use of a buffer.
✑ It must allow up to 1 MB of data to be received.
✑ It must allow up to 2 MB of 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.)
Select and Place:

Correct Answer:
The config, not Buffered or Streamed, object is used to change attributes.
The TransferMode should be set to Streamed.
References:
https://msdn.microsoft.com/en-us/library/ms731913(v=vs.110)

The config, not Buffered or Streamed, object is used to change attributes.
The TransferMode should be set to Streamed.
References:
https://msdn.microsoft.com/en-us/library/ms731913(v=vs.110)
send
light_mode
delete
Question #15
DRAG DROP -
You are developing an ASP.NET Web API action method.
The action method must return the following JSON in the message body.
{"Name": "Fabrikam", "VendorId" :9823, Items": ["Dogs", "Cats") >
You need to return an anonymous object that is serialized to JSON.
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.)
Select and Place:

You are developing an ASP.NET Web API action method.
The action method must return the following JSON in the message body.
{"Name": "Fabrikam", "VendorId" :9823, Items": ["Dogs", "Cats") >
You need to return an anonymous object that is serialized to JSON.
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.)
Select and Place:

send
light_mode
delete
All Pages