Download New Updated (Spring 2015) Microsoft 70-488 Actual Tests 31-40

Ensurepass

 

QUESTION 31

Adventure Works uses a web design firm to design the user interface for an upcoming toy sales website, www.toys.adventureworks.com. The website is built by using a SharePoint publishing template. Adventure Works must implement the newly designed user interface for the site. The design firm provides a set of HTML, CSS, and JavaScript files. You need to create and publish a SharePoint master page by using the supplied files. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

 

A.

From the Master Pages section in SharePoint Designer, select Create New Master Page and then replace the master page contents with the contents of the HTML file.

B.

From SharePoint Designer, open the master page gallery. Right-click the new master page and then select Set as Default Master.

C.

From the Design Manager, map a network drive to the /_layouts/masterpage/ folder. Then, in Windows Explorer, copy all the UI elements provided by the design team to the network share.

D.

From the Edit Master Page section in Design Manager, select Convert an HTML File to a SharePoint Master Page to generate a master page from the HTML file provided by designer firm.

E.

Publish the master page. Then, from Site Settings, choose the Look and Feel section, and then select Master Page. Choose the master page and select OK.

F.

Preview the master page and select Snippets to get HTML segments of the SharePoint top navigation, quick launch, and body. Then, edit the master page by using Microsoft Notepad and replace the HTML with the new segments.

 

Correct Answer: BDE

Explanation:

Note:

D, Not A: To convert the HTML file into a .master file

Browse to your publishing site.

In the upper-right corner of the page, choose Settings, and then choose Design Manager.

In Design Manager, in the left navigation pane, choose Edit Master Pages.

Choose Convert an HTML file to a SharePoint master page.

In the Select an Asset dialog box, browse to and select the HTML file that you want to convert.etc

 

 

QUESTION 32

You have an app named TaskManagerApp that is published at http://sharepoint.contoso.com/apps. You need to remove the app and ensure that users will no longer be able to use the app. Which Windows PowerShell cmdlets should you run?

 

clip_image002

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

QUESTION 33

You create a cloud-hosted SharePoint app. You must make the app available in the SharePoint Store for customers to install on their host webs. You need to keep the style and navigation of the app the same as the host web of the app after it is installed by any customer. What should you do?

 

A.

Add a reference to SP.UI.Controls.js on the host web. Pass the AppUrl parameter to the host web. Apply branding to the host web.

B.

Copy the CSS file from the app to the host web. Run the Chrome control to convert the CSS file to the host web format. Apply the styles contained in the CSS file to the host web.

C.

Use a Chrome control to find the differences in the styles between the host web and the app. Resolve all of the differences by using JavaScript.

D.

Add a reference to the SP.UI.Controls.js file located in the new /_layouts/15 directory. Pass the HostUrl parameter to the start page of the app. Use the Chrome control in JavaScript.

 

Correct Answer: D

 

 

 

 

 

 

 

QUESTION 34

HOTSPOT

You develop an autohosted app for SharePoint.

 

The app will access SharePoint data in the host web.

 

You need to configure the minimum required data access permissions for the app.

 

How should you configure permissions in the app manifest?

 

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

 

clip_image003

 

Correct Answer:

clip_image004

 

 

QUESTION 35

DRAG DROP

You have a large list that contains more than 5,000 list items.

 

You need to iterate through the list by using the Content Iterator to avoid getting an exception.

 

You have the following code:

 

clip_image005

 

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

 

Correct Answer:

clip_image007

 

 

 

 

 

 

 

 

QUESTION 36

DRAG DROP

You develop a SharePoint app to access data contained in a hosted SharePoint site.

 

You need to authorize the app to access the list items in a custom list on the host website.

 

You have the following code:

 

clip_image008

 

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

 

Correct Answer:

clip_image010

 

 

QUESTION 37

The Contoso SharePoint on-premise intranet portal stores content in 50 site collections. Contoso must display all content tagged with a metadata term on the main page of the portal. You need to display all documents with the metadata term without using any custom code. Which technology should you use?

 

A.

Content Query Web Part (CQWP)

B.

Content Search Web Part (CSWP)

C.

TaxonomySession

D.

CamlQuery

 

Correct Answer: A

Explanation:

The ContentByQueryWebPart, commonly referred to as the Content Query Web Part, is a part of the Enterprise Content Management (ECM) functionality in Microsoft Office SharePoint Server. It aggregates and displays list items within a site hierarchy. The Content Query Web Part has the following limitations:

/You can only aggregate data within a single site collection.

/You can only aggregate list information.

 

Incorrect:

Not B:

In a simplified world, here’s how you can decide between the two:

 

Use the CQWP when you have a limited amount of content, your query is simple, and you don’t expect your content to grow much in the future.

Use the CSWP in all other scenarios when you want to show content that is based on a query.

Not C: For TaxonomySession you would have to write code.

Not D: The CamlQuery class just specifies a query on a list.

 

 

 

 

 

 

QUESTION 38

You create a cloud-hosted SharePoint app. You must make the app available in the SharePoint Store for customers to install on their host webs. You need to keep the style and navigation of the app the same as the host web of the app after it is installed by any customer. What should you do?

 

A.

Use an app template and an app.master master file for branding.

B.

Add a reference to SP.UI.Controls.js on the host web. Pass the AppUrl parameter to the host web. Apply branding to the host web.

C.

Copy the CSS file from the app to the host web. Run the Chrome control to convert the CSS file to the host web format. Apply the styles contained in the CSS file to the host web.

D.

Add a reference to the SP.UI.Controls.js file located in the new /Jayouts/15 directory. Pass the HostUrl parameter to the start page of the app. Use the Chrome control in the HTML page in a declarative manner.

 

Correct Answer: D

Explanation:

Microsoft allows developers to import a very basic version of the SharePoint 2013 chrome into their apps without having to manually create matching HTML controls. The functionality for this can be found in the SP.UI.Controls.js file located in the new /_layouts/15 directory. To use the chrome control, first add a reference to SP.UI.Controls.js (make sure you’ve already loaded the requisite JQuery files and other dependencies), then add an empty <div> to your page markup at or near the top of the page.

 

Reference: Using the Chrome Control in SharePoint 2013 Apps

 

 

QUESTION 39

You prepare an on-premise farm to support the creation of SharePoint apps. You need to create an instance of a service application before building apps. Which service application should you create?

 

A.

Secure Store service

B.

App Management service

C.

Machine Translation service

D.

SharePoint-hosted service

 

Correct Answer: D

Explanation:

SharePoint-hosted apps

Start with the simplest option: SharePoint-hosted apps, or apps where all components are hosted on either an on-premises or Office 365 SharePoint farm. SharePoint-hosted apps are installed on a SharePoint 2013 website, called the host web. They have their resources hosted on an isolated subsite of a host web, called the app web.

 

Incorrect:

Not A: Secure Store Service is a shared service that provides storage and mapping of credentials such as account names and passwords. It enables you to securely store data that provides credentials required for connecting to external systems and associating those credentials to a specific identity or group of identities.

Not B: The App Management Service is responsible for storing and providing information concerning SP App licenses and permissions

All licenses for apps downloaded from Marketplace will be stored in Apps service application

The App Management Service is accessed each time app is requested or used in SharePoint to verify validity of the request

Not C: Machine Translation Service is a new service application in SharePoint 2013 that provides automatic machine translation of files and sites.

 

 

QUESTION 40

A company uses SharePoint team sites for their projects, which last for a month. At the end of every month the project site must be archived and moved to a backup web application. The company plans to create a timer job. You need to write custom code that will move the site from the production web application to the archived web application. Which method of the timer job should you override?

 

A.

RunNow

B.

Execute

C.

Update

D.

Provision

 

Correct Answer: B

Explanation:

Execute

Executes the job definition on the local machine and is intended to be used only by the timer service.

 

Incorrect:

A: RunNow

Schedules the job for immediate execution.

C: SPJobDefinition.Update method

Causes the job definition to save its state and propagate changes to all machines in the farm.

D: Provision

Makes the changes to the local server that are needed before the object can be used.

 

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…