Certshared
2017 Microsoft Official New Released 70-488 ♥♥
100% Free Download! 100% Pass Guaranteed!
http://www.certshared.com/exam/70-488/


we provide Verified Microsoft 70-488 braindumps which are the best for clearing 70-488 test, and to get certified by Microsoft Developing Microsoft SharePoint Server 2013 Core Solutions. The 70-488 Questions & Answers covers all the knowledge points of the real 70-488 exam. Crack your Microsoft 70-488 Exam with latest dumps, guaranteed!

Q46. - (Topic 3) 

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


Q47. - (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:

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 


Q48. DRAG DROP - (Topic 5) 

A company uses SharePoint and Microsoft Dynamics CRM to manage customers. External users log in to the SharePoint site by using forms-based authentication. 

The company needs to authenticate users by using a custom claims provider. You have the following requirements: 

1. Site administrators must be able to locate users in CRM. 

2. Site administrators must be able to select users based on their roles in CRM. 

3. Site administrators must be able to confirm that users exist in CRM. 

You need to implement the custom claims provider. 

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: 


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


Q50. - (Topic 1) 

You need to meet the requirements for data storage for the CourierMobile app and the CloudMananger app. 

Which technologies should you use? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Windows Azure SQL Database 

B. SharePoint content database 

C. Secure Store 

D. SQL Server Express LocalDB 

E. SharePoint list 

Answer: A,D 

Explanation: A: SQL Azure in the cloud. 

D: LocalDB is a lightweight version of Express that has the same programmability features, but it runs in user mode and has a fast, zero-configuration installation and a short list of prerequisites. 

From scenario: 

* CourierMobile App 

The CourierMobile app must be able to capture more than 30 million data points of location data daily as they occur and upload the location data to the cloud when connected to the Internet. 

* Cloudmanager App 

/ The CloudManager app must elastically scale to capture courier location data as the number of bicycle couriers increases or decreases. 

/ The CloudManager app must process bicycle courier location data from a data store capable of storing more than 30 million items. 


Q51. - (Topic 3) 

You need to set the appropriate permission levels. A variable named customRole references Wholesale. 

Which code segment should you add at line UA11? 

A. customRole.BasePermissions = SPBasePermissions.ViewPages; 

B. customRole.BasePermissions = _permissions | SPBasePermissions.ViewFormPages; 

C. customRole.BasePermissions = SPBasePermissions.EmptyMask | SPBasePermissions.ViewPages; 

D. customRole.BasePermissions = _permissions | SPBasePermissions.ViewPages; 

Answer:

Explanation: 

* ViewPages, View pages in a Web site. 

* Scenario: A custom role named Wholesale must be created. Wholesale customers must be assigned to this role in order to view the promotions page. 

Incorrect: 

Not A, not C: The previous line, UA10, is: _permissions = this.GetExistingPermissions(); 

We should add this permission and the ViewPages permission. 

Not B: ViewFormPagesView forms, views, and application pages, and enumerate lists. 

Reference: SPBasePermissions enumeration 

https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx 


Q52. DRAG DROP - (Topic 3) 

You need to add code at line CT11 to create the content types. 

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: 


Q53. - (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 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. 

Answer:

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


Q54. - (Topic 5) 

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. 

Answer:

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 


Q55. HOTSPOT - (Topic 4) 

You need to scope the feature containing the Litware Team Site template. 

In the Feature Designer tool in Visual Studio 2012, which scope option should you select? (To answer, select the appropriate scope from the drop-down list in the answer area.) 

Answer: 


Q56. DRAG DROP - (Topic 5) 

You troubleshoot the sandbox solutions that your team builds. 

You need to redeploy a sandbox solution. You also need to identify which process must be debugged. 

Where should you redeploy the solution, and which process should you debug? (To answer, drag the appropriate statements to the correct location or locations in the answer area. Each statement 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: 


Q57. DRAG DROP - (Topic 5) 

You need to create a workflow custom activity to use in a custom action in SharePoint by using Microsoft Visual Studio 2012. 

Which five 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: 


Q58. - (Topic 1) 

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

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

F. Option F 

Answer: B,D,F 

Explanation: The following are required methods when writing a claims provider. 

B: Required for claims picker Claims can be displayed in the people picker control through claims picking. The following methods in the SPClaimProvider class are required methods if you want to implement claim picking in the people picker control. 

protected abstract void FillSchema(SPProviderSchema schema); 

protected abstract void FillClaimTypes(List<String> claimTypes); 

protected abstract void FillClaimValueTypes(List<String> claimValueTypes); 

protected abstract void FillEntityTypes(List<String> entityTypes); 

D: Required for resolving claims in the type-in control of the claims picker 

If you want to be able to resolve claims by using the type-in control of the claims picker, 

you must implement the following methods in the SPClaimProvider class. 

public abstract bool SupportsResolve 

protected abstract void FillResolve(Uri context, String[] entityTypes, String resolveInput, 

List<PickerEntity> resolved); 

protected abstract void FillResolve(Uri context, String[] 

F: Required for searching for claims in the claims picker If you want to be able to search for claims in the claims picker, you must implement the following property and method in the SPClaimProvider class. 

public abstract bool SupportsSearch protected abstract void FillSearch(Uri context, String[] entit 

* From scenario: 

MyClaimsProvider.es 

Reference: How to: Create a claims provider in SharePoint 2013 


Q59. - (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 


Q60. DRAG DROP - (Topic 5) 

Northwind Traders uses Microsoft Office 365 to share customer information between internal and external users. Northwind Traders plans to allow external sales managers to manage customers on the Office 365 site by providing a custom SharePoint autohosted app. The custom web application will be hosted on Microsoft Azure. 

You develop the autohosted app that allows all users on Office 365 to be able to read and write data in a SharePoint list from an ASP.NET web application. 

You need to ensure that the custom web application will authenticate itself, get access tokens from the Microsoft Azure Access Control Service (ACS), and read to and write from a SharePoint list. 

You have the following code: 

Which code segments 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.) 

Answer: