
Microsoft Recertification for MCSD: SharePoint Applications - 070-517 Exam Questions
QUESTION NO: 1
You need to add a method to the ProductController class to meet the exception handling
requirements for logging.
Which code segment should you use?

You need to add a method to the ProductController class to meet the exception handling
requirements for logging.
Which code segment should you use?

Correct Answer: A
QUESTION NO: 2
HOTSPOT
You are developing an ASP.NET MVC application that has pages for users who browse the site with Windows Phone 7.
The pages for Windows Phone 7 include the following files:
- _Layout.WP7.cshtml
- Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to Windows Phone 7 users.
How should you update the Application_Start method? (To answer, select the appropriate
option from the drop-down list in the answer area.)


HOTSPOT
You are developing an ASP.NET MVC application that has pages for users who browse the site with Windows Phone 7.
The pages for Windows Phone 7 include the following files:
- _Layout.WP7.cshtml
- Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to Windows Phone 7 users.
How should you update the Application_Start method? (To answer, select the appropriate
option from the drop-down list in the answer area.)


Correct Answer:

QUESTION NO: 3
You are developing an ASP.NET MVC web application for viewing a photo album. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a
description. The HTML that creates the gallery interface resembles the following markup.

If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less than 500 pixels.
Which code segment should you use?
You are developing an ASP.NET MVC web application for viewing a photo album. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a
description. The HTML that creates the gallery interface resembles the following markup.

If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less than 500 pixels.
Which code segment should you use?
Correct Answer: B
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 4
DRAG DROP
You develop a SharePoint app that uses the client-side object model (CSOM) to retrieve items from the search index.
You need to implement the client-side query code.
Which four code segments should you use in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

DRAG DROP
You develop a SharePoint app that uses the client-side object model (CSOM) to retrieve items from the search index.
You need to implement the client-side query code.
Which four code segments should you use in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

Correct Answer:

QUESTION NO: 5
The transcode.exe utility activates its license online when it is installed.
You need to ensure that the registration of the transcode utility is handled as specified in its license.
Which method should you add to the TranscodeWorkerRole class?

The transcode.exe utility activates its license online when it is installed.
You need to ensure that the registration of the transcode utility is handled as specified in its license.
Which method should you add to the TranscodeWorkerRole class?

Correct Answer: C
QUESTION NO: 6
Adventure Works uses a web design firm to design the user interface for an upcoming toy sales website, www.toys.adventureworks.com. The website is built by using a SharePoint publishing template.
Adventure Works must implement the newly designed user interface for the site. The design firm provides a set of HTML, CSS, and JavaScript files.
You need to create and publish a SharePoint master page by using the supplied files.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
Adventure Works uses a web design firm to design the user interface for an upcoming toy sales website, www.toys.adventureworks.com. The website is built by using a SharePoint publishing template.
Adventure Works must implement the newly designed user interface for the site. The design firm provides a set of HTML, CSS, and JavaScript files.
You need to create and publish a SharePoint master page by using the supplied files.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
Correct Answer: A,E,F
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).
QUESTION NO: 7
DRAG DROP
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.)

DRAG DROP
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.)

Correct Answer:

QUESTION NO: 8
You need to add the field control to the About Us page layout. Which control should you add?

You need to add the field control to the About Us page layout. Which control should you add?

Correct Answer: A
QUESTION NO: 9
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 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?
Correct Answer: A
QUESTION NO: 10
DRAG DROP
You need to ensure that the application uses RunLogRoleProvider custom role provider.
How should you modify the web.config file? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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.)

DRAG DROP
You need to ensure that the application uses RunLogRoleProvider custom role provider.
How should you modify the web.config file? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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.)

Correct Answer:

QUESTION NO: 11
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?
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?
Correct Answer: B
QUESTION NO: 12
HOTSPOT
The designer for the website gave you the following image 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.)


HOTSPOT
The designer for the website gave you the following image 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.)


Correct Answer:

QUESTION NO: 13
You are designing a distributed application that runs on the Windows Azure platform.
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.)
You are designing a distributed application that runs on the Windows Azure platform.
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.)
Correct Answer: B,C
Explanation: Only visible for Pass4Test members. You can sign-up / login (it's free).




