Q1. You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application.
You detect performance issues when the application starts. You need to resolve the performance issues.
What should you do?
A. Enable compression in IIS.
B. Move the content to a second server.
C. Combine the content files by using ASP.NET MVC bundling.
D. Implement HTTP caching in IIS.
Answer: C
Q2. DRAG DROP
You create SharePoint apps for multiple clients.
Each client has a unique environment with specific requirements. You need to choose the appropriate hosting location for each app.
What should you do? (To answer, drag the appropriate hosting options to the correct description in the answer area. Each hosting option 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:
Q3. You need to implement client-side animations according to the business requirements.
Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. $("body h1:nth-child(1)").fadeIn(1000);
B. $("body h1:nth-child(1)")-fadeOut(1000);
C. $("body h2:nth-child(1)").animate({ opacity: 0 });
D. $("body h1:nth-child(1)").animate({ opacity: 1 });
Answer: B,C
Q4. HOTSPOT
You need to add code to line CM07 to create the Research Content document set.
How should you complete the relevant code? (To answer, select the appropriate option from the dropdown list in the answer area.)
Answer:
Q5. You are developing an ASP.NET MVC web application that includes the following method.
You need to test the AccountBalance method. Which unit test should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Explanation: http://msdn.microsoft.com/en-us/magazine/cc163665.aspx http://msdn.microsoft.com/en us/library/microsoft.visualstudio.testtools.unittesting.assert.areequal(v=vs.110).aspx
Q6. DRAG DROP
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:
Q7. You need to configure a new site collection in Central Administration. You will use the site collection to manage navigation terms.
What should you do?
A. Create a site collection by using the Publishing Portal template.
B. Create a site collection by using the Enterprise Search Center template.
C. Create a site collection by using the Records Center template.
D. Set the website address to http://adventureworks.com/sites/navigation
Answer: A
Q8. You develop a SharePoint app for a toy company that uses the Representational State Transfer (REST} API for search. The site collections in the app have been crawled recently and use the default search schema.
The app includes the following code segment: (Line numbers are included for reference only.)
You create the following result sources.
You need to ensure that the app only displays PDF documents.
Which code segment should you insert at line 03?
A. var resultSourceId = "Site PDF";
B. var resuitSourceId = "4C50FE18-B254-47A1-ABAD-0B6C4577D914";
C. var resultSourceId = "0F41A999-523A-41ED-AAAD-9D414A0FC3B4";
D. var resultSourceId = "82951A0C-6385-4E29-8D7F-4AB92FE9F536";
Answer: D
Q9. You are designing a distributed application.
The application must store a small amount of insecure global information that does not change frequently.
You need to configure the application to meet the requirements.
Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Application state
B. Session state
C. Database support
D. Profile properties
Answer: A,C
Q10. 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: B