exam questions

Exam 70-488 All Questions

View all questions & answers for the 70-488 exam

Exam 70-488 topic 1 question 78 discussion

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

You are developing a SharePoint solution for a company. You create one site collection for each department. Sites may use data from internal or external web service endpoints. You are developing an application that allows site owners to add or change web service endpoints.
The application must run in the context of the site owner.
You need to complete the application.
What should you do?

  • A. Use the SPWebConfigModification class to add a list of web service endpoint URLs to the web.config file.
  • B. Add a property named WebSvcEndpoint to the SPSite.Properties property bag. Store a web service endpoint URL as a value.
  • C. Add a property named WebSvcEndpoint to the SPWeb.AllProperties property bag. Store a web service endpoint URL as a value.
  • D. Add a list of web service endpoint URLs to the SPFarm.Properties hashtable.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The SPWebConfigModification class holds modifications that are made to the web.config.
Each endpoint supported by your WCF service application must be defined in the web.config settings for the application.
Reference: Using Service Endpoints
https://msdn.microsoft.com/en-us/library/office/ee535060(v=office.14).aspx

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
Currently there are no comments in this discussion, be the first to comment!
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago