Microsoft 70-487 Exam Practice Questions (P. 2)
- 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 #6
DRAG DROP -
You are developing a self-hosted WCF service that returns stock market information.
The service must be discoverable by any client application. You need to build the service host.
How should you build the host? (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 self-hosted WCF service that returns stock market information.
The service must be discoverable by any client application. You need to build the service host.
How should you build the host? (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 #7
You are developing a WCF service that compares several data sources. The service takes a long time to complete.
The service must meet the following requirements:
✑ The client must be able to continue processing while the service is running.
✑ The service must initiate communication with the client application when processing is complete.
You need to choose a message pattern to meet the requirements.
Which message pattern should you choose?
The service must meet the following requirements:
✑ The client must be able to continue processing while the service is running.
✑ The service must initiate communication with the client application when processing is complete.
You need to choose a message pattern to meet the requirements.
Which message pattern should you choose?
send
light_mode
delete
Question #8
DRAG DROP -
You are developing a WCF service.
You need to implement transport security by using NTLM authentication and NetTcpBindings.
You have the following markup:

Which configuration values should you include in Target 1, Target 2, and Target 3 to complete the markup? (To answer, drag the appropriate configuration values to the correct location or locations in the answer area. Each configuration value 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.
You need to implement transport security by using NTLM authentication and NetTcpBindings.
You have the following markup:

Which configuration values should you include in Target 1, Target 2, and Target 3 to complete the markup? (To answer, drag the appropriate configuration values to the correct location or locations in the answer area. Each configuration value 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 #9
You are developing a WCF service.
A new service instance must be created for each client session.
You need to choose an instancing mode.
Which instance mode should you use?
A new service instance must be created for each client session.
You need to choose an instancing mode.
Which instance mode should you use?
- APerCall
- BSingle
- CMultiple
- DPerSession
- EPerRequest D
Correct Answer:
Explanation
PerSession: A new InstanceContext (and therefore service object) is created for each new client session and maintained for the lifetime of that session (this requires a binding that supports sessions).
Incorrect: Answers -
A: PerCall: A new InstanceContext (and therefore service object) is created for each client request.
B: Single: A single InstanceContext (and therefore service object) handles all client requests for the lifetime of the application.
References:
https://msdn.microsoft.com/en-us/library/ms731193(v=vs.110)
Explanation
PerSession: A new InstanceContext (and therefore service object) is created for each new client session and maintained for the lifetime of that session (this requires a binding that supports sessions).
Incorrect: Answers -
A: PerCall: A new InstanceContext (and therefore service object) is created for each client request.
B: Single: A single InstanceContext (and therefore service object) handles all client requests for the lifetime of the application.
References:
https://msdn.microsoft.com/en-us/library/ms731193(v=vs.110)
send
light_mode
delete
Question #10
DRAG DROP -
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.
You have the following markup:

Which elements should you include in Target 1, Target 2 and Target 3 to complete the markup? (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.)
Select and Place:

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.
You have the following markup:

Which elements should you include in Target 1, Target 2 and Target 3 to complete the markup? (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.)
Select and Place:

Correct Answer:
Target1, Target 3: NetTcpBinding
NetTcpBinding is the right choice for binary TCP communications that cross machine boundaries.
NetTcpBinding is optimized for cross-machine communication. By default, it implements binary message encoding.
NetTcpBinding specifies a secure, reliable, optimized binding suitable for cross-machine communication. By default, it generates a run-time communication stack with transport security and Windows authentication as default security settings. It uses the Transmission Control Protocol (TCP) for message delivery, and binary message encoding.

Target1, Target 3: NetTcpBinding
NetTcpBinding is the right choice for binary TCP communications that cross machine boundaries.
NetTcpBinding is optimized for cross-machine communication. By default, it implements binary message encoding.
NetTcpBinding specifies a secure, reliable, optimized binding suitable for cross-machine communication. By default, it generates a run-time communication stack with transport security and Windows authentication as default security settings. It uses the Transmission Control Protocol (TCP) for message delivery, and binary message encoding.
send
light_mode
delete
All Pages