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

certleader.com

Q1. DRAG DROP - (Topic 5) 

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:  

Q2. - (Topic 2) 

You need to implement connection management for catalog connections. 

Which method should you use? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Public void UpdateCatalogConnection(CatalogConnectionSettingscatalogInfo) 

B. Public void OnPublishCatalog(string catalogPath) 

C. Public void DeleteCatalogConnection(string catalogPath) 

D. Public void SetCatalogConnection(string catalogPath, boot disconnect) 

Answer: A,C 

Explanation: From scenario: 

You must create a custom tool that site collection administrators use to manage catalog 

connections. 

You must define the API calls to remove (C) or update (A) existing catalog connections. 

Q3. HOTSPOT - (Topic 5) 

You create term sets and multi-lingual labels for a site collection. The default locale, language, and culture for the term sets are set to English. You develop a console application to create labels for a term named Memory. The console application uses the English locale. You develop the following labels for the term named Memory. 

You need to create German labels for the term named Memory. 

How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.) 

Answer:  

Q4. - (Topic 5) 

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

You create the following result sources. 

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

Which code segment should you insert at line 03? 

A. varresultSourceId = "Site PDF"; 

B. varresuitSourceId = "4C50FE18-B254-47A1-ABAD-0B6C4577D914"; 

C. varresultSourceId = "0F41A999-523A-41ED-AAAD-9D414A0FC3B4"; 

D. varresultSourceId = "82951A0C-6385-4E29-8D7F-4AB92FE9F536"; 

Answer:

Q5. DRAG DROP - (Topic 2) 

You need to notify Windows phone users about the new Windows phone app. 

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:  

Q6. - (Topic 5) 

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) 

Answer: B,D,F 

Explanation: B (not E): 

The ordered variant ofNEAR, and requires an ordered match of the terms. 

TheONEARoperator can be used to restrict the result set to items that haveNterms 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 

Q7. - (Topic 5) 

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

Employee identification (ID) numbers that are less than 100 must be ignored. 

You need to configure the subscription. 

What should you do? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q8. DRAG DROP - (Topic 5) 

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

Answer:  

Q9. HOTSPOT - (Topic 5) 

LitWare, Inc. is integrating an Enterprise Project Management (EPM) system with SharePoint by using Business Connectivity Services (BCS). The EPM system uses a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS). The WCF service is named tasks.svc and is located at http://litware.com:8080. The metadata for the service is found at http://litware.com:808/mex. 

You need to create a data connection for the EPM system. 

In the WCF Connection dialog box, how should you configure the connection to the WCF service? (To answer, select the appropriate option from each drop-down list in the answer area.) 

Answer:  

Q10. DRAG DROP - (Topic 5) 

You develop a SharePoint app that includes microblog posts and conversations for a company named Contoso, Ltd. 

You must use various programming object models to determine the number of unread mentions in microblog posts for the current user. 

You need to call methods for different programming object models. 

How should you create the method calls? (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: