sharepoint 70-488 book [Jun 2016]

Exam Code: 70-488 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Developing Microsoft SharePoint Server 2013 Core Solutions
Certification Provider: Microsoft
Free Today! Guaranteed Training- Pass 70-488 Exam.

2016 Jun 70-488 Study Guide Questions:

Q1. DRAG DROP – (Topic 5) 

You need to retrieve data about all the lists in a site by using the REST (Representational State Transfer) API. 

You have the following code: 

Which code segments should you include in Target 1 and Target 2 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.) 

Answer: 

Q2. – (Topic 4) 

You need to add the search box to the publishing site. 

What should you do? 

A. Generate a code snippet and paste it into the HTML file. 

B. Edit the default.master master page and then add the search box control. 

C. Add the Search Web Part to the Welcome page. 

D. Edit the page layout. 

Answer: A 

Explanation: 

Scenario: A search box must be available on all publishing sites. 

The publishing site design is delivered as a set of HTML files (litwarepublishing.html), CSS 

(Litwarepublishing.css), and image files from the marketing company. 

Q3. – (Topic 5) 

You need to retrieve data about all the lists in a site by using the REST (Representational State Transfer) API. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: C 

Explanation: Must use _api/web/lists: 

To retrieve all of the lists in a specific SharePoint site, you would make a GET request to 

http://<site url>/_api/web/lists. 

Incorrect: 

Not B: The method must be GET (not POST). 

Reference: How to: Complete basic operations using SharePoint 2013 REST endpoints 

Q4. – (Topic 5) 

Adventure Works uses a SharePoint publishing site for an external website at www.adventureworks.com. The user interface is implemented by using HTML5, CSS 3, and JavaScript. 

You need to ensure that the site designers have an efficient way to create and modify the JavaScript files. 

What should you do? 

A. Open the site in SharePoint Designer. From All Files, double-click the _cts folder and then select the MasterPages folder. Create a folder. Modify the JavaScript files by using Microsoft Notepad. 

B. Copy all the JavaScript files to a document library and modify them directly by using Microsoft Notepad. 

C. Open the site in SharePoint Designer. From Master Pages select the JavaScript files to modify them. 

D. Set up a mapped network drive in Design Manager. Open the mapped drive and create a folder. Modify the JavaScript files by using Microsoft Notepad. 

Answer: C 

Explanation: Master Page – Use SharePoint Designer to add code to a master page when you want to code to be available on every page in a site. You can add the JavaScript inside of <SCRIPT> tags or link to a file that contains the JavaScript. Typically add your CSS just before the </HEAD> section and your JavaScript just before the </BODY> tag. 

Reference: Adding JavaScript and CSS to SharePoint 

Q5. – (Topic 2) 

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. 

Answer: D 

Explanation: We should deploy the app to the Development site, that is https://contoso.sharepoint.com/tasks (see Existing Site Configuration in scenario). 

Note: 

* Loading Apps directly from Visual Studio only works if the destination is a Developer site. That form of distribution, called side loading, is only used when testing and debugging an App. To load an App in a regular site you need to add the .App package produced in Visual to the App Catalog site that is associated with your Web Application. From there you will be able to load the app using the Site Contents link in your site. 

* Issue: While we try creating a SharePoint 2013 App in a SharePoint hosted model and when we try to deploy the solution, we get an “Error occurred in deployment step ‘Install app for SharePoint’: Side loading of apps is not enabled on this site. 

Solution: 

1. That is, while creating a site collection/site where you want to deploy the app, create it using the “Developer Site” template under the Collaboration tab. 

2. Always the app should be published/deployed to the developer site (A site collection with the Developer Site Template). And from this developer site you can add the App to your SharePoint site 

Scenario: Pending Issues When you deploy the app from Visual Studio 2012, you receive the error: "Error occurred in de-ployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site." 

Reference: Side Loading of apps is not enabled on this site error while installing app in SharePoint 2013 

70-488  test

Update book for 70-488:

Q6. DRAG DROP – (Topic 1) 

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: 

Q7. – (Topic 5) 

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. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A 

Explanation: The property CommandUIVisible shows or hides the ribbon section at the top 

of the application page. 

Incorrect: 

Not B: Permission should be set to AddAndCustomizePages not ManageSubWeb. 

Reference: SharePoint, Hide the Ribbon from Anonymous Users 

Hide the Ribbon from Anonymous Users

Q8. DRAG DROP – (Topic 5) 

You add a site column for an Enterprise Content Management (ECM) project by using the Site Column Designer in Visual Studio 2012. 

What will the designer-generated XML look like? (To answer, drag the appropriate XML elements to the correct location or locations in the answer area. Each XML element 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: 

Q9. DRAG DROP – (Topic 5) 

You work on a SharePoint Enterprise Content Management (ECM) project. 

You develop the Litware Document Approval workflow that enables a group of people to review, approve, or reject documents and document changes. 

You need to assign the Litware Document Approval workflow to the Document content type. 

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

Answer: 

Q10. DRAG DROP – (Topic 4) 

You need to ensure that all of the solutions are deployed in the correct order. 

You have the following code: 

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

Answer: 

certleader.com

Real mcts 70-488:

Q11. DRAG DROP – (Topic 5) 

You plan to create a search-driven navigation that supports the Cross-site Publishing Feature. 

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: 

Q12. – (Topic 5) 

A company uses SharePoint as its collaboration platform. 

The SharePoint site collection has many inactive sites. 

You need to identify the inactive sites in each web application of the farm by using 

Windows PowerShell scripts. 

Which property should you evaluate? 

A. $site.DeadWebNotificationCount 

B. $site.ExpirationDate 

C. $site.CertificationDate 

D. $site.LastContentModifiedDate 

E. $site.CurrentResourceUsage 

Answer: D 

Explanation: How to find Most Active SharePoint Site Collections? 

Well, SPSite object has LastContentModifiedDate property, why don't we use it? Here is 

the nifty PowerShell script to find Most active Site collections based on content modified 

date. In a reverse, this can be used to find all In-active site collections also. 

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue 

Get-SPWebApplication "https://sharepoint.company.com" | Get-SPSite -Limit All | foreach { 

Write-Host $_.URL $_.LastContentModifiedDate 

Reference: Find Active Inactive Site Collections in SharePoint 

http://www.sharepointdiary.com/2012/12/find-active-inactive-site-collections.html 

Q13. HOTSPOT – (Topic 5) 

You develop a SharePoint app that companies use to track and submit employee expenses. 

You must create two versions of the app. VersionA is highly customized for a specific client. VersionB has reduced functionality and must be available to the general public. 

You need to publish the apps. 

For each of the following statements, select Yes if the statement is true. Otherwise, select No. 

Answer: 

Q14. DRAG DROP – (Topic 4) 

You need to apply the Design Package to all of the required sites. 

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

Answer: 

Q15. – (Topic 5) 

A company uses SharePoint for internal collaboration. SharePoint is deployed on a server farm with a single front-end server, a single application server, and a dedicated database server. 

You review existing Web Parts that read from and write to SharePoint lists. You find the following code in one of the utility classes and notice memory leaks in the method. 

You need to ensure that there are no memory leaks in the method. 

What should you do? 

A. Add a finally statement and include site.Dispose (). 

B. Add site.Dispose() to the catch statement. 

C. Add a finally statement and include siteCollection.Dispose (); 

D. Add siteCollection.Dispose() to the catch statement. 

Answer: C 

Explanation: Need to manually dispose of the siteCollection instance. This can be done through a finally statement. 

Note: 

* Try and finally blocks or a using statement would be required to avoid potential leaks 

when you create a disposable object within a foreach block, as shown in the following code 

example. 

SPWebApplication webApp = siteCollectionOuter.WebApplication; 

SPSiteCollection siteCollections = webApp.Sites; 

SPSite siteCollectionInner = null; 

foreach (siteCollectionInner in siteCollections) 

try //Should be first statement after foreach. 

Console.WriteLine(siteCollectionInner.Url); 

//Exception occurs here. 

finally 

if(siteCollectionInner != null) 

siteCollectionInner.Dispose(); 

* Why Dispose? Several of the Windows SharePoint Services objects, primarily the SPSite class and SPWeb class objects, are created as managed objects. However, these objects use unmanaged code and memory to perform the majority of their work. The managed part of the object is much smaller than the unmanaged part. Because the smaller managed part does not put memory pressure on the garbage collector, the garbage collector does not release the object from memory in a timely manner. The object's use of a large amount of unmanaged memory can cause some of the unusual behaviors described earlier. Calling applications that work with IDisposable objects in Windows SharePoint Services must dispose of the objects when the applications finish using them. You should not rely on the garbage collector to release them from memory automatically. 

Reference: Best Practices: Using Disposable Windows SharePoint Services Objects 

Q16. HOTSPOT – (Topic 1) 

You need to add markup at line AM10 to set the minimum app permissions for the FranchiseMonitor app. 

Which code segments should you include in Target 1 and Target 2 to complete the code? (To answer, select the appropriate options from each drop-down list in the answer area.) 

Answer: 

Q17. – (Topic 3) 

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: 

<VersionRange BeginVersion-"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"> 

Answer: B,C 

Explanation: B: VersionRange Element specifies a range of previous versions of the 

Feature to which the upgrade actions should apply. 

/ BeginVersion: Specifies the earliest version number to which the child upgrade elements 

will apply, in the format n.n.n.n, where each n can be up to four digits. 

/ EndVersion: Specifies the earliest version number to which the upgrade will not apply. 

The format is n.n.n.n, where each n can be up to four digits. 

C: Feature versions in Microsoft SharePoint Foundation are used to trigger Feature upgrade. If you update your Feature version but do not specify any Feature upgrade logic in the Feature.xml file, when the Feature upgrade runs, it simply updates the version number of your Feature. However, if you specify Feature upgrade logic, the upgrade code is executed and the version number is automatically updated as well. 

Scenario: 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. 

Reference: VersionRange Element (Feature); Best Practices for Using Feature Versions 

About 70-488 Information: 70-488 Dumps

Certleader Dumps
Certleader is a company specialized on providing high quality IT exam materials and fully committed to assist our respected clients crack any IT certification tests on their 1st efforts.