Recertification for MCSD: SharePoint Applications
Question No: 81 – (Topic 8)
You need to generate document identifiers for each new document that is uploaded to the site.
What should you do?
Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.Documentld and then override all of the abstract methods.
Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.DocumentldProvider and then override all of the virtual members.
Create a derived class that inherits from the Microsoft.Office.DocumentManagement.DocumentldProvider abstract class and then implement all abstract members.
Create a class to implement the Microsoft.Office.DocumentManagement.IDocumentld interface and then override all of the virtual members.
Question No: 82 DRAG DROP – (Topic 8)
You need to add code to line MP57 to display the required properties for the user profile.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct 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.)
Question No: 83 – (Topic 8)
You need to ensure that users can upload pictures. Which code segment should you insert at line MP57?
Topic 9, Lucerne Publishing Background
You are hired by Lucerne Publishing to design and implement a new public-facing Internet site by using SharePoint. Lucerne Publishing also needs an intranet site to host sensitive documents and content.
Business Requirements Internet
->Content owners must be able to:
->Modify content in pages that are published for anonymous site visitors.
->Modify search engine optimization (SEO) properties to optimize visibility of the web
->Create content in multiple languages and use automatic translation.
->Each department must have its own site. Each department home page must display relevant information about the department and contact information for employees.
->Each user is encouraged to create their own blog, on which they will publish information about current projects and get feedback from other users in the company.
->Personalized content must be displayed for an employee when an employee accesses the intranet. The page must include a feed that displays updates from other users#39; blog posts.
Technical Requirements Service Applications
->The Internet and intranet web applications must use the Managed Metadata
Service (MMS). Both web applications use a separate MMS service application and do not share term sets.
->The intranet web application uses the User Profile Service Application (UPA).
->The intranet uses all available social features of the UPA.
Users follow, mention, and identify documents and people. Users often discuss news by using hash tags. You must develop an app part that allows the current user to show different top feeds from user profiles.
The hardware that hosts the Internet site must handle thousands of concurrent users.
The following table lists the URLs that the SharePoint sites will use.
Search Engine Optimization (SEO)
->You must implement search engine optimization for the public-facing Internet site.
SharePoint must produce a site map file.
->You must publish data from the intranet site to the Internet web site by using
cross-site publishing. You must define a catalog, add the data, and publish it to the Internet site.
->You must create a custom tool that site collection administrators use to manage
->You must define the API calls to remove or update existing catalog connections.
You must enable canonical URL filtering to improve ranking by Internet search engines. The Internet site that must use canonical filtering has the following URL: http://www.lucernepublishing.com/products/pages/products.aspx? productID =
You must define the filters that the site collection administrator uses.
You publish the Internet site for multiple device types, such as mobile phones and tablet devices. The solution uses multiple master pages. Device channels select the master page to display based upon the capabilities of the device that connects to the site.
The following table lists the device channels and master pages that the site uses.
You create a Windows Phone app. When users access the site by using a Windows phone, a message must appear on every page of the mobile site. The message must notify users that they can download the Windows Phone app to their phone. The HTML that contains the message must render only to the Windows phones.
->Each department must have its own site collection.
->Each employee must have Reader permissions to their department site collection.
->Employees access the intranet site by using a wide variety of devices.
->Some employees report that the home page loads slowly. You investigate the issue and find out that the size of some images is very large. You must enable image renditions on the intranet site collection.
->You must develop an app part that displays information from the users#39; personal sites and news feeds.
->You design an application framework. The framework is used by other developers on the team. The framework must include entry points that are used to log errors and exceptions. You need the entry points.
->You create a custom Visual Web Part in a solution package. You deploy the solution package as a farm solution by using Windows PowerShell. An error message that includes a correlation ID displays when you add the custom Visual
Web Part to a SharePoint site.
->You must create a tool to maintain social links. The tool must:
->You develop a Windows Store app that synchronizes data between the intranet sites and the app to allow users to work offline.
->You have not modified the Request Management configuration.
->You must implement caching in your custom code to improve the performance of the company#39;s intranet site.
->The SharePoint front-end web servers are load-balanced. Each request within a user session can be processed by different front-end web servers.
->Objects that are cached must always be available, regardless of which front-end web server processes the request.
->You must monitor the amount of memory that is available and the number of current requests for each server.
Question No: 84 – (Topic 9)
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.)
Public void UpdateCatalogConnection(CatalogConnectionSettings catalogInfo)
Public void OnPublishCatalog(string catalogPath)
Public void DeleteCatalogConnection(string catalogPath)
Public void SetCatalogConnection(string catalogPath, boot disconnect)
Answer: A,C Explanation:
/ 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.
Question No: 85 – (Topic 9)
You create a custom Visual Web Part. You deploy the solution package to the farm by using Windows PowerShell. When you try to add the custom Visual Web Part to a SharePoint site, an error message displays that includes a correlation ID.
You need to determine the cause of the error.
What should you do? (Each correct answer presents complete solution. Choose all that apply.)
Run the Get-SPLogEvent Windows PowerShell cmdlet.
Run the Get-SPDiagnosticConfig Windows PowerShell cmdlet.
Run the Get-SPHealthAnalysisRule Windows PowerShell cmdlet.
View the Service Calls tab on the Developer Dashboard.
View the Unified Logging Service (ULS) tab on the Developer Dashboard.
Answer: A,E Explanation:
Question No: 86 – (Topic 9)
You need to implement caching in your code. Which caching option should you use?
Windows Server AppFabric Cache
Question No: 87 – (Topic 9)
You need to configure filtering for the Product page.
Which filtering option should you use?
products; productID; productCategory; lucernepublishing.com
Question No: 88 – (Topic 9)
You need to implement logging.
Which items should you implement? (Each correct answer presents a complete solution. Choose all that apply.)
Answer: B,F Explanation:
F: The SPSecurity.RunWithElevatedPrivileges executes the specified method with Full Control rights even if the user does not otherwise have Full Control.
/ You design an application framework. The framework is used by other developers on the team. The framework must include entry points that are used to log errors and exceptions. You need the entry points.
Not D: PortalLog.LogString method
This member is reserved for internal use and is not intended to be used directly from your code.
Question No: 89 DRAG DROP – (Topic 9)
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.)
Explanation: Box 1:
A device channel panel is a container that can be used on a master page or page layout when you want specific content to render based on the alias of a given device channel, or set of channels. For example, you may have a web part or control that you want revealed only on the desktop view of the site, and not on any mobile device. The device channel panel can enable you to encapsulate this web part in code, and enable you to render it only through a designated device channel.
/ You create a Windows Phone app. When users access the site by using a Windows phone, a message must appear on every page of the mobile site. The message must notify users that they can download the Windows Phone app to their phone. The HTML that contains the message must render only to the Windows phones.
Question No: 90 HOTSPOT – (Topic 9)
You need to implement the social maintenance tool.
How should you complete the relevant code? (To answer, select the appropriate option from each dropdown list in the answer area.)
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|