Lead2pass Microsoft 70-489 exam practice questions and answers are ideal for the aspiring candidates to grab exceptional grades in Microsoft exams. The 70-489 question answers are developed using the latest updated course content and all the answers are verified to ensure phenomenal preparation for the actual exam.
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.)
Answer:
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:
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:
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
Lead2pass 70-489 material details are researched and created by the most professional certified authors who are regularly using current exams experience to create precise and logical dumps. You can get questions and answers from many other websites or books, but logic is the main key of success. And Lead2pass will give you this key of success.