aiotestking uk

70-489 Exam Questions - Online Test


70-489 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. DRAG DROP - (Topic 5) 

You have a SharePoint farm that contains a server named HQ-SPAppl. An app on the server allows users to search for news articles. You access a list of desired keywords on the server from the location c:\refiners\phasel\keywords.csv. A custom dictionary is already in use. 

You need to create a custom processing extension to promote any news articles with specific case-insensitive keywords. 

You have the following script: 

Which values should you include in Target 1 and Target 2 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:  

Q2. HOTSPOT - (Topic 5) 

You create term sets and multi-lingual labels for a site collection. The default locale, language, and culture for the term sets are set to English. You develop a console application to create labels for a term named Memory. The console application uses the English locale. You develop the following labels for the term named Memory. 

You need to create German labels for the term named Memory. 

How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.) 

Answer:  

Q3. - (Topic 5) 

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:

Q4. DRAG DROP - (Topic 5) 

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:  

Q5. - (Topic 3) 

You need to create a link to the Dallas office page. 

Which URL should you use? 

A. http://www.contoso.com/Offices/Dallas.aspx 

B. http://www.contoso.com/Offices/Pages/Office.aspx 

C. http://www.contoso.com/Offices/Pages/Office.aspx?Office=Dallas 

D. http://www.contoso.com/Offices/Dallas 

E. http://www.contoso.com/Offices/Pages/Office.aspx?TermID=b6e11481-3445-413c-9da0-b15ae5d5cbd4 

Answer:

Q6. - (Topic 5) 

You create a publishing site collection and configure it for anonymous use. The Machine 

Translation Service (MTS) application is configured and available. 

New pages in the site collection must be translated immediately to other languages by 

using the SharePoint Variations feature and the MTS application. 

You need to configure the MTS application to perform translations synchronously. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: asyncJob SP.Translation.SaveBehavior.alwaysOverwrite 

Example: 

To translate a single file asynchronously: 

JScript 

var asyncJob; 

var clientContext = new SP.ClientContext("serverRelativeUrl"); 

var contextSite = clientContext.get_site(); 

asyncJob = SP.Translation.TranslationJob.newObject(clientContext, "cultureID"); 

asyncJob.set_outputSaveBehavior(SP.Translation.SaveBehavior.alwaysOverwrite); 

Reference: Machine Translation Services in SharePoint 2013 

Q7. - (Topic 2) 

You create a custom Visual Web Part. You deploy the solution package to the farm by using Windows PowerShell. When you try to add the custom Visual Web Part to a SharePoint site, an error message displays that includes a correlation ID. 

You need to determine the cause of the error. 

What should you do? (Each correct answer presents complete solution. Choose all that apply.) 

A. Run the Get-SPLogEvent Windows PowerShell cmdlet. 

B. Run the Get-SPDiagnosticConfig Windows PowerShell cmdlet. 

C. Run the Get-SPHealthAnalysisRule Windows PowerShell cmdlet. 

D. View the Service Calls tab on the Developer Dashboard. 

E. View the Unified Logging Service (ULS) tab on the Developer Dashboard. 

Answer: A,E 

Explanation: http://ittechnotebook.blogspot.co.uk/2013/07/how-to-find-real-error-in-sharepoint.html 

Q8. HOTSPOT - (Topic 5) 

LitWare, Inc. is integrating an Enterprise Project Management (EPM) system with SharePoint by using Business Connectivity Services (BCS). The EPM system uses a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS). The WCF service is named tasks.svc and is located at http://litware.com:8080. The metadata for the service is found at http://litware.com:808/mex. 

You need to create a data connection for the EPM 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:  

Q9. - (Topic 4) 

You need to print out the terms and term sets for the Document Library app named Project Documents. 

What should you do? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Insert the following code segment at line DL59: Console.WriteLine("TermSet : = + termSet.Name + " Term : " + term.Name); 

B. Insert the following code segment at line DL70: 

Console.WriteLine("TermSet : " + termSet.Name); 

C. Insert the following code segment at line DL35: 

TaxonomySession taxonomy = TaxonomySession.GetTaxonomySession(clientContext); 

D. Insert the following code segment at line DL56: 

Console.WriteLine("TermSet : " + termSet.Name); 

E. Insert the following code segment at line DL35: 

TaxonomyItem taxonomy = TaxonomySession.GetTaxonomySession(clientContext); 

Answer: A,E 

Explanation: From scenario: You must develop a console app to print the current term sets and each root term for the app by using the following style: TermSet: name Term: name You must create a Department term set to store team member roles and organize them by department types. The import file for the Department term set is the default for all new projects. The import file contains terms for System Architect, Programmer, Producer, and Manager. Each term is contained within two parent groups, Engineering or Production. Managers are members of the Production group only. All of the parent groups use a shared root-level term. 

Q10. DRAG DROP - (Topic 5) 

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: