Exambible offers free demo for 70-517 exam. "Recertification for MCSD: SharePoint Applications", also known as 70-517 exam, is a Microsoft Certification. This set of posts, Passing the Microsoft 70-517 exam, will help you answer those questions. The 70-517 Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft 70-517 exams and revised by experts!
Q21. DRAG DROP
You need to add code at line CT11 to create the content types.
How should you complete the relevant code? (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.)
Answer:
Q22. You are designing an HTML5 website.
You need to design the interface such that the content is viewable in all types of browsers, including screen readers,
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Ensure that content elements have valid and descriptive names.
B. Use Resource Description Framework (RDF) to describe content elements.
C. Convert HTML forms to XForms.
D. Use HTML5 semantic markup elements.
E. Annotate content elements with Accessible Rich Internet Application (ARIA) attributes.
Answer: D,E
Q23. DRAG DROP
You develop a feature in a SharePoint solution by using Visual Studio 2012. You insert several breakpoints in the feature event receiver to debug performance issues.
You need to ensure that the code stops running when the solution reaches a breakpoint.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Answer:
Q24. You are developing an ASP.NET MVC application that will be deployed on a web farm.
Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable
You need to encrypt the passwords that are stored in the web.config file. Which command-line tool should you use?
A. Aspnet_regiis.exe
B. Ngen.exe
C. Aspnet_merge.exe
D. EdmGen.exe
Answer: A
Explanation: http://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100).aspx
Q25. DRAG DROP
You need to configure the content types and page layouts that are used to display information about the members of the board of directors.
How should you configure the content types and page layouts? (To answer, drag the appropriate content types to the correct location in the answer area. Each content type 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:
Q26. You need to deploy the package. Which file should you select?
A. the file ending in .publish
B. the file ending in .wsp
C. the file ending in .dll
D. the file ending in .app
Answer: D
Q27. 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
Q28. You need to configure session storage in the web.config file to meet the technical requirements for scalability.
Which SessionState mode should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. StateServer
B. InProc
C. AutoDetect
D. SqlServer
Answer: A,D
Q29. DRAG DROP
You develop a SharePoint app that uses the client-side object model (CSOM) to retrieve items from the search index.
You need to implement the client-side query code.
Which four code segments should you use in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Answer:
Q30. 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