Which two actions should you recommend?
You are designing a health monitoring strategy for an ASP.NET Web application. The Web
application must raise failure events to correspond with key business process failures. You
need to recommend an approach for ensuring that failure events can be consumed by the
ASP.NET Health Monitoring framework. Which two actions should you recommend? (Each
correct answer presents part of the solution. Choose two.)
Which two attributes should you add to the AppDb connection string entry in the Web.staging.config file?
You are designing the deployment strategy for an ASP.NET Web application. The database
configuration string varies depending on the target environment. You have the following
requirements: • Deploy the application by using Web Deploy. • Replace the connection
string named AppDb with appropriate value for each environment You need to recommend
an approach for updating the AppDb connection string when deploying the application to the
staging environment. Which two attributes should you add to the AppDb connection string
entry in the Web.staging.config file? (Each correct answer presents part of the solution.
Choose two.)
You need to recommend a session state mode that meets the requirements, What should you recommend?
You are modifying an ASP.NET Web application that uses session state. The Web
application is deployed to a Web farm. You have the following requirements: • Provide a
reliable failover mechanism for session state data. • Provide persistent storage of session
state data You need to recommend a session state mode that meets the requirements,
What should you recommend?
You need to recommend an approach for modifying the Money class to meet the requirements
An ASP.NET Web application contains a class named Money. The Money class has
properties named Value and Currency. The Locals window of the Microsoft Visual Studio
2010 IDE currently displays the Value and Currency properties only when the Money object
is expanded. You have the following requirements: • Display the Value and Currency
property values in the Locals windows. • Display the property values without requiring the
developer to expand the Money object. You need to recommend an approach for modifying
the Money class to meet the requirements. What should you do?
Which two actions should you recommend?
An ASP.NET Web application connects to a Microsoft SQL Server 2008 database. Multiple
users access the database. The Web.config file includes a database connection string. The
Web application uses Windows authentication and impersonation. Anonymous access is
turned off. You need to recommend an approach for pooling database connections between
users. Which two actions should you recommend? (Each correct answer presents part of
the solution. Choose two.)
What should you recommend?
An ASP.NET Web application hosted on a remote server throws MullReferenceException
exceptions that are not handled. The stack trace does not include line numbers. The
Microsoft Visual Studio 2010 remote debugging tools are installed on the remote server.
You need to recommend an approach for identifying the line of code that is causing the
exception. What should you recommend?
What should you recommend?
You are designing an exception-handling strategy for an ASP.NET Web Forms application.
The Web application will use Windows authentication. The Web application must meet the
following requirements: • Display a user-friendly error message to user. • Display a detailed
error message to server administrators. You need to recommend an approach for handling
exceptions. What should you recommend?
What should you recommend?
An existing ASP.NET Web application uses third-party server controls. The third-party
vendor releases a new version of the server controls. You need to recommend an approach
for testing whether the new versions of the server controls break the existing Web
application. What should you recommend?
Which data access technology should you recommend?
You are designing an ASP.NET Web application that will be developed by using Microsoft
Visual Studio 2010. The application will interact with a Microsoft SQL Server database. The
data access layer of the application must meet the following requirements: • Support rapid
application development techniques. • Allow the underlying database schema to change
without affecting the object model. • Contain strongly typed data objects You need to
develop the data access layer. Which data access technology should you recommend?
What should you recommend?
You are designing an ASP.NET MVC 2 Web application that requires each user to register
a user name and password before accessing restricted content. You have the following
requirements for user registration: • When the focus leaves the user name input field,
validate that the user name does not already exist. • Display validation results before
submitting the form. You need to recommend a data validation strategy. What should you
recommend?