GreatExam is one of the leading exam preparation material providers. Its updated 70-488 braindumps in PDF can ensure most candidates pass the exam without too much effort. If you are struggling for the 70-488 exam, it will be a wise choice that get help from GreatExam.
QUESTION 101
The Contoso SharePoint on-premise intranet portal stores content in 50 site collections.
Contoso must display all content tagged with a metadata term on the main page of the portal.
You need to display all documents with the metadata term without using any custom code.
Which technology should you use?
A. Content Query Web Part (CQWP)
B. Content Search Web Part (CSWP)
C. TaxonomySession
D. CamlQuery
Answer: B
Explanation:
CSWP can be configured to “see” items anywhere in SharePoint.
Incorrect:
Not A: CQWP and related SPSiteDataQuery can only search within the current site collection.
Not C: For TaxonomySession you would have to write code.
Not D: The CamlQuery class just specifies a query on a list.
QUESTION 102
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. 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.
D. Add a reference to the SP.UI.Controls.js file located in the new /Jayouts/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.
Answer: D
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.
QUESTION 103
You prepare an on-premise farm to support the creation of SharePoint apps.
You need to create an instance of a service application before building apps.
Which service application should you create?
A. Secure Store service
B. App Management service
C. Machine Translation service
D. SharePoint-hosted service
Answer: B
QUESTION 104
A company uses SharePoint team sites for their projects, which last for a month.
At the end of every month the project site must be archived and moved to a backup web application. The company plans to create a timer job.
You need to write custom code that will move the site from the production web application to the archived web application.
Which method of the timer job should you override?
A. RunNow
B. Execute
C. Update
D. Provision
Answer: B
Explanation:
Execute
Executes the job definition on the local machine and is intended to be used only by the timer service.
Incorrect:
A: RunNow
Schedules the job for immediate execution.
C: SPJobDefinition.Update method
Causes the job definition to save its state and propagate changes to all machines in the farm.
D: Provision
Makes the changes to the local server that are needed before the object can be used.
QUESTION 105
Drag and Drop Question
A company develops a workflow by using SharePoint Workflow Manager. The Auditing department has a SQL Server database that contains a list of all available software. The list contains the names of the users who have permission to use the software. The data is available through a Windows Communication Foundation (WCF) service that uses OData and is deployed internally.
The IT department plans to implement a help desk solution on the IT site collection that involves the creation of workflows.
A user must request approval to use software that is not available internally from three different managers. The workflow should be approved if two of the three managers approve the request.
The workflow has an Evaluation and an Approval stage.
You need to develop the workflow by using SharePoint Designer.
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:
QUESTION 106
You plan to create a SharePoint Business Process Automation (BPA) project.
You need to process items in queues on a configurable schedule.
Which tool should you use?
A. Remote Event Receiver
B. Work Item Timer Job
C. Out-of-the-box workflow
D. SharePoint Designer workflow
Answer: B
Explanation:
A Work Item Timer Job can be scheduled to run operations in SharePoint. A Work Item Timer Job is essentially a queue where you add list items that need to be processed. When the Work Item Timer Job runs, it pulls items from the queue and process the item. When complete, the item is removed from the queue (if you want) so it is not processed again.
QUESTION 107
Drag and Drop Question
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:
Explanation:
Box 1: Add a Content Search Web Part to a page
Box 2-3: Configure the query for a Content Search Web Part
In the Web Part, click the Content Search Web Part Menu arrow, and then click Edit Web Part.
In the Web Part tool pane, in the Properties section, in the Search Criteria section, click Change query.
Edit and change the query.
Box 4: (Search Result Web Part)
Here are some tools that make Cross-Site Publishing happen.
/ Content Search Web Part:
It allows to build your own query using a wizard, this means fetching the content you want to see, and then allows you to display them using predefined display templates. It uses Search to
query, which therefore allows us to show content from another Site.
/ Search Results Web Part:
It can either show the results of a typed query in the Search Box, which is the traditional Search Results we know. But, and this is key, the Search Results also allows you to build a Query using
the same Query Builder in the Content Search. In fact, I have found the Search Results to offer 95% of the same functionality as the Content Search. Therefore, it can also be used in Cross-Site
Publishing Scenarios.
Reference: Configure Search Web Parts in SharePoint Server 2013
QUESTION 108
Hotspot Question
A company hosts its public website by using a SharePoint publishing site template.
The website allows customers to browse and buy company products.
The website user interface is optimized to support multiple browsers, smartphones and tablets.
You need to enable support for a new tablet type.
Which Design Manager option should you use? (To answer, select the appropriate link in the answer area.)
Answer:
Explanation:
* Manage Device Channels
The device channel feature is ideal for more complex SharePoint sites where you create a single site and author content for that site, but map the content to use different master pages and style
sheets that are specific to a device or group of devices. By using the device channel feature you can choose to show different content to different device channels using the same page and page
layout.
Reference: Configure a SharePoint site for mobile devices
QUESTION 109
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.
But on the exam I had another answer: In SharePoint Designer open _catalogs, then master pages, create new folder and use SPD to modify javascript files. I went with this option because I think that the key word here is using SPD to modify files, not Notepad.
QUESTION 110
Drag and Drop Question
Contoso. Ltd. uses SharePoint for document sharing, task management, and workflows.
Contoso, Ltd has a SharePoint portal with a URL of intranet.contoso.com.
The portal has 5,000 subsites. It is used by 50,000 users.
You develop a custom web level feature that allows users to see their tasks from every website on the portal.
You need to use a Windows PowerShell script to enable the web level feature in the subsites without adversely impacting the performance of the server.
You have the following script:
Which values should you include in Target 1, Target 2, Target 3 and Target 4 to complete the script? (To answer, drag the appropriate values to the correct targets in the answer area. Each value 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:
Explanation:
* Example:
Advanced Assignment
Objects are assigned to named stores for disposal.
You can dispose of objects by using the -Identity parameter with the Stop-SPAssignment command.
$siteScope = Start-SPAssignment
foreach($site in ($siteScope | Get-SPSite “http://server/*”))
{
$webScope = Start-SPAssignment
$web = $webScope | Get-SPWeb $site.RootWeb.Url
$web.Title = “Greetings from PowerShell”
$web.Update()
Stop-SPAssignment $webScope
}
Stop-SPAssignment $siteScope
Regardless of the level used, all objects are disposed of when the PowerShell runspace is closed.
QUESTION 111
Drag and Drop Question
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:
Explanation:
* Example (Target1, Target2) (TokenHelper.GetContextTokenFromRequest, TokenHelper.ReadAndValidateContextToken)
// The Page_load method fetches the context token and the access token.
// The access token is used by all of the data retrieval methods.
protected void Page_Load(object sender, EventArgs e)
{
string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
if (contextTokenString != null)
{
contextToken =
TokenHelper.ReadAndValidateContextToken(contextTokenString,
Request.Url.Authority);
// etc,
}
* Example (Target 3, TokenHelper.GetClientContextWithAccessToken):
// This method retrieves information about the host web by using the CSOM.
private void RetrieveWithCSOM(string accessToken)
{
if (IsPostBack)
{
sharepointUrl = new Uri(Request.QueryString[“SPHostUrl”]);
}
ClientContext clientContext =
TokenHelper.GetClientContextWithAccessToken(
sharepointUrl.ToString(), accessToken);
}
QUESTION 112
Drag and Drop Question
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:
Explanation:
Requirement 1:
* FillHierarchy.SupportsHierarchy property
When implemented in a derived class, determines whether the claims provider supports hierarchical display.
* FillHierarchy
If you want to display hierarchy on the left pane of the claims picker, you must implement the FillHierarchy method and the SupportsHierarchy property in the SPClaimProvider class.
Requirement 2:
FillSearch.SupportSearch
If you want to be able to search for claims in the People Picker control, you must implement the Fillsearch method and Microsoft.SharePoint.Administration.Claims.SupportSearch property.
The SupportsSearch must return true.
Requirement 3: FillResolve.SupportResolve
A People Picker with claims picking functionality is sometimes referred to as a claim picker. If you want to be able to resolve claims by using the type-in control of the claims picker, you must
implement this method and implement the SupportResolve() property to return true.
Incorrect:
* FillClaimsForEntity.SupportsEntityInformation
When you include additional claims in a user’s security token, you are augmenting claims. If you want to augment claims, you must implement the FillClaimsForEntity method. In addition, you
must also set the SupportsEntityInformation property to true in the SPClaimProvider class. In order for this method to be invoked, the SupportsEntityInformation must return true.
QUESTION 113
Hotspot Question
A web application that listens on port 80 has been created for Internet users to access your company’s SharePoint site. The web application uses claims-based authentication.
Users report that they are prompted for credentials when they access the site in their browser.
You need to enable anonymous access.
On the Manage web applications page in Central Administration, which option should you select? (To answer, select the appropriate menu item in the answer area.)
Answer:
QUESTION 114
Drag and Drop Question
You add a site column for an Enterprise Content Management (ECM) project by using the Site Column 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 element 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:
Explanation:
* Target 1, target 5:
Elements Element (Field)
Top-level element in a Feature manifest file that contains Feature element declarations.
Example:
<Elements
Id = “Text”>
</Elements>
* Example:
<?xml version=”1.0″ encoding=”utf-8″?>
<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”>
<Field ID=”{060E50AC-E9C1-4D3C-B1F9-DE0BCAC300F6}”
Name=”Amount”
Type=”Currency”
/>
</Field></Elements>
QUESTION 115
Hotspot Question
A web application that listens on port 80 has been created for Internet users to access your company’s SharePoint site.
Your company requires anonymous users to authenticate before they post content.
You need to change the permissions that are assigned to unauthenticated users.
On the Manage web applications page in Central Administration, which option should you select? (To answer, select the appropriate menu item in the answer area.)
Answer:
Explanation:
* For the unauthenticated users use the Anonymous policy.
QUESTION 116
Drag and Drop Question
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:
Explanation:
* HttpWebRequest “/_api/web/lists”
Example:
The code in the following example shows you how to request a JSON representation of all of the lists in a site by using C#. It assumes that you have an OAuth access token that you are storing in the accessToken variable.
C#
HttpWebRequest endpointRequest =
(HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + “/_api/web/lists”);
endpointRequest.Method = “GET”;
// etc.
Reference: How to: Complete basic operations using SharePoint 2013 REST endpoints
QUESTION 117
The Contoso SharePoint on-premise intranet portal stores content in 50 site collections.
Contoso wants to display all content tagged with a metadata term on the main page of the portal.
You need to display all documents with the metadata term without using any custom code.
Which technology should you use?
A. SPQuery with Site Collection set to the portal’s main page site collection
B. Content Query Web Part (CQWP)
C. Content Search Web Part (CSWP)
D. SPSiteDataQuery
Answer: C
Explanation:
CSWP can be configured to “see” items anywhere in SharePoint.
Incorrect:
Not B, not D: CQWP and related SPSiteDataQuery can only search within the current site collection.
The Content Query Web Part has the following limitations:
/You can only aggregate data within a single site collection
/You can only aggregate list information.
QUESTION 118
Drag and Drop Question
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:
Explanation:
* Target 1, target 5:
Elements Element (Field)
Top-level element in a Feature manifest file that contains Feature element declarations.
Example:
<Elements
Id = “Text”>
</Elements>
* Target 2, 3, 4
The FieldRefs element contains a collection of FieldRef elements. The FieldRef element is a reference to a column defined elsewhere, either at the site or list level.
QUESTION 119
Drag and Drop Question
You work on a SharePoint Enterprise Content Management (ECM) project.
You need to ensure that all Microsoft Word documents are converted to Portable Document Format (PDF) once they are published and approved.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3 and Target 4 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:
Explanation:
* ItemUpdated
Runs after an item has been updated in the list
* SPFileLevel.Published
SPFileLevel specifies the level of publication for a document.
Published: The document is published.
QUESTION 120
Hotspot Question
A company’s IT department implements a Help Desk Ticketing system that involves workflow development by using SharePoint Designer and InfoPath.
The Help Desk Ticket workflow involves multiple steps and tasks that have serial approvals of multiple users and groups with custom task email messages.
You need to manage task approvals.
Which activity should you use? (To answer, select the appropriate action from the list of actions in the answer area.)
Answer:
Explanation:
* Start a task process
Start a task process is used to assign a task to multiple participants.
Reference: Understanding Task Actions in SharePoint Designer 2013
There is no doubt that GreatExam is the top IT certificate exam material provider. All the braindumps are the latest and tested by senior Microsoft lecturers and experts. Get the 70-488 exam braindumps in GreatExam, and there would be no suspense to pass the exam.
http://www.greatexam.com/70-488-exam-questions.html