exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 12 discussion

Actual exam question from Microsoft's 70-487
Question #: 12
Topic #: 1
[All 70-487 Questions]

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. Single
  • B. PerRequest
  • C. PerCall
  • D. Multiple
  • E. PerSession
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
PerCall: A new InstanceContext (and therefore service object) is created for each client request.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
supersunny
Highly Voted 5 years, 4 months ago
C. Per Call is suitable since the service is to be created per request.
upvoted 8 times
...
anishk
Most Recent 4 years, 8 months ago
Here are the 3 available options Per call Per session Single instance https://www.codeproject.com/articles/86007/3-ways-to-do-wcf-instance-management-per-call-per
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...