What should you do to ensure that the exception-handling strategy does not affect performance?
You create Microsoft Windows-based applications. You create a component that calls an existing function. The design for the function specifies that it might throw an application-specific exception named InvalidChecksumException, which inherits from System.ApplicationException. The InvalidChecksumException exception is an error that can be handled. But the component cannot handle any other type of error. The component does not have any additional information that can be added to other types of errors. You need to design the component to correctly handle exceptions. You also need to ensure that the exception-handling strategy does not affect performance. What should you do?
Which two data handling mechanisms should you choose?
You create Microsoft Windows-based applications. You create a component to process daily reports. These daily reports are data-driven.
Eight database tables dictate the following properties:
the data that is printed
the format of the data
the order of output
The component loads the configuration data into a specific internal structure. Subsequently, the component retrieves and outputs the report data based on the configuration settings that are stored in the internal structure. The database is not updated. You need to develop the data handling capabilities of the component to manage the configuration data and the report data. You also need to ensure that the reports are generated as quickly as possible. Which two data handling mechanisms should you choose? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You create Microsoft Windows-based applications. You are designing a component that will draw a series of graphics based on an interactive user input. You need to ensure that the user can use the input without waiting for the graphics to be drawn. What should you do?
What should you conclude?
You create Microsoft Windows-based applications. You are creating a component that will encapsulate a data source. Dozens of applications will use the component.
The component must meet the following design requirements:
1.The component must be able to be modified within a Rapid Application Development environment.
2.The component must be without a user interface.
You propose to derive the component from the System.Windows.Forms.Control class and to implement the IComponent interface. You need to decide whether the component will meet the requirements. What should you conclude?
Which risk should you identify?
You create Microsoft Windows-based applications. You are creating an application to manage projects. Your current customers use Microsoft Windows 2000, Windows XP Professional, and Windows Server 2003, in workgroup and domain settings.
The application must meet the following requirements:
Identify the user for workflow functionality.
Store data in a central location on your companys network.
Permit data to be stored locally for offline access.
Your application relies on Windows domainCbased authentication to identify the user without logging on to the application itself. You decide to use Microsoft SQL Server 2005 as the database engine and save the data locally in XML format for offline access. You need to identify the risks that are related to your design. Which risk should you identify?
Which three conclusions should you reach?
You create Microsoft Windows-based applications. You are creating an application that uses Microsoft Visual Studio 2005 to support the human resources department. The application stores information in a Microsoft SQL Server 2005 database. The application tracks information on the following fields: EmployeesManagersDepartmentsRelationships between them The database diagram is as shown in the following exhibit. (Refer to the Exhibit.) You need to evaluate the database diagram to ensure that the application correctly handles the data. Which three conclusions should you reach? (Each correct answer presents part of the solution. Choose three.)
Which two aspects should you consider modifying?
You create Microsoft Windows-based applications. You are creating a sales management application for your company. The application will be used by 250 users on the companys
network. In the future, the company will be expanding the user base to include at least 1,000 more users. The application will be stored locally on every computer. The application uses a set of assemblies that are installed in the global assembly cache for business rules. The application retrieves data from a Microsoft SQL Server 2005 database by using a set of methods from a Web service. The SQL Server 2005 database is hosted on a local server. The Web service is maintained at a local IIS 6.0 Server. You need to evaluate which aspects of the physical design can be modified to accommodate more users. Which two aspects should you consider modifying? (Each answer presents part of the solution. Choose two.)
What should you conclude?
You create Microsoft Windows-based applications. You are creating a sales management application. This application will permit sales personnel to search for customer information in a Microsoft SQL Server 2005 database. All communication with the database server is done by using an SSL channel.
When a user needs to search for customer information based on a name, the following sequence of actions occurs:
1.The user types a name into a text box.
2.The user clicks a button to initiate the search.
3.The component validates that the value the user types is less than 200 characters. 4.The value that is typed is passed as a string to a component. 5.The component concatenates the typed value to a Select statement in the Where clause of the component.
6.The statement is executed to generate a DataTable object. 7.The DataTable object is used to display the results to the user. You need to identify the risk factor in this application design. What should you conclude?
What should you recommend?
You create Microsoft Windows-based applications. You need to evaluate the design concept of an application.
The application must meet the following requirements:
The application relies on the operating system for authentication. The application minimizes the amount of data sent over the network when connecting to the database. The application exposes data access code so that the future Web-based and mobile applications can reuse them.
The application permits users to view and edit data contained in tables from a Microsoft SQL Server 2005 database.
The application controls access to the SQL Server 2005 database at the table level.
The design contains the following elements:
The SQL Server 2005 database uses the Windows Authentication mode. A database schema that grants rights to the users at the table level. A stored procedure in Transact-SQL that accesses the necessary data required by the application. A Web service that uses a pre-defined credential to access the database and run the stored procedures. A Microsoft Windows-based application that impersonates the logged-on user and calls the Web service to retrieve and update the data.
You need to evaluate the design and recommend appropriately. What should you recommend?
Which four requirements does the proposed solution meet?
You create Microsoft Windows-based applications. You are creating an application to manage projects. Your company network consists of a single Microsoft Windows Server 2003 Active Directory domain. All servers in the domain run Microsoft Windows Server 2003. All workstations run Microsoft Windows XP Professional.
You are provided with the following requirements:
1. Identify the user for workflow functionality.
2. Store data in a central location to help users access the data from anywhere on the network.
3. Permit data to be stored locally for offline access.
4. Permit access to the central data storage so that future applications can reuse the data.
5. Store application settings locally.
6. Make network communication as secure as possible.
You create an application that relies on Windows domain-based authentication and authorization to identify the user without logging on to the application. You also decide to use Microsoft SQL Server 2005 as the database engine and save the data locally as XML for offline access. You need to validate that the proposed solution meets the requirements. Which four requirements does the proposed solution meet? (Each answer presents part of the solution. Choose four.)