PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which XAML fragment should you use?

You are developing a Silverlight 4 application. The application defines the following three event handlers.
(Line numbers are included for reference only.)

01 private void HandleCheck(object sender, RoutedEventArgs e)
02 {
03 MessageBox.Show(“Checked”);
04 }
05
06 private void HandleUnchecked(object sender, RoutedEventArgs e)
07 {
08 MessageBox.Show(“Unchecked”);
09 }
10
11 private void HandleThirdState(object sender, RoutedEventArgs e)
12 {
13 MessageBox.Show(“Indeterminate”);
14 }

You need to allow a check box that can be selected, cleared, or set to Indeterminate. You also need to ensure that the event handlers are invoked when the user changes the state of the control. Which XAML fragment should you use?

What clause will you need to include in your RESTORE DATABASE statement to restore the full database backup th

You are the Microsoft Project Server administrator for your organization and you need to perform a restore to the PSGHT SQL database. You have been using the differential model so you will need to restore from multiple media. What clause will you need to include in your RESTORE DATABASE statement to restore the full database backup that comes before the differential backup to restore your SQL database?

Which cmdlet should you use?

You have a table named Inventory.
You open a Microsoft Windows PowerShell session at the following location by using the SQL Server Windows PowerShell provider.
PS
SQLSERVER:\SQL\CONTOSO\DEFAULT \Databases\ReportServer\Tables\dbo.Inventory\Columns>
Using the SQL Server Windows PowerShell provider, you need to query all the columns in the table.
Which cmdlet should you use?

Which data type should you use?

You are a database developer. You plan to design a database solution byusing SQL Server 2008.
The database will contain a table to stage data from an external source.The imported data will contain a field named TransactionTime. The Transaction Time field will use the hh:mm:ss.[m] format (such as 12:55:30.1).
You need to select the appropriate data type for the Transaction Time field. You want to achieve this goal by incurring minimum amount of storage cost.
Which data type should you use?