What should you test?
You create Microsoft Windows-based applications. You are creating an application that consumes both an internally developed Web service and an externally developed Web service. The application uses only some of the methods that both the Web services expose. You need to design an integration testing strategy for the application. You want to achieve this goal by using the minimum amount of programming effort. What should you test?
Which method should you use?
You are developing an Office Visio 2007 Shared Add-in. You create three objects named objMaster, objPage, and objWindow. The object objMaster references a local copy of the master. The object objPage references the current page. The object objWindow references the active window. You need to create several shape instances of the master on the current page at specific coordinates in the active window. Which method should you use?
What should you recommend?
You create Web-based client applications. You administer a large ASP.NET Web application that is hosted by using IIS.
The application must meet the following requirements:
Permit all users to log on by using a Web page that is integrated into the application. The security configuration must accommodate the largest number of browsers possible.
You need to make recommendations for a security plan that meets the application requirements. What should you recommend?
What should you do?
Your company salesman plans to visit five customers located in five different cities. You need to display the shortest route that covers all five customer locations on a Web-based map. What should you do?
What should you do?
You create a Microsoft Office SharePoint Server 2007 site. You also create a BDC definition. The BDC definition accesses a product database that is stored on a SQL Server 2005 server. You need to ensure that users can filter the product data by the product type field from within the SharePoint server.
What should you do?
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 should you do?
You are developing an Office Visio 2007 Shared Add-in. You need to modify the add-in to perform an action after the Visio 2007 application flushes its events queue. What should you do?
Which rationale should you choose?
You create Web-based client applications. You are designing a new Web site for your company. You need to evaluate the design concept for the main page, default.aspx. The default.aspx page contains static information, except for one data grid that displays information about the companys products. The data grid will retrieve the data from a component. The component will retrieve the data from a stored procedure. The page has the appropriate permissions to the Microsoft SQL Server database.
The application design must achieve the following goals without altering the data component:
The default.aspx page must load quickly.
The default.aspx page must contain the latest data from the database.
You decide to use a sqlCacheDependency attribute to ensure that the default.aspx page always displays the latest data in the grid. You need to ascertain whether the use of the sqlCacheDependency attribute
meets the requirements of this application. Which rationale should you choose?
Which code segment should you use?
You are creating a Virtual Earth 6.0 application to be viewed by using Microsoft Internet Explorer. The Web pages of the application contain maps.
The head section of the Web pages contains the following code fragment.
<script type=”text/javascript”>
var map = null;
function GetMap(){
map = new VEMap(‘Map’);
map.LoadMap();
ResizeMap();
}
</script> <style type=”text/css”>
html, body{ overflow:hidden; }
</style>
The body section of the Web pages contains the following code fragment.
<body onload=”GetMap();”>
<div id=’Map’ style=”position:relative; width:400px;
height:400px;”></div>
</body>
You need to resize the maps on the Web pages so that they exactly fit into the dimensions of the available browser area.
Which code segment should you use?
What should you do?
You are designing a MOSS 2007 solution. You need to implement a Single Sign-On (SSO) provider to access a Business Data Catalog (BDC).
What should you do?