What should you do?
You are writing an application that calls a Web service.
The application must call the Web service asynchronously and also perform a small amount of processing while the Web service is running.
The return value from the Web service is required for additional processing.
You need to ensure that the application can call the Web service asynchronously and also process the return value.
Your solution must keep processor cycles to a minimum.
What should you do?
What should you do?
A class library named MathLib contains the following code.
public class MathClass : MarshalByRefObject
{
public decimal DoHugeCalculation(int iterations)
{
decimal result;
//Some very lengthy calculations …
return result;
}
}
The MathLib class is hosted in a .NET Framework remoting server application.
A Windows application project running on a client computer contains the following class.
public class MathClient
{
public void ProcessHugeCalculation(int iterations)
{
MathClass cm = new MathClass();
decimal decRes = cm.DoHugeCalculation(iterations);
//process the result …
}
}
The MathClient class must call the MathClass class asynchronously by using remoting.
A callback must be implemented to meet this requirement.
You need to complete the implementation of the MathClient class.
What should you do?
What should you conclude?
You are an enterprise application developer. Your company has a Web-based application that runs on a single Web server. Session information is currently being stored by using the default session mode. You are redesigning the application to run in a Web farm. You must ensure that the failure of any single server does not make session information unavailable. A developer in your team recommends using the default session mode on each server in the Web farm. You need to evaluate this recommendation. What should you conclude?
Which solution should you recommend?
You are an enterprise application developer. You create a client application. One thousand customer service agents use the application during their core business hours, from 8:00 to 17:00.
The application confirms to the following design details:
* The application uses separate business logic components and data access logic components.
* The data components run on the client computer and connect to a central Microsoft SQL Server 2005 database server.
* When the application starts, it retrieves datasets to populate list boxes, drop-down list boxes, and TreeView controls that have data common to all users.
* Users are authenticated to the database by using Active Directory.
Users report that the application is slow to start. You need to recommend a solution so that the application starts normally. You want to achieve this goal with the minimum programming effort.
Which solution should you recommend?
What should you do?
You are an enterprise application developer. You create a Web application to call the Web services of different trucking companies. The application retrieves transit times for different routes. You create Web service proxy classes by using the Wsdl.exe utility. You need to call different Web services concurrently. You also need to ensure that the application can continue performing other tasks while the Web services are being called. You need to achieve this by using the least amount of code possible. What should you do?
Which two actions should you perform?
You are an enterprise application developer. You are creating a medical application that permits surgeons to review previous recordings of surgeries. The application must meet the following requirements:
Surgeons must be able to view several videos concurrently. Users send only necessary portions of the files across the network. Transmission of videos to the application might be interrupted.
Videos must play instantly.
Users must be able to fast-forward, reverse, pause, and stop the video.
You need to ensure the application meets these requirements. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which diagram should you choose?
You are an enterprise application developer. You create an order processing application.
The application must meet the following requirements:
The order is scheduled for delivery if all products are available.
The order is back-ordered if any one product is not available.
The customer can cancel the back-ordered order.
The order is scheduled for delivery if the customer does not cancel it.
The order is closed after delivery.
You need to select the state diagram that translates the requirements.
Which diagram should you choose?
Which transaction mechanism should you choose?
You are an enterprise application developer. You are creating a three-tier application. The business layer contains 10 business functions. These business functions write messages to message queues and update records in a Microsoft SQL Server database. You need to identify the transaction mechanism for these business functions to group both the activities together as one atomic transaction unit. Which transaction mechanism should you choose?
Which three stored procedures should you recommend?
You are an enterprise application developer. You are designing a Web-based application to maintain appointment details.
You consider implementing the following steps to delete an appointment:
Enter a date range or a client ID, or enter a date range and a client ID to get a list of appointments.
Click the Appointment hyperlink. The appointment details are retrieved and displayed.
Click the Delete button.
You need to analyze the requirements and recommend stored procedures. Which three stored procedures should you recommend? (Each correct answer presents part of the solution. Choose three.)
Which layer should you create for each database product?
You are an enterprise application developer. You are creating an application. The application uses different database products for different customers. You need to ensure maximum reuse of the code that is available in the different layers of the application. You also need to ensure that the application uses the unique features of each database product. Which layer should you create for each database product?