PrepAway - Latest Free Exam Questions & Answers

Category: 70-552

Exam 70-552: UPGRADE: MCAD Skills to MCPD Windows Developer by Using the Microsoft .NET Framework

Which solution should you use?

You create Microsoft Windows-based applications. You are designing an application that will be deployed to employees in your company. The company requires that all internal applications are branded with the corporate logo and a copyright notice. You need to ensure that all forms in the application contain the appropriate branding and copyright notice. Your solution must be extensible, maintainable, and require minimum effort to lay out.
Which solution should you use?

What should you do?

You create Microsoft Windows-based applications. You design a composite user control that is used to enter e-mail addresses. The control is as shown in the following exhibit. (Click the Exhibit button.) The control validates the user input by using a regular expression. The control validates e-mail addresses and prevents the user from submitting blocked e-mail addresses. The control must permit the user to correct the entry if the user enters a blocked e-mail address. You need to provide feedback if the user enters a blocked e-mail address in the txtEmailAddress text box.

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 tier of the application architecture this component will belong to. Where should you place the component

You create Microsoft Windows-based applications. You are upgrading an application that contains custom data-centric user controls. Each of these controls implements its own custom data-binding logic. Much of the data-binding code is similar from control to control. You create a new component that combines the common data-binding logic. You change the existing controls so they use this new component. You need to decide which tier of the application architecture this component will belong to. Where should you place the component?

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.)

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?

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?

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 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?

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?


Page 6 of 12« First...45678...Last »