GreatExam is constantly updating 70-488 exam materials. We will provide our customers with the latest and the most accurate exam questions and answers that cover a comprehensive knowledge point, which will help you easily prepare for 70-488 exam and successfully pass your exam. You just need to spend 20-30 hours on studying the exam dumps.
QUESTION 61
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;
Answer: B
Explanation:
ViewPages – View pages in a Web site.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx
From scenario:
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.
QUESTION 62
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:
<VersionRangeBeginVersion=”1.0″ EndVersion=”2.e”>
B. Add the following code segment at CX13:
<VersionRangeBeginVersion-“1.0.0.0″EndVersion-“2.0.0.0”>
C. Use Microsoft Visual Studio to change the feature version to 1.5.0.0.
D. Use Microsoft Visual Studio to change the feature version to 1.5.
E. Add the following code segment at line CX11:
<VersionRange BeginVersion-“1.0.0.0″EndVersion-“2.0.0.0”>
Answer: BC
Explanation:
B: VersionRange Element specifies a range of previous versions of the Feature to which the up- grade actions should apply.
/ BeginVersion: Specifies the earliest version number to which the child upgrade elements will apply, in the format n.n.n.n, where each n can be up to four digits. / EndVersion: Specifies the earliest version number to which the upgrade will not apply. The for- mat is n.n.n.n, where each n can be up to four digits.
C: Feature versions in Microsoft SharePoint Foundation are used to trigger Feature upgrade. If you update your Feature version but do not specify any Feature upgrade logic in the Feature.xml file, when the Feature upgrade runs, it simply updates the version number of your Feature. How- ever, if you specify Feature upgrade logic, the upgrade code is executed and the version number is automatically updated as well.
Scenario: New Features
The first version (1.0.0.0) of the feature must support the addition of newer functionality when the feature is upgraded to version 1.5.0.0.
QUESTION 63
Hotspot Question
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.)
Answer:
QUESTION 64
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.
Answer: CE
Explanation:
C: For better performance, Microsoft recommends that you back up to the local computer and then move the backup files to a network folder.
E (not D):
Scenario: Automation: Windows PowerShell must be used to automate all operations wherever possible.
Scenario: Backup and Recovery
* In the event of hardware failure, the SharePoint environment must be restored to the most re- cent date.
* The backup process must not degrade system performance.
* Automation: Windows PowerShell must be used to automate all operations wherever possible.
QUESTION 65
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:
Start-SPAssignment -Global
B. Insert the code segment at line EW17:
$site.Close()
C. Insert the code segment at line EW17:
Stop-SPAssignment -SemiGlobal
D. Insert the code segment at line EW17:
Stop-SPAssignment -Global
Answer: AD
Explanation:
*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.
From scenario:
Performance Optimization and Memory Usage
SPSite objects must be removed from memory immediately after the objects go out of scope.
QUESTION 66
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.)
Answer:
QUESTION 67
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.
Answer: AD
Explanation:
A. 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.
D: 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.
Incorrect:
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.
From scenario:
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
QUESTION 68
You need to set the appropriate permission levels.
A variable named customRole references Wholesale.
Which code segment should you add at line UA11?
A. customRole.BasePermissions = SPBasePermissions.ViewPages;
B. customRole.BasePermissions = _permissions | SPBasePermissions.ViewFormPages;
C. customRole.BasePermissions = SPBasePermissions.EmptyMask | SPBasePermissions.ViewPages;
D. customRole.BasePermissions = _permissions | SPBasePermissions.ViewPages;
Answer: D
Explanation:
* ViewPages, View pages in a Web site.
* Scenario: A custom role named Wholesale must be created.
Wholesale customers must be assigned to this role in order to view the promotions page.
Incorrect:
Not A, not C: The previous line, UA10, is: _permissions = this.GetExistingPermissions();
We should add this permission and the ViewPages permission.
Not B: ViewFormPagesView forms, views, and application pages, and enumerate lists.
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx
Case Study 4 – Litware Inc. (QUESTION 69 – QUESTION 82)
Background
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.
Business Requirements
Intranet
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.
Collaboration
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.
Technical Requirements
Publishing Design for the Intranet
Litware will use the following web application for the intranet:
https://intranet.litwareinc.com.
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.
Collaboration
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.
Feature IDs:
– 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).
Application Structure
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.
Templates.wsp:
MarketingAudit.ascx.es
QUESTION 69
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.
Answer: D
Explanation:
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
JavaScript files
Images
Other supporting files
http://msdn.microsoft.com/en-us/library/jj822363.aspx
From scenario:
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.
QUESTION 70
Drag and Drop Question
You need to create a collaboration template.
Which code segment 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 segments 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:
Explanation:
Box 1: WebTemplate
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.
Box 2: Name
Attribute: Name
Required. The internal name of the web template.
Box 3: Title Optional. Optional. The public name of the web template.
Box 4: DisplayCategory
Optional. Specifies the category in which the web template appears in the Microsoft SharePoint Foundation UI when users are selecting a type of website to create; for example, Collaboration,
Meetings, or some other custom name. If it is not specified, the default is “Custom”.
Scenario: 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.
QUESTION 71
Drag and Drop Questions
You need to apply the Design Package to all of the required sites.
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.)
Answer:
QUESTION 72
You implement the dependency changes based on the requirements for the Litware web artifacts feature.
When you deploy the Litware.Intranet.Templates.wsp package, you receive an error message.
You need to ensure that the package deploys successfully.
What should you do?
A. Set the scope of the Litware web artifacts feature to SPSite.
B. Set the scope of the Litware web artifacts feature to SPFarm.
C. Set the Is Hidden option of the Litware web artifacts feature to False.
D. Set the Auto Activate in Central Admin parameter of the Litware web artifacts feature to True.
Answer: C
Explanation:
Hidden Features cannot have activation dependencies.
http://msdn.microsoft.com/en-us/library/office/aa543162%28v=office.14%29.aspx
From scenario:
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.
QUESTION 73
Hotspot Question
You need to ensure that users can sort files by using the Projects field.
From the List Settings page, which option should you select? (To answer, select the appropriate option in the answer area.)
Answer:
Explanation:
* To improve the performance of a large list or library, you can index a column. Then you can use the indexed column to filter new or existing views of the list or library.
An indexed column is ordered.
Incorrect:
Column ordering is how the columns are ordered horizontally not how the records are ordered.
QUESTION 74
Hotspot Question
You need to scope the feature containing the Litware Team Site template.
In the Feature Designer tool in Visual Studio 2012, which scope option should you select? (To answer, select the appropriate scope from the drop-down list in the answer area.)
Answer:
Explanation:
A Farm scoped Feature can be activated at the server farm level.
Scenario: The Litware Team Site template must be available for use in all site collections.
QUESTION 75
Hotspot Question
You need to configure the publishing site to support the browser requirements.
From Site Settings, which option should you select first? (To answer, select the appropriate option in the answer area.)
Answer:
QUESTION 76
Drag and Drop Questions
You need to ensure that the features required for the Litware Team Site web template are referenced correctly in the ONET.XML file.
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.)
Answer:
QUESTION 77
You need to add the search box to the publishing site.
What should you do?
A. Generate a code snippet and paste it into the HTML file.
B. Edit the default.master master page and then add the search box control.
C. Add the Search Web Part to the Welcome page.
D. Edit the page layout.
Answer: A
Explanation:
Scenario: A search box must be available on all publishing sites. The publishing site design is delivered as a set of HTML files (litwarepublishing.html), CSS (Litwarepublishing.css), and image files from the marketing company.
QUESTION 78
You need to apply updates to only the sites that were created based on the Litware Team Site web template.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Explanation:
Scenario:
In Element.xml file from Litware.Intranet.Templates.wsp we see:
<Property Name=”Litware.teamsite.wt_ID”
Type=”string” Value=”WTLitwareTeamSite” />
QUESTION 79
Drag and Drop Question
You need to ensure that all of the solutions are deployed in the correct order.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to complete the code? (To answer, drag the appropriate code segments 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:
QUESTION 80
Hotspot Question
You create a document reporting Web Part for Marketing auditors.
You need to configure throttling for the Web Part.
You insert the following code in line MA08:
spQuery.QuerythrottleMode = Target 1
Which code segment should you include in Target1 to complete the code? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
GreatExam is no doubt your best choice. Using the Microsoft 70-488 exam dumps can let you improve the efficiency of your studying so that it can help you save much more time.