web analytics

Are you struggling for the 70-488 exam? Good news, GreatExam Microsoft technical experts have collected all the questions and answers which are updated to cover the knowledge points and enhance candidates’ abilities. We offer the latest 70-488 PDF and VCE dumps with new version VCE player for free download, and the new 70-488 practice test ensures your 70-488 exam 100% pass.

QUESTION 21
A company has a SharePoint farm that has the following configuration:
– SPWFE1 and SPWFE2 are configured as front-end web servers.
– SPAPP1 and SPAPP2 are configured as application servers.
– New servers will be added to the farm.
You implement a solution that contains a custom navigation provider.
You need to register a custom navigation provider by using the least amount of administrative effort.
What should you do?

A.    Create a web.solutionname.xml file in the \CONFIG directory and run the copyappbincontent Stsadm command.
B.    Edit the ApplicationHost.config file on each SharePoint server.
C.    Edit the web.config file for the web application on all SharePoint servers.
D.    Use the SPWebConfigModification class.

 

Answer: D
Explanation:
In Microsoft SharePoint Foundation, one way to modify web.config settings is to use the SPWe- bConfigModification class of the Microsoft.SharePoint.Administration namespace, which allows you to dynamically register entities. These modifications are persisted in the configuration data- base where they function as a kind of virtual web.config that effectively serves as the final layer of the .config file stack for the SharePoint Foundation web application. The changes become ef- fective when the SPWebService.ApplyWebConfigModifications method is called.

QUESTION 22
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.     221
B.     222
C.     223
D.     224

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

QUESTION 23
Drag and Drop Questions
You need to create workflows for your business processes by using the least amount of development effort. 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.)
231
Answer:
232

QUESTION 24
Hotspot Question
A company uses SharePoint for document sharing and collaboration. Users create content types for different types of documents that are created daily. All document content types have ProjectID, Type, and AuditStatus columns. ProductID is not a required field. The Auditing department requires that every document have a ProjectID within two weeks of the creation date. If a document does not have a ProjectID, the AuditStatus column must show a message for users to specify the ProjectID.
For performance reasons, fewer than 50 documents at a time should be processed.
You need to write a work-item timer job to meet the requirement.
How should you complete the relevant code? (To answer, select the appropriate option from the drop-down list in the answer area.)
241
Answer:
242

QUESTION 25
Drag and Drop Questions
You plan to use an app event receiver in conjunction with a remote event receiver.
You need to create the remote event receiver by using Visual Studio 2012.
Which three 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.)
251
Answer:
252

QUESTION 26
Drag and Drop Questions
You create a new Enterprise Content Management (ECM) project.
You add a content type to the Visual Studio Project by using the Content Type 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.)
261
Answer:
262

QUESTION 27
Drag and Drop Questions
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.)
271
Answer:
272

QUESTION 28
Hotspot Question
You develop a SharePoint-hosted app that is used by internal users to read and write data.
The app has the following requirements:
– The app must be able to find and display the products that are purchased most often by customers.
– The app must be able to read product information from a custom SQL Server database by using an external list.
– The app must be able to read from and write to the user profile.
– The app must be able to make changes to lists by using the minimum permissions necessary.
– The app must be able to read enterprise keywords.
You need to configure permissions for the app.
Which scopes and permissions should you use? (To answer, select the appropriate options from each drop-down list in the answer area.)
281
Answer:
282

QUESTION 29
Drag and Drop Questions
You create a solution to access data contained in SharePoint by using a client-side object model (CSOM).
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.)
291
Answer:
292

QUESTION 30
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.    Open the current site master page in SharePoint Designer, place the SharePoint:SPSecurity
TrimmedCcntrol control around the div tag with the s4-ribbonrow ID.
Set the PermissionsString to ManageSubWeb.
B.    Open the current site master page in SharePoint Designer, find a div tag with the s4-ribbonrow ID,
and then remove all of the contents of the div.
C.    Open the current site master page in SharePoint Designer and then place the SharePointiSPSecurity
Trimmed Control control around the div tag with the 34-ribbonrow ID.
Set the PermissionsString to AddAndCustomizePages.
D.    In the SharePoint project, add an Empty Element and then use the <HideCustomAction> tag to
hide the ribbon.

Answer: C
Explanation:
If you designed a custom master page for your SharePoint 2010 and the ribbon is in your way, SharePoint has a built-in control that lets you hide it from anonymous users in few easy steps. Open and check-out your master page, find where your ribbon control starts or look for <Web- PartPages:SPWebPartManager id=”m” runat=”Server”/>. Place this control below <Sharepoint:SPSecurityTrimmedControl runat=”server” Permissions=”AddAndCus- tomizePages”>.
Find where your ribbon control ends or look for <div id=s4-workspace> and place the closing control above it </SharePoint:SPSecurityTrimmedControl>. Save, check-in the master page and publish it to see the changes.
From now on, only logged in users with the right permissions will be able to see the ribbon on the top.
Incorrect:
Not A: Permission should be set to AddAndCustomizePages not ManageSubWeb.

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.

Answer: DEF
Explanation:
After you convert your master page and successfully preview it, you are ready to add snippets to the master page. A snippet is an HTML representation of a SharePoint component – such as a navigation control or search box or Web Part – that you can add to your master page. Adding snippets to your master page is how you quickly build the full range of SharePoint functionality into your master page. Adding snippets is basically a three-step process:
Find and configure snippets in the Snippet Gallery.
Copy snippets to your HTML master page.
Preview and style snippets by using CSS.
After you configure a snippet, you copy it to the Clipboard and then paste it at the right spot in your HTML file.
Your HTML design may already contain mockup or static controls, in which case you’ll want to delete them or comment them out as you replace them with dynamic snippets from the Snippet Gallery.
http://msdn.microsoft.com/en-us/library/jj822363.aspx
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?

A.     321
B.     322
C.     323
D.     324

Answer: A
Explanation:
* Get-SPAppInstance
Use the Get-AppInstance cmdlet to get a collection of app instances that are installed on an SP- Web object.
*Uninstall-SPAppInstance
Use the Uninstall-SPAppInstance cmdlet to uninstall an instance of an app. This cmdlet is re- quired to be run before a migration process.
————-EXAMPLE————–
$instance = Get-SPAppInstance -AppInstanceId $instance.Id Uninstall-SPAppInstance -Identity $spapp
This example uninstalls an instance of an app.
Incorrect:
Not B, not D: get-SPWebApplication
The Get-SPWebApplication cmdlet returns all Web applications that match the scope given by the Identity parameter. The Identity can be the name of the name, URL, or GUID of the Web ap- plication. If no Identity is specified, all Web applications are returned.
EXAMPLE 1———————-
$w = Get-SPWebApplication http://sitename
This example gets the Web application for http://sitename and stores it in a variable.
Not C: Disable-SPFeature
The Disable-SPFeature cmdlet disables a SharePoint Feature at the given scope.

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.

Answer: D
Explanation:
The chrome control in SharePoint 2013 enables you to use the header styling of a specific SharePoint site in your app without needing to register a server library or use a specific technology or tool. To use this functionality, you must register a SharePoint JavaScript library through a standard <script> tag.
You can provide a placeholder by using an HTML div element and further customize the control by using the available options.
The control inherits its appearance from the specified SharePoint website.
//load the SharePoint resources
$(document).ready(function () {
    //Get the URI decoded URL.
    hostweburl = decodeURIComponent(getQueryStringParameter(“SPHostUrl”));
    // The SharePoint js files URL are in the form:
    // web_url/_layouts/15/resource
    var scriptbase = hostweburl + “/_layouts/15/”;
    // Load the js file and continue to the success handler
    $.getScript(scriptbase + “SP.UI.Controls.js”, renderChrome)
});
The chrome control automatically takes the following values from the query string:
SPHostUrl
SPHostTitle
SPAppWebUrl
SPLanguage
{StandardTokens} include SPHostUrl and SPAppWebUrl.
http://msdn.microsoft.com/en-us/library/office/fp179916.aspx

QUESTION 34
Hotspot Question
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.)
341
Answer:
342

Case Study 1 – Consolidated Messenger (QUESTION 35 – QUESTION 47)
Background
Business Scenario
You are the lead architect, developer, and web administrator of SharePoint 2013 for your company, Consolidated Messenger.
Consolidated Messenger is a national company with hundreds of franchises.
Consolidated Messenger focuses on bicycle- based courier services in metropolitan areas.
Consolidated Messenger sells franchises to franchisees. Franchisees have three user types:
343
Technical Scenario
When a franchisee purchases a franchise, they are provided with:
– Access to Consolidated Messenger’s SharePoint 2013 multi-tenant farm located at https:// sp.consolidatedmessenger.com
– Access to a Customers list in the Corporate site collection, named CorporateSiteCollection, which includes a list of all Customers across all franchisees
– A single site collection for each franchisee, named FranchiseeSiteCollection
– An unlimited number of customer subsites for each franchisee
– Consolidated Messenger has funded the creation of three apps.
344
Solution Architecture
345

346
SharePoint Farm Design
My Sites are not created for each Franchisee unless they are requested.
Business Requirements

347
Technical Requirements
Each Franchise site collection must include a SharePoint document library to store CSV files.
FranchiseMonitor App
Application Design
Franchise employees use Microsoft Excel 2013 to create a list of pick-up and drop- off locations for each bicycle courier for each day. The spreadsheet is named Appointments.csv.
Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
Technical Requirements
– The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the SharePoint farm if the courier has remained stationary for more than three minutes.
– The FranchiseMonitor app must be listed on the Site Contents page of the host web.
– The FranchiseMonitor app must use claims-based authentication, once launched, to authenticate the franchisee against an API provided by Margie’s Travel.
– The FranchiseMonitor app must be deployed to all site collections by the SharePoint administrator.
– The FranchiseMonitor app must be immediately available to be installed on websites within the tenancy on a website-by-website basis to any tenant contained in the SharePoint farm.
– The FranchiseMonitor app must be able to create lists within SharePoint to store records of the CSV files so that they may be sent to the CloudManager app.
CourierMobile App
Application Design
– Each bicycle courier for each franchise is provided a Microsoft Surface Pro device with LTE. Most bicycle couriers do not return their Microsoft Surface Pro devices back to their franchise locations nightly.
– The CourierMobile app runs on the bicycle courier’s Microsoft Surface Pro device.
– Margie’s Travel provides an API to enable external developers to authenticate by using OAuth and claims-based authentication. Many couriers are members of Margie’s Travel.
– The CourierMobile app receives Microsoft Outlook appointments and Outlook appointment cancellations from the CloudManager app. The appointments include the address of the location for pick-up or drop-off.
Business Requirements
– The CourierMobile app must display a Bing map to display route data when Outlook appointments or appointment cancellations are received.
– The CourierMobile app must capture the location of the Microsoft Surface Pro device on a regular interval. This data must be captured regardless of whether the device has connectivity.
– The CourierMobile app must be able to connect to the SharePoint Customers list and verify whether the account belongs to the franchisee to avoid pickups or deliveries to customers that do not belongs to the franchisee. When the CourierMobile aDD accesses the Customers list, it must only read its contents with the minimum permissions necessary.
Technical Requirements
– The CourierMobile app must provide the ability to authenticate by using the courier’s Microsoft account or the Margie’s Travel API.
–  The CourierMobile app must include a custom sign-in page that includes branding from Consolidated Messenger and Margie’s Travel, based on the authentication provider selected by the user.
– 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
Application Design
CloudManager processes two sets of data:
– Updates to the list of appointments received from the FranchiseMonitor app
– Geo-location data received from the CourierMobile app Business Requirements
The CloudManager app must implement business logic that parses Appointments.csv and geo-location data and sends Appointments or Appointment cancellations to the CourierMobile app.
Technical Requirements
– 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.
Solution Code
MyClaimsProvider.es
348
AppManifest.xml for Franchise Monitor app
349

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

A.    Use OAuth and App only security.
Request the Read right from the http://sharepoint/content/ sitecollection/web/list scope URI.
B.    Use OAuth and App+User security.
Request the Read right from the http://sharepoint/content/ sitecollection scope URI.
C.    Use SPSecurity.
RunWithElevatedPrivileges to connect to SharePoint and read from the Accounts list in the
site collection.
D.    Use the SharePoint user credentials of the bicycle messenger to connect to SharePoint and
read from the Accounts list in the site collection.

Answer: A
Explanation:
* From scenario:
Courier – no SharePoint access.
Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the SharePoint farm if the courier has remained stationary for more than three minutes.
The CloudManager app must implement business logic that parses Appointments.csv and geo-location data and sends Appointments or Appointment cancellations to the CourierMobile app.
The CourierMobile app must be able to connect to the SharePoint Customers list and verify whether the account belongs to the franchisee to avoid pickups or deliveries to customers that do not belongs to the franchisee. When the CourierMobile add accesses the Customers list, it must only read its contents with the minimum permissions necessary.

QUESTION 36
A franchisee deletes several sites from the franchise’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?

A.    Select General Settings for the Web Application in Central Administration and change the second
stage Recycle Bin settings to 100 percent.
B.    Select General Settings for the Web Application in Central Administration and change the first stage
Recycle Bin settings to 0 days.
C.    Select the Recycle Bin on the Site Settings page.
Choose the appropriate sites and select Restore Selection.
(In real exam new options were to use url /_layouts/adminrecyclebin.aspx and recycle bin in site
contents page)
D.    Select the Recycle Bin in the Quick Launch page.
Choose the appropriate sites and select Restore Selection.

Answer: C
Explanation:
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 37
You need to ensure that the CloudManager app can write route progress check-ins to the courier’s microfeed.
What should you do? (Each correct answer presents part of the solution.
Choose all that apply.)

A.    Ensure that SP.RequestExecutor.js can be accessed in a browser window with no errors.
B.    Ensure that the CloudManager app has the Manage permission request scoped to the URL for the
franchisee’s My Site.
C.    Ensure that the MySite host is provisioned for each franchisee.
D.    Ensure that all cookies are made available between the My Site and the CloudManager app domain.
E.    Ensure that the CloudManager app has the Write permission request scoped to the URL for the
franchisee’s My Site.
F.    Ensure that SP.UserProfiles.js can be accessed in a browser window with no errors.

Answer: ADEF
Explanation:
$.getScript(scriptbase + ‘SP.Runtime.js’,
    function () {
        $.getScript(scriptbase + ‘SP.js’,
            function () { $.getScript(scriptbase + ‘SP.RequestExecutor.js’, printAllListNamesFromHostWeb); }
        );
    }
);
function printAllListNamesFromHostWeb() {
    var context = new SP.ClientContext(appweburl);
    var factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
    var context.set_webRequestExecutorFactory(factory);
    var appContextSite = new SP.AppContextSite(context, hostweburl);
   ….
   …..
}
http://www.mavention.com/blog/sharePoint-app-reading-data-from-host-web
From scenario:
Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the SharePoint farm if the courier has remained stationary for more than three minutes.
The CloudManager app must implement business logic that parses Appointments.csv and geo-location data and sends Appointments or Appointment cancellations to the CourierMobile app.

QUESTION 38
Drag and Drop Questions
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:
381
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.)
382
Answer:
383
Explanation:
http://www.learningsharepoint.com/2013/02/10/addremove-links-in-top-suitebar-skydrivesitesnewsfeed-in-sharepoint-2013/
http://www.codeproject.com/Articles/569897/UsingplusDelegateplusControlplusinplusSharepoint
1. Add the User control to project.
2. Add a Module to project which will take care of adding the user control to Delegate control. I named it as “DelegateModule”. Delete sample.txt file and modify the Elements.xml to resemble something like this.
3. Create a feature and add “DelegateModule” to it.
http://mihirsharepoint.wordpress.com/2012/11/15/create-delegate-control-in-sharepoint/
1.open the visual studio and create an empty project.
2. Add the control templates mapped folder, visual webpart, empty element like below image.
3. Add the code to the designer surface of the visual webpart
4. In elements.xml file under the empty element you added, add the following code
5. Save the changes and deploy into the site.

QUESTION 39
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.     391
B.     392
C.     393
D.     394
E.     395
F.     396

Answer: BDEF
Explanation:
http://technet.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovider_members.aspx
http://sportstoday.us/technology/sharepoint-2013—claims-based-authentication,-federated-identities,-and-oauth-%28part-5%29—sharepoint-trusted-ips—-creating-a-custom-claims-provider.aspx
* From scenario:
Franchise Managers must be able to search for claims by using the type-in control of the claims picker.

QUESTION 40
You need to set the appropriate permissions for the franchise employees’ customer list and customer subsite access. What should you do?

A.    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.
B.    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.
C.    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.
D.    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

We ensure our new version 70-488 PDF and VCE dumps are 100% valid for passing exam, because GreatExam is the top IT certification study training materials vendor. Many candidates have passed exam with the help of GreatExam’s VCE or PDF dumps. GreatExam will update the study materials timely to make them be consistent with the current exam. Download the free demo on GreatExam, you can pass the exam easily.

http://www.greatexam.com/70-488-exam-questions.html

By admin