70-517 Exam - Recertification for MCSD: SharePoint Applications

certleader.com

Q1. HOTSPOT 

You need to ensure that only valid parameters are passed to the EditLog action.

How should you build the route? (To answer, select the appropriate options in the answer area.)

Answer:

Q2. 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?

A. @media resolution(max-width: 500px) {

. . .

}

B. @media screen(min-width: Opx, max-width: 500px) {

. . .

}

C. @media screen and (width <= 500px) {

. . .

}

D. @media screen and (max-width: 500px) {

. . .

}

Answer: D

Explanation: http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml

Q3. You are developing an ASP.NET MVC application by using Visual Studio 2012. The application throws and handles exceptions when it runs.

You need to examine the state of the application when exceptions are thrown. What should you do?

A. From the DEBUG menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.

B. From the DEBUG menu in Visual Studio 2012, select Exceptions. Disable the User­ unhandled check box for Common Language Runtime Exceptions.

C. Add the following code to the Web.config file of the application.

<customErrors mode="On">

<error statusCode="500" redirect="CustomErrors.html" />

</customErrors>

D. Add the following code to the Web.config file of the application.

<customErrors mode="On" >

<error statusCode="404" redirect="CustomErrors.html"/>

</customErrors>

Answer: A

Q4. DRAG DROP 

You need to add code to line MP57 to display the required properties for the user profile.

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, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:

Q5. HOTSPOT 

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:

Q6. You access a Records Management site in SharePoint. You create the following segment: (Line numbers are included for reference only.)

Search results must display documents that contain specific keywords by using the following custom display template:

You need to implement the custom display template.

What should you do? (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: A,C,F

Q7. You need to complete the code at line LV19 to implement the validation of the app license. Which code segment should you use?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: C

Q8. You must select an app model to deploy apps to an Office 365 small business tenant. The business logic of the apps is located in a remote web application.

What should you do?

A. Create a SharePoint-hosted app. Implement the business logic by using JavaScript.

B. Develop provider-hosted apps and integrate data sources with the business logic by using OData.

C. Deploy the business logic to the host web by using a Full Trust SharePoint solution.

D. Develop an OData service provider infrastructure and publish the provider to the

_layouts directory.

Answer: C

Q9. 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?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: D

Q10. You need to validate that specific users can delete tasks. Which code segment should you insert at line CD04?

A. Option A

B. Option B

C. Option C

D. Option D

Answer: D