Question No: 41 – (Topic 4)

You need to set the appropriate permissions for the franchise employees#39; customer list and customer subsite access.

What should you do?

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.

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.

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.

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

Question No: 42 – (Topic 4)

A franchisee deletes several sites from the franchise#39;s site collection. The franchisee site collection administrator must recover the sites.

You need to instruct the franchisee site collection administrator on how to access the page to recover the sites.

What should the site collection administrator do to get to the appropriate page?

Select General Settings for the Web Application in Central Administration and change the second stage Recycle Bin settings to 100 percent.

Select General Settings for the Web Application in Central Administration and change the first stage Recycle Bin settings to 0 days.

Select the Recycle Bin on the Site Settings page. Choose the appropriate sites and select Restore Selection.

Note: The sites have been deleted. They need to be restored. A and B are wrong because modifying the Recycle Bin settings after the sites are deleted will have no effect on the deleted sites.

Question No: 43 DRAG DROP – (Topic 4)

Some franchisees want to launch the FranchiseMonitor app from a link named Launch Franchise Monitor that is displayed next to the name of the user who is currently logged in. Other franchisees do not want to have the link present. The link must be contained within the same out-of-the-box control, as shown in the screenshot below:

You need to configure support for the Launch Franchise Monitor link.

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:

Explanation:

Box 1:

Box 2:

Box 3:

Box 4:

Note:

Empty elements are most often used to define SharePoint project items that lack a project or project item template in Visual Studio. When you add an empty element to your project, a node named EmptyElement[x] (where [x] is a unique number) is created.

EmptyElement[x] contains a single file that is named Elements.xml. Use XML statements to define the desired elements in Elements.xml.

Question No: 44 – (Topic 4)

You need to ensure that the CourierMobile app determines whether the franchisee owns the account. What should you do?

Use SPSecurity.RunWithElevatedPrivileges to connect to SharePoint and read from the Accounts list in the site collection.

Use the SharePoint user credentials of the bicycle messenger to connect to SharePoint and read from the Accounts list in the site collection.

Answer: C

Question No: 45 HOTSPOT – (Topic 4)

You need to design the FranchiseMonitor app to meet the requirements.

What should you do? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:

Explanation:

C:\Users\Kamran\Desktop\Untitled.jpg

Question No: 46 HOTSPOT – (Topic 4)

You need to select the app experience for the CourierMobile app.

In the App for Office 2013 dialog window, which configuration option should you select? (To answer, select the appropriate configuration option in the answer area.)

Answer:

Explanation:

C:\Users\Kamran\Desktop\Untitled.jpg

Question No: 47 – (Topic 4)

You need to implement the custom claims provider for the SharePoint farm.

Which code segments should you implement? (Each correct answer presents part of the solution. Choose all that apply.)

Option A

Option B

Option C

Option D

Option E

Option F

Answer: B,D,F Explanation:

From scenario:

MyClaimsProvider.es

C:\Documents and Settings\usernwz1\Desktop\1.JPG

Topic 5, SharePoint

A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely. The users will be able to set up task lists, mark tasks as completed, and manage their task lists.

Business Requirements

The client specifies the following business requirements:

->Users can create task lists.

->Users can retrieve task lists.

->Project leads can remove task lists.

->Users can modify task lists.

->Only users with a paid license can use the app.

->Tasks can be tagged with the programming language being used. Task list items may be tagged only with the following terms: C , C#, and JavaScript.

->Navigational links across the top should be driven by the term store and use URLs that will improve search engine ranking.

->Set a system message that all users can access without the need to query a data source.

->Remote users will authenticate to the app by using a username and password.

->When completed, the app will be published to the Microsoft Store as a paid app.

Existing Site Configuration

The table below shows the current site configuration for the client#39;s SharePoint site.

Task List Design

The app should create a SharePoint list named Tasks with the following attributes:

User Groups

SharePoint groups will be used to manage access to features of the app.

Task Display

The app should retrieve the Tasks list and display the contents on a webpage 20 tasks at a time.

Technical Requirements

You have the following requirements:

->Query the Microsoft apps licensing service to validate the license.

->Package and configure the app.

->Configure navigation to use taxonomy-based navigation automatically generated by SharePoint.

->Utilize CSOM to retrieve data from the SharePoint site.

->Implement the system message by using a property bag that uses the key named SystemMessage.

->Implement and configure the credential store.

->The app will be internally tested for at least one month to track and fix any run-time errors.

Pending Issues

When you deploy the app from Visual Studio 2012, you receive the error: quot;Error occurred in deployment step #39;Install app for SharePoint#39;: Sideloading of apps is not enabled on this site.quot;

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-character prefix that denotes the specific file to which they belong.)

LicenseValidation.es

SystemMessage.es

ImpIementTaskList.es

RetrieveTaskList.es

CanDeleteTask.es

TermSet Navigation.es

Question No: 48 – (Topic 5)

You need to implement term set navigation.

Which code segment should you insert at line TN24?

Option A

Option B

Option C

Option D

Answer: D

Question No: 49 – (Topic 5)

You need to complete the code at line LV19 to implement the validation of the app license. Which code segment should you use?

Option A

Option B

Option C

Option D

Answer: C

Question No: 50 – (Topic 5)

You receive an error when you deploy the app. You need to resolve the error.

What should you do?

Create a deployment package and upload the app to the app catalog in SharePoint.