Want to Pass 70-517 Exam In Next HOURS? Download Now →
February 3, 2018

Regenerate 70-517 download Guide


Free Instant Download NEW 70-517 Exam Dumps (PDF & VCE):
Available on: https://www.certshared.com/exam/70-517/


Q65. You have an app named TaskManagerApp that is published at http://sharepoint.contoso.com/apps.

You need to remove the app and ensure that users will no longer be able to use the app. Which Windows PowerShell cmdlets should you run?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: A


Q66. HOTSPOT 

You need to add the city of Dallas to the Cities term set.

On the Term Store Management Tool page, which option should you select? (To answer, select the appropriate option in the answer area.)

Answer:


Q67. 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


Q68. HOTSPOT 

You need to ensure that users can sort files by using the Projects field.

From the List Settings page, which option should you select? (To answer, select the appropriate option in the answer area.)

Answer:


Q69. You need to modify the application to meet the productId requirement. What should you do?

A. Modify the RegisterGlobalFilters method of the Global.asax.es file as follows. Contract.Assume<ArgumentException>(productId != 0);

B. Modify the GetDealPrice method of ProductController as follows. Contract.Requires<ArgumentException>(productId > 0);

C. Modify the RegisterGlobalFilters method of the Global.asax.es file as follows. Contract.Requires<ArgumentException>(productId > 0);

D. Modify the GetDealPrice method of ProductController as follows. Contract.Assume<ArgumentException>(productId > 0);

Answer: B

Explanation: The Contract.Requires(Of TException) method specifies a precondition contract for the enclosing method or property, and throws an exception if the condition for the contract fails.

Syntax: 'Declaration

Public Shared Sub Requires(Of TException As Exception) ( _ condition As Boolean _

)

Type Parameters TException

The exception to throw if the condition is false.

Parameters condition

Type: System.Boolean

The conditional expression to test.

Reference: Contract.Requires(Of TException) Method (Boolean)


Q70. DRAG DROP 

You need to ensure that only valid parameters are passed to the EditLog action.

How should you build the route? (To answer, drag the appropriate code segments 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:


Q71. You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures.

The application contains three resource files in the Resources directory:

✑ My Dictionary.resx

✑ MyDictionary.es.resx

✑ MyDictionary.fr.resx

Each file contains a public resource named Title with localized translation.

The application is configured to set the culture based on the client browser settings.

The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.)

You need to set ViewBag.Title to the localized title contained in the resource files. Which code segment should you add to the action at line 03?

A. ViewBag.Title = HttpContext.GetGlobalResourceObuect("MyDictionary", "Title");

B. ViewBag.Title = HttpContext.GetGlobalResourceObject("MyDictionary", "Title", new System.Globalization.CultureInfo("en"));

C. ViewBag.Title = Resources.MyDictionary.Title;

D. ViewBag.Title = HttpContext.GetLocalResourceObject("MyDictionary", "Title");

Answer: C


Q72. DRAG DROP 

You need to add code to line MP57 to display the required properties for the user profile.

How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct 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:


Q73. HOTSPOT 

You use the SharePoint 2013 Management Shell to access a SharePoint farm. A user reports an error in one of the apps that you have installed. The error message contains the correlation token ID of b49f64b3-4722-4336-9a5c-56c326b344d4.

You need to save a report of the complete error trace for all errors that were reported in the previous 30 minutes.

How should you complete the Windows PowerShell cmdlet? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:


Q74. You need to ensure that the data synchronization does not affect the end user experience on the intranet.

What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Option A

B. Option B

C. Option C

D. Option D

Answer: A,C


Q75. DRAG DROP 

You need to create a collaboration template.

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:


Q76. You need to display the "miles" unit description after the distance in the GetLog view. Which line of code should you use to replace line GL21? (Each correct answer presents a

complete solution. Choose all that apply.)

A. @log.Distance miles

B. @Htrml.DisplayFor(model => log.Distance) miles

C. @log.Distance.ToStringO @Html.TextArea ("miles")

D. @Htmi.DisplayFor(model => log.Distance.ToString() + " miles")

Answer: A,B


Q77. DRAG DROP 

You troubleshoot the sandbox solutions that your team builds.

You need to redeploy a sandbox solution. You also need to identify which process must be debugged.

Where should you redeploy the solution, and which process should you debug? (To answer, drag the appropriate statements to the correct location or locations in the answer area. Each statement 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:


Q78. DRAG DROP 

You create a solution to access data contained in SharePoint by using a client-side object model (CSOM).

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:


Q79. You need to create the term set for the Document Library app named Project Documents.

What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Insert the following code segment into line DL18:

TermStore termStore = taxonomySession.GetDefaultKeywordsTermStore();

B. Insert the following code segment into line DL18:

TermStore termStore = taxonomySession.GetDefaultSiteCollectionTermStore();

C. Insert the following code segment into line DL24: myTermSet.CreateTerm("-png", 1033, Guid.NewGuid());

D. Insert the following code segment into line DL24: myTermSet.CreateTerm(".bmp", 1033, Guid.NewGuid());

Answer: A,C 

Explanation:

* From scenario:

/ You must develop a console app to print the current term sets and each root term for the app by using the following style: TermSet : name Term : name

/ (A, C, Not B, not D) The Document Library app named Project Documents must include a loca term set for document types. The term set must contain the default terms .docx, .png, and -jpg.


Q80. You are developing an ASP.NET MVC application that will be deployed to servers on multiple networks.

The application must be compatible with multiple browsers. You must track the page number that the user is viewing in search results.

You need to program the location for storing state information. Where should you persist state information?

A. Session

B. QueryString

C. Application

D. TempData

Answer: B