PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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 code fragment should you insert at line 06?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment. (Line numbers are included for reference only.)
01<StackPanel>
02<StackPanel.Resources>
03<ControlTemplate
04TargetType=”{x:Type Button}”
05x:Key=”btn”>
06 07</ControlTemplate>
08</StackPanel.Resources>
09<Button Content=”Save” 10Template=”{StaticResource btn}” />
11<Button Template=”{StaticResource btn}”>
12<TextBox Text=”Save” />
13</Button>
14</StackPanel>
You need to ensure that both Button controls display the “Save” text.
Which code fragment should you insert at line 06?

What should you do?

You have a Visual Studio Team Foundation Server 2010 environment. The process of synchronizing the local workspace with the source code files in Team Foundation Server version control is slow. During synchronization, many files that are unnecessary or are in branches unrelated to the current project are being downloaded. You need to shorten the synchronization time and not download folders containing unnecessary files.
What should you do?

What should you do?

You have a Visual Studio Team Foundation Server 2010 environment. The Get Latest operation for a branch is running slowly. The branch includes a large documentation folder that the documentation team updates frequently. The documentation folder is not necessary for your current work.
You need to increase the performance of the Get Latest operation.
What should you do?

Which code fragment should you insert at line 06?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment. (Line numbers are included for reference only.)
01<Page xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
02xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
03x:Class=”MyCompany.MediaConrols” >
04<StackPanel Background=”Black”>
05<StackPanel HorizontalAlignment=”Center” Width=”450″ Orientation=”Horizontal”>
06
07<!– Play button. –>
08<Image Source=”images\UI_play.gif” MouseDown=”OnMouseDownPlayMedia” Margin=”5″ />
09<!– Pause button. –>
10<Image Source=”images\UI_pause.gif” MouseDown=”OnMouseDownPauseMedia” Margin=”5″ />
11<!– Stop button. –>
12<Image Source=”images\UI_stop.gif” MouseDown=”OnMouseDownStopMedia” Margin=”5″ />
13</StackPanel>
14</StackPanel>
15</Page>
You need to ensure that a video file begins to play only when a user clicks Play.
Which code fragment should you insert at line 06?

What should you do next?

You perform a default installation of Visual Studio Team Foundation Server Proxy for use by a remote development team.
You need to configure Visual Studio Team Explorer 2010 to connect to Visual Studio Team Foundation Server 2010 through the proxy server.
In the Source Control node of the Team Explorer Options dialog box, you select the Use proxy server for file downloads check box.
What should you do next?

Which code fragment should you insert at line 04?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment. (Line numbers are included for reference only.)
01<Canvas>
02<Rectangle Stroke=”Red” StrokeThickness=”5″ Height=”60″
03Width=”60″ Canvas.Left=”100″ Canvas.Top=”100″>
04
05</Rectangle>
06</Canvas>
You need to rotate the rectangle by 45 degrees by using its upper-left corner as the axis.
Which code fragment should you insert at line 04?