Exam Code: 70-517
Exam Name: Recertification for MCSD: SharePoint Applications
A company uses SharePoint to manage a large number of documents.
The Document ID Service feature is enabled.
You need to create a custom class that generates a unique ID for each document.
How should you complete the class definition? (To answer, select the appropriate code segment from each drop-down list in the answer area.).
You implement eDiscovery in SharePoint to access Exchange Online mailbox data.
You need to ensure that users continue to have access to Exchange Online mailbox data after an In- Place Hold is applied.
On the Exchange admin center page, which option should you select? (To answer, select the appropriate option in the answer area.)
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")
E. NEAR (liable, advocate, adjudication)
F. write:range (2012-05-01, 2012-05-31)
B (not E):
* The ordered variant of NEAR, and requires an ordered match of the terms. The ONEAR operator can be used to restrict the result set to items that have N terms 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:
Reference: FAST Query Language (FQL) syntax reference
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.)
You develop a SharePoint app by using the client-side object model (CSOM.) On each page of the app, you need to display the user profile picture for the user that is currently logged in.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)
You develop a SharePoint-hosted app. The app includes the following code segment: (Line numbers are included for reference only.)
The app must display user profile data for the user that is logged in. The user profile data must include the PreferredName, Department, and WorkPhone properties.
You need to ensure that the app displays the required user profile data.
Which code segment should you insert at line 12?
A. var a = new SP.UserProfiles.UserProfile();
B. var a = new SP.UserProfiles.SocialFollowingManager(context);
C. var a = SP.UserProfiles.Profileloader.GetProfileLoader(context);
D. var a = new SP.UserProfiles.PeopleManager(context);
Drag and Drop Question
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.)
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.)
You use Visual Studio to design a SharePoint solution for a company that provides computer support services to customers around the world.
The solution must list the customer service representatives that resolve the highest number of support requests. The solution also must allow filtering of customer service representatives by region.
You need to configure the solution to meet the requirements. Which steps should you take? (Each correct answer presents part of the solution. Choose all that apply.)
A. Add a Recommended Items Web Part to the page.
B. Add and configure a Refinement Web Part to the page.
C. Add regions as property filters to the Search Results Web Part.
D. Configure the query for the Content Search Web Part.
Drag and Drop Question
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.)
* Step 1:
First we need to add the necessary references such as.
* Step 2:
Start by creating a ClientContext object and pass in the URL to a site. Put this in a using block. using (ClientContext clientContext = new ClientContext("http://servername")) We then need to create a KeywordQuery class to describe the query. This class is similar to the server side KeywordQuery class but there are some differences. We pass the ClientContext into the constructor.
KeywordQuery keywordQuery = new KeywordQuery(clientContext);
* Step 3:
Unlike the server object model, with the Client OM we have to use another class, SearchExecutor, to send the queries to the search engine. We pass a ClientContext to it as well:
SearchExecutor searchExecutor = new SearchExecutor(clientContext) Step 4:
However, the query doesn’t actually execute until you call ExecuteQuery() on the ClientContext object. If you have done a lot of Client OM work before, you might think you need to call Load() first but it is not required.
Reference: How to: Query Search with the SharePoint 2013 Client Object Model
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";
A SharePoint app displays the following search results:
You have the following requirements:
– Group results by model.
– Display only two rows per model.
– Show a unique color for each model.
You need to define a query to meet the requirements. How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
If you want to pass Microsoft 70-517 exam successfully, donot missing to read latest lead2pass Microsoft 70-517 Practice Tests.
If you can master all lead2pass questions you will able to pass 100% guaranteed.