[Free] Get all latest Microsoft 70-489 Actual Tests 51-60

Ensurepass

QUESTION 51

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.

 

clip_image002

 

Correct Answer:

clip_image004

QUESTION 52

You develop a SharePoint app for a toy company that uses the Representational State Transfer (REST} API for search. The site collections in the app have been crawled recently and use the default search schema.

 

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

 

clip_image006

 

You create the following result sources.

 

clip_image008

 

You need to ensure that the app only displays PDF documents.

 

Which code segment should you insert at line 03?

 

A.

var resultSourceId = “Site PDF”;

B.

var resuitSourceId = “4C50FE18-B254-47A1-ABAD-0B6C4577D914”;

C.

var resultSourceId = “0F41A999-523A-41ED-AAAD-9D414A0FC3B4”;

D.

var resultSourceId = “82951A0C-6385-4E29-8D7F-4AB92FE9F536”;

 

Correct Answer: D

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 53

HOTSPOT

A SharePoint app displays the following search results:

 

clip_image009

 

You have the following requirements:

 

clip_image011Group results by model.

clip_image011[1]Display only two rows per model.

clip_image011[2]Show a unique color for each model.

 

You need to define a query to meet the requirements.

 

How should you complete the relevant code?

 

To answer, select the appropriate code segment from each drop-down list in the answer area.

 

clip_image013

 

Correct Answer:

clip_image015

 

 

 

 

 

 

QUESTION 54

A legal company uses SharePoint for document and records management. You search all documents by using extractors and managed properties. FAST Query Language (FQL) is enabled for the result sources, and the content of the document is indexed as full text. All documents are named by using the following pattern: “AAA-Axxxx-AA”. You must find documents that were created in May 2012 and contain the ordered keywords “liable”, “advocate”, and “adjudication”. Results that are returned must include only document names that begin with “HCT-Q” and end only with “AB”. You need to create the FQL query that returns the required results. Which FQL statements should you use? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

Write> =05/01/2012 and write<=05/31/2012

B.

string(‘liable advocate adjudication”, mode=”onear”)

C.

title:HCT-Q*

D.

title:HCT-Q????-AB

E.

NEAR (liable, advocate, adjudication)

F.

write:range (2012-05-01, 2012-05-31)

 

Correct Answer: BDF

Explanation:

B (not E):

The ordered variant of NEAR, and requires an ordered match of the terms. The ONEAR operator can be used to restrict the result set to items that have N terms within a certain distance of Returns only items that don’t match the operand. The operand may be any valid FQL expression.one another.

 

D (not C):

All documents are named by using the following pattern: “AAA-Axxxx-AA”.

Results that are returned must include only document names that begin with “HCT-Q” and end only with “AB”.

 

F (not A):

Range. Enables range matching expressions. The RANGE operator is used for numeric and date/time managed properties.

FQL provides the datetime data type for date and time. The following ISO 8601-compatible datetime formats are supported in queries:

 

YYYY-MM-DD

YYYY-MM-DDThh:mm:ss

YYYY-MM-DDThh:mm:ssZ

YYYY-MM-DDThh:mm:ssfrZ

 

Reference:

FAST Query Language (FQL) syntax reference

 

 

 

 

 

 

 

 

 

 

 

QUESTION 55

You have a SharePoint farm. You create a web service that connects to an extension point in the Search service. The web service processes string content and returns the string in all capitalized letters.

 

The web service includes the properties in the following table.

 

clip_image016

 

You start the SharePoint Management Shell. You create the following Windows PowerShell cmdlet: (Line numbers are included for reference only.)

 

clip_image017

 

You need to complete the Windows PowerShell cmdlet to register the Content Enrichment service.

 

Which code segment should you insert at line 04?

 

clip_image018

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 56

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.

 

clip_image020

 

Correct Answer:

clip_image022

 

QUESTION 57

You develop a SharePoint app that reads data from an external source by using Business Connectivity Services (BCS). The following markup defines the subscription: (Line numbers are included for reference only.)

 

clip_image024

 

Employee identification (ID) numbers that are less than 100 must be ignored. You need to configure the subscription.

 

What should you do?

 

clip_image026

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 58

DRAG DROP

You deploy a solution to a SharePoint server.

 

You need to implement a method to programmatically access the health score of the SharePoint Server.

 

Which three code segments should you use in sequence?

 

To answer, move the appropriate segments from the list of segments to the answer area and arrange them in the correct order.

 

clip_image028

 

Correct Answer:

clip_image030

 

QUESTION 59

DRAG DROP

You develop a SharePoint site by using the Team Site template. Users share large images by using the team site.

 

You need to configure the SharePoint site so that images render at a maximum size of 400px wide and 200px high.

 

Which three actions should you perform in sequence?

 

To answer, move the appropriate actions from the list of actions to the answer.

 

clip_image032

 

Correct Answer:

clip_image034

 

 

 

 

 

QUESTION 60

You configure a SharePoint app to collect diagnostic information.

 

The app must meet the following requirements:

 

clip_image011[3]Record messages about all unrecoverable events that limit the functionality of the app, but do not stop the app.

clip_image011[4]Record all events that include unexpected exceptions.

clip_image011[5]Minimize the effects of logging on app performance.

 

You need to configure the application to meet the requirements.

 

Which trace log level should you use?

 

A.

High

B.

Medium

C.

Unexpected

D.

Monitorable

E.

Verbose

 

Correct Answer: D

 

Instant Access to Download Testing Software & PDF File for Microsoft 70-489 Real Exam

Instant Access to Try Microsoft 70-489 Free Demo

This entry was posted in 70-489 Actual Tests and tagged , , , , , . Bookmark the permalink.