PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you conclude?

You are an enterprise application developer. You create a layered application. You must deploy the application in a three-tier environment. Tier 1 consists of the presentation components deployed on a Web server. Tier 2 consists of the business objects deployed on an application server. Tier 3 consists of a database deployed on a database server. You create a set of classes in a separate assembly as a data access layer to encapsulate the database access functionality. None of the classes in the data access layer inherits from the MarshalByRefObject class. Your team plans to deploy the data access layer component in tier 3. You need to evaluate whether the deployment plan will meet the requirements. What should you conclude?

Which solution should you recommend?

You are an enterprise application developer. You create a client application. One thousand customer service agents use the application during their core business hours, from
8:00 to 17:00.
The application confirms to the following design details:
The application uses separate business logic components and data access logic components.
The data components run on the client computer and connect to a central Microsoft SQL Server 2005 database server.
When the application starts, it retrieves datasets to populate list boxes, drop-down list boxes, and TreeView controls that have data common to all users. Users are authenticated to the database by using Active Directory.

Users report that the application is slow to start. You need to recommend a solution so that the application starts normally. You want to achieve this goal with the minimum programming effort.
Which solution should you recommend?

What should you conclude?

You are an enterprise application developer. You are designing a Microsoft Windows-based application that will use a third-party library. The third-party library is available in a single assembly. The library contains classes inside the Com.Util namespace. You can access the source code for this library. You must provide additional functionality that is not available in the third-party library. To conform to corporate policy, the additional functionality must be available in
the Com.Util namespace. A developer in your team decides to implement the additional functionality by modifying the source code of the third-party library. You need to evaluate whether
this implementation simplifies maintenance when new versions of the third-party library are released. What should you conclude?

Which code segment should you use?

You are using the Microsoft Visual Studio 2005 IDE to examine the output of
a method that returns a string. You assign the output of the method to a string variable named fName.

You need to write a code segment that prints the following on a single line

The message: “Test Failed: “
The value of fName if the value of fName does not equal “John”

You also need to ensure that the code segment simultaneously facilitates uninterrupted execution of the application. Which code segment should you use?