Your success in Microsoft 70-517 is our sole target and we develop all our 70-517 braindumps in a way that facilitates the attainment of this target. Not only is our 70-517 study material the best you can find, it is also the most detailed and the most updated. 70-517 Practice Exams for Microsoft 70-517 are written to the highest standards of technical accuracy.
Q1. You need to implement connection management for catalog connections.
Which method should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Public void UpdateCatalogConnection(CatalogConnectionSettings catalogInfo)
B. Public void OnPublishCatalog(string catalogPath)
C. Public void DeleteCatalogConnection(string catalogPath)
D. Public void SetCatalogConnection(string catalogPath, boot disconnect)
Answer: A,C Explanation:
* From scenario:
/ You must create a custom tool that site collection administrators use to manage catalog connections.
/ You must define the API calls to remove (C) or update (A) existing catalog connections.
Q2. You need to retrieve data about all the lists in a site by using the REST (Representational State Transfer) API.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q3. You are designing a Windows Communication Foundation (WCF) service that uses the Product class.
You need to update the class to meet the storage requirement.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Mark the Product class with the DataContract attribute.
B. Mark the public members of the Product class with the DataContractFormat attribute.
C. Mark the Product class with the CollectionDataContract attribute.
D. Mark the public members of the Product class with the DataMember attribute.
Answer: A,D
Explanation: So as of .NET 3.5 SP1, you don't have to add data contract or data member attributes anymore - if you don't then the data contract serializer will serialize all public properties on your class, just like the XML serializer would.
HOWEVER: by not adding those attributes, you lose a lot of useful capabilities:
✑ without [DataContract], you cannot define an XML namespace for your data to live in
✑ without [DataMember], you cannot serialize non-public properties or fields
✑ without [DataMember], you cannot define an order of serialization (Order=) and the DCS will serialize all properties alphabetically
✑ without [DataMember], you cannot define a different name for your property
(Name=)
✑ without [DataMember], you cannot define things like IsRequired= or other useful attributes
✑ without [DataMember], you cannot leave out certain public properties - all public properties will be serialized by the DCS
Q4. You are developing an ASP.NET MVC application.
You need to authenticate clients by using NT LAN Manager (NTLM). Which authentication method should you implement?
A. Basic
B. Windows
C. Forms
D. Kerberos
Answer: B
Explanation: http://msdn.microsoft.com/en-us/library/aa292114(v=vs.71).aspx
Q5. You develop a SharePoint app that reads social data from your company's SharePoint site.
You need to access the SocialFeedManager object. Which object or URL should you use?
A. http://<siteUri>/_api/social.feed
B. SocialFeedManager(ClientRuntimeContext, ObjectPath);
C. http://<siteUri>/social.feed
D. SPSocialFeedManager(UserProfile);
Answer: B
Q6. You are designing a distributed application that runs on the Windows Azure platform.
The application must store a small amount of insecure global information that does not change frequently.
You need to configure the application to meet the requirements.
Which server-side state management option should you use? (Each correct answer
presents a complete solution. Choose all that apply.)
A. Windows Azure application state
B. Sql Azure
C. Profile properties of the Windows Azure application
D. Windows Azure session state
Answer: B,D
Explanation: SQL Database provides a relational database management system for Windows Azure and is based on SQL Server technology. With a SQL Database instance, you can easily provision and deploy relational database solutions to the cloud, and take advantage of a distributed data center that provides enterprise-class availability, scalability, and security with the benefits of built-in data protection and self-healing.
Session States in Windows Azure.
If you are a Web developer, you are probably very familiar with managing user state - that is you are familiar with tracking user activity and actions across several request-response exchanges that occur in Web applications. Since HTTP is a stateless protocol, developers over the years have developed all sorts of means to manage state. You'll even find an MSDN page providing alternatives and recommendations for state management here.
Cookies, hidden fields, and query strings are some client-side options to tracking user state. When it comes to managing that state on the server-side, most Web developers rely on session objects.
Q7. HOTSPOT
The designer for the website gave you the following as the design for the page.
The normal color for the tab is *2da4c2, and the color when the mouse is over the tab is
#ffd800.
The HTML that implements the navigation tab is as follows.
You need to implement the design.
What should you do? (To answer, select the appropriate options in the answer area.)
Answer:
Q8. DRAG DROP
You are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication.
The application must:
✑ Use Windows Identity Foundation 4.5.
✑ Support the Windows Azure Access Control Service.
You need to implement authentication.
How should you build the class constructor? (To answer, drag the appropriate code segment 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: