10.02.2016 Views

70-517 BrainDumps Discount

Test4Direct provides latest PDF questions of Microsoft 70-517 exam. You have an opportunity to pass the Microsoft 70-517 exam in one go. Test4Direct is most accurate source to prepare Microsoft 70-517 exam as your success will become site’s responsibility after purchasing 70-517 exam product. There are also lots of discounts and promotion offers that you can avail. Let’s try a free demo http://www.test4direct.com/70-517.html

Test4Direct provides latest PDF questions of Microsoft 70-517 exam. You have an opportunity to pass the Microsoft 70-517 exam in one go. Test4Direct is most accurate source to prepare Microsoft 70-517 exam as your success will become site’s responsibility after purchasing 70-517 exam product. There are also lots of discounts and promotion offers that you can avail. Let’s try a free demo http://www.test4direct.com/70-517.html

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Microsoft<br />

<strong>70</strong>-<strong>517</strong><br />

Recertification for MCSD: SharePoint Applications<br />

Demo Product<br />

To Buy Full Set of Exam Questions, Visit:<br />

http://www.test4direct.com/<strong>70</strong>-<strong>517</strong>.html


Question: 1<br />

DRAG DROP<br />

You connect to a front-end web server in a SharePoint farm for a company named Contoso, Ltd.<br />

You start the SharePoint Management Shell by using an account that has administrator permissions<br />

for the user-profile store. You use Windows PowerShell to create a User Profile property. You add the<br />

profile type and sub type to the User Profile property.<br />

You run the following Windows PowerShell cmdlets:<br />

How should you complete the relevant Windows PowerShell cmdlets? (To answer, drag the<br />

appropriate code segment to the correct location or locations in the answer area. Each code segment<br />

may be used once, more than once, or not at all. You may need to drag the split bar between panes<br />

or scroll to view content.)<br />

Answer:


Question: 2<br />

HOTSPOT<br />

You develop a SharePoint app by using the client-side object model (CSOM.)<br />

On each page of the app, you need to display the user profile picture for the user that is currently<br />

logged in.<br />

How should you complete the relevant code? (To answer, select the appropriate option from each<br />

drop-down list in the answer area.)


Answer:<br />

Question: 3<br />

You develop a SharePoint-hosted app. The app includes the following code segment: (Line numbers<br />

are included for reference only.)<br />

The app must display user profile data for the user that is logged in. The user profile data must<br />

include the PreferredName, Department, and WorkPhone properties.<br />

You need to ensure that the app displays the required user profile data.<br />

Which code segment should you insert at line 12?<br />

A. var a = new SP.UserProfiles.UserProfile();<br />

B. var a = new SP.UserProfiles.SocialFollowingManager(context);<br />

C. var a = SP.UserProfiles.Profileloader.GetProfileLoader(context);<br />

D. var a = new SP.UserProfiles.PeopleManager(context);


Answer: D<br />

Question: 4<br />

DRAG DROP<br />

You develop a SharePoint app that includes microblog posts and conversations for a company named<br />

Contoso, Ltd.<br />

You must use various programming object models to determine the number of unread mentions in<br />

microblog posts for the current user.<br />

You need to call methods for different programming object models.<br />

How should you create the method calls? (To answer, drag the appropriate code segments to the<br />

correct location or locations in the answer area. Each code segment may be used once, more than<br />

once, or not at all. You may need to drag the split bar between panes or scroll to view content.)<br />

Answer:<br />

Question: 5<br />

HOTSPOT<br />

You create term sets and multi-lingual labels for a site collection. The default locale, language, and<br />

culture for the term sets are set to English. You develop a console application to create labels for a


term named Memory. The console application uses the English locale. You develop the following<br />

labels for the term named Memory.<br />

You need to create German labels for the term named Memory.<br />

How should you complete the relevant code? (To answer, select the appropriate code segment from<br />

each drop-down list in the answer area.)<br />

Answer:


Question: 6<br />

HOTSPOT<br />

A company uses SharePoint to manage a large number of documents.<br />

The Document ID Service feature is enabled. You need to create a custom class that generates a<br />

unique ID for each document.<br />

How should you complete the class definition? (To answer, select the appropriate code segment from<br />

each drop-down list in the answer area.).<br />

Answer:<br />

Question: 7<br />

HOTSPOT<br />

You implement eDiscovery in SharePoint to access Exchange Online mailbox data.<br />

You need to ensure that users continue to have access to Exchange Online mailbox data after an In-


Place Hold is applied.<br />

On the Exchange admin center page, which option should you select? (To answer, select the<br />

appropriate option in the answer area.)<br />

Answer:<br />

Question: 8


You use Visual Studio to design a SharePoint solution for a company that provides computer support<br />

services to customers around the world.<br />

The solution must list the customer service representatives that resolve the highest number of<br />

support requests. The solution also must allow filtering of customer service representatives by<br />

region.<br />

You need to configure the solution to meet the requirements.<br />

Which steps should you take? (Each correct answer presents part of the solution. Choose all that<br />

apply.)<br />

A. Add a Recommended Items Web Part to the page.<br />

B. Add and configure a Refinement Web Part to the page.<br />

C. Add regions as property filters to the Search Results Web Part.<br />

D. Configure the query for the Content Search Web Part.<br />

Question: 9<br />

Answer: CD<br />

DRAG DROP<br />

You develop a SharePoint app that uses the client-side object model (CSOM) to retrieve items from<br />

the search index.<br />

You need to implement the client-side query code.<br />

Which four code segments should you use in sequence? (To answer, move the appropriate actions<br />

from the list of actions to the answer area and arrange them in the correct order.)<br />

Box 1:<br />

Answer:


Box 2:<br />

Box 3:<br />

Box 4:<br />

Explanation:<br />

Note:<br />

Reference:<br />

* Step 1:<br />

First we need to add the necessary references such as.<br />

using Microsoft.SharePoint.Client;<br />

using Microsoft.SharePoint.Client.Search;<br />

using Microsoft.SharePoint.Client.Search.Query;<br />

* Step 2:<br />

Start by creating a ClientContext object and pass in the URL to a site. Put this in a using block.<br />

using (ClientContext clientContext = new ClientContext("http://servername"))<br />

We then need to create a KeywordQuery class to describe the query. This class is similar to the<br />

server side KeywordQuery class but there are some differences. We pass the ClientContext into the<br />

constructor.<br />

KeywordQuery keywordQuery = new KeywordQuery(clientContext);<br />

* Step 3:<br />

Unlike the server object model, with the Client OM we have to use another class, SearchExecutor, to<br />

send the queries to the search engine. We pass a ClientContext to it as well:<br />

SearchExecutor searchExecutor = new SearchExecutor(clientContext)<br />

Step 4:<br />

However, the query doesn’t actually execute until you call ExecuteQuery() on the ClientContext<br />

object. If you have done a lot of Client OM work before, you might think you need to call Load() first<br />

but it is not required.<br />

clientContext.ExecuteQuery();<br />

Reference: How to: Query Search with the SharePoint 2013 Client Object Model<br />

Question: 10<br />

You develop a SharePoint app for a toy company that uses the Representational State Transfer (REST}<br />

API for search. The site collections in the app have been crawled recently and use the default search<br />

schema.<br />

The app includes the following code segment: (Line numbers are included for reference only.)<br />

You create the following result sources.


You need to ensure that the app only displays PDF documents.<br />

Which code segment should you insert at line 03?<br />

A. var resultSourceId = "Site PDF";<br />

B. var resuitSourceId = "4C50FE18-B254-47A1-ABAD-0B6C4577D914";<br />

C. var resultSourceId = "0F41A999-523A-41ED-AAAD-9D414A0FC3B4";<br />

D. var resultSourceId = "82951A0C-6385-4E29-8D7F-4AB92FE9F536";<br />

Answer: D<br />

Case Study: 1<br />

Olympic Marathon<br />

Background<br />

You are developing an ASP.NET MVC application in Visual Studio 2012 that will be used by<br />

Olympic marathon runners to log data about training runs.<br />

Business Requirements<br />

The application stores date, distance, and duration information about a user's training runs. The user<br />

can view, insert, edit, and delete records.<br />

The application must be optimized for accessibility.<br />

All times must be displayed in the user's local time.<br />

Technical Requirements<br />

Data Access:<br />

Database access is handled by a public class named RunnerLog.DataAccess.RunnerLogDb.


All data retrieval must be done by HTTP GET and all data updates must be done by HTTP POST.<br />

Layout:<br />

All pages in the application use a master layout file named \Views\Shared\_Layout.cshtml.<br />

Models:<br />

The application uses the \Models\LogModel.cs model.<br />

Views:<br />

All views in the application use the Razor view engine.<br />

Four views located in \Views\RunLog are named:<br />

<br />

<br />

<br />

<br />

_CalculatePace.cshtml<br />

EditLog.cshtml<br />

GetLog.cshtml<br />

InsertLog.cshtml<br />

The application also contains a \Views\Home\Index.cshtml view.<br />

Controllers:<br />

The application contains a \Controllers\RunLogController.cs controller.<br />

Images:<br />

A stopwatch.png image is located in the \Images folder.<br />

Videos:<br />

A map of a runner's path is available when a user views a run log. The map is implemented as an<br />

Adobe Flash application and video. The browser should display the video natively if possible, using<br />

H264, Ogg, or WebM formats, in that order. If the video cannot be displayed, then the Flash<br />

application should be used.<br />

Security:<br />

You have the following security requirements:<br />

<br />

<br />

<br />

<br />

<br />

<br />

The application is configured to use forms authentication.<br />

Users must be logged on to insert runner data.<br />

Users must be members of the Admin role to edit or delete runner data.<br />

There are no security requirements for viewing runner data.<br />

You need to protect the application against cross-site request forgery.<br />

Passwords are hashed by using the SHA1 algorithm.<br />

RunnerLog.Providers.RunLogRoleProvider.es contains a custom role provider.<br />

Relevant portions of the application files follow. (Line numbers are included for reference only.)<br />

Application Structure


Question: 1<br />

DRAG DROP<br />

You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog<br />

\GetLog.cshtml to display the runner's average mile pace.<br />

How should you implement the view? (To answer, drag the appropriate code segments to the correct<br />

location or locations. Each code segment may be used once, more than once, or not at all. You may<br />

need to drag the split bar between panes or scroll to view content.)<br />

Answer:<br />

Question: 2<br />

DRAG DROP


You need to implement security according to the business requirements.<br />

How should you modify RunLogController? (To answer, drag the appropriate code segment to the<br />

correct location or locations. Each code segment may be used once, more than once, or not at all.<br />

You may need to drag the split bar between panes or scroll to view content.)<br />

Answer:


Question: 3<br />

You need to make the "Distance" header of the table bold in the Views/RunLog/GetLog.cshtml view.<br />

Which code segment should you use?<br />

A. table>tr{ font-weight: bold; }<br />

B. table>th:last-child{ font-weight: bold; }<br />

C. table+first-child{ font-weight: bold; }<br />

D. table>tr>th:nth-child (2) { font-weight: bold; }<br />

Question: 4<br />

You need to extend the edit functionality of RunLogController.<br />

Which code segment should you use?<br />

Answer: D


A. Option A<br />

B. Option B<br />

C. Option C<br />

D. Option D<br />

Answer: C<br />

Question: 5<br />

HOTSPOT<br />

You need to implement the map of the runners' paths.<br />

How should you build the video viewer? (To answer, select the appropriate options in the answer<br />

area.)


Question: 6<br />

Answer:


HOTSPOT<br />

You need to ensure that only valid parameters are passed to the EditLog action.<br />

How should you build the route? (To answer, select the appropriate options in the answer area.)


Question: 7<br />

Answer:


DRAG DROP<br />

You need to ensure that the application uses RunLogRoleProvider custom role provider.<br />

How should you modify the web.config file? (To answer, drag the appropriate line of code to the<br />

correct location or locations. Each line of code may be used once, more than once, or not at all. You<br />

may need to drag the split bar between panes or scroll to view content.)<br />

Answer:<br />

Question: 8<br />

DRAG DROP<br />

You need to ensure that only valid parameters are passed to the EditLog action.<br />

How should you build the route? (To answer, drag the appropriate code segments to the correct<br />

location or locations. Each code segment may be used once, more than once, or not at all. You may<br />

need to drag the split bar between panes or scroll to view content.)


Answer:<br />

Question: 9<br />

If the canvas element is supported by the client browser, the application must display "London 2012"<br />

in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file.<br />

You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or<br />

as plain text, depending on what the client browser supports.<br />

Which code segment should you add?<br />

A. <br />

@(Request,Browser.JavaApplets ? new HtmlString("London 2012") : null)<br />

<br />

B.


Which code segment should you use?<br />

A. Option A<br />

B. Option B<br />

C. Option C<br />

D. Option D<br />

Answer: B


THANKS FOR TRYING THE DEMO OF OUR PRODUCT<br />

Visit Our Site to Purchase the Full Set of Actual <strong>70</strong>-<strong>517</strong> Exam Questions With Answers.<br />

http://www.test4direct.com/<strong>70</strong>-<strong>517</strong>.html<br />

We Also Provide Practice Exam Software That Simulates Real Exam Environment And Has<br />

Many Self-Assessment Features. Download Free Product Demo From:<br />

http://www.test4direct.com/<strong>70</strong>-<strong>517</strong>.html<br />

Money Back Guarantee<br />

Check Out Our Customer Testimonials

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!