Want to know Pass4sure 70-517 Exam practice test features? Want to lear more about Microsoft Recertification for MCSD: SharePoint Applications certification experience? Study Download Microsoft 70-517 answers to Latest 70-517 questions at Pass4sure. Gat a success with an absolute guarantee to pass Microsoft 70-517 (Recertification for MCSD: SharePoint Applications) test on your first attempt.
Q131. 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:
Q132. DRAG DROP
You need to notify Windows phone users about the new Windows phone app.
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:
Q133. You need to add an action to RunLogController to validate the users' passwords. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q134. 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
Q135. A company uses SharePoint for internal collaboration. SharePoint is deployed on a server farm with a single front-end server, a single application server, and a dedicated database server.
You review existing Web Parts that read from and write to SharePoint lists. You find the following code in one of the utility classes and notice memory leaks in the method.
You need to ensure that there are no memory leaks in the method. What should you do?
A. Add a finally statement and include site.Dispose ().
B. Add site.Dispose() to the catch statement.
C. Add a finally statement and include siteCollection.Dispose ();
D. Add siteCollection.Dispose() to the catch statement.
Answer: C
Q136. HOTSPOT
You create a SharePoint app that displays a list of documents for a company that sells insurance policies. The documents have been crawled by the Search service.
You create managed properties named Underwriter and Bonded. You must locate the documents that meet the following criteria:
✑ Created by using Microsoft Word 2002
✑ Contains the exact phrase "life policy"
✑ Were underwritten by Woodgrove
You need to design a search query that locates the required documents.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
Q137. You must select an app model to deploy apps to an Office 365 small business tenant. The business logic of the apps is located in a remote web application.
What should you do?
A. Create a SharePoint-hosted app. Implement the business logic by using JavaScript.
B. Develop provider-hosted apps and integrate data sources with the business logic by using OData.
C. Deploy the business logic to the host web by using a Full Trust SharePoint solution.
D. Develop an OData service provider infrastructure and publish the provider to the
_layouts directory.
Answer: C
Q138. You have a custom Web Part that retrieves data across multiple task lists. Pages that contain the Web Part load slowly.
You need to ensure that pages load as quickly as possible.
Which methods should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. CrossListQueryCache.GetSiteData(SPContext.Current.Site, siteUrl)
B. CrossListQueryCache.GetSiteData(SPContext.Current.Site)
C. Cache.Get(siteUrl)
D. SPList.GetItems(spQuery)
Answer: A,C
Explanation: A: GetSiteData method (SPSite, String)
Gets the cache data from the specified site and from the specified webUrl. C: Cache.Get Method
Retrieves the specified item from the Cache object.
Q139. You are developing an ASP.NET MVC web application for viewing a photo album. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a
description. The HTML that creates the gallery interface resembles the following markup.
If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less than 500 pixels.
Which code segment should you use?
A. @media resolution(max-width: 500px) {
. . .
}
B. @media screen(min-width: Opx, max-width: 500px) {
. . .
}
C. @media screen and (width <= 500px) {
. . .
}
D. @media screen and (max-width: 500px) {
. . .
}
Answer: D
Explanation: http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml
Q140. You need to configure a new site collection in Central Administration. You will use the site collection to manage navigation terms.
What should you do?
A. Create a site collection by using the Publishing Portal template.
B. Create a site collection by using the Enterprise Search Center template.
C. Create a site collection by using the Records Center template.
D. Set the website address to http://adventureworks.com/sites/navigation
Answer: A