70-489 Premium Bundle

70-489 Premium Bundle

Developing Microsoft SharePoint Server 2013 Advanced Solutions Certification Exam

4.5 
(19725 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 70-489 Free Practice Questions

Q1. - (Topic 2) 

You need to implement connection management for catalog connections. 

Which method should you use? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Public void UpdateCatalogConnection(CatalogConnectionSettingscatalogInfo) 

B. Public void OnPublishCatalog(string catalogPath) 

C. Public void DeleteCatalogConnection(string catalogPath) 

D. Public void SetCatalogConnection(string catalogPath, boot disconnect) 

Answer: A,C 

Explanation: From scenario: 

You must create a custom tool that site collection administrators use to manage catalog 

connections. 

You must define the API calls to remove (C) or update (A) existing catalog connections. 

Q2. - (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:

Q3. - (Topic 4) 

You need read the import file and populate the term sets and terms. Which code segment should you insert at line IT07? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q4. DRAG DROP - (Topic 1) 

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:  

Q5. DRAG DROP - (Topic 4) 

You need to implement the site collection for managed navigation. 

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:  

Q6. - (Topic 3) 

You must create a search results page for the real estate properties that are available in each real estate office. 

You need to display the search result for the internet site collection. 

Which types of files should you create? (Each correct answer presents part of the solution. Choose all that apply.) 

A. JavaScript (.js) 

B. Active Server Page (.aspx) 

C. Master Page (.master) 

D. HTML (.html) 

E. XML (.xml) 

Answer: B,C 

Explanation: Note: 

* Master Page defines “placeholders” which can be overridden in child page 

* Content Page of a Master Page defaults to default.aspx 

Q7. - (Topic 5) 

You develop a Web Part that includes the following code segment (Line numbers are included for reference only.) 

You log on to a SharePoint site with the user name Contoso\THartono. You need to display account details for the currently logged in user. Which code segment should you insert at line 13? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

// Get user properties for the target user. 

// To get the PersonProperties object for the current user, use the 

// getMyProperties method. 

personProperties = peopleManager.getMyProperties(targetUser); 

Q8. HOTSPOT - (Topic 1) 

You need to create the external content type to support the data model. 

In the Return Parameter Configuration dialog box, in the properties section, which options should you select? (To answer, select the appropriate setting or settings in the answer area.) 

Answer:  

Q9. DRAG DROP - (Topic 5) 

You develop a SharePoint app that connects to external content by using Business Connectivity Services (BCS). 

You need to ensure that the app returns no more than 500 items at one time. 

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:  

Q10. HOTSPOT - (Topic 5) 

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 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:  

Q11. - (Topic 5) 

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. part-Classification 

B. part.classification 

C. part_classification 

D. Part Classification 

Answer:

Q12. - (Topic 2) 

You need to implement logging. 

Which items should you implement? (Each correct answer presents a complete solution. Choose all that apply.) 

A. SPDiagnosticsServiceBase.WriteEvent 

B. Microsoft.SharePoint.Diagnostics.ULSLogEntry 

C. SPUser.Sid 

D. PortalLog.LogString 

E. SPAlertTemplate 

F. SPSecurity.RunWithElevatedPrivileges 

Answer: B,F 

Explanation: F: The SPSecurity.RunWithElevatedPrivileges executes the specified 

method with Full Control rights even if the user does not otherwise have Full Control. 

From Scenario: 

You design an application framework. The framework is used by other developers on the 

team. The framework must include entry points that are used to log errors and exceptions. 

You need the entry points. 

Incorrect: 

Not D: PortalLog.LogString method 

This member is reserved for internal use and is not intended to be used directly from your 

code. 

Q13. 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:  

Q14. DRAG DROP - (Topic 5) 

You have a site collection, and the Publishing Infrastructure feature is activated. 

You need to use SharePoint Designer to create a page layout named Fancy Layout that supports HTML markup and styling. 

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:  

Q15. DRAG DROP - (Topic 1) 

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:  

Q16. DRAG DROP - (Topic 5) 

You develop a SharePoint app that uses the client-side object model (CSOM) to run search 

queries. 

You need to implement a method that searches for the term SharePoint. 

You have the following code: 

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code? (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:  

Q17. - (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 

Q18. - (Topic 5) 

You develop a SharePoint-hosted app. The app includes the following code segment: (Line numbers are included for reference only.) 

The app must display user profile data for the user that is logged in. The user profile data must include the PreferredName, Department, and WorkPhone properties. 

You need to ensure that the app displays the required user profile data. 

Which code segment should you insert at line 12? 

A. var a = new SP.UserProfiles.UserProfile(); 

B. var a = new SP.UserProfiles.SocialFollowingManager(context); 

C. var a = SP.UserProfiles.Profileloader.GetProfileLoader(context); 

D. var a = new SP.UserProfiles.PeopleManager(context); 

Answer:

Q19. DRAG DROP - (Topic 1) 

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:  

START 70-489 EXAM