PrepAway - Latest Free Exam Questions & Answers

Category: 70-547

Exam 70-547: PRO: Designing and Developing Web-Based Applications by Using the Microsoft .NET Framework.

What should you include in the Product class?

You create Web-based client applications. You are creating a class library that will be used by an e-commerce Web-based application. The library has an abstract class that is named Product. The Product class serves as a base class for the other classes and provides a default ProductID property. Each class other than the base class represents a type of product that is sold by your company. There is a ProductID property and a GetProductDetails procedure for each product type.

You need to ensure that the application meets the following requirements:

The shopping cart in your Web-based application processes all product types in the same manner.
Each class retrieves its data from a different source.
The GetProductDetails procedure retrieves the data from the appropriate source for the product type.

What should you include in the Product class?

Which classes should you choose?

You create Web-based client applications. You create a component that displays the category of a product and the product data on a Web page. The data is stored on the Web server in an XML file.

The Web page must meet the following requirements:

Display each category of products.
List the name, description, and price of each product in a category.
Prohibit the user from modifying the data.
Load as quickly as possible.
Use the minimum amount of code.
Retrieve the data to display from the XML file.

You need to identify the specific classes of a component that can be used to meet your Web page requirements. Which classes should you choose?

Which set of associations should you identify?

You create Web-based client applications. You create an e-commerce application. Users are permitted to customize the application. All user settings and product information of the application are stored in a database. The class diagram for the application is as shown in the Exhibit. (Refer to the Exhibit.) You need to identify the correct logical layer in which each class resides based on the class diagram. Which set of associations should you identify?

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?

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 counter should you use?

You create Web-based client applications. You create an ASP.NET Web application. Five hundred users will access the Web-based application simultaneously. The application uses session variables to persist user data. You monitor the application by using System Monitor. You need to identify a counter that will warn you of the problems that you are most likely to face while monitoring. Which counter should you use?

What should you recommend?

You create Web-based client applications. You are evaluating the configuration architecture of an application in a suite of tools that is managed from a common management console. You must get user-specific information, which is gathered during the user sessions, for the marketing department so that they can analyze trends in usage. Eventually, the marketing department might decide to store the data on their Microsoft SQL Server database in the next version of their customer management tool suite.

The configuration architecture has the following features:

The data is stored in files on a shared file server.
Permissions for the server permit the Web server to write and the marketing department to read the data.
The data is formatted in XML.
You need to evaluate whether the configuration architecture meets the requirements. What should you recommend?

What should you do?

You create Web-based client applications. You create an application that has 20 pages.

The pages include tables of data. The tables of data must meet the following requirements:

Each table of data must display the data from one database table. When a user clicks on a column heading, the column must sort the data in the table.
A style sheet must be used to format the tables.

You need to meet the requirements for the tables in the most efficient way possible. What should you do?

What should you do?

You create Web-based client applications. You are creating a Web component that calls an existing function. The function might throw an application-specific exception of type InvalidChecksumException. The type InvalidChecksumException inherits from the System.ApplicationException class. The component is coded to recover from an InvalidChecksumException exception, but not to recover from other types of exceptions. The component does not have any additional information that could be usefully added to other types of errors or exceptions. You need to design the component to correctly handle exceptions. You also need to ensure that the exception handling strategy does not affect the performance of the component. What should you do?

What should you conclude?

You create Web-based client applications.

You are creating an intranet application that reviews customer data. The internal Personally Identifiable Information (PII) policy specifies the following requirements for access to customer data:
Only employees in the customer management group can access the customer data. Access to customer data is limited to computers that are inside company facilities.

The legal team advises that you log information that verifies that you have met the PII requirements. The log might be useful if there is a legal challenge over customer privacy. You must create a design that uses minimum amount of storage. You must also ensure that the design meets all the requirements. You decide to store the Microsoft Windows user name for any user who uses the program to access the customer data. You also decide to store the date and time of the access. You need to decide if the design will meet all the requirements. What should you conclude?


Page 9 of 12« First...7891011...Last »