Microsoft Certification Questions

Q:

You are preparing to install Windows 2000 server on a new computer at your office. You want to perform an over-the-network installation. Which method will you use to start the installation ?

A) From a CD-ROM drive B) By using winnt.exe
C) By using winnt32.exe D) By using a network installation startup disk
 
Answer & Explanation Answer: B) By using winnt.exe

Explanation:

winnt.exe is used to start an over-the-network installation of Windows 2000.

Report Error

View Answer Report Error Discuss

1 2175
Q:

A large document contains meeting notes from all meeting that took place between HR and Finance. You need to find all instances of 'derive' or 'dive' or 'dave'. What would be the most efficient way to find these terms using the Find & Replace dialog box?

A) Choose Wildcard option and search for d?ve B) Choose Wildcard option and search for d*ve
C) Choose Wildcard option and search for ?ve D) Choose Wildcard option and search for *ve
 
Answer & Explanation Answer: B) Choose Wildcard option and search for d*ve

Explanation:
Report Error

View Answer Report Error Discuss

2 2165
Q:

You want to create and format a simple volume on a Windows 2000 computer. Which tool should you use?

A) Disk Administrator B) Disk Management
C) The Convert.exe command -line utility D) The Format.exe command-line utility
 
Answer & Explanation Answer: B) Disk Management

Explanation:

Windows 2000 includes a powerful tool to manage disks - it's called Disk Management. You can use Disk Management to create and manage several different volume types on a Windows 2000 computer.

Report Error

View Answer Report Error Discuss

1 2149
Q:

You are the administrator of a SQL Server 2000 computer. You configure SQL Server to perform C2 auditing. Audit logs are saved in the C:MSSQLAudit folder.The server functions normally for several days, but then the MSSQLServer service shuts down without warning. You cannot restart the service.You need to restart the MSSQLServer service. What should you do?

A) Start the MSSQLServer service manually by using the -m startup option. B) Start the MSSQLServer service manually by using the -s startup option.
C) Set the SQLServerAgent service's startup method to Disabled. Start the MSSQLServer service. D) Delete the audit logs from the C:\MSSQL\Audit folder. Start the MSSQLServer service.
 
Answer & Explanation Answer: D) Delete the audit logs from the C:\MSSQL\Audit folder. Start the MSSQLServer service.

Explanation:

SQL Server functioned for several days but now it is impossible to start it.
The most likely cause is the size of the auditing log files. The maximum file size for the audit log is fixed at 200 megabytes (MB). When the audit log file reaches 200 MB, a new file will be created and the old file handle will be closed. If the directory fills up, then the instance of Microsoft SQL Server is stopped. The system administrator needs to either free up disk space for the audit log before restarting the instance of SQL Server or restart the instance of SQL Server

Note 1: SQL Server Agent monitors itself and the SQL Server service.
SQL Server Agent can restart the local instance of SQL Server if it has terminated for reasons other than a typical shutdown.

Note 2: Start the MSSQLServer service manually by using the -f startup option would start the service with minimal configuration. It could be used when some configuration errors have been made and the MSSQLServer service isn't able to start.

Report Error

View Answer Report Error Discuss

1 2143
Q:

You develop an inventory management application called XYZManagement that will call a Microsoft SQL Server stored procedure named sp_GetDailyXYZSales. The stored procedure will run a query that returns your daily sales total as an output parameter. This total will be displayed to users in a message box.


Your application uses a SqlCommand object to run sp_GetDailyXYZSales. You write the
following code to call sp_GetDailyXYZSales:
SqlConnection cnn = new SqlConnection(myConnString);
SqlCommand cmd = new SqlCommand(“sp_GetDaily XYZ Sales”, cnn);
cmd.CommandType = CommandType.StoredProcedure;
SqlParameter prm = cmd.Parameters.Add(“@ItemTotal”,SqlDbType.Int);
prm.Direction = ParameterDirection.Output;
cnn.Open();
cmd.ExecuteNonQuery();


Now you must write additional code to access the output parameter. Which code segment should you use?

A) MessageBox.Show(?Total is: ? + cmd.Parameters[?@Output?].Value.ToString()); B) MessageBox.Show(?Total is: ? + cmd.Parameters[?@Output?].ToString());
C) MessageBox.Show(?Total is: ? + cmd.Parameters[?@ItemTotal? D) MessageBox.Show(?Total is: ? + cmd.Parameters[?@ItemTotal?
 
Answer & Explanation Answer: C) MessageBox.Show(?Total is: ? + cmd.Parameters[?@ItemTotal?

Explanation:

The @ItemTotal parameter is declared as an output parameter with SQL Server data type INT.We use the Value property of the SQLParameter class to retrieve the value of this parameter. We must also convert the INT value to a string value with the ToString method. We then supply this string to the MessageBox.Show method. 

 

Incorrect Answers


Option A, B:
The @ItemTotal parameter is the output parameter. Using @Output this way is incorrect. Output is a keyword and no variable named @Output has been declared.


Option D:
We must use the Value method to retrieve the value of the parameter..

Report Error

View Answer Report Error Discuss

0 2122
Q:

You are upgrading your single master Windows NT Server 4.0 network to Windows 2000. Which computer should you upgrade first?

A) The stand-alone server in the Windows NT 4.0 domain that will become the root domain in your Windows 2000 network B) The primary domain controller (PDC) in the Windows NT 4.0 domain that will become a child domain in your Windows 2000 network
C) The backup domain controller (BDC) in the Windows NT 4.0 domain that will become a child domain in your Windows 2000 network D) The Primary domain controller (PDC) in the Windows NT 4.0 domain that will become the root domain in your Windows 2000 network
 
Answer & Explanation Answer: D) The Primary domain controller (PDC) in the Windows NT 4.0 domain that will become the root domain in your Windows 2000 network

Explanation:

When upgrading from a Windows NT 4.0 single master domain model to windows 2000, the first computer you should upgrade is the PDC of the Windows NT 4.0 domain that will become the root domain of your Windows 2000 network.

Report Error

View Answer Report Error Discuss

0 2122
Q:

You want to configure synchronization settings for your office files. Which tool should you use?

A) Folder options B) Scheduled Tasks
C) Windows Explorer D) System Information
 
Answer & Explanation Answer: C) Windows Explorer

Explanation:

Use Windows explorer to configure a synchronization schedule for offline files. (Select Tools => Synchronize to start this process.) You can also access the same synchronization tool by selecting Start => Programs => Accessories => Synchronize.

Report Error

View Answer Report Error Discuss

0 2097
Q:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an
application. The application connects to a Microsoft SQL Server database. The application has two DataTable objects that reference the Customers and Orders tables in the database. The application contains the following code segment. (Line numbers are included for reference only.)


01DataSet customerOrders = new DataSet();
02customerOrders.EnforceConstraints = true;
03ForeignKeyConstraint ordersFK = new ForeignKeyConstraint("ordersFK",
04customerOrders.Tables["Customers"].Columns["CustomerID"],
05customerOrders.Tables["Orders"].Columns["CustomerID"]);
06
07customerOrders.Tables["Orders"].Constraints.Add(ordersFK);


You need to ensure that an exception is thrown when you attempt to delete Customer records that have related Order records. Which code segment should you insert at line 06?

A) ordersFK.DeleteRule = Rule.SetNull; B) ordersFK.DeleteRule = Rule.None;
C) ordersFK.DeleteRule = Rule.SetDefault; D) ordersFK.DeleteRule = Rule.Cascade;
 
Answer & Explanation Answer: B) ordersFK.DeleteRule = Rule.None;

Explanation:
Report Error

View Answer Report Error Discuss

0 2085