Q1. DRAG DROP
You deploy a solution to a SharePoint server.
You need to implement a method to programmatically access the health score of the SharePoint Server.
Which three code segments should you use in sequence? (To answer, move the appropriate segments from the list of segments to the answer area and arrange them in the correct order.)
Answer:
Q2. DRAG DROP
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:
Q3. HOTSPOT
The designer for the website gave you the following as the design for the page.
The normal color for the tab is *2da4c2, and the color when the mouse is over the tab is
#ffd800.
The HTML that implements the navigation tab is as follows.
You need to implement the design.
What should you do? (To answer, select the appropriate options in the answer area.)
Answer:
Q4. You need to ensure that users can upload pictures.
Which code segment should you insert at line MP57?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q5. HOTSPOT
A company uses SharePoint for document sharing and collaboration. Users create content types for different types of documents that are created daily. All document content types have ProjectID, Type, and AuditStatus columns. ProductID is not a required field. The Auditing department requires that every document have a ProjectID within two weeks of the creation date.
If a document does not have a ProjectID, the AuditStatus column must show a message for users to specify the ProjectID. For performance reasons, fewer than 50 documents at a time should be processed.
You need to write a work-item timer job to meet the requirement.
How should you complete the relevant code? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
Q6. A company uses SharePoint for internal collaboration. SharePoint is deployed on a server farm with a single front-end server, a single application server, and a dedicated database server.
You review existing Web Parts that read from and write to SharePoint lists. You find the following code in one of the utility classes and notice memory leaks in the method.
You need to ensure that there are no memory leaks in the method. What should you do?
A. Add a finally statement and include site.Dispose ().
B. Add site.Dispose() to the catch statement.
C. Add a finally statement and include siteCollection.Dispose ();
D. Add siteCollection.Dispose() to the catch statement.
Answer: C
Q7. A company has a SharePoint farm that has the following configuration:
✑ SPWFE1 and SPWFE2 are configured as front-end web servers.
✑ SPAPP1 and SPAPP2 are configured as application servers.
✑ New servers will be added to the farm.
You implement a solution that contains a custom navigation provider.
You need to register a custom navigation provider by using the least amount of administrative effort.
What should you do?
A. Create a web.solutionname.xml file in the \CONFIG directory and run the copyappbincontent Stsadm command.
B. Edit the ApplicationHost.config file on each SharePoint server.
C. Edit the web.config file for the web application on all SharePoint servers.
D. Use the SPWebConfigModification class.
Answer: D
Q8. You need to extend the edit functionality of RunLogController. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q9. HOTSPOT
You need to implement the mobile device support requirements.
How should you build the ProcessRequest method? (To answer, select the appropriate options in the answer area.)
Answer:
Q10. DRAG DROP
You need add to code at line IL22 to implement the task list design.
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:
Q11. 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
Q12. You need to implement the custom claims provider for the SharePoint farm.
Which code segments should you implement? (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: B,D,F Explanation:
* From scenario:
MyClaimsProvider.es
C:\Documents and Settings\usernwz1\Desktop\1.JPG
Q13. 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
Q14. DRAG DROP
You need to add code at line UA09 to create the custom role.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Answer:
Q15. DRAG DROP
You add a site column for an Enterprise Content Management (ECM) project by using the Site Column Designer in Visual Studio 2012.
What will the designer-generated XML look like? (To answer, drag the appropriate XML elements to the correct location or locations 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:
Q16. DRAG DROP
You need to create a workflow custom activity to use in a custom action in SharePoint by using Microsoft Visual Studio 2012.
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: