You create a SharePoint app that displays a list of documents for a company that sells insurance policies. The documents have been crawled by the Search service. You create managed properties named Underwriter and Bonded. You must locate the documents that meet the following criteria:
• Created by using Microsoft Word 2002
• Contains the exact phrase “life policy”
• Were underwritten by Woodgrove
You need to design a search query that locates the required documents.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Contoso, Ltd. is integrating an Enterprise Resource Planning (ERP) system with SharePoint by using Business Connectivity Services (BCS). The ERP system is a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS). The WCF service is named people.svc and is located at http://contoso.com:8080. The metadata for the service is found at http://contoso.com:808/mex. You need to create a data connection for the ERP 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.)
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. 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”;
Drag and Drop Question
You connect to a front-end web server in a SharePoint farm for a company named Contoso, Ltd. You start the SharePoint Management Shell by using an account that has administrator permissions for the user-profile store. You use Windows PowerShell to create a User Profile property. You add the profile type and sub type to the User Profile property. You run the following Windows PowerShell cmdlets:
How should you complete the relevant Windows PowerShell cmdlets? (To answer, drag the appropriate code segment 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.)