Microsoft 70-517 - Recertification for MCSD: SharePoint Applications Exam
Page: 3 / 44
Total 218 questions
Question #11 (Topic: Topic 1)
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.)
[Microsoft-70-517-5.0/Microsoft-70-517-18_2.png]
[Microsoft-70-517-5.0/Microsoft-70-517-19_2.png]
How should you build the route? (To answer, select the appropriate options in the answer
area.)
[Microsoft-70-517-5.0/Microsoft-70-517-18_2.png]
[Microsoft-70-517-5.0/Microsoft-70-517-19_2.png]
Answer: [Microsoft-70-517-5.0/Microsoft-70-517-20_2.png]
Question #12 (Topic: Topic 1)
You need to ensure that only valid parameters are passed to the EditLog action.
How should you build the route? (To answer, drag the appropriate code segments to the
correct location or locations. 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.)
[Microsoft-70-517-5.0/Microsoft-70-517-21_2.png]
How should you build the route? (To answer, drag the appropriate code segments to the
correct location or locations. 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.)
[Microsoft-70-517-5.0/Microsoft-70-517-21_2.png]
Answer: [Microsoft-70-517-5.0/Microsoft-70-517-22_2.png]
Topic 2, Web Application
Background
You are developing an online shopping web application.
Business Requirements
? A user is not required to provide an email address. If a user enters an email
address, it must be verified to be a valid email address.
? Information about the first product on the product page must fade out over time to
encourage the user to continue browsing the catalog.
? Administrators must be able to edit information about existing customers.
? Administrators also must be able to specify a default product on the product page.
Technical Requirements
? The web store application is in a load-balanced web farm. The load balancer is not
configured to use server affinity.
? The web store application is an ASP.NET MVC application written in Visual Studio
2012.
? The value of the productId property must always be greater than 0.
? The Products page for mobile devices must display to mobile users. The Products
page for desktop devices must display to desktop users.
? The data must be stored in a serialized XML data format.
? Serialized objects must be schema-independent.
? Exceptions originating from IIS must display a page with support contact
information.
? Some page links expire, and users who access these links encounter 404 errors.
? Exceptions must be logged by using the WriteLog method of the Utility class.
? The application must support image format conversions from .bmp to .jpeg for
mobile devices.
? [8]
desktop devices.
Application Structure
[Microsoft-70-517-5.0/Microsoft-70-517-24_2.png]
[Microsoft-70-517-5.0/Microsoft-70-517-25_2.png]
[Microsoft-70-517-5.0/Microsoft-70-517-25_3.png]
Question #13 (Topic: Topic 2)
You need to ensure that new customers enter a valid email address.
Which code should you use? (Each correct answer presents part of the solution. Choose all
that apply.)
[Microsoft-70-517-5.0/Microsoft-70-517-26_2.png]
Which code should you use? (Each correct answer presents part of the solution. Choose all
that apply.)
[Microsoft-70-517-5.0/Microsoft-70-517-26_2.png]
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A,D
Question #14 (Topic: Topic 2)
You need to add a method to the ProductController class to meet the exception handling
requirements for logging.
Which code segment should you use?
[Microsoft-70-517-5.0/Microsoft-70-517-27_2.png]
requirements for logging.
Which code segment should you use?
[Microsoft-70-517-5.0/Microsoft-70-517-27_2.png]
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Question #15 (Topic: Topic 2)
You updated the web.config file with the HTTP run-time value required to display an
alternative version of the site.
You need to ensure that the correct page displays to the users.
Which code segment should you use to update the controller?
alternative version of the site.
You need to ensure that the correct page displays to the users.
Which code segment should you use to update the controller?
A. If (Request.IsTabletDevice)
B. If (Request.Browser.IsBrowser("Mobile"))
C. If (Request.UserAgent["Tablet"])
D. If (Request.Browser.IsMobileDevice)
Answer: D