What should you do?
Your company has a main office and a branch office. Multiple Visual Studio Team Foundation Server 2010 environments are deployed in the main office. A Team Foundation Server 2010 Proxy server is deployed in the branch office.
You need to configure the proxy server to cache version control files for all current and future team project collections from each environment.
What should you do?
Which DataGridView event should you use?
You use Microsoft .NET Framework 4 to create a Windows Forms application.
You have a DataGridView that is bound to a DataTable containing a column named ProductName.
The ProductName column can contain any valid string, except “ProductX,” “ProductY,” “ProductZ.”
You need to ensure that only valid entries for ProductName are saved when users edit the DataGridView.
Which DataGridView event should you use?
What should you do?
You have a Visual Studio Team Foundation Server 2010 environment with a team project collection that has only one build definition. The build definition uses the default build process template (DefaultTemplate.xaml). The build definition trigger is set to Manual.
You have the following requirements:
Verify that a build will run successfully on a build server with the pending changes.
Do not commit the pending changes.
You need to perform a build that meets the requirements.
What should you do?
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a DataGrid named gridContacts that is data-bound to a collection of Contacts. Each item has the ContactName and Phone properties.
The DataGrid contains a column named ContactNameColumn that is bound to ContactName.
You write the following code fragment.
<DataTemplate x:Key=”PhoneTemplate”>
<TextBlock Text=”{Binding Phone}” />
</DataTemplate>
You need to ensure that the application meets the following requirements:
* Phone number is shown as a row detail when the row is selected.
* Only ContactName can be edited.
What should you do?
What should you do?
You have a dual-tier Visual Studio Team Foundation Server 2010 environment. The Team Foundation Server databases are backed up nightly. You modify source code in a solution but you are not yet ready to check in the pending changes.
You need to share the pending changes with team members without checking them in, and ensure that they are backed up during the normal Team Foundation Server backup process.
What should you do?
Which deployment method should you use?
You use Microsoft .NET Framework 4 to create a Windows application.
You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled.
The application requires access to environment variables on each computer.
You need to ensure that users who do not have administrative permissions can install the application.
Which deployment method should you use?
Which two actions should you perform?
You install Visual Studio Team Foundation Server 2010. You have an existing Microsoft Office SharePoint Server (MOSS) 2007 server that uses Microsoft SQL Server 2008. You need to configure Team Foundation Server to use the existing SQL Server and SharePoint servers.
Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
Which code fragment should you insert at line 07?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a TreeView control to show the hierarchical structure of orders and order details.
Each order contains an ObservableCollection named OrderDetails.
You write the following code fragment. (Line numbers are included for reference only.)
01<Grid>
02<Grid.Resources>
03<src:Orders x:Key=”orders”/>
04<DataTemplate x:Key=”OrderDetailTemplate”>
05<TextBlock Text=”{Binding Path=.}” />
06</DataTemplate>
07
08</Grid.Resources>
09<TreeView DataContext=”{StaticResource orders}”
10ItemsSource=”{Binding Path=.}”
11ItemTemplate=”{StaticResource OrderTemplate}”/>
12 </Grid>
You need to ensure that the TreeView control meets the following requirements:
* Each order is shown as a TreeView node.
* The order nodes have order detail nodes as children.
* The order detail nodes have no children.
Which code fragment should you insert at line 07?
What should you do?
You plan to install a dual-tier Visual Studio Team Foundation Server 2010 environment using two servers named Server1 and Server2.
You install and configure Microsoft SQL Server 2008 and SQL Server 2008 Analysis Services on Server1. You install and configure IIS 7.5, SQL Server Reporting Services, and Windows SharePoint Services 3.0 on Server2.
You need to install and configure Team Foundation Server using the two servers.
What should you do?
Which code fragment should you use?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You add a ListBox to show grouped data.
The ListBox is data-bound to a collection of items. Each item has the Name and State properties.
You need to ensure that the ListBox meets the following requirements:
* Names grouped by State
* Names sorted in ascending order
* States sorted in descending order
Which code fragment should you use?