GreatExam has updated the latest version of Microsoft 70-489 exam, which is a hot exam of Microsoft certification. It is GreatExam Microsoft 70-489 exam dumps that give you confidence to pass this certification exam in first attempt and with maximized score.
QUESTION 21
Contoso, Ltd. is integrating an Enterprise Resource Planning (ERP) system with SharePoint by using Business Connectivity Services (BCS).
The ERP system is a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS).
The WCF service is named people.svc and is located at http://contoso.com:8080.
The metadata for the service is found at http://contoso.com:808/mex.
You need to create a data connection for the ERP system.
In the WCF Connection dialog box, how should you configure the connection to the WCF service? (To answer, select the appropriate option from each drop-down list in the answer area.)
QUESTION 22
Drag and Drop Question
You develop a provider-hosted SharePoint app that retrieves and displays weather information from an external site.
The site contains lists of temperatures for different cities.
You need to create a Representational State Transfer (REST) endpoint URL in the app to retrieve hourly temperatures for a specific city from the site.
How should you complete the relevant code? (To answer, drag the appropriate term to the correct location or locations in the answer area. Each term 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:
QUESTION 23
Hotspot Question
You work for a company named Contoso, Ltd. that sells computer parts.
You tag inventory lists by using a term set named Computer Parts Classification.
The term set is structured as follows.
You must create a console application that accesses the SharePoint site and you must add a ClientContext object named ctx.
You need to create a term named i7-2600K that is a child of the CPU node and add a shared property to the i7-2600K term.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
Explanation:
https://gist.github.com/vgrem/46b1cded91a79da088bf
QUESTION 24
You develop a SharePoint app that displays information about automobile parts.
You need to create a user profile property to classify automobile parts into categories.
Which property name should you specify?
A. 1part-Classification
B. part.classification
C. part_classification
D. Part Classification
Answer: B
QUESTION 25
Drag and Drop Question
You develop a .NET application named SPUserProfiles for a company called Contoso, Ltd. SPUserProfiles communicates with a SharePoint app by using SharePoint Web Services.
The SharePoint web service reference name is ProfileService.
SPUserProfiles includes the following code segment: (Line numbers are included for reference only.)
You need to implement the UpdatePhoneNumber method.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct target 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:
QUESTION 26
You develop a SharePoint app that reads social data from your company’s SharePoint site.
You need to access the SocialFeedManager object.
Which object or URL should you use?
A. http://<siteUri>/_api/social.feed
B. SocialFeedManager(ClientRuntimeContext, ObjectPath);
C. http://<siteUri>/social.feed
D. SPSocialFeedManager(UserProfile);
Answer: A
Explanation:
Access point:
<siteUri>/_api/social.feed
SocialFeedManager(ClientRuntimeContext, ObjectPath) – This member is reserved for internal use and is not intended to be used directly from your code.
http://msdn.microsoft.com/en-us/library/office/jj163237.aspx
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.social.socialfeedmanager
QUESTION 27
Drag and Drop Question
You develop a feature in a SharePoint solution by using Visual Studio 2012.
You insert several breakpoints in the feature event receiver to debug performance issues.
You need to ensure that the code stops running when the solution reaches a breakpoint.
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.)
Answer:
QUESTION 28
You have a custom Web Part that retrieves data across multiple task lists.
Pages that contain the Web Part load slowly.
You need to ensure that pages load as quickly as possible.
Which methods should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. CrossListQueryCache.GetSiteData(SPContext.Current.Site, siteUrl)
B. Cross ListQneryCache.GetSiteData(SPContext.Current.Site)
C. Cache.Get(siteUrl)
D. SPList.GetItems(spQuery)
Answer: AC
Explanation:
A: GetSiteData method (SPSite, String) Gets the cache data from the specified site and from the specified webUrl.
C: Cache.Get Method
Retrieves the specified item from the Cache object.
QUESTION 29
Drag and Drop Question
You develop a SharePoint app for Contoso, Ltd.
Contoso has offices in several countries.
All of the local offices in each country are connected by using a Wide Area Network (WAN). Users store large data files in SharePoint document libraries.
The users report that the files load very slowly.
You need to ensure that the files are cached the first time that the files are opened at a local office.
How should you complete the Windows PowerShell cmdlet? (To answer, drag the appropriate code segment 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:
https://social.technet.microsoft.com/Forums/en-US/78146e9b-7aec-4e89-8db9-20ee0c057168/performance-issue-while-loading-the-files?forum=sharepointadmin
QUESTION 30
You have a SharePoint publishing site.
The marketing team tags their documents by using a managed metadata field named Location. The site has been fully crawled. Documents are tagged with city names only.
A SharePoint app on the site displays search results by using the following term set.
You create the following code segment to query the contents of the site: (Line numbers are included for reference only.)
You need to create a Keyword Query Language (KQL) expression to return results for all assets in the Central region.
Which code segment should you insert at line 02?
A. var queryTerms = “Location”;
B. var queryTerms = “577c8e48-d5d9-4e5f-8e35-408c723feb11”;
C. var queryTerms = “b49f64b3-4722-4336-9a5c-56c326b344d4”;
D. var queryTerms = “owstaxidlocation: 1acfae8a-70b4-4ce0-bfbf-96c0e711f 8df”
Answer: C
QUESTION 31
Hotspot Question
You create a SharePoint app that displays a list of documents for a company that sells insurance policies.
The documents have been crawled by the Search service.
You create managed properties named Underwriter and Bonded.
You must locate the documents that meet the following criteria:
• Created by using Microsoft Word 2002
• Contains the exact phrase “life policy”
• Were underwritten by Woodgrove
You need to design a search query that locates the required documents.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
QUESTION 32
You create a SharePoint site collection for a law firm.
You create the following objects in the site collection.
A user searches for a legal case.
The search results must contain only current cases.
You need to create a custom result type that displays only current cases.
Which object should you use?
A. Cases
B. MPCaseID
C. case
D. ows_CaseID
E. CaseID
Answer: B
QUESTION 33
You access a Records Management site in SharePoint.
You create the following segment: (Line numbers are included for reference only.)
Search results must display documents that contain specific keywords by using the following custom display template:
You need to implement the custom display template.
What should you do? (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: ACD
QUESTION 34
You configure eDiscovery for a SharePoint Online site collection.
You need to configure permissions for eDiscovery users so that users are able to access all discoverable content.
What should you do?
A. Add eDiscovery users to the Viewers group for the eDiscovery center.
B. Grant eDiscovery users access to all content in each web application.
C. Grant eDiscovery users Contribute permissions to the eDiscovery center.
D. Grant eDiscovery users site collection administrator permissions on every site collection that
contains discoverable content.
Answer: D
Case Study: 1 – Trey Research (QUESTION 35 – QUESTION 47)
Background
You develop an intranet portal for Trey Research.
End users of the portal are researchers and office staff.
Business Requirements
All end users must be able to customize their profile with relevant information. Researchers must store research papers, upload supporting documents, and search content.
Storage
The portal must use an existing Microsoft SQL Server database to access and store work profile information and research papers.
Data Access
* The portal must use Business Connectivity Services (BCS) to access data from external systems. Search
* Researchers must search content from SharePoint and external systems.
Content Management
* Researchers must manage a research topic and related content as a single entity.
User Profile
* Employees must be able to customize their profile.
* Administrators must be able to create new profile properties.
Technical Requirements
Data Store
The data model for the database entities is shown below:
Users must not be allowed to update the Employees.
Username and ResearchPapers.ID fields.
The fields uniquely distinguish the corresponding entity.
Access External Data
* You must create an external content type named TreyResearch to access the SQL data source. During development, the data source will be accessible locally.
* You must develop an app to access the fields named Employee Name and Research Paper Title.
* Researchers must be able to find all research papers that are written by a particular employee.
* A research paper always must be associated with the employee that wrote it.
Document Management
* Researchers must be able to upload research papers and relevant supporting materials into a document set named Research Content.
* All the document sets must be stored in a list named ResearchPapers.
* All documents that are uploaded must contain the prefix DOC in the file name.
Environment
The SQL database will be on a different physical server when the solution is deployed to a production environment. The solution must use the SQL Server user named sqltrey to connect to the database. The BCS service is configured and running in the production environment.
Personalize
* You must use custom profile properties to add a new section to the user profile properties page.
* The solution must use the client-side object model (CSOM) to upload employee profile pictures.
* Employees must be able to change their display name on the site.
* Each employee’s page must display the value of the DisplayName and Title fields.
Search
* The Microsoft Bing API web service must be used to search for research papers. No code must be written.
* The app must use a Content Enrichment web service named Abstractlndexer. The app must use the Abstractlndexer service to index search content.
* The solution must store large-sized media files in a dedicated SQL Server database.
* The database must use the ResearchPapers.ID field as the foreign key to associate the field with the TreyResearch external content type.
Application Structure
Relevant portions of the solution files are shown below. (Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
App.js
ManageUserProfiles.cs
ContentManagement.cs
QUESTION 35
Drag and Drop Question
You need to add code to line MP22 to create the custom profile property.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once or not at all. You may need to drag the split bar between panes or scroll to view content.)
Answer:
QUESTION 36
Drag and Drop Question
You need to add code to line MP57 to display the required properties for the user profile.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct 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:
QUESTION 37
You need to configure the external content type to search for research papers.
Which indexing connector should you use?
A. .NET Type Connector
B. WCF Service Connector
C. Custom Connector
D. SQL Server Connector
Answer: B
Explanation:
Microsoft SQL Connector allows you to send and receive messages with a database using the JDBC protocol. Common usage includes retrieving, inserting, updating, and deleting database records, as well as invoking stored procedures.You can simply discover your database, point to the table, view, or stored procedure that will perform the operations you want, and then return the required data and use it to create your external content type without writing any code or XML based on a SQL Server Table.
Windows Communication Foundation (WCF) web services that you can consume as external content types from Microsoft Business Connectivity Services (BCS).You can simply discover your WCF service and point to the bindings and contracts that will perform the desired operations, and use it to create your external content type without writing any code or XML. The procedure to create an external content type that connects to a WCF service is similar to one that connects to a Web service.
As the database must use the ResearchPapers.ID field as the foreign key to associate the field with the TreyResearch external content type, you need to use WCF Service Connector for configuring the external content type to search for research papers.
QUESTION 38
You need to generate document identifiers for each new document that is uploaded to the site.
What should you do?
A. Create a derived class that inherits from the abstract class named Microsoft.Office.
DocumentManagement. Documentld and then override all of the abstract methods.
B. Create a derived class that inherits from the abstract class named Microsoft.Office.
DocumentManagement. DocumentldProvider and then override all of the virtual members.
C. Create a derived class that inherits from the Microsoft.Office.DocumentManagement.
DocumentldProvider abstract class and then implement all abstract members.
D. Create a class to implement the Microsoft.Office.DocumentManagement.
Documentld interface and then override all of the virtual members.
Answer: B
QUESTION 39
Drag and Drop Question
You need to configure authentication for the external content type in the production environment. 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.)
Answer:
QUESTION 40
Drag and Drop Question
You need to add code at line AJ05 to complete the implementation of the app.
How should you complete the relevant code? (To answer, drag the appropriate code segment to the correct location 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:
GreatExam offers you all the 70-489 exam questions which are the same as your real test with 100% correct and coverage rate. We provide the latest full version of 70-489 PDF and VCE dumps to ensure your 70-489 exam 100% pass.