Which two actions should you perform?
You create Microsoft Windows-based applications. You are creating a component. The component performs statistical computations by using sets of data from a large, complex database. According to the design specification, the component performs a full set of calculations in not more than 5 seconds. Currently, the component takes more than 20 seconds to perform the required calculations. The project is almost complete and you must resolve the performance issues quickly. You need to identify the major processing performance issues in the component. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
An External Data recordset named Computer Inventory contains a column named MachineSN.
You create a new Office Visio 2007 diagram and load the Computers and Monitors stencil. A shape named PC Master from the Computers and Monitors stencil has a Shape Data row labeled Serial Number.
To add a shape to the Visio 2007 diagram, you select the PC Master shape, and then drag and drop a row from the External Data window to the Visio 2007 page.
You notice that the new shapes Serial Number row is empty. You need the values from the MachineSN column to be entered automatically into the row labeled Serial Number when you add the shape.
What should you do?
Which option should you use?
You create Web-based client applications. You are creating a component that sends the data that is generated by regional offices to a remote server that is located at the central office. Each regional office generates thousands of orders every week. This data is stored on several tables in an instance of Microsoft SQL Server that is located at the regional office. The manager at the regional office reviews all orders and modifies them, if necessary, before inserting them into the database at the central office.
You need to ensure that the component meets the following requirements:
The manager has the option of reviewing and modifying the orders offline. The data from a regional office is copied to the server that is located at the central office in as short a time as possible.
Which option should you use?
Which two methods or events should you use?
You create a Web page that contains a Virtual Earth 6.0 map. You want to track how your users are interacting with the map.
You need to track the following usage data.
number of Virtual Earth transactions
zoom usage
map styles that are being used
Which two methods or events should you use? (Each correct answer presents part of the solution. Choose two.)
Which two actions should you perform?
You create a Microsoft Office SharePoint Server 2007 site that contains a document library named Reports. You create a Web Part that displays an audit trail for each document in the Reports library. You need to audit the dates and types of each document that was printed by a specific user. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which value should you use?
You create a new master page named myDefault.master. You install the master page as part of a new site definition.
You need to set the MasterPageFile URL of the default.aspx page element to reference myDefault.master.
Which value should you use?
Which two actions should you perform?
You create Microsoft Windows-based applications.
You are designing a class to be used by multiple client applications. This class will be used to generate unique account numbers. Your company guidelines state that unique number generating components must comply with the following design pattern:
Classes must be designed so that they cannot be instantiated directly by client applications. Only a single instance of the class must be used by all the client applications. Instance methods and properties for these classes must be accessible to client applications.
You need to define how this class will implement the design pattern. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What are three possible ways to achieve this goal?
You have an ODBC database that contains information that you want to display in Office Visio 2007. You need to update the database records by modifying shape data from Visio 2007. What are three possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose three.)
What should you do?
You create Web-based client applications. You create a public function for your application that must connect to a data source. The public function must also perform a series of updates to the data. Some of the operations will result in exceptions if there are errors.
Your exception handling mechanism must meet the following requirements:
Callers of the function must be able to ascertain whether the function succeeded or failed. If the function failed, callers of the function must be able to find where and why it failed. If there is any error, the function must immediately stop processing.
You need to identify the best exception handling mechanism. What should you do?
Which code segment should you insert at line 03?
You deploy a Virtual Earth 6.0 application that uses Microsoft ASP.NET Asynchronous JavaScript and XML (AJAX) implementation to retrieve data.
The myAjaxCallback function evaluates any AJAX response. The function contains the following code segment. (Line numbers are included for reference only.)
01 function myAjaxCallback (){
02 if (xmlHttp.readyState == 4){
03 …
04 }
05 }
At the time the request was made, the server was overloaded. When the server processed the AJAX request, the server returned an error message.
You need to ensure that the application does not produce a fatal exception due to the error generated from the AJAX response.
Which code segment should you insert at line 03?