PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What will you do?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You are creating an ASP.NET MVC 2 Web
application using .NET Framework 4.0. You add a controller named MVC2Controller to the MVC 2
application. You are required to modify the MVC 2 application to manage the URL path
/company/info. What will you do? (Each correct answer represents a part of the solution. Choose
two.)

Which two actions should you perform?

You are developing a Windows Communication Foundation (WCF) service to provide
shopping cart support. ASP.NET compatibility mode is not enabled. The shopping cart
information must be retained across user visits to the store until the user explicitly empties
the cart or submits the cart contents to order. You need to implement the service as a
DurableService. Which two actions should you perform? (Each correct answer presents part
of the solution. Choose two.)

What will you do to accomplish this?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web site using
.NET Framework 4.0. Only registered users of the company will be able to use the application. The
application holds a page named UserAccount.aspx that enables new users to register them to the
registered users‘ list of the company. The UserAccount page hold numerous TextBox controls that
accept users personal details, such as user name, password, home address, zipcode, phone number,
etc. One of the TextBox controls on the page is named ZipCode in which a user enters a zip code. You
must ensure that when a user submits the UserAccount page, ZipCode must contain five numeric
digits. What will you do to accomplish this? (Each correct answer represents a part of the solution.
Choose two.)

What will you do to accomplish this?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web
application using .NET Framework 4.0. The application holds a Web page named MyHome.aspx. You
are creating a button with a rolloverimage on MyHome.aspx. However, when mouse hovered over
the button image, the rolloverimage is retrieved from the server in a separate request. You need to
use an improved rollover button in which the button‘s rolloverimage is already downloaded and
stored in the browser’s cache, as a result when you hover over the button, it is instantly displayed.
What will you do to accomplish this? (Each correct answer represents a part of the solution. Choose
two.)

You need to ensure that your service works with the load balancer

A Windows Communication Foundation (WCF) service is deployed with netTcpBinding. This
sen/ice uses a duplex message exchange pattern. You are developing the next version of
the WCF service. You discover that your company’s hardware load balancer performs
correctly only for WCF services that use HTTP. You need to ensure that your service works
with the load balancer. What should you do?

What will you do?

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You create an ASP.NET Web application
using .NET Framework 4.0. You are planning to deploy the ASP.NET Web application to a production
server by publishing the Web application in Release configuration. You must ensure that the
connection string value in the Web.config file is updated to the connection string value of the
production server during publishing. What will you do?

You need to ensure that the transaction times out and aborts if the operation has not completed within 45 seco

You are developing a Windows Communication Foundation (WCF) service that executes a
longrunning operation. The service is accessed from your business applications in a server
transaction in which the client does not participate. You need to ensure that the transaction
times out and aborts if the operation has not completed within 45 seconds. What should you
do?