1.
You are an enterprise application developer. The application is used by 500 call center executives for an item tracking system. The existing application contains large custom- serializable business objects that contain no
user-specific data. The objects are stored by using the session state in-memory provider. You plan to evaluate the logical design of the application. You need to ensure that the application can support long-term growth in
the number of users.
What should you do?
2.
You are an enterprise application developer. You are evaluating a component that monitors a Web-based application. The component stores monitoring information in a database and performs the following functions:
Retrieves the number of orders placed per second.Tracks the data for peak usage of the application and displays the data in a tabular form. Subsequently, monitoring requirements change in the following manner:
Users must be able to view data graphically.Users must be able to analyze data in real time.Users must be able to correlate the number of orders placed per second with the memory usage in the Web server. You need to evaluate whether the component meets the new requirements and propose a solution, if required.
What should you conclude?
3.
You are an enterprise application developer. You are reviewing a code segment in a Windows Forms application that invokes a Web service asynchronously. You discover that there is no implementation of
exception handling. You need to implement exception handling for the application and log the error in the event log by using the minimum amount of coding effort.
What should you do?
4.
You are an enterprise application developer. You plan to design a monitoring mechanism for a Web service.
The Web service contains a method named Forecast that uses a complex algorithm to forecast weather. The algorithm generates a number of exceptions. Administrators are responsible for shutting down the service when
the number of exceptions is greater than 50 for every 10 seconds. You need to monitor the number of exceptions that are generated by the Forecast method during the execution of the Web service. What should you do?
5.
You are an enterprise application developer. You create a Web Service that provides methods which return the values of a series of calculations. You identify performance problems in a component within the calculations.
You need to find out the precise number of nanoseconds that were consumed by the call to the component.
What should you do?
6.
You are an enterprise application developer. You create a Microsoft Windows-based service application. The application must perform the following tasks: Monitor running processes for critical events.Log critical events to
an e-mail and send the e-mail to the system administrators.Record and include stack information as part of the critical event. You must be able to configure application event logging at run time. Application event logging
must have minimal impact on runtime performance. You need to choose an appropriate monitoring feature to fulfill these requirements. Which feature should you choose?
7.
You are an enterprise application developer. You are developing a component to contain a large number of properties. You plan to write a method in the component that will accept an object as a parameter. The method
will return a formatted string representation of all property values of the object. You need to implement the method by ensuring the minimum amount of memory usage.
What should you do?
8.
You are an enterprise application developer. You plan to design the component architecture for a new large- scale enterprise application. You need to design a component architecture that meets the following
requirements: The components must share common method implementations.The components must be able to support custom implementation of specific methods. What should you do?
9.
You are an enterprise application developer. You are creating a component that will be part of a field-sales order system. The component will be used by a program installed on portable computers. The program will
communicate with a corporate server that will use the guest network access at customer sites. You need to ensure that the component design is optimized for performance. You also need to ensure that the component design protects the local data and the communications stream without compromising the flexibility of the communication mechanism.
What should you do?
10.
You are an enterprise application developer. You are creating a component to load data from Microsoft SQL
Server database tables into combo boxes. The retrieved data has a numeric ID column and a description column. You need to select a .NET class that allows you to load the data. You also need to ensure minimal
effect on the database server performance. Which class should you use?