PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You maintain an ASP.NET application by using the .NET Framework 3.5.

The application is currently accessed from desktop browsers. There are RadioButtonList objects on several pages in the application.

You are updating the application to meet the following requirements:

– When accessed from mobile devices, all RadioButtonList objects must be displayed as DropDownList objects to conserve screen space.
– When accessed from desktop browsers, the application must remain unchanged.

You need to ensure that the application meets the requirements.

What should you do?

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application uses nested master pages. Every page on the site uses a department-specific child master page that references a parent master page that is shared by all the departments.

Your company has recently purchased a new charting component that creates dynamic images.

You need to perform the following tasks:

– Add the charting component to all intranet Web pagesin the application by using theminimum possible development effort.
– Ensure that individual Web pages can declaratively replace the charting component with a static image.

What should you do?

What should you conclude?

You are an enterprise application developer. An intermediate level programmer is preparing the request to place your distributed application into the production environment. According to corporate IT policies, you must specify the production server and network requirements to the production support personnel to review the application. Your application is a mission critical system. You are using three Microsoft Windows Server 2003 application servers that are clustered by using Microsoft Windows Network Load Balancing. The three application servers have the following network configurations:

AppSrv1

IP Address: 172.30.103.40
Subnet Mask: 255.255.255.0
Default Gateway: 172.30.103.1

AppSrv2

IP Address: 172.30.102.41
Subnet Mask: 255.255.255.0
Default Gateway: 172.30.102.1

AppSrv3

IP Address: 172.30.102.42
Subnet Mask: 255.255.255.0
Default Gateway: 172.30.102.1

You need to validate the network settings for the three application servers, making corrections if necessary.
What should you conclude?

Which test should you perform?

You are an enterprise application developer. You create a routing application that ascertains the best routes for shipment of containers.
The application contains a complex routing method that examines the following parameters:

* The weight of the containers
* The length of the trailer that hauls the containers
* Road constraints such as weight limits and bridge heights

The method returns a list of roads to use. You need to design a unit test to ensure that the routes returned do not violate any known constraints.
Which test should you perform?

Which two actions should you perform?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application contains several ASP.NET pages that must be localized into multiple languages.

You need to implement a solution that allows the pages to load language-specific and

region-specific content that is stored in a Microsoft SQL Server database.

Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

Which action should you recommend?

You are an enterprise application developer. You are creating a sales application. You make several changes to a commission object within the sales application. The commission object calculates the monthly sales commissions for the sales force of the company. The sales commissions are calculated based on the following criteria:

* The commission object receives the following parameters:
The ID of the sales person
The monthly gross sales of the sales person

* The commission object calls the data access layer to execute three stored procedures.
* The commission object calculates the commission by performing operations on the output of the stored procedures.

You need to write a unit test for the commission object.
Which action should you recommend?

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

You create a Web form in the application. You add a TextBox control and a Button control to the form. When the user clicks the Button contro the input text from the TextBox control is stored in a database.

You also add a Validation control to the form to verify whether the input data is valid before it is stored in the database.

You discover that users who have Javascript disabled in their Web browsers can store invalid data in the database.

You need to ensure that only valid data is submitted to the database.

What should you do?

Which three test scenarios should you recommend?

You are an enterprise application developer. You are designing unit tests for a Customer class. The Customer class contains properties to get or set data in private fields. The Customer class also contains one default constructor and one non-default constructor. The non-default constructor accepts a Customer ID argument. When the non-default constructor is used to instantiate the Customer object, a public method named Load is invoked along with the Customer ID argument. The Customer object properties are then loaded by using values from the database. You need to design unit tests that will test the class properties.
Which three test scenarios should you recommend? (Each correct answer presents part of the solution. Choose three.)