Want to know Pass4sure 70-488 Exam practice test features? Want to lear more about Microsoft Developing Microsoft SharePoint Server 2013 Core Solutions certification experience? Study Breathing Microsoft 70-488 answers to Most up-to-date 70-488 questions at Pass4sure. Gat a success with an absolute guarantee to pass Microsoft 70-488 (Developing Microsoft SharePoint Server 2013 Core Solutions) test on your first attempt.
Q21. - (Topic 2)
You need to validate that specific users can delete tasks.
Which code segment should you insert at line CD04?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation: Retrieving all users from a SharePoint group
The SiteGroups property of the Web class gets all groups in all Web sites within a site
collection.
Example:
ClientContext clientContext = new ClientContext("http://MyServer/sites/MySiteCollection");
GroupCollection collGroup = clientContext.Web.SiteGroups;
Scenario: Project leads can remove task lists.
Reference: How to: Work with Users and Groups
Q22. - (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
Q23. - (Topic 1)
You need to create a custom sign-in page to allow the users of the FranchiseMonitor app to authenticate against SharePoint and Margie's Travel API.
What should you do?
A. Create an app for SharePoint. Set the trust level to Sandbox solution. Create an application page that writes a cookie named FedAuth. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
B. Create an app for SharePoint. Set the trust level to Farm solution. Create an application page that writes a cookie named FedAuth. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
C. Create an app for SharePoint. Set the trust level to Farm solution. Create an application page that writes a cookie named ASPXAUTH. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
D. Create an app for SharePoint. Set the trust level to Sandbox solution. Create an application page that writes a cookie named ASPXAUTH. Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
Answer: B
Explanation:
The new claims-based authentication in SharePoint 2010 does not use the ASPXAUTH
cookie, instead it uses the FedAuth cookie.
SharePoint 2013 tracks FedAuth cookies in the new distributed cache service using
Windows Server AppFabric Caching.
Scenario: The FranchiseMonitor app must use claims-based authentication, once
launched, to authenticate the franchisee against an API provided by Margie's Travel.
Q24. - (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. 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. 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 the HTML page in a declarative manner.
D. 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.
Answer: C
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
Q25. DRAG DROP - (Topic 4)
You need to ensure that the features required for the Litware Team Site web template are referenced correctly in the ONET.XML file.
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:
Q26. DRAG DROP - (Topic 5)
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.
You need to identify what the designer-generated XML will look like?
You have the following code:
Which XML elements should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code? (To answer, drag the appropriate XML elements to the correct targets 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:
Q27. - (Topic 5)
You plan to create a workflow design by using Microsoft Visio 2013 and then import the design into SharePoint Designer 2013.
You need to ensure that you have repetition capability.
Which shape should you use?
A. Stage
B. Assign a Task
C. Step
D. Loop
Answer: D
Explanation: Loop shapes Loops are a series of connected shapes that will execute as a loop, returning from the last shape in the series to the first, until a condition is satisfied.
Note: Workflows in SharePoint Designer 2013 now include the notions of stages, loops, and steps. The SharePoint 2013 Workflow template that is included in Visio 2013 also uses stages, loops, and steps as logical building blocks for creating a workflow
Reference: Workflow development in SharePoint Designer 2013 and Visio 2013
Q28. DRAG DROP - (Topic 5)
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:
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.)
Answer:
Q29. HOTSPOT - (Topic 3)
You need to add code at line UA11 to create the custom role.
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, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
Q30. HOTSPOT - (Topic 5)
You have a SharePoint site with one site collection and several subwebs. You develop a feature that installs an event receiver on a list. The event receiver must send a notification by email when information is modified. Not all subwebs require this functionality.
You need to set the feature scope.
From the Add New Feature dialog window, which scope should you use? (To answer, select the appropriate scope in the answer area.)
Answer: