Achieve New Updated (September) Microsoft 70-488 Examination Questions Topic 2, SharePoint

Ensurepass

 

Topic 2, 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:

 

clip_image002Users can create task lists.

clip_image002[1]Users can retrieve task lists.

clip_image002[2]Project leads can remove task lists.

clip_image002[3]Users can modify task lists.

clip_image002[4]Only users with a paid license can use the app.

clip_image002[5]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.

clip_image002[6]Navigational links across the top should be driven by the term store and use URLs that will improve search engine ranking.

clip_image002[7]Set a system message that all users can access without the need to query a data source.

clip_image002[8]Remote users will authenticate to the app by using a username and password.

clip_image002[9]During development, the app will be tested by deploying to a development SharePoint site at http://sharepoint.contoso.com/tasks.

clip_image002[10]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’s SharePoint site.

 

clip_image004

 

Task List Design

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

 

clip_image005

 

User Groups

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

 

clip_image006

 

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:

 

clip_image002[11]Query the Microsoft apps licensing service to validate the license.

clip_image002[12]Package and configure the app.

clip_image002[13]Configure navigation to use taxonomy-based navigation automatically generated by SharePoint.

clip_image002[14]Utilize CSOM to retrieve data from the SharePoint site.

clip_image002[15]Implement the system message by using a property bag that uses the key named SystemMessage.

clip_image002[16]Implement and configure the credential store.

clip_image002[17]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: “Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”

 

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

clip_image008

 

SystemMessage.es

clip_image010

 

 

 

 

 

 

 

ImpIementTaskList.es

clip_image012

 

RetrieveTaskList.es

clip_image014

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CanDeleteTask.es

clip_image016

 

TermSet Navigation.es

clip_image018

 

 

QUESTION 1

You need to configure the credential store for the app. Which properties should you configure? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

Pin

B.

Windows Password

C.

Windows User Name

D.

Password

E.

User Name

 

Correct Answer: DE

Explanation:

From scenario:

* A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely

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

 

 

QUESTION 2

You need to deploy the package. Which file should you select?

 

A.

the file ending in .publish

B.

the file ending in .wsp

C.

the file ending in .dll

D.

the file ending in .app

 

Correct Answer: D

 

 

QUESTION 3

DRAG DROP

You ne

ed add to code at line IL22 to implement the task list design.

 

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_image020

 

Correct Answer:

clip_image022

 

 

QUESTION 4

You need to implement term set navigation. Which code segment should you insert at line TN16?

 

clip_image024

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

QUESTION 5

You receive an error when you deploy the app. You need to resolve the error. What should you do?

 

A.

Deploy the app to http://contoso-public.sharepoint.com.

B.

Enable side-loading of apps in the Visual Studio project properties.

C.

Deploy the app to https://contoso-my.sharepoint.com.

D.

Deploy the app to https://contoso.sharepoint.com/tasks.

 

Correct Answer: A

 

 

QUESTION 6

You need to validate that specific users can delete tasks. Which code segment should you insert at line CD04?

 

clip_image025

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 7

You need to implement term set navigation. Which code segment should you insert at line TN24?

 

clip_image027

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 8

You receive an error when you deploy the app. You need to resolve the error. What should you do?

 

A.

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

B.

Enable side-loading of apps in the app manifest.

C.

Deploy the app to https://contoso-my.sharepoint.com.

D.

Enable side-loading of apps in the Visual Studio project properties.

 

Correct Answer: A

 

 

QUESTION 9

You need to configure navigation for the site. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

Create simple links or headers for new pages.

B.

Create friendly URLs for new pages automatically.

C.

Add unique identifiers to new pages.

D.

Create term-driven pages with friendly URLs.

E.

Add new pages to navigation automatically.

 

Correct Answer: ACD

 

 

QUESTION 10

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

 

clip_image028

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

QUESTION 11

You receive an error when you deploy the app.

 

You need to resolve the error.

 

What should you do?

 

A.

Deploy the app to https://contoso.sharepoint.com/tasks.

B.

Deploy the app to https://contoso-my.sharepoint.com.

C.

Enable side-loading of apps in the Visual Studio project properties.

D.

Enable side-loading of apps in the app manifest.

 

Correct Answer: D

Explanation:

* Scenario: Pending Issues

When you deploy the app from Visual Studio 2012, you receive the error: “Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”

 

 

QUESTION 12

DRAG DROP

You need add to code at line IL22 to implement the task list design.

 

You have the following code:

 

clip_image029

 

 

Which code segment should you include in Target 1, Target 2 and Target 3 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.

 

clip_image030

 

Correct Answer:

clip_image031

 

 

 

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

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