Microsoft Certification Questions

Q:

You are creating an ASP.NET page for selling movie tickets. Users select a region, and then they select from a list of cities in that region. The site displays the names and locations of movie theaters in the city selected by the user.


Your company, XYZ Brothers, maintains a list of theaters in a database table that includes the city, name, and street address of each theater. You want to minimize the time required to retrieve and display the list of theater names after a user selects the region and city.

 

 What should you do?

A) Modify the connection string to add the packet size property and set its values to 8192. B) Add the following directive to the page: OutputCache VaryByParam=?
C) Add the following directive to the page: OutputCache VaryByControl=?region;city? D) Modify the connection string to keep your database's connection pool as small as possible.
 
Answer & Explanation Answer: B) Add the following directive to the page: OutputCache VaryByParam=?

Explanation:

You can vary user control output to the cache by specifying the user control name and the parameter. We use the VaryByParam attribute of the  OutputCache  

 

Incorrect Answers: 

 

A: The Packet Size property of the Connection string is the size in bytes of the network packets sed to communicate with an instance of data provider. It is not an optimal property to change to optimize data retrieval.

 

C: The company database does not seem to include a region column.

 

D: If we keep the connection pool small we would allow less simulation connections. However, this would not minimize the required to retrieve and display the data.

Report Error

View Answer Report Error Discuss

0 2168
Q:

You are choosing a windows 2000 operating system to use on a new computer at your company. This new computer will be used exclusively as a network file server. Which operating system should you use choose?

A) Windows 2000 professional B) Windows 2000 Server
C) Windows 2000 Advanced Server D) Windows 2000 Datacenter Server
 
Answer & Explanation Answer: B) Windows 2000 Server

Explanation:

Windows 2000 server is optimized for use on network file, print , application and Web servers.

Report Error

View Answer Report Error Discuss

0 2159
Q:

Which tool should you use to authorize a RIS server in Active Directory?

A) The DHCP administrative tool B) The DNS administrative tool
C) Active Directory Users and Computers D) Active Directory Sites and Services
 
Answer & Explanation Answer: A) The DHCP administrative tool

Explanation:

You must use the DHCP administrative tool to authorize a RIS server in Active Directory.

Report Error

View Answer Report Error Discuss

0 2153
Q:

How can you redirect print jobs to a different print device?

A) Copy the print jobs from one printer to another printer B) Assign the printer to a port that is connected to a different type of print device.
C) Cancel all of the print jobs, then delete the printer. Create a new printer with the same name, and assign it to a different port. D) Assign the printer to a port that is connected to another identical print device.
 
Answer & Explanation Answer: D) Assign the printer to a port that is connected to another identical print device.

Explanation:

You need to assign the printer to a different port that is connected to the same type of print device.

Report Error

View Answer Report Error Discuss

0 2140
Q:

You are choosing a file system for your Windows 2000 Server computer. You need this computer to support file compression, and you don't need to dual boot this computer between Windows 2000 Server and any other operating system. Which file system should you choose?

A) FAT B) FAT32
C) HPFS D) NTFS
 
Answer & Explanation Answer: D) NTFS

Explanation:

NTFS is the only file system supported by Windows 2000 that supports file compression.

Report Error

View Answer Report Error Discuss

0 2133
Q:

You want to assign a mandatory user profile to a user. What must you do?

A) Rename the user's NTUSER.DAT file B) Rename the user's ntuser.ini file
C) Copy the Default User profile folder to the user's profile folder D) Copy the user's profile folder to the Default User profile folder
 
Answer & Explanation Answer: A) Rename the user's NTUSER.DAT file

Explanation:

To make a user's profile mandatory, you must rename the user's NTUSER.DAT file as NTUSER.MAN

Report Error

View Answer Report Error Discuss

0 2124
Q:

You responsible for maintaining an application that was written by a former colleague at XYZ.

 

The application reads from and writes to log files located on the local network. The original author included the following debugging code to facilitate maintenance:

try {
Debug.WriteLine(“Inside Try”);
throw(new IOException());}
catch (IOException e) {
Debug.WriteLine (“IOException Caught”);}
catch (Exception e) {
Debug.WriteLine(“Exception Caught”);}.
finally {
Debug.WriteLine (“Inside Finally”);}
Debug.WriteLine (“After End Try”);

 

Which output is produced by thus code?

A) Inside Try Exception Caught IOException Caught Inside Finally After End Try B) Inside Try Exception Caught Inside Finally After End Try
C) Inside Try IOException Caught Inside Finally After End Try D) Inside Try IOException Caught Inside Finally
 
Answer & Explanation Answer: C) Inside Try IOException Caught Inside Finally After End Try

Explanation:

First the try code runs. Then one single exception, the IOException occurs, not two exceptions.Then the Finally code segments executes. After Finally code bas been executed normal application resumes at the next line after the line that called the error. In this case, the After End Try code runs.

Report Error

View Answer Report Error Discuss

1 2116
Q:

John is a system administrator for a renowned travel agency.The agency is planning to upgrade its computer systems to Windows XP Professional.Most of the computers are networked but some computers do not have CD-ROM drives.How can John upgrade the computer systems without CD-ROM drives to Windows XP Professional?

A) can attach a portable tape backup unit to each computer and install the operating system from it. B) can use the windows installer program to push out the operating system.
C) can perfom the installation over a network share. D) can not install windows XP Professional unless he installs a CD-ROM drive in the computer systems that do not have them.
 
Answer & Explanation Answer: C) can perfom the installation over a network share.

Explanation:
Report Error

View Answer Report Error Discuss

0 2116