Exam Code: 70-488
Exam Name: Developing Microsoft SharePoint Server 2013 Core Solutions
You need to set the appropriate permission levels.
A variable named customRole references Wholesale.
Which code segment should you add at line UA09?
A. customRole.BasePermissions = _permissions | SPBasePermissions.ViewFormPages;
B. customRole .BasePermissions = _permissions | SPBasePermissions.ViewPages;
C. customRole.BasePermissions = SPBasePermissions.EmptyMask SPBasePermissions.ViewPages;
D. customRole.BasePermissions = SPBasePermissions.ViewPages;
ViewPages – View pages in a Web site.
A custom role named Wholesale must be created.
Wholesale customers must be assigned to this role in order to view the promotions page.
A custom permission level must be created.
This permission level must add the ViewPages permission to the existing base permissions.
This permission level must be added to Wholesale user role.
You must upgrade the existing version of the application to a newer version.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose all that apply.)
A. Add the following code segment at line CX11:
B. Add the following code segment at CX13:
C. Use Microsoft Visual Studio to change the feature version to 126.96.36.199.
D. Use Microsoft Visual Studio to change the feature version to 1.5.
E. Add the following code segment at line CX11:
You need to add code at line UA11 to create the custom role.
You have the following code:
Which code segments should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
You need to automate the backup of a site collection.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Back up to a network folder.
B. Set the LockStatus of the site collection to Adding content prevented
C. Back up to a local folder and then move the backup to a network folder.
D. Use Central Administration to perform the backup.
E. Use Windows PowerShell to perform the backup.
A server in the SharePoint farm experiences high memory usage. Task Scheduler on the server runs a Windows PowerShell script to perform backups of Wholesale sites.
You need to resolve any memory leak issues in the Windows PowerShell script.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)
A. Insert the code segment at line EW04:
B. Insert the code segment at line EW17:
C. Insert the code segment at line EW17:
D. Insert the code segment at line EW17:
*Start-SPAssignment -Global initiates a new assignment store.
*Stop-SPAssignment disposes of objects in the provided assignment collection.
The Stop-SPAssignment cmdlet disposes of objects in the provided assignment collection.
Use the Global parameter to dispose of all objects in the global assignment collector and to stop the global store from collecting additional objects.
Provide a SemiGlobal assignment collector to dispose of all contained objects.
Performance Optimization and Memory Usage
SPSite objects must be removed from memory immediately after the objects go out of scope.
Drag and Drop Questions
You need to add code at line UA09 to create the custom role.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
After deploying a solution, a code-based hotfix becomes available.
You need to deploy the hotfix.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Use assembly binding redirection in the web application configuration file.
B. Increment the assembly file version of the assembly.
C. Increment the product version of the assembly.
D. Increment the assembly version of the assembly.
E. Use assembly binding redirection in the assembly policy file.
Assembly versions are everywhere in SharePoint – web.config files, web part definitions, workflow definitions, event receiver bindings – the list goes on.
In each case, the version number is absolutely required so that SharePoint can load the code to run at that time. If you update an assembly’s version, you have two choices to ensure your code can still be loaded:
Find and update every reference to the previous assembly version.
Use a binding redirect in the relevant .config file (e.g. web.config) to point to the new version of the assembly.
C: Assembly Version: This is the version number used by framework during build and at runtime to locate, link and load the assemblies. When you add reference to any assembly in your project, it is this version number which gets embedded. At runtime, CLR looks for assembly with this version number to load. But remember this version is used along with name, public key token and culture information only if the assemblies are strong-named signed. If assemblies are not strong-named signed, only file names are used for loading.
not B: Assembly File Version: This is the version number given to file as in file system. It is displayed by Windows Explorer. Its never used by .NET framework or runtime for referencing.
Solution artifacts must adhere to industry best practices.
Code based hot fixes must be deployed directly to the Global Assembly Cache on all SharePoint servers.
Only one version of an assembly must be available at runtime
Case Study 4 – Litware Inc. (QUESTION 68 – QUESTION 79)
You are a SharePoint developer working for Litware Inc., a large bicycle manufacturing company. Litware runs an intranet that is based on SharePoint Server 2010, side-by-side a collaboration space for various departments. The IT department for Litware is migrating a SharePoint 2010 environment to a new SharePoint 2013 farm. Some collaboration site collections are already migrated, including a Marketing site collection.
Litware is redefining its brand identity. It is essential that the new intranet supports a wide variety of mobile devices, platforms, and browsers. Some of the content must be migrated from the old intranet during the implementation. The redesigned intranet must be extensible. The solution must be designed with the changes in the underlying technology in mind.
A marketing company named Graphic Design Institute provides documents and guidelines for the new design for Litware’s intranet.
Litware has the following collaboration requirements:
– The collaboration space must include a start page containing information about site owners, contact data, and statistics on site usage. This information must be available for each collaboration space, directly after its creation.
– The project must be delivered in multiple phases.
– The solution must support changes and updates on the structure and functionality of the collaboration spaces.
Marketing collaboration space
Auditors must be able to create reports about the documents the Marketing team produces. Initial reports should show document distribution over projects and information about the most active documents, the top inactive documents, and the most active users. Additional reports will be added over time.
Publishing Design for the Intranet
Litware will use the following web application for the intranet:
The publishing site design is delivered as a set of HTML files (litwarepublishing.html), CSS (Litwarepublishing.css), and image files from the marketing company. A design package must be created for easier deployment over various platforms. During the creation and application of the design package to the publishing site, SharePoint 2013 out-of-the-box capabilities must be used as much as possible to ensure simple design changes and to simplify the upgrade procedures. The publishing site must support rendering on a number of devices, starting with Windows Phone. Apart from being deployed on all existing publishing sites, the design package must be automatically applied each time a publishing site is created. A search box must be available on all publishing sites.
Litware will use two additional web applications for the collaboration:
– Collaboration 1: https://collab1.litwareinc.com
– Collaboration 2: https://collab2.litwareinc.com
Most of the features contained within the Team Site template are sufficient; however, a few additions to the template must be made to support the business requirements. In order to achieve this and ensure maximum portability, a web template based on the Team Site definition must be created. A three-state workflow must be used to manage business processes. A customized default home page must be deployed by using a site feature.
– Three-state workflow: FDE5D850-671E-4143-950A-87B473922DC7
– Litware Web Artifacts: DBF80SAB-03D9-43DC-9154-52D6AC54689F
The project must be implemented in phases, so a solution must be developed to support upgrade procedures. As soon as the package containing the web template Litware.Intranet.Templates.wsp is deployed, the Litware Team Site template must be available for use in all site collections. In order to make the solution as extensible as possible, all core functionality should be moved to the separate package Litware.Intranet.Core.wsp. Deployment of the package containing the Litware web templates Litware.Intranet.Templates.wsp must be prevented if the core package is not deployed in order to prevent deployment errors and eventually damage on the site structure itself.
Litware.Intranet.Templates contains two features:
– The LitwareWebTemplateFeature feature contains the Litware Team Site web template. Templates with this title must be available in the group Litware in the template selection.
– The LitwareWebArtifacts hidden feature contains code required to run after the provisioning is completed.
The LitwareWebArtifacts feature can be activated only if the LitwareWebTemplateFeature feature is activated as well.
Marketing site collection
An existing marketing collaboration site located in a web application named Collaboration 1 is located at https://collabl.litwareinc.com/sites/marketing. Collaboration 1 contains a document library with approximately 9000 documents for approximately 200 projects. The largest project contains 120 files. Documents are assigned to appropriate projects by using the Projects field. The farm uses the default throttle settings. Users report that they cannot sort documents in the marketing collaboration site.
Auditors have access to the page that provides statistics on Marketing documents. This page contains a report on document distribution over projects and information about the most active documents, the top inactive documents, and the most active users. Processing the queries can result in working with huge result sets. You must ensure that the information on this page is always available and that the queries are not throttled. The relevant code segment is available in the code sections area (MarketingAudit.ascx.es).
Relevant portions of the app files are shown below. (Line numbers in the code segments are included for reference only and include a two-letter prefix that denotes the specific file to which they belong.)
Element.xml file from Litware.Intranet.
You create a document reporting Web Part for the Marketing team auditors.
You need to configure throttling for the Web Part.
Which code segment should you insert at line MA08?
A. spQuery.QueryThrottleMode = SPQueryThrottleOption.Strict;
B. spQuery.QueryThrottleMode = SPQueryThrottleOption.Override;
C. spQuery.QueryThrottleMode = SPQueryThrottleOption.Disable;
D. spQuery.QueryThrottleMode = SPQueryThrottleOption.Default;
Processing the queries can result in working with huge result sets.
You must ensure that the information on this page is always available and that the queries are not throttled.
You need to create a design package for the publishing sites.
What should you do?
A. Use SharePoint Designer to create master pages and a design package.
B. Use Visual Studio 2012 to create master pages and generate a design package.
C. Use display templates.
D. Use Design Manager.
Before you can use Design Manager, you need a design.
You can create your own, or use a ready-made website template.
A “design” is simply a group of files that implement the visual design of your site, most commonly:
At least one HTML file that will be converted into a SharePoint master page
One or more CSS files
Other supporting files
It is essential that the new intranet supports a wide variety of mobile devices, platforms, and browsers.
The publishing site design is delivered as a set of HTML files (litwarepublishing.html), CSS (Litwarepublishing.css), and image files from the marketing company.
During the creation and application of the design package to the publishing site, SharePoint 2013 out-of-the-box capabilities must be used as much as possible to ensure simple design changes and to simplify the upgrade procedures. The publishing site must support rendering on a number of devices, starting with Windows Phone.
Drag and Drop Questions
You need to create a collaboration template.
How should you complete the relevant code? (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.)
Braindump2go Offers the Latest Microsoft 70-488 Practice Tests Questions and Answers in PDF & VCE, We Promise 100% 70-488 Exam Pass Or Full Money Back (Have a try- If success, you will get a high pay job! Failed, nothing, money back!)! We provide Instant Download of our 70-488 Dumps after Payment so you can study earlier than others!