Are you struggling for the 70-489 exam? Good news, Lead2Pass Microsoft technical experts have collected and certified 445 questions and answers which are updated to cover the knowledge points and enhance candidates’ abilities. With Lead2Pass 70-489 preparation tests you can pass the exam easily and go further on Microsoft career path.
QUESTION 91
Drag and Drop Question
You develop a SharePoint app that uses the client-side object model (CSOM) to run search queries.
You need to implement a method that searches for the term SharePoint.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code? (To answer, drag the appropriate code segment to the correct targets 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:
QUESTION 92
Drag and Drop Question
You have a SharePoint farm that contains a server named HQ-SPAppl.
An app on the server allows users to search for news articles.
You access a list of desired keywords on the server from the location c:\refiners\phasel\keywords.csv.
A custom dictionary is already in use.
You need to create a custom processing extension to promote any news articles with specific case-insensitive keywords.
You have the following script:
Which values should you include in Target 1 and Target 2 to complete the script? (To answer, drag the appropriate values to the correct targets in the answer area. Each value 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:
QUESTION 93
Hotspot Question
You develop a Client Web Part for a SharePoint app.
The Web Part retrieves weather data from an external web service by using Asynchronous JavaScript (AJAX).
Users report that the pages that use the Client Web Part load slowly.
You think that the script files that the page is using are causing the pages to load slowly.
You need ensure that the script files load as quickly as possible.
You have the following code:
Which code segments should you include in Target 1 and Target 2 to complete the code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
QUESTION 94
Hotspot Question
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 90 minutes.
You have the following PowerShell command:
Which values you include in Target 1, Target 2 and Target 3 to complete the command? (To answer, select the appropriate values from each drop-down list in the answer area.)
Answer:
QUESTION 95
Drag and Drop Question
Users report that an app is slow to load.
You navigate to the start page for the app in Internet Explorer and then open the Developer Tools window.
You need to debug the JavaScript code.
Which five 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:
QUESTION 96
Drag and Drop Question
You develop a SharePoint app that connects to external content by using Business Connectivity Services (BCS).
You need to ensure that the app returns no more than 500 items at one time.
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:
QUESTION 97
You develop a Web Part that includes the following code segment (Line numbers are included for reference only.)
You log on to a SharePoint site with the user name Contoso\THartono.
You need to display account details for the currently logged in user.
Which code segment should you insert at line 13?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
QUESTION 98
You create a site collection for Contoso, Ltd. by using the Community Site template.
My Sites are configured. Users access the community site and view newsfeeds by clicking the Newsfeed link on the community site.
You create a custom Web Part that displays the latest newsfeed posts for the user that is logged in.
The Web Part must use Representational State Transfer (REST) to retrieve items from the Newsfeed.
You need to define the correct uniform resource locator (URL) to access items.
Which URL should you use?
A. http://my.contoso.com/_api/search
B. http://my.contoso.com/_api/SP.UserProfiles.PeopleManager
C. http://community.contoso.com/_api/web/lists/microfeed
D. http://my.contoso.com/_api/social.feed/my/Feed
Answer: D
QUESTION 99
You create a publishing site collection and configure it for anonymous use.
The Machine Translation Service (MTS) application is configured and available.
New pages in the site collection must be translated immediately to other languages by using the SharePoint Variations feature and the MTS application.
You need to configure the MTS application to perform translations synchronously.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
QUESTION 100
Drag and Drop Question
You have a site collection, and the Publishing Infrastructure feature is activated.
You need to use SharePoint Designer to create a page layout named Fancy Layout that supports HTML markup and styling.
Which four 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:
Thanks for your reading,if you want to get more 70-489 exam preparation material,you can download the free demos in PDF files on Lead2pass.Wish you pass the exam successfully.