70-517 Exam - Recertification for MCSD: SharePoint Applications

certleader.com

Q1. Adventure Works uses a SharePoint publishing site to host their public-facing website at http://www.adventureworks.com. The website gives external users the ability to register and sign in to the site to buy Adventure Works products.

You notice that publicly registered users see the SharePoint ribbon.

You need to ensure that the SharePoint ribbon is available only to content authors and administrators.

What should you do?

A. Open the current site master page in SharePoint Designer, place the SharePoint:SPSecurityTrimmedCcntrol control around the div tag with the s4-ribbonrow ID. Set the PermissionsString to ManageSubWeb.

B. Open the current site master page in SharePoint Designer, find a div tag with the s4­ ribbonrow ID, and then remove all of the contents of the div.

C. Open the current site master page in SharePoint Designer and then place the SharePoint:SPSecurityTrimmedControl control around the div tag with the 34-ribbonrow ID. Set the PermissionsString to AddAndCustomizePages.

D. In the SharePoint project, add an Empty Element and then use the <HideCustomAction> tag to hide the ribbon.

Answer: B

Q2. DRAG DROP 

You connect to a front-end web server in a SharePoint farm for a company named Contoso, Ltd.

You start the SharePoint Management Shell by using an account that has administrator permissions for the user-profile store. You use Windows PowerShell to create a User Profile property. You add the profile type and sub type to the User Profile property.

You run the following Windows PowerShell cmdlets:

How should you complete the relevant Windows PowerShell cmdlets? (To answer, drag the appropriate code segment 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:

Q3. You configure eDiscovery for a SharePoint Online site collection.

You need to configure permissions for eDiscovery users so that users are able to access all discoverable content.

What should you do?

A. Add eDiscovery users to the Viewers group for the eDiscovery center.

B. Grant eDiscovery users access to all content in each web application.

C. Grant eDiscovery users Contribute permissions to the eDiscovery center.

D. Grant eDiscovery users site collection administrator permissions on every site collection that contains discoverable content.

Answer: D

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

Answer:

Q5. HOTSPOT 

The designer for the website gave you the following  as the design for the page.

The normal color for the tab is *2da4c2, and the color when the mouse is over the tab is

#ffd800.

The HTML that implements the navigation tab is as follows.

You need to implement the design.

What should you do? (To answer, select the appropriate options in the answer area.)

Answer:

Q6. You need to set the appropriate permissions for the franchise employees' customer list and customer subsite access.

What should you do?

A. Add franchise employees to the Members group in the CorporateSiteCollection site collection. Break inheritance at the franchisee subsite level. Create a custom role definition at the franchisee subsite level. Add franchise employees to the custom role.

B. Create a custom role definition in the CorporateSiteCollection site collection with Limited Access to the Customers list. Add franchise employees to the custom role at the CorporateSiteCollection site collection. Break inheritance at the subsite level. Add franchise owners to the Owners group at the subsite level.

C. Create a custom role definition in the CorporateSiteCollection site collection with Limited Access to the Customer list. Add franchise employees to the custom role. Allow full inheritance of the role definition and permissions at the site level.

D. Add franchise employees to the Visitors group in the CorporateSiteCollection site collection. Break inheritance at the franchisee subsite level. Create a custom role definition at the subsite level with Full Control permissions. Add franchise employees to the custom role.

Answer: B

Q7. You need to ensure that all the MVC controllers are secure.

Which code segment should you use as the body for the CreateController method in AdminVerifierFactory.es?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: C

Q8. DRAG DROP 

You need to create workflows for your business processes by using the least amount of development effort.

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

Answer:

Q9. You need to ensure that all customers can delete videos regardless of their browser capability.

Which code segment should you use as the body of the SendAsync method in the DeleteHandler class?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: B

Q10. 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: A,C

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.