70-489 Exam - Developing Microsoft SharePoint Server 2013 Advanced Solutions

certleader.com

Q1. - (Topic 5) 

You develop a SharePoint app that reads social data from your company's SharePoint site. 

You need to access the SocialFeedManager object. 

Which object or URL should you use? 

A. http://<siteUri>/_api/social.feed 

B. SocialFeedManager(ClientRuntimeContext, ObjectPath); 

C. http://<siteUri>/social.feed 

D. SPSocialFeedManager(UserProfile); 

Answer:

Q2. - (Topic 4) 

You need to implement the remote event receiver for the Admin Custom List app. 

What should you do? 

A. Insert the following code segment at line RR05: ListRemoteEventReceiver (properties); 

B. Insert the following code segment at line RR05: ProcessOneWayEvent(properties); 

C. Insert the following code segment at line RR11: ProcessEvent(properties); 

D. Insert the following code segment at line RR11: ListRemoteEventReceiver(properties); 

Answer:

Q3. - (Topic 3) 

You need to create a link to the Dallas office page. 

Which URL should you use? 

A. http://www.contoso.com/Offices/Dallas.aspx 

B. http://www.contoso.com/Offices/Pages/Office.aspx 

C. http://www.contoso.com/Offices/Pages/Office.aspx?Office=Dallas 

D. http://www.contoso.com/Offices/Dallas 

E. http://www.contoso.com/Offices/Pages/Office.aspx?TermID=b6e11481-3445-413c-9da0-b15ae5d5cbd4 

Answer:

Q4. - (Topic 5) 

You create a SharePoint site collection for a law firm. You create the following objects in the site collection. 

A user searches for a legal case. The search results must contain only current cases. 

You need to create a custom result type that displays only current cases. 

Which object should you use? 

A. Cases 

B. MPCaseID 

C. case 

D. ows_CaseID 

E. CaseID 

Answer:

Q5. - (Topic 2) 

You need to configure filtering for the Product page. 

Which filtering option should you use? 

A. products/pages/products.aspx?productID=*&.productCategory=* 

B. products.aspx;productID;productCategory; lucernepublishing.com 

C. products; productID; productCategory; lucernepublishing.com 

D. products/pages/products.aspx?* 

E. productID;productCategory 

Answer:

Q6. DRAG DROP - (Topic 5) 

You develop a Microsoft Office app to access external data by using Business Connectivity Services (BCS). 

The app must access data from a Windows Communication Foundation (WCF) connector by using an external content type. 

Which four actions should you perform in a sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.) 

Answer:  

Q7. DRAG DROP - (Topic 5) 

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:  

Q8. - (Topic 5) 

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:

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 

Q9. - (Topic 4) 

You need read the import file and populate the term sets and terms. Which code segment should you insert at line IT07? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q10. - (Topic 4) 

You need to configure permissions for the publishing portal in the Term Store Manager. 

What should you do? 

A. Add the URL http://adventureworks.com/sites/portal to the site collection access list. 

B. Add the URL http://adventureworks.com/sites/portal to the Contributors list. 

C. Add the URL http://adventureworks.com/navigation to the site collection access list. 

D. Add the URL http://adventureworks.com/pages/navigation.aspx to the site collection access list. 

Answer: