What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. You have a team project that was created by using the MSF for Agile Software Development v5.0 process template. All developers are members of the Contributors team project security group. Developers check in source code that fails a set of automated tests. You need to ensure that only source code that passes all automated tests is checked in.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.
<Style TargetType=”{x:Type Label}”>
<Setter Property=”Foreground” Value=”Blue”/>
</Style>
You need to ensure that the style is applied to all labels within the application.
What should you do?
What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. All build definitions use the default build process template (DefaultTemplate.xaml). You need to configure a build definition so that code analysis runs during the build process for all source code projects.
What should you do?
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a window that has two labels named First and Second.
You need to display the label named First in blue.
Which code fragment should you use?
What should you do for the Automated Tests process parameter in the build definition?
You manage a Visual Studio Team Foundation Server 2010 environment that includes a build lab. All build definitions use the default build process template (DefaultTemplate.xaml). You define automated tests to run during builds by using test containers. The tests project that compiles into a test container includes all automated tests for the application, including the build verification tests. All build verification tests are marked with a category of BVT. You check in the tests project into version control. You need to configure the build definition to run only the build verification tests. What should you do for the Automated Tests process parameter in the build definition?
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You plan to create a window that has a layout as shown in the following exhibit.
You need to define the code fragment to create the window layout.
Which code fragment should you use?
Which data collectors should you use?
You have a Visual Studio Team Foundation Server 2010 environment. You are developing a Web application that will run on IIS 7.0. The Web application requires a Windows Web-client role. You intend to use Microsoft Test Manager to run an automated test that will use the IntelliTrace diagnostic data adapter to test the Web-client role for the application.
You need to configure Microsoft Test Manager with the test settings required to collect an IntelliTrace log from the Web-client role for the application.
Which data collectors should you use?
Which code fragment should you insert at line 12?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You want the application to contain a window as shown in the following exhibit.
The application contains the following code fragment. (Line numbers are included for reference only.)
01<Grid ShowGridLines=”True”>
02<Grid.ColumnDefinitions>
03<ColumnDefinition />
04<ColumnDefinition />
05<ColumnDefinition />
06</Grid.ColumnDefinitions>
07<Grid.RowDefinitions>
08<RowDefinition />
09<RowDefinition />
10<RowDefinition />
11</Grid.RowDefinitions>
12
13<TextBlock FontWeight=”Bold” Grid.Row=”1″ Grid.Column=”0″>Quarter</TextBlock>
14<TextBlock FontWeight=”Bold” Grid.Row=”1″ Grid.Column=”1″>Quarter 1</TextBlock>
15<TextBlock FontWeight=”Bold” Grid.Row=”1″ Grid.Column=”2″>Quarter 2</TextBlock>
16<TextBlock FontWeight=”Bold” Grid.Row=”2″ Grid.Column=”0″>Products</TextBlock>
17<TextBlock Grid.Row=”2″ Grid.Column=”1″>100000</TextBlock>
18<TextBlock Grid.Row=”2″ Grid.Column=”2″>150000</TextBlock>
19</Grid>
You need to create the application window.
Which code fragment should you insert at line 12?
Which two actions should you perform?
You have a Visual Studio Team Foundation Server 2010 environment. You have a Visual Basic .NET application. You have an automated build for the application that is based on a modified version of the default build process template (DefaultTemplate.xaml). The application build run is not generating a list of automated tests affected by code changes. You need to generate a list of automated tests affected by code changes in each build of the application.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You plan to create a window that has a layout as shown in the following exhibit.
You need to define the code fragment to create the window layout. You also need to ensure that the
window contains a splitter line.
Which code fragment should you use?