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

certleader.com

Q1. DRAG DROP - (Topic 3) 

You need to configure the content types and page layouts that are used to display information about the members of the board of directors. 

How should you configure the content types and page layouts? (To answer, drag the appropriate content types to the correct location in the answer area. Each content type 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 caching in your code. 

Which caching option should you use? 

A. Object Cache 

B. Distributed Cache 

C. Windows Server AppFabric Cache 

D. ASP.NET cache 

Answer:

Q3. - (Topic 2) 

You need to raise the visibility of the sites. 

What should you do? 

A. Enable the Reports and Data Search feature for the site collection. 

B. Create a custom timer job that generates the SiteMap.xml file in the root directory of the web application. 

C. Add a Script Editor Web Part to the landing page of the publishing site. In the web part, enter the location of the SiteMap.xml file. 

D. In Internet Information Services (IIS), enable the SiteMap ISAPI filter for the web application. 

E. Enable the Search Engine Sitemap Site Collection feature for the site collection. 

Answer:

Q4. - (Topic 5) 

You use Visual Studio to design a SharePoint solution for a company that sells wine to customers around the world. 

The solution must return the total number of cases sold per country. The solution also must allow employees to sort cases of wine that are returned. Employees must sort cases by country, date, and reason for the return. 

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 Refinement Web Part to the page. 

B. Configure the query for the Content Search Web Part. 

C. Add country as a property filter to the Search Results Web Part. 

D. Add a Calendar Web Part to the page. 

Answer: A,B,C 

Explanation: A: 

* From question: 

Employees must sort cases by country, date, and reason for the return. 

* On the REFINERS tab, you can choose to limit returned results by adding preselected 

refiners to your query. 

You can specify that the search results that are returned in the Search Results Web Part should be limited to one or more values from the refiners. The list shows all managed properties that are enabled as refiners in the search schema. 

B: The Search Results Web Part shows the search results of a query that was entered in a 

Search Box Web Part. 

C: From question: 

The solution must return the total number of cases sold per country. 

Note: 

* Use property filters to query the content of managed properties that are set to queryable in the search schema. 

Q5. HOTSPOT - (Topic 3) 

You need to add the city of Dallas to the Cities term set. 

On the Term Store Management Tool page, which option should you select? (To answer, select the appropriate option in the answer area.) 

Answer:  

Q6. - (Topic 5) 

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

A. CrossListQueryCache.GetSiteData(SPContext.Current.Site, siteUrl) 

B. CrossListQueryCache.GetSiteData(SPContext.Current.Site) 

C. Cache.Get(siteUrl) 

D. SPList.GetItems(spQuery) 

Answer: A,C 

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. 

Q7. HOTSPOT - (Topic 2) 

You need to implement the social features. 

How should you complete the relevant code? (To answer, select the appropriate option from the dropdown list in the answer area.) 

Answer:  

Q8. 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:  

Q9. HOTSPOT - (Topic 5) 

You implement eDiscovery in SharePoint to access Exchange Online mailbox data. 

You find malware and spam in items within the eDiscovery hold. You think that your 

company's anti-malware software is not working because of incorrect permissions. 

You need to ensure that software is configured correctly. 

On The Exchange admin center page, which option should you select? (To answer, select 

the appropriate option in the answer area.) 

Answer:  

Q10. - (Topic 3) 

You need to implement the Web Part to retrieve the terms for the required term set. Which code segment should you insert at line FE04? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: