Microsoft 70-492 - Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications Exam

Page:    1 / 26   
Total 129 questions

You are developing an ASP.NET MVC application.
You need to store membership information in a Microsoft SQL Server database.
How should you configure the membership provider? (To answer, select the appropriate options in the answer area.)





Answer :

You are developing an ASP.NET MVC application.
You need to authenticate clients by using an ASP.NET membership database.
Which authentication method should you implement?

  • A. Kerberos
  • B. Forms
  • C. Basic
  • D. Windows


Answer : B

You are developing an ASP.NET MVC web application for viewing a list of contacts. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of contact tiles in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include each contact's details. The HTML that creates the tiled interface resembles the following markup.


The CSS used to style the tiles in landscape mode is as follows.

If this CSS is omitted, the existing CSS displays the tiles in portrait mode.
You need to update the landscape-mode CSS to apply only to screens with a width greater than or equal to 500 pixels.
Which code segment should you use?

  • A. @media screen and (width >= 500px) { . . . }
  • B. @media screen and (min-width: 500px) { . . . }
  • C. @media screen (min-width: 500px, max-width: 1000px) { . . . }
  • D. @media resolution (min-width: 500px) { . . . }


Answer : B

You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures. The application contains three resource files in the Resources directory:
-> MyDictionary.resx
-> MyDictionary.es.resx
-> MyDictionary.fr.resx
Each file contains a public resource named Title with localized translation.
The application is configured to set the culture based on the client browser settings.
The application contains a controller with the action defined in the following code segment.
(Line numbers are included for reference only.)


You need to set ViewBag.Title to the localized title contained in the resource files.
Which code segment should you add to the action at line 03?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : B

You are designing an HTML5 website.
You need to design the interface to make the content of the web page viewable in all types of browsers, including voice recognition software, screen readers, and reading pens.
What should you do? (Each correct answer presents a complete solution. Choose all that apply.)

  • A. Annotate HTML5 content elements with Accessible Rich Internet Application (ARIA) attributes.
  • B. Convert HTML5 forms to XForms.
  • C. Ensure that HTML5 content elements have valid and descriptive names.
  • D. Use HTML5 semantic markup elements to enhance the pages.
  • E. Use Resource Description Framework (RDF) to describe content elements throughout the entire page.


Answer : A,D

Page:    1 / 26   
Total 129 questions