Download New Updated (Spring 2015) Microsoft 70-488 Actual Tests Topic 3, Coho Winery

Ensurepass

 

 

Topic 3, Coho Winery

 

Background

Coho Winery implements a SharePoint farm. They have an intranet site for company employees and an extranet site for their customers. Coho Winery sells products to wholesale and retail customers. Customers must be able to order specific brands and pay directly.

 

Business Requirements

Site Collection

The company must organize its main enterprise site to have multiple site collections for different wine brands from various regions. Site documents must have a consistent look and feel.

 

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.

 

Technical Requirements

General

A Document content type named Finance must be created at the site level. It must contain two site columns named Customer Name and Transaction Date.

The Order Details and Payment Confirmation content types must be derived from the Finance content type.

Workflows associated with document content types must be initiated when documents are generated.

When Payment Confirmation documents are generated, a workflow must send a notification to the customer by email.

 

User Authorization

A custom role named Whole sale 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.

Anonymous users must be able to browse the site with limited access to resources.

The web application has been created with anonymous access enabled.

Users are prompted for credentials when they browse to the site.

 

Application Lifecycle Management

Versioning of the solution artifacts must adhere to industry best practices.

In a future upgrade process, a new site column named Division must be added to the Finance content type programmatically.

Only one version of an assembly must be available at runtime.

Code based hot fixes must be deployed directly to the Global Assembly Cache on all SharePoint servers.

During maintenance periods, content must be available but must not be modified.

 

Backup and Recovery

In the event of hardware failure, the SharePoint environment must be restored to the most recent date.

The backup process must not degrade system performance.

 

Performance Optimization and Memory Usage

SPSite objects must be removed from memory immediately after the objects go out of scope.

 

Automation

Windows PowerShell must be used to automate all operations wherever possible.

 

Application Structure

Relevant portions of the application files are shown below. (Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)

 

ContentType.es

clip_image002

UserAuthorization.es

clip_image003

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ContentType.Finance.Template.xml

clip_image005

 

ExportWholesaleSites.ps1

clip_image007

 

 

 

QUESTION 1

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

 

Correct Answer: AC

Explanation:

* Start-SPAssignment -Global initiates a new assignment store.

 

* Stop-SPAssignment .Disposes of objects in the provided assignment collection. The Stop-SPAssignmentcmdlet 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 2

DRAG DROP

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.

 

clip_image009

Correct Answer:

clip_image011

 

 

QUESTION 3

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.

 

Correct Answer: AC

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.

 

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.

 

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 4

DRAG DROP

You need to add code at line CT11 to create the content types.

 

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.

 

clip_image013

 

Correct Answer:

clip_image015

 

QUESTION 5

HOTSPOT

You need to create the required site columns.

 

How should you complete the relevant code?

 

To answer, select the appropriate code segment from each drop-down list in the answer area.

 

clip_image017

 

Correct Answer:

clip_image019

QUESTION 6

Customers report that upon creation of the Payment Confirmation document, they do not receive a confirmation message. You need to ensure that customers receive confirmation messages. What should you do?

 

A.

Ensure that the user has the correct permissions to start a workflow.

B.

Ensure that the Payment Confirmation content type is deployed.

C.

Ensure that the user is assigned to the Wholesale role.

D.

Ensure that a workflow is associated with the document content type.

 

Correct Answer: D

 

 

QUESTION 7

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.EmptyMaskSPBasePermissions.View Pages;

D.

customRole.BasePermissions=SPBasePermissions.ViewPages;

 

Correct Answer: B

 

 

QUESTION 8

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”>

 

Correct Answer: BE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 9

HOTSPOT

You need to add code at line UA11 to create the custom role.

 

You have the following code:

 

clip_image021

 

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.

 

clip_image022

 

Correct Answer:

clip_image024

QUESTION 10

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.

 

Correct Answer: AD

 

Free VCE & PDF File for Microsoft 70-488 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…