The 70-489 Exam Practice Questions and Answers are ideal for the aspring candiates to grab exceptional grades in Microsoft 70-489 Exam! The 70-489 Questions and Answers are developed using the latest updated course content and all the answers are verified to ensure phenoment preparation for the actual 70-489 Exam!
Vendor: Microsoft
Exam Code: 70-489
Exam Name: Developing Microsoft SharePoint Server 2013 Advanced Solutions
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
Explanation:
// Get user properties for the target user.
// To get the PersonProperties object for the current user, use the
// getMyProperties method.
personProperties = peopleManager.getMyProperties(targetUser);
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
Explanation:
The my resource represents the current user. When used inline in the endpoint URI, it sets the context of the request to the current user. For example,
http://contoso.com/_api/social.feed/my/news gets the newsfeed for the current user.
Reference: Social feed REST API reference for SharePoint 2013
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
Explanation:
asyncJob SP.Translation.SaveBehavior.alwaysOverwrite
Example:
To translate a single file asynchronously:
– JScript
– var asyncJob;
– var clientContext = new SP.ClientContext(“serverRelativeUrl”);
– var contextSite = clientContext.get_site();
– asyncJob = SP.Translation.TranslationJob.newObject(clientContext, “cultureID”);
– asyncJob.set_outputSaveBehavior(SP.Translation.SaveBehavior. alwaysOverwrite);
Reference: Machine Translation Services in SharePoint 2013
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:
Braindump2go Latest 70-489 Exam Dumps Released! 100% Real Questions – Dumps Qulification is the secret of Success! Prepare yourself to Face the 70-489 Exam with Real Exam Questions from Microsoft Official Exam Center, walk into the Testing Centre with confidence.