we provide Actual Microsoft 70-517 testing engine which are the best for clearing 70-517 test, and to get certified by Microsoft Recertification for MCSD: SharePoint Applications. The 70-517 Questions & Answers covers all the knowledge points of the real 70-517 exam. Crack your Microsoft 70-517 Exam with latest dumps, guaranteed!
Q17. You are developing an ASP.NET MVC web application that includes the following method.
You need to test the GoldMined method. Which unit test should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q18. You receive an error when you deploy the app. You need to resolve the error.
What should you do?
A. Create a deployment package and upload the app to the app catalog in SharePoint.
B. Enable side-loading of apps in the app manifest.
C. Deploy the app to https://contoso-my.sharepoint.com.
D. Enable side-loading of apps in the Visual Studio project properties.
Answer: A
Q19. The GetDealPrice method must be called by using Ajax.
You need to get the price of a product by using the GetDealPrice method of the ProductController.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C,D
Q20. You implement the dependency changes based on the requirements for the Litware web artifacts feature.
When you deploy the Litware.Intranet.Templates.wsp package, you receive an error message.
You need to ensure that the package deploys successfully. What should you do?
A. Set the scope of the Litware web artifacts feature to SPSite.
B. Set the scope of the Litware web artifacts feature to SPFarm.
C. Set the Is Hidden option of the Litware web artifacts feature to False.
D. Set the Auto Activate in Central Admin parameter of the Litware web artifacts feature to True.
Answer: C
Q21. DRAG DROP
You are developing an ASP.NET MVC application in Visual Studio 2012. The application contains sensitive bank account data.
The application contains a helper class named SensitiveData.Helpers.CustomEncryptor.
The application must not display AccountNumber in clear text in any URL. You need to build the view for the GetAccounts action.
How should you build the view? (To answer, drag the appropriate code segment to the correct location or locations. 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 need to implement client-side animations according to the business requirements.
Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. $ ("h1: first") .animate ({ opacity: 0 });
B. $("h1:first").fadeIn(1000);
C. $("h1:first").animate({ opacity: 1 });
D. $("h1:first").fadeOut(1000);
Answer: A,D
Q23. A server in the SharePoint farm experiences high memory usage. Task Scheduler on the server runs a Windows PowerShell script to perform backups of Wholesale sites.
You need to resolve any memory leak issues in the Windows PowerShell script.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Insert the code segment at line EW04: Start-SPAssignment -Global
B. Insert the code segment at line EW17:
$site.Close()
C. Insert the code segment at line EW17: Stop-SPAssignment -SemiGlobal
D. Insert the code segment at line EW17: Stop-SPAssignment –Global
Answer: A,C
Explanation: * Start-SPAssignment –Global initiates a new assignment store.
* Stop-SPAssignment . Disposes of objects in the provided assignment collection.
The Stop-SPAssignment cmdlet disposes of objects in the provided assignment collection.
Use the Global parameter to dispose of all objects in the global assignment collector and to stop the global store from collecting additional objects. Provide a SemiGlobal assignment collector to dispose of all contained objects.
From scenario:
* Performance Optimization and Memory Usage
SPSite objects must be removed from memory immediately after the objects go out of scope.
Q24. You need to generate document identifiers for each new document that is uploaded to the site.
What should you do?
A. Create a derived class that inherits from the abstract class named
Microsoft.Office.DocumentManagement.Documentld and then override all of the abstract methods.
B. Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.DocumentldProvider and then override all of the virtual members.
C. Create a derived class that inherits from the Microsoft.Office.DocumentManagement.DocumentldProvider abstract class and then implement all abstract members.
D. Create a class to implement the Microsoft.Office.DocumentManagement.IDocumentld interface and then override all of the virtual members.
Answer: B
Q25. HOTSPOT
A company uses SharePoint for document sharing and collaboration. Users create content types for different types of documents that are created daily. All document content types have ProjectID, Type, and AuditStatus columns. ProductID is not a required field. The Auditing department requires that every document have a ProjectID within two weeks of the creation date.
If a document does not have a ProjectID, the AuditStatus column must show a message for users to specify the ProjectID. For performance reasons, fewer than 50 documents at a time should be processed.
You need to write a work-item timer job to meet the requirement.
How should you complete the relevant code? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
Q26. 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.
Q27. A user deploys a sandbox solution. The user cannot activate the solution.
You need to ensure that the user can activate the solution.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Grant permission to the user to execute the solution.
B. Grant permission to the user to activate the solution.
C. Start the Microsoft SharePoint Foundation Sandboxed Code Service.
D. Start the PerformancePoint Services.
Answer: A,C
Explanation: C: go into Central Administration and navigate to System Settings –> Manage Services on Server and start the “Microsoft SharePoint Foundation Sandboxed Code Service” service.
Q28. 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.
Q29. DRAG DROP
You need to apply the Design Package to all of the required sites.
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:
Q30. You are creating a new authentication system that uses an HTTP header value. The existing authentication system must continue to operate normally.
You need to implement the custom authentication.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Create a class derived from ActionResult and check for a valid HTTP header value in the ExecuteResult method. Change all actions to return this new class.
B. Create an HttpHandler to check for a valid HTTP header value in the ProcessRequest method.
C. Create an HttpModule and check for a valid HTTP header value in the
AuthenticateRequest event.
D. Create a class derived from AuthorizeAttribute and check for a valid HTTP header value in the AuthorizeCore method. Change usages of the existing AuthorizeAttribute to use the new class.
Answer: C,D
Q31. HOTSPOT
You are developing an ASP.NET MVC application.
You need to store membership information in a Microsoft SQL Server database.
How should you configure the membership provider? (To answer, select the appropriate options in the answer area.)
Answer:
Q32. HOTSPOT
You need to create the required site columns.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer: