Microsoft Certification Questions

Q:

You plan to install Windows 7 by using a Windows 7 DVD.
You need to perform an automated installation of Windows 7.
What should you do?

A) Create an answer file named oobe.xml. Copy the file to a network share. B) Create an answer file named winnt.sif. Place the file on a removable drive.
C) Create an answer file named sysprep.inf. Copy the file to a network share. D) Create an answer file named autounattend.xml. Place the file on a removable drive.
 
Answer & Explanation Answer: D) Create an answer file named autounattend.xml. Place the file on a removable drive.

Explanation:
Report Error

View Answer Report Error Discuss

1 2634
Q:

In Which part of the Windows 2000 architecture do applications run in?

A) User mode B) Kernel mode
C) Window Manager D) Executive Services
 
Answer & Explanation Answer: A) User mode

Explanation:

Applications and their subsystems  run in user mode.

Report Error

View Answer Report Error Discuss

0 2626
Q:

You use Microsoft Visual Studio 2010 and Microsoft ADO.NET Framework 4 to create an application. The application connects to a Microsoft SQL Server 2008 database. You use the ADO.NET LINQ to SQL model to retrieve data from the database. You use stored procedures to return multiple result sets. You need to ensure that the result sets are returned as strongly typed values. What should you do?

A) Apply the FunctionAttribute and ResultTypeAttribute to the stored procedure function. Use the GetResult B) Apply the FunctionAttribute and ParameterAttribute to the stored procedure function and directly access the strongly typed object from the results collection.
C) Apply the ResultTypeAttribute to the stored procedure function and directly access the strongly typed object from the results collection. D) Apply the ParameterAttribute to the stored procedure function. Use the GetResult
 
Answer & Explanation Answer: A) Apply the FunctionAttribute and ResultTypeAttribute to the stored procedure function. Use the GetResult

Explanation:
Report Error

View Answer Report Error Discuss

0 2578
Q:

You perform a normal backup for your company once a week. In addition, you want to perform a backup of data each day in between normal backups. You want to minimize the amount of time it takes to perform these backups. Which backup type should you use on the days in between normal backups?

A) Normal B) Incremental
C) Differential D) Copy
 
Answer & Explanation Answer: B) Incremental

Explanation:

In terms of the time it takes to perform backups, the incremental backup will take the least amount of time because it is not a cumulative backup, like the differential backup.

Report Error

View Answer Report Error Discuss

0 2557
Q:

You move a file from an NTFS volume on a Windows 2000 client computer to a folder on an NTFS volume on a Windows 2000 Server computer. What effect does moving this file have on the  NTFS permissions assigned to the file?

A) The moved file retains all of its original NTFS permissions B) The moved file loses all of its original NTFS permissions, and now has no permissions.
C) The moved file loses some of its original NTFS permissions, and inherits some of the NTFS permissions from its destination folder D) The moved file loses all of its original NTFS permissions, and inherits all of the inheritable NTFS permissions from its destination folder
 
Answer & Explanation Answer: D) The moved file loses all of its original NTFS permissions, and inherits all of the inheritable NTFS permissions from its destination folder

Explanation:

When a file or folder is moved to a new folder on a different volume, it inherits all of the inheritable NTFS permissions from the destination folder.

Report Error

View Answer Report Error Discuss

0 2502
Q:

You are a member of a team of developers creating several ASP.NET applications for XYZ. You want to create a reusable toolbar that will be used in each of the applications. The toolbar will be displayed at the top of each page viewed by the user.


The contents of the toolbar will vary depending on options each user selects when creating a profile.


You want to be able to add the toolbar to the ASP.NET toolbox for each of the developers on your team.What should you do?

A) Create a new Web Control Library project. Create the toolbar within a Web custom control. B) Add a new Web user control to your ASP.NET project. Create the toolbar within the Web user control.
C) Add a new Web Form to your ASP.NET project. Design the toolbar within the Web Form and save the Web Form with an .ascx extension. D) Add a new component class to your ASP.NET project. Design the toolbar within the designer of the component class.
 
Answer & Explanation Answer: A) Create a new Web Control Library project. Create the toolbar within a Web custom control.

Explanation:

Web custom controls are compiled code, which makes them easier to use but more difficult to create. You can add a Web custom control to the Toolbox and display it in a visual designer with full Properties window support and all the other design-time features of ASP.NET server controls. 

 

Incorrect Answers:

B: Web user controls are easy to make, but they can be less convenient to use in advanced scenarios such as this. Because Web user controls are compiled dynamically at run time they cannot be added to the Toolbox


C: A Web form would be inadequate.

 

D: The Component class Provides the base implementation for the IComponent interface and enables object-sharing between applications. It does not fit in this scenario.

Report Error

View Answer Report Error Discuss

2 2492
Q:

You have a server that runs Windows Server 2003 Service Pack 2 (SP2). The server is configured as shown in the following table.

You need to create a software mirror of Disk1. What should you do first?

A) Convert Disk3 to a dynamic disk. B) Create a new NTFS volume on Disk3.
C) Run the Extend Volume Wizard on Disk1. D) Convert Disk3 to a GUID Partition Table (GPT) disk.
 
Answer & Explanation Answer: A) Convert Disk3 to a dynamic disk.

Explanation:
Report Error

View Answer Report Error Discuss

1 2489
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 2463