Recertification for MCSD: SharePoint Applications
Question No: 131 HOTSPOT – (Topic 12)
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 30 minutes.
How should you complete the Windows PowerShell cmdlet? (To answer, select the appropriate option from each drop-down list in the answer area.)
Question No: 132 – (Topic 12)
You configure eDiscovery for a SharePoint Online site collection.
You need to configure permissions for eDiscovery users so that users are able to access all discoverable content.
What should you do?
Add eDiscovery users to the Viewers group for the eDiscovery center.
Grant eDiscovery users access to all content in each web application.
Grant eDiscovery users Contribute permissions to the eDiscovery center.
Grant eDiscovery users site collection administrator permissions on every site collection that contains discoverable content.
Question No: 133 – (Topic 12)
You have a custom Web Part that retrieves data across multiple task lists. Pages that contain the Web Part load slowly.
You need to ensure that pages load as quickly as possible.
Which methods should you use? (Each correct answer presents a complete solution. Choose all that apply.)
Explanation: A: GetSiteData method (SPSite, String)
Gets the cache data from the specified site and from the specified webUrl.
C: Cache.Get Method
Retrieves the specified item from the Cache object.
Question No: 134 – (Topic 12)
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?
var a = new SP.UserProfiles.UserProfile();
var a = new SP.UserProfiles.SocialFollowingManager(context);
var a = SP.UserProfiles.Profileloader.GetProfileLoader(context);
var a = new SP.UserProfiles.PeopleManager(context);
Question No: 135 DRAG DROP – (Topic 12)
You deploy a solution to a SharePoint server.
You need to implement a method to programmatically access the health score of the SharePoint Server.
Which three code segments should you use in sequence? (To answer, move the appropriate segments from the list of segments to the answer area and arrange them in the correct order.)
* (A, not D) SharePoint continuously calculates the Health Score and for each and every request the Health Score is sent as an HTTP Response Header, called X- SharePointHealthScore.
Question No: 136 – (Topic 12)
You have a SharePoint publishing site. The marketing team tags their documents by using a managed metadata field named Location. The site has been fully crawled. Documents are tagged with city names only.
A SharePoint app on the site displays search results by using the following term set.
You create the following code segment to query the contents of the site: (Line numbers are included for reference only.)
You need to create a Keyword Query Language (KQL) expression to return results for all assets in the Central region.
Which code segment should you insert at line 02?
A. var queryTerms = quot;Locationquot;;
B. var queryTerms = quot;577c8e48-d5d9-4e5f-8e35-408c723feb11quot;;
C. var queryTerms = quot;b49f64b3-4722-4336-9a5c-56c326b344d4quot;;
D. var queryTerms = quot;owstaxidlocation: 1acfae8a-70b4-4ce0-bfbf-96c0e711f 8dfquot;
Question No: 137 HOTSPOT – (Topic 12)
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.)
Question No: 138 – (Topic 12)
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.)
Add a Recommended Items Web Part to the page.
Add and configure a Refinement Web Part to the page.
Add regions as property filters to the Search Results Web Part.
Configure the query for the Content Search Web Part.
Question No: 139 – (Topic 12)
You configure a SharePoint app to collect diagnostic information.
The app must meet the following requirements:
->Record messages about all unrecoverable events that limit the functionality of the app, but do not stop the app.
->Record all events that include unexpected exceptions.
->Minimize the effects of logging on app performance.
You need to configure the application to meet the requirements. Which trace log level should you use?
Question No: 140 HOTSPOT – (Topic 12)
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.)