Which type should you recommend?
You are designing an ASP.NET Web application that allows user input. You have the
following requirements: • Use client-side state management. • Prevent users from
accidentally modifying data. • Automatically encode data. • Preserve data during a page
postback. You need to recommend the appropriate type of state management. Which type
should you recommend?
What should you recommend?
You are designing an ASP.NET MVC 2 Web application. The Web application must meet
the following requirements: • Validate all user input for a class named Customer. • Perform
client-side and server-side validation. You need to recommend an approach for validating
user input. What should you recommend?
What should you recommend?
You are designing an ASP.NET Web application. Each page of the Web application will
have a common master page and derive from a common base page class. You have the
following requirements: • Support multiple languages for user interface labels. • Enable
automatic detection of language based on browser language settings. You need to
recommend an approach to support localization. What should you recommend? A. In the
code-behind for the master page, override the OnInit() method. Set the
Thread.CurrentThread.CurrentUICulture property based on the value of the
Request.Browser.Capabilities(“preferredLanguage”) dictionary entry.
Which two actions should you recommend?
You are modifying an existing ASP.NET Web application. Each page of the Web application
includes a navigation bar and a print button. You have the following requirements: • Enable
users to print pages of the Web site without printing the navigation bar. • Do not create a
separate version of the page formatted for printing. • Leverage the existing print button on
each page. You need to recommend an approach that meets the requirements. Which two
actions should you recommend? (Each correct answer presents part of the solution. Choose
two.)
What should you recommend?
You are designing an ASP.NET Web application. The Web application must meet the
following requirements: • Support REST without implementing custom URI templates. •
Allow CRUD functionality. You need to recommend a data access strategy. What should
you recommend?
Which technology should you recommend?
You are designing an ASP.NET Web application. You have the following requirements: •
Relational database tables must automatically map to to .NET classes. • The data access
layer must be able to target database engines other than Microsoft SQL Server. You need
to recommend a data access technology. Which technology should you recommend?
What should you recommend?
You are designing a Windows Communication Foundation (WCF) service. The WCF service
will support a common data access strategy for an ASP.NET 1.1 Web application and an
ASP.NET 4 Web application. You have the following requirements: • Ensure that the WCF
service complies with WS-* standards. • Enable backward-compatibility for clients that can
consume only ASMX Web Services. You need to recommend an endpoint and binding
strategy for the WCF service. What should you recommend?
What should you recommend?
You are designing an ASP.NET Web application that stores data in a Microsoft SQL Server
2008 database on a remote server. You must meet the following requirements: • Ensure
that users’ actions can be traced on each server by using the security audit log. • Minimize
the risk of server components executing in the user’s context. You need to recommend an
approach for accessing the database. What should you recommend?
What should you recommend?
You are designing an ASP.NET Web application. The Web application must allow users to
authenticate by using LDAP on a Web form. You need to recommend an authentication
model. What should you recommend?
What should you recommend?
You are reviewing an ASP.NET Web application that uses dynamic SQL. The Web
application validates user credentials against a Microsoft SQL Server 2008 database by
using Forms authentication and hashing the password. You need to recommend an
approach for testing whether users can gain elevated access to the Web application. What
should you recommend?