Ensurepass

Software Development Fundamentals

 

QUESTION 81

You have a server that limits the number of data connections. What should you use to optimize connectivity when the number of users exceeds the number of available connections?

 

A.

Connection timeouts

B.

Named pipes

C.

Normalization

D.

Connection pooling

 

Correct Answer: D

Explanation:

In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required.

 

 

QUESTION 82

The purpose of a constructor in a class is to:

 

A.

Initialize an object of that class.

B.

Release the resources that the class holds.

C.

Create a value type.

D.

Inherit from the base class.

 

Correct Answer: A

Explanation:

Each value type has an implicit default constructor that initializes the default value of that type.

 

 

QUESTION 83

You are developing a database that other programmers will query to display race results.

 

You need to provide the ability to query race results without allowing access to other information in the database.

 

What should you do?

 

A.

Disable implicit transactions.

B.

place the query into a stored procedure.

C.

Create an index on the result table.

D.

Add an AFTER UPDATE trigger on the result table to reject updates.

 

Correct Answer: B

 

 

QUESTION 84

You are creating an application that presents users with a graphical interface. Users will run this application from remote computers. Some of the remote computers do not have the . NET Framework installed. Users do not have permissions to install software.

 

Which type of application should you choose?

 

A.

Windows Forms

B.

Windows Service

C.

ASP. NET

D.

Console-based

 

Correct Answer: C

 

 

QUESTION 85

This question requires that you evaluate the underlined text to determine if it is correct.

 

Internet Information Services (IIS) must be installed on the client computers in order to run a deployed ASP.NET application.

 

Select the correct answer if the underlined text does not make the statement correct. Select “No change is needed” if the underlined text makes the statement correct.

 

A.

No change is needed

B.

computer that hosts the application

C.

computer that you plan to deploy from

D.

Application Layer Gateway Service

 

Correct Answer: B

Explanation:

Internet Information Services (IIS) must be installed on computer that hosts the application in order to run a deployed ASP.NET application.

 

 

QUESTION 86

You need to debug a Windows Service application by using breakpoints. What should you do?

 

A.

Write all events to an event log.

B.

Set the Windows Service status to Paused.

C.

Implement the Console.WriteLine method throughout the Windows Service.

D.

Use the Attach to Process menu in Microsoft Visual Studio.

 

Correct Answer: D

Explanation:

clip_image002Because a service must be run from within the context of the Services Control Manager rather than from within Visual Studio, debugging a service is not as straightforward as debugging other Visual Studio application types. To debug a service, you must start the service and then attach a debugger to the process in which it is running.

 

clip_image002[1]To debug a service

Install your service.

Start your service, either from Services Control Manager, Server Explorer, or from code. In Visual Studio, choose Attach to Process from the Debug menu.

Etc.

 

 

QUESTION 87

Which type of function can a derived class override?

 

A.

< p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; text-autospace: ; mso-layout-grid-align: none" align="left">a non-virtual public member function

B.

a private virtual function

C.

a protected virtual member function

D.

a static function

 

Correct Answer: C

Explanation:

You can override virtual functions defined in a base class from the Visual Studio.

The override modifier is required to extend or modify the abstract or virtual implementation of an inherited method, property, indexer, or event.

 

 

QUESTION 88

HOTSPOT

You have a base class named Tree with a friend property named color and a protected property named NumberOfLeaves. In the same project, you also have a class named Person.

 

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

 

clip_image004

 

Correct Answer:

clip_image006

 

 

QUESTION 89

The purpose of the Catch section in an exception handler is to:

 

A.

Break out of the error handler.

B.

Conclude the execution of the application.

C.

Execute code only when an exception is thrown.

D.

Execute code regardless of whether an exception is thrown.

 

Correct Answer: C

 

 

QUESTION 90

HOTSPOT

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

 

clip_image008

 

Correct Answer:

clip_image010

 

Free VCE & PDF File for Microsoft 98-361 Real Tests

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…