Microsoft 70-488 Latest Important Questions with Answers and Explanation Shared By Braindump2go (31-40)

Braindump2go New Released Microsoft 70-488 Practice Tests Sample Questions Free Download! 100% Same Questions with Actual 70-488 Exam! Guaranteed 100% Pass!

Vendor: Microsoft
Exam Code: 70-488
Exam Name: Developing Microsoft SharePoint Server 2013 Core Solutions

1[15][2]

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

wps12BA.tmp_thumb

B.   

wps24F4.tmp_thumb

C.   

wps37BA.tmp_thumb

D.   

wps5356.tmp_thumb

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.

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)
});

wpsA675.tmp_thumb

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

wpsC6F1.tmp_thumb

Answer:

wpsDF62.tmp_thumb

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:

wpsFC35.tmp_thumb

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.

wps18EA.tmp_thumb

Solution Architecture

wps3283.tmp_thumb

wps5E93.tmp_thumb

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

wps7A2F.tmp_thumb

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

wpsB1D3.tmp_thumb

AppManifest.xml for Franchise Monitor app

wpsC6AB.tmp_thumb

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:

wpsA7F.tmp_thumb

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

wps486A.tmp_thumb

Answer:

wps70C2.tmp_thumb

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.   

wpsACD9.tmp_thumb

B.   

wpsBFAE.tmp_thumb

C.   

wpsD9B4.tmp_thumb

D.   

wpsE93F.tmp_thumb

E.   

wps326.tmp_thumb

F.   

wps15EC.tmp_thumb

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: D


Braindump2go Offers PDF & VCE Dumps Download for New Released Microsoft 70-488 Exam! 100% Exam Success Guaranteed OR Full Money Back Instantly!

1[16][2]

http://www.braindump2go.com/70-488.html