Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual...

46
Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 Time Limit : 120 min File Version : 1.0 http://www.gratisexam.com/ Microsoft Exam 70-496 Administering Visual Studio Team Foundation Server 2012 Total Questions: 71 Q&A's Resources used for prepping TFS Install and Administration Guides http://www.microsoft.com/en-us/download/details.aspx?id=29035 Administering Visual Studio TFS 2012 (exam 496) Jump Start https://www.microsoftvirtualacademy.com/training-courses/administering-visual-studio-tfs-2012-exam-496- jump-start Took 70-496.Microsoft.ExamCollection.v2013-04-19.by.Anonymous.71q and added comments, links e.t.c. Modified answers: 5,10,12,20,32,35,37,39,40,44,53,69

Transcript of Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual...

Page 1: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Administering Visual Studio Team Foundation Server 2012

Number: 070-496Passing Score: 700Time Limit: 120 minFile Version: 1.0

http://www.gratisexam.com/

Microsoft Exam 70-496Administering Visual Studio Team Foundation Server 2012Total Questions: 71 Q&A's

Resources used for preppingTFS Install and Administration Guideshttp://www.microsoft.com/en-us/download/details.aspx?id=29035Administering Visual Studio TFS 2012 (exam 496) Jump Starthttps://www.microsoftvirtualacademy.com/training-courses/administering-visual-studio-tfs-2012-exam-496-jump-start

Took 70-496.Microsoft.ExamCollection.v2013-04-19.by.Anonymous.71q and added comments, links e.t.c.Modified answers: 5,10,12,20,32,35,37,39,40,44,53,69

Page 2: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Exam A

QUESTION 1DRAG DROPYour network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server withone project collection and multiple build machines. A development team installs and configures a build serviceon a new build machine. You need to be able to validate that the installation and configuration meets yourorganization's requirements and follows its best practices. At which service would you perform the followingtasks? (To answer, drag the appropriate build component to the correct standards- checking task in the answerarea. Each build component may be used once, more than once, or not at all.)

A. Build Controller,Build Agent,Build Agent,Build ServiceB. Build Agent,Build Agent,Build Service,Build ControllerC. Build Controller,Build Service,Build Agent,Build AgentD. Build Agent,Build Controller,Build Agent,Build Service

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

Page 3: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

QUESTION 2You are planning to install a new Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youneed to ensure that the minimum supported version of Microsoft SQL Server is installed. Which version shouldyou install?

A. SQL Server 2005B. SQL Server 2008 32-bitC. SQL Server 2008 64-bitD. SQL Server 2008 R2E. SQL Server 2012

Correct Answer: DSection: (none)Explanation

Explanation/Reference:SQL Server Requirements for Team Foundation ServerTeam Foundation Server requires SQL Server 2008 R2 or SQL Server 2012. You have multiple SQL Serveroptions: You can use the basic configuration of Team Foundation Server, which comes with SQL Server 2012 Express.You can install one of the supported editions of SQL Server 2008 or SQL Server 2012.You can use an existing installation of SQL Server 2008 or SQL Server 2012. Regardless of which option you choose, your instance of SQL Server must meet the following requirements:Supported editions

SQL Server 2008, R2 Express¹SQL Server 2008, R2 Standard Edition¹SQL Server 2008, R2 Enterprise Edition with SP 1 CU1 (Aug 25, 2011)²

Page 4: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

SQL Server 2012, Express¹ SQL Server 2012, Standard Edition¹SQL Server 2012, Enterprise Edition

Required for Team Foundation ServerDatabase Engine ServicesFull-Text Search (or Full-Text and Semantic Extractions for Search in SQL Server 2012)

Required for reportingReporting Services (or Reporting Services - Native in SQL Server 2012)Analysis Services

Collation settingsMust be accent sensitiveMust not be case sensitiveMust not be BinaryMust not be Binary - code point

AuthenticationWindows authentication

Service accountYou can use a domain account or a built-in account.

¹ Limited or no SQL Server High Availability support.² If you're using SQL Server 2008, R2 Enterprise Edition you need to update to cumulative update package 1 for SQL Server 2008 R2Service Pack 1 to address a SQL Server issue with table compression.

TFS Install and Administration Guides

QUESTION 3To support your development team's upgrade from Visual Studio 2010 to Visual Studio 2012, you also upgradefrom Team Foundation Server (TFS) 2010 to TFS 2012. You need to provide a TFS 2012 test environmentthat:· Includes data and source code from your existing TFS 2010 environment and· Allows your developers to test the new TFS 2012 and Visual Studio 2012 features while keeping the currentTFS 2010 environment intact.What should you do?

A. Install TFS 2012 side-by-side on the same server as TFS 2010. Point TFS 2012 to the existing database,SharePoint, and SQL Reporting Services.

B. Install TFS 2012 on a new server. Point TFS 2012 to the existing database, SharePoint, and SQL ReportingServices.

C. Clone the existing TFS 2010 environment (including the existing database, SharePoint, and SQL ReportingServices) on new servers and update the internal IDs. Upgrade the cloned environment to TFS 2012.

D. Copy the existing TFS 2010 database, SharePoint, and SQL Server Reporting services to a new set ofservers. Install TFS 2012 side-by-side on the same hardware as TFS 2010, and point TFS 2012 to the newservers.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 4Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server anda virtual test environment that uses Lab Management 2012 along with System Center Virtual Machine Manager(SCVMM) 2010. You want to install a test virtual machine that is hosted within a lab environment. You need toensure that the test virtual machine can support all the features of Lab Management 2012. Which componentshould you install on the test virtual machine?

A. Agents for Visual Studio 2012B. Visual Studio Build Agent 2012

Page 5: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

C. Visual Studio Test Agent 2012D. Visual Studio Lab Agent 2012

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Agents for Visual Studio 2012 is the essential suite of agents and controllers that you can use to build and testapplications across the desktop, the server, and the cloud. By using the test controllers and test agents in Agents for Visual Studio 2012, you can scale out loadgeneration, and support distributed data collection and distributed test execution. You can also use test agentsto manage testing, workflow, and network isolation for virtual machines that are used with Visual Studio LabManagement.http://www.microsoft.com/en-us/download/details.aspx?id=38186Lab agents and test agents from previous versions of Lab Management have been combined into one type ofagent – the test agent.http://msdn.microsoft.com/en-us/library/vstudio/dd648127.aspx

QUESTION 5Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 servernamed TFS1. SharePoint and Reporting Services components are also installed and configured for TFS on thesame server. You need to be able to access the SharePoint Project Portal from the TFS server by using thefollowing URL: http://tfs.fabrikam.com. What should you do?

http://www.gratisexam.com/

A. From the TFS Administration Console, edit the SharePoint Web Application URL.B. From Visual Studio Team Explorer, edit the portal settings.C. Run the TFSConfIg.exe SharePointportal command.D. From the SharePoint Central Administration website, configure the Alternate Access Mappings.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:That's my guess because everything I've found in TFS allows me only to point to SharePoint portal not modify it.

QUESTION 6Your network environment includes a Team Foundation Server (TFS) 2012 named TFS1 that contains twoproject collections named PC1 and PC2. A build server named B1 is configured with a build controller namedC1 and an agent named A1 that runs build definitions created in PC1. A development team wants to create agated check-in build definition on PC2. You need to perform a supported infrastructure enhancement to runPC2 build definitions. What should you do?

A. · Add a new build server (B2).· On the B2 build server, migrate controller C1 and install a new controller (C2) that connects to the PC2project collection.· On the B1 build server, configure a second build agent (A2) that uses the C2 controller.

B. · Add a new build server (B2).

Page 6: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

· On the B2 build server, install a build controller (C2) that connects to the PC2 project collection.· On the B2 build server, configure a second build agent (A2) that uses the C2 controller.

C. · On the B1 build server, configure the C1 controller to connect to project collections PC1 and PC2.· On the B1 build server, update the Al agent to use controllers C1 and C2.

D. · On the B1 build server, configure the C1 controller to connect to project collections PC1 and PC2.· On the B1 build server, configure a second build agent (A2) that uses the C2 controller.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 7Your network environment is configured according to the following table:

Your TFS environment is configured with the following URLs:· TFS: http://tfssrv:8080/tfs· Reporting: http://tfssrv/reports· SharePoint: http://tfssrv/sitesYou need to configure only the TFS URL to be the following fully qualified domain name (FQDN):http://tfs.contoso.com. You log on to the application-tier server. What should you do next?

A. In the IIS Manager, select TFS Website and configure the host name with the friendly name.B. In the TFS Administration Console, go to the Change URIs dialog box and enter the friendly URL in the

Notification URL text box.C. In the IIS Manager, select TFS Website and configure the server URL with the friendly name.D. In the TFS Administration Console, go to the Change URIs dialog box and enter the friendly URL in the

Server URL text box.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Changing the URL (friendly name)On the TFS Server1.On the TFS application-tier, open the administration console for Team Foundation Server.2.In the navigation bar, choose Application Tier, and then click Change URLs. The Change URLs windowopens.3.In Notification URL, type the URL for the new application-tier server, and then choose OK.See Jump Start module 2a slide 27

Page 7: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

QUESTION 8Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server anda test environment that is based on non-Hyper-V-based virtualized machines. You need to be able to run testson all the test machines. Which two actions should you perform? (Each correct answer presents part of thesolution. Choose two.)

A. Install System Center Virtual Machine Manager (SCVMM) 2010.B. Use Microsoft Test Manager (MTM) to create a new standard environment.C. Manually install the Agents for Visual Studio 2012 on the virtualization server.D. From Microsoft Test Manager (MTM), create a new System Center Virtual Machine Manager- (SCVMM-)

based environment and select the virtual machines hosted on the non-Hyper-V-based virtualization server.E. Install a Visual Studio 2012 test controller.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:Standard Environments: Standard environments can contain a mix of virtual and physical machines. You canalso add virtual machines to a standard environment that are managed by third-party virtualization frameworks.In addition, standard environments do not require additional server resources such as an SCVMM server.SCVMM environments: SCVMM environments can only contain virtual machines that are managed bySCVMM (System Center Virtual Machine Manager), so the virtual machines in SCVMM environments can onlyrun on the Hyper-V virtualization framework. http://msdn.microsoft.com/en-us/library/dd997438.aspxYou must use a test controller and test agents to run tests run tests remotely or distribute automated tests tomultiple machines using Visual Studio 2012 or Microsoft Test Manager.http://msdn.microsoft.com/en-us/library/dd648127.aspx

QUESTION 9Your network environment includes a Microsoft Visual Studio Team Foundation Server 2012 (TFS) server. Asingle build machine is installed with one controller and two agents. The working directories are configured touse the following working directory:$(SystemDrive)\Builds\$(BuildAgentId)\$(BuildDefinitionPath). Your system drive is running out of space andsome builds often fail with the following error:"The specified path, file name, or both are too long. The fully qualified file name must be less than 260characters, and the directory name must be less than 248 characters." You need to meet the followingrequirements:· Point the working path to drive D.· Construct a working directory that can be used to define the shortest unique path for each build agent it isused on.What should you do?

A. Set the Build Agent working directory path to D:\BId\$(BuildAqentld)\$(BuildDetinitionPath).B. Create a system variable named BuildDrive and set its value to D:\.C. Set the Build Service working directory path to D:\BId\$(BuildAqentld)\$(BuildDefinitionPath).D. Set the Team Foundation Build variable named $(BuildDrive) to the value D:\.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 10DRAG DROP

Page 8: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Your network environment is configured according to the following table:

You do not have budget to install a new machine. You need to perform an in-place upgrade of your TFS1server from TFS 2012. What should you do? (To answer, move six appropriate actions from list of actions tothe answer are and arrange them in the correct order)

A. Run the TFS 2010 installation from the product DVD and the use the update configuration wizard,Verify that the operating system and hardware meet the requirements for TFS 2012,Install the TFS Extensions 2012 for sharepoint on COLLAB1,Use control panel to completely uninstall TFS 2010,Back up your TFS data on SQL1

B. Back up your TFS data on SQL1,Use control panel to completely uninstall TFS 2010,Uninstall the TFS Extensions 2010 for sharepoint from COLLAB1,Install the TFS Extensions 2012 for sharepoint on COLLAB1,Run the TFS 2010 installation from the product DVD and the use the update configuration wizard,Verify that the operating system and hardware meet the requirements for TFS 2012

C. Verify that the operating system and hardware meet the requirements for TFS 2012,Uninstall the TFS Extensions 2010 for sharepoint from COLLAB1,Back up your TFS data on SQL1,Use control panel to completely uninstall TFS 2010,Install the TFS Extensions 2012 for sharepoint on COLLAB1,Run the TFS 2010 installation from the product DVD and the use the update configuration wizard

D. Install the TFS Extensions 2012 for sharepoint on COLLAB1,Run the TFS 2010 installation from the product DVD and the use the update configuration wizard,Uninstall the TFS Extensions 2010 for sharepoint from COLLAB1.

Page 9: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

E. Verify that the operating system and hardware meet the requirements for TFS 2012,Uninstall the TFS Extensions 2010 for sharepoint from COLLAB1,Back up your TFS data on SQL1,Use control panel to completely uninstall TFS 2010,Run the TFS 2012 installation from the product DVD and the use the update configuration wizard,Install the TFS Extensions 2012 for sharepoint on COLLAB1

Correct Answer: ESection: (none)Explanation

Explanation/Reference:

http://msdn.microsoft.com/en-us/library/vstudio/jj620925.aspx

QUESTION 11Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. YourTFS environment currently consists of a single team project collection (TPC) named DevTPC, one buildcontroller named BC-1, and one build agent named BA-1. You need to create a separate TFS test environmentby cloning your existing environment. You need to achieve this goal by utilizing as few new TFS services aspossible. Which of the following diagrams shows the correct architecture for solving this problem?

Page 10: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

A. Option AB. Option BC. Option CD. Option D

Correct Answer: CSection: (none)Explanation

Explanation/Reference:One TPC should have at least one BC and we also need a separate test environment.http://msdn.microsoft.com/en-us/library/vstudio/dd793166.aspx

QUESTION 12Your client's network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012)server installed at its main office. Branch offices have limited bandwidth connecting to the main office. Clientteam members at one of the branch offices report that it is taking too long to retrieve files from source control.You need to speed up the source control access for their most commonly accessed files. What should you do?

A. · Install a SQL server at the remote office and configure replication of the source control database from themain office to the SQL server at the remote office.· Install and configure a TFS proxy server at the remote office to use the replicated database.· Configure all the clients at the remote office to use the new proxy server

B. · Install a new TFS instance at the remote office and configure it to sync with the main office.· Configure all the clients at the remote office to connect to the new TFS instance.

C. · Install and configure a TFS proxy server at the remote office.· Configure all the clients at the remote office to use the new proxy server.

D. · Install and configure a TFS proxy server at the remote office.· Run the TFSConfig.exe command to redirect remote users to the TFS proxy server based on IP address.

E. · Install and configure a TFS proxy server at the remote office.· Run the TFS Admin Console command to redirect remote users to the TFS proxy server based on IP

Page 11: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

address.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The TFS Version Control ProxyIf you have developers at a remote site who are sharing code with developers at the main site, you might savebandwidth by caching version control files at the remote location. Team Foundation Server Proxy distributespopular version control files from its cache at the remote site, rather than having multiple developers from theremote site each download the same file from the main site. Your team at the remote site works like theyalways have, without managing which version control files get loaded into the cache.To set this up, you install and configure the proxy server at the remote site, connect the proxy server to theapplication tier, and then connect the version control feature of Team Explorer to the proxy. Before you canstart to cache files at the remote site, you must add the service account for the proxy server to TeamFoundation Server at the main site.http://msdn.microsoft.com/en-us/vstudio/ee248710.aspx

QUESTION 13Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Yourdevelopment team uses Visual Studio 2012. You store specialized design files within your Visual Studio solutionby using version control. These design files are stored in a proprietary binary format and use the filenameextension .dzn. You need to meet the following requirements:· Ensure that all developers can modify these design files.· Prevent multiple check-outs on all .dzn files.· Ensure that all other file types can be edited by multiple developers at the same time.What should you do?

A. Within the Source Control Explorer, right-click each .dzn file and uncheck the Allow multiple check outsoption.

B. Add a new file type for .dzn to the Team Project Source Control Settings and clear the Enable file mergingand multiple check out checkbox.

C. Within the Visual Studio Options dialog box for Source Control, add the .dzn extension to the Preventmultiple check-outs for the following file types list in the Visual Studio Team Foundation server node.

D. Add a new file type for .dzn to the Team Project Collection Source Control Settings and clear the Enable filemerging and multiple check out checkbox.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:See Jump Start module 5 16:43

QUESTION 14Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Yourdevelopers use Visual Studio 2012. Developers frequently work from locations where there is no networkconnection. You need to ensure that developers are able to easily compare their current changes to the lastversion retrieved from version control. Which type of workspace should you configure?

A. ServerB. LocalC. Server-synchronizedD. Windows Azure

Correct Answer: B

Page 12: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Section: (none)Explanation

Explanation/Reference:Why should I use a local workspace? There are a lot of things to love about a local workspace:

Work offline easily. You can quickly begin editing a file when your network connection is unavailable orunreliable. From Solution Explorer you can add, edit, delete, rename, undo, and compare items in yourworkspace even when you're not connected to your Team Foundation Server.Easily restore files that you have deleted locally. To restore locally deleted files, just get your files.Visual Studio automatically detects changes. When you add or delete files outside of Visual Studio, theprogram automatically detects these changes.

When might I need to use a server workspace? Even though a local workspace is a better option for most people, there are some special cases when youmight find a server workspace useful:

Performance degrades as the number of items in a local workspace increases. A workspace that contains a very large number of files. Visual Studio keeps only one copy of each file ina server workspace, which reduces the disk space required to store them.You can use Visual Studio 2010 and earlier versions to work with the workspace.The Enable get latest on check-out option is available.

Some challenges you face if you use a server workspace:Work offline with difficulty and with poor performance. When you are offline, you cannot work with your localfiles because they are read-only until you check them out. You can check out files only from Solution Explorer,and only after you switch to offline mode (as explained below). While you're offline, you can't perform any otheroperations, such as add, delete, rename, or undo.http://msdn.microsoft.com/en-us/library/bb892960.aspx

QUESTION 15Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youcreate a new build definition and select the Continuous Integration trigger. The build definition runs a buildverification test. You discover that the build fails because the build verification test has not passed, even thoughcompilation of the source code succeeds. You need to prevent further check-ins until the code passes the buildverification test and the build succeeds. What should you do?

A. Enable the Builds check-in policy.B. Configure the build definition's source control folders to be read-only for the other developers.C. Enable the Testing check-in policy. Select the same test that is used as the build verification test to be run

and passed for the check-in to succeed.D. Configure the server-side check-in event handler to roll back if the earlier build has failed.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:When you configure a build to use either the Continuous Integration or Rolling builds trigger, every check-inoperation starts a build. When one of these continuous integration builds breaks, it is important for your team tofirst fix the problem that broke the build before making additional unrelated changes to the codebase. You canuse the Builds check-in policy as a tool to limit additional changes to your codebase until the build break isfixed.When you enable the Builds policy, it blocks team members from adding new files to any source control folderthat is a working folder in a build definition which is triggered by either the Continuous Integration or theRolling builds trigger. When this event occurs, the team member who is attempting to perform the check-inoperation receives the following message:The last build of definition <build definition name>, triggered by user <user name>, failed.http://msdn.microsoft.com/en-us/library/bb552349.aspx

Page 13: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

QUESTION 16Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. TheApplication Lifecycle Management (ALM) Center of Excellence of your organization has created a ruleset toperform the code analysis of the code being developed. You need to ensure that all developer's code passesthe static code analysis with the custom ruleset at the time of check in. Which two actions should you perform?(Each correct answer presents part of the solution. Choose two.)

A. Under the source control of the team project, check in the .ruleset file.B. Create a .reg file on your machine to add a registry entry for the Code Analysis policy with the custom

ruleset under HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\1 11.0_Config\TeamFoundation\SourceControl\Checkin Policies.

C. Distribute the .reg file that you have created to all developers and request them to run it with elevatedprivileges.

D. Add Code Analysis check-in policy team project source control settings. When prompted, select the customruleset file by browsing under the source control.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:Implementing Custom Code Analysis Check-in Policies for Managed CodeA code analysis check-in policy specifies a set of rules that members of a team project must run on sourcecode before it is checked in to version control. Microsoft provides a set of standard rule sets that group codeanalysis rules into functional areas. Custom check-in policy rule sets specify a set of code analysis rules thatare specific to a team project. A rule set is stored in a .ruleset file.Check-in policies are set at the team project level and specified by the location of a .ruleset file in the versioncontrol tree. There are no restrictions on the version control location of the team policy custom rule set.Code analysis is configured for the individual code projects in the properties window for each project. A customrule set for a code project is specified by the physical location of the .ruleset file on the local computer. When a.ruleset file is specified that is located on the same drive as the code project, Visual Studio uses a relative pathto the file in the project configuration.http://msdn.microsoft.com/en-us/library/dd492668.aspx

QUESTION 17Your network environment includes a Microsoft Visual Studio Team Foundation Server 2012 (TFS) server andseveral TFS 2012 build servers configured. You need to ensure that developers compile their own code againstthe latest code before checking their changes into source control. What should you do?

A. Enable the check-out setting to download the latest copy of an item before checking it out.B. Create a build definition for the solution with a gated check-in trigger.C. Create a build definition for the solution with a continuous integration trigger.D. Create a build definition for the solution with a rolling builds trigger, and configure the Builds check-in policy.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:There is a checkbox Enable get latest on check-out but it works only on server workspaces wich are toldnothing here.So my bet is on gated check-in, but this is not guarantee that you'll get latest code.

When your team puts a gated check-in build process in place, changes that the developers submit are placedin shelvesets and are automatically built and possibly tested by your build system.The build must be successful for the check-in process to be completed.

Page 14: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

http://msdn.microsoft.com/en-us/library/dd787631.aspx

When you configure a build to use either the Continuous Integration or Rolling builds trigger, every check-inoperation starts a build. When one of these continuous integration builds breaks, it is important for your team tofirst fix the problem that broke the build before making additional unrelated changes to the codebase. You canuse the Builds check-in policy as a tool to limit additional changes to your codebase until the build break isfixed.http://msdn.microsoft.com/en-us/library/bb552349.aspx

QUESTION 18Your client's network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012server installed at its main office. The network administrator at a remote office reports high WAN utilization.Users at the remote office report slow response times when downloading source code. You need to minimizeWAN utilization and improve the response times for downloading source code. What should you do?

A. Install TFS Server at the remote site and set up database synchronization between the existing TFS Serverand the remote site.

B. Install and configure TFS Proxy at the remote site. Point the TFS Proxy to the TFS server and point TeamExplorer to the TFS Proxy.

C. Install and configure IIS caching. Point Team Explorer to the IIS server.D. Install TFS Proxy at the remote site. Configure TFS Proxy to point to the TFS Server and configure each

user's Visual Studio Source Control to use the proxy server for file downloads.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 19Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Auser places a large shelveset on the TFS server. You need to delete the shelveset. What should you do?

A. Use the tf shelvesets command with the /delete parameter.B. Use the tf shelve command with the /move parameter.C. Use the tf unshelve command with the /delete parameter.D. Use the tf shelve command with the /delete parameter.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Shelvesets Command displays information about a set of shelved changes.tf shelvesets [/owner:ownername] [/format:(brief|detailed)] [/server:servername]shelvesetname Shelve Command stores a set of pending changes, together with pending check-in notes, a comment, and alist of associated work items, on the Team Foundation Server without actually checking them into the sourcecontrol server.tf shelve [/replace] [/comment:(@commentfile|"comment")] [shelvesetname[;owner][/validate]tf shelve [/move] [/replace] [/comment:(@commentfile|"comment")] [/recursive]shelvesetname[;owner] filespec [/validate]tf shelve /delete [/server:servername] shelvesetname[;owner] [/validate] Unshelve Command restores shelved file revisions, check-in notes, comments, and work item associations tothe current workspace or removes an existing shelveset from the server.tf unshelve [/move] [shelvesetname[;username]] itemspec [/recursive] [/noprompt]

Page 15: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

http://msdn.microsoft.com/en-US/library/w6y8ezzs(v=vs.80).aspx

QUESTION 20DRAG DROPYour network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Adeveloper has left the company and still has files checked out. The developer's computer is no longer availableto undo the checkouts. You need to undo any checked-out files for the user. You also need to delete the user'sworkspace. What should you do? (To answer, move the three appropriate actions from the list of actions to theanswer area and arrange them in the correct order.)

A. Use the tf workspaces command to delete the user's workspaces.B. Use the tf undo command to remove the user's pending changes.C. Use the tf workspace command to delete the user's workspaces.D. Use the tf view command to get a list of the user's workspaces.E. Use the tf status command to change the status of any of the user's pending changes to remove them.F. Use the tf workspaces command to get a list of the user's workspaces.

Correct Answer: BCFSection: (none)Explanation

Explanation/Reference:First we need to use tf workspaces command to get developer's workspaces, then we use tf undocommand to remove pending changes from his workspaces then we use tf workspace command to deletethe workpaces themself.http://msdn.microsoft.com/en-us/library/z51z7zy0(v=vs.80).aspx

QUESTION 21Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Auser accidentally deletes a file from version control. You need to restore the deleted file to version control. Whatshould you do?

A. · Add a file with the same name in the same place in source control as the old file.· Right-click the file in the source control explorer and select Rollback.· Roll back the file to a change set right before the file was deleted.

Page 16: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

B. · In Visual Studio 2012 click Tools, then click Options.· Expand the Source Control option, select Visual Studio Team Foundation, and then select Show deleteditems in the Source Control Explorer.· Right-click the file in Source Control Explorer and select Rollback.· Roll back the file to a changeset right before the file was deleted.

C. · In Visual Studio 2012 click Tools, then click Options.· Expand the Source Control option and select Visual Studio Team Foundation, then select Show deleteditems in the Source Control Explorer.· Right-click the file in Source Control Explorer and select Advanced, then select Get Specific Version.· Select a version of the file created right before the file was deleted.

D. · In Visual Studio 2012 click Tools, then click Options.· Expand the Source Control option and select Visual Studio Team Foundation, then select Show deleteditems in the Source Control Explorer.· Right-click the file in Source Control Explorer and select Undelete.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:To restore an item deleted from the server1. From the menu bar choose Tools, Options.2. On the Options dialog box, navigate to Source Control, Visual Studio Team Foundation Server.3. Select Show deleted items in the Source Control Explorer, and then choose OK.4. From the menu bar choose View, Other Windows, Source Control Explorer.5. In Source Control Explorer, navigate to the folder that contains the item you want to restore.6. Open the item’s shortcut menu and then choose Undelete.http://msdn.microsoft.com/en-us/library/ms245463.aspx

QUESTION 22Your network environment includes a multi-tier Microsoft Visual Studio Team Foundation Server (TFS) 2012server implementation. Developers use Visual Studio 2012. Your team has just started developing a very largeenterprise-scale application. You need to create a workspace for the new project that meets the followingrequirements:· Developers should be able to use Visual Studio 2012 and earlier versions to work with the workspace.· Performance of the workspace should not be degraded when the number of items in the workspaceincreases.· The storage utilization of the developer local hard drive should be as minimal as possible.What should you do?

A. Create a hybrid workspace.B. Create a server workspace.C. Create a server workspace and a Local workspace. Configure synchronization between both, and allow

developers to utilize the local workspace.D. Create a local workspace.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:Why should I use a local workspace? There are a lot of things to love about a local workspace:

Work offline easily. You can quickly begin editing a file when your network connection is unavailable orunreliable. From Solution Explorer you can add, edit, delete, rename, undo, and compare items in yourworkspace even when you're not connected to your Team Foundation Server.Easily restore files that you have deleted locally. To restore locally deleted files, just get your files.Visual Studio automatically detects changes. When you add or delete files outside of Visual Studio, the

Page 17: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

program automatically detects these changes.

When might I need to use a server workspace? Even though a local workspace is a better option for most people, there are some special cases when youmight find a server workspace useful:

Performance degrades as the number of items in a local workspace increases. A workspace that contains a very large number of files. Visual Studio keeps only one copy of each file ina server workspace, which reduces the disk space required to store them.You can use Visual Studio 2010 and earlier versions to work with the workspace.The Enable get latest on check-out option is available.

Some challenges you face if you use a server workspace:Work offline with difficulty and with poor performance. When you are offline, you cannot work with your localfiles because they are read-only until you check them out. You can check out files only from Solution Explorer,and only after you switch to offline mode (as explained below). While you're offline, you can't perform any otheroperations, such as add, delete, rename, or undo.http://msdn.microsoft.com/en-us/library/bb892960.aspx

QUESTION 23Your network environment includes two Microsoft Visual Studio Team Foundation Server (TFS) 2012 servers.A remote site has two teams. Each team uses a different TFS instance. The developers at the remote siteexperience poor performance due to network bandwidth issues. You need to relieve bandwidth by configuringTeam Foundation server with the minimal components. What should you do?

A. · Install an IIS Server at the remote site and add Output Caching Rules to the IIS instance.· Change user configurations at the remote site to use IIS server.

B. · Install a single TFS Proxy instance at the remote site, adding <Server> tags in TFProxy Proxy.config foreach server instance.· Point all users at the remote site to the TFS Proxy server.

C. · Install a third TFS Server and move the projects that are used by the remote team from existing servers tothe third server.· Point all users at the remote site to the new server.

D. · Install a TFS Proxy server instance for each project team.· Point users from each project team at the respective TFS Proxy server.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:The Servers node might resemble the following example if the proxy were caching version control files fromcollection0 on a server that is named TfsServer1, and version control files from every collection on a server thatis named TfsServer2, with both servers using the default values for port and virtual directory:<Servers> <Server> <Uri>http://tfsserver1:8080/Tfs/Collection0</Uri> </Server> <Server> <Uri>http://tfsserver2:8080/Tfs/ </Uri> </Server></Servers>

http://msdn.microsoft.com/en-us/library/ms400679(v=vs.100).aspx

QUESTION 24You are performing capacity planning for three teams of developers. Each team is developing a differentsoftware module. Developers belong to only one team. You need to ensure that team members can edit onlythe work items of the module on which they are working. What should you do?

Page 18: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

A. · Create three teams under the Team Project for team members of three modules.· On the Security tab of the team give Edit work items in this node permission to that team for thecorresponding area.· Deny that permission to other two teams.

B. · Create three TFS groups at the Team Project level for team members of three modules.· Create three areas for the three modules.· For each area, on the Permissions tab of the groups, give Edit work items in this node permission to thegroup corresponding to that area.· Deny that permission to other two groups.

C. · Create one TFS group at the Team Project level for the team members of the three modules.· Create three areas for the three modules. For each area, give Edit work items in this node permission tothe group.

D. · Create three teams under the Team Project for team members of three modules.· For each area corresponding to the team, give Edit work items in this node permission to that team.· Deny that permission to other two teams.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 25Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Yourdevelopment team has a Visual Studio solution file that is used to build a software product. A developer reportsthat when he retrieves the latest source file to his computer from TFS and performs a build, the build frequentlybreaks. You need to provide a solution that prevents check-ins to TFS that will break developers' builds. Whatshould you do?

A. Configure a Team Build for the project and set the build trigger to Continuous Integration. Then modify thebuild template to automatically roll back check-ins from failed builds.

B. Configure a Team Build for the solution and set the trigger to Gated Check-in.C. Configure a Team Build for the solution and set the trigger to Schedule. Then modify the build template to

automatically roll back check-ins from failed builds.D. Configure a Team Build for the project and set the build trigger to Continuous Integration.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:When a developer checks in changes that break the build, the result can be a significant hassle for smallteams. The cost to larger teams can be even more expensive when measured by lost productivity and scheduledelays. You can guard some or all of your code base against these problems by creating a gated check-in builddefinition.http://msdn.microsoft.com/en-us/library/dd787631.aspx

QUESTION 26Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youcreate a new project using the default Visual Studio Scrum 2.0 template. You want to inform the product ownerwhen a Product Backlog Item (PBI) is ready for testing. You need to ensure that when the development of a PBIhas been completed, the tester is able to change the state of the item to be Ready for Acceptance Testing. Youneed to achieve this goal without developing custom code. What are two possible ways to accomplish thisgoal? (Each correct answer presents a complete solution. Choose two.)

A. Use the TFSFieldMapping command to map a new state for Product Backlog Item.

Page 19: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

B. Use the Visual Studio Process Template editor to modify the Product Backlog Item template.C. Write a Visual Studio Extension (VSIX) so developers can change the state in Visual Studio.D. Modify the Product Backlog Item template XML and use the witadmin command to import the modified

XML.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:witAdmin: Administering Objects for Tracking Work Itemshttp://msdn.microsoft.com/en-US/library/vstudio/dd236914.aspx

QUESTION 27Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.Developers use Visual Studio 2012. You want to modify the build definition deployment process.You need to meet the following requirements:· The process will stop new builds from being started while making the modifications. · Builds should queue up while modifications are being made. · Once modifications are complete, all queued builds should be processed.What should you do?

A. Set the build controller's Processing property to Paused. Once maintenance has been completed, reset theproperty back to its original value.

B. Set the build definition's Queue Processing property to Paused for each of the build definitions beingmodified. Once maintenance has been completed, reset the property back to its original value.

C. Set the build definition's Queue Processing property to Disabled for each of the build definitions beingmodified. Once maintenance has been completed, reset the property back to its original value.

D. Set the build controller's Processing property to Disabled, Once maintenance has been completed, reset theproperty back to its original value.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:If your build process is not yet ready for your team to use, on the General tab, under Queue processing, youcan change the default setting of Enabled to:

Paused to cause the system to allow new builds to be queued by triggers or users, but to leave these buildsin a paused state.Disabled to cause the system to prevent new builds from being queued by triggers or users.

http://msdn.microsoft.com/en-us/library/ms181716.aspx

QUESTION 28You are business analyst. You use MS Excel to add and edit work items of a team project. You store thosework items in an offline worksheet. Recently your team project has been moved to another Team ProjectCollection. You need to connect the Microsoft Excel document containing the work items to the new TeamProject Collection. What should you do from within Microsoft Excel?

A. · Click the Publishing button on the Work Items group within the Team tab.· When prompted, select the new name of the Team Project Collection.

B. · Click the Refresh button on the Work Items group of the Team.· When prompted, select the new name of the Team Project Collection.

C. · Use the Server Connection option in the Configure dropdown of the Work Items group of the Team tab.· When prompted, select the new name of the Team Project Collection.

D. · Disconnect from TFS from within the Team tab.· Reconnect to TFS from within the Team tab.

Page 20: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

· While reconnecting, provide the new name of the Team Project Collection when prompted.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

http://msdn.microsoft.com/en-us/library/vstudio/dd286627(v=vs.110).aspx

QUESTION 29Your network environment includes a single Microsoft Visual Studio Team Foundation Server (TFS) 2012server. You are using the Default Template to build a solution that will be debugged by using IntelliTrace. Youneed to ensure that symbols will be available to IntelliTrace for each build. Which three actions should youperform? (Each correct answer presents part of the solution. Choose three.)

A. Update the build definition to set IndexSources to True.B. Set up a UNC path to the symbol location (for example, \\sharename\symbols) and grant Full Control

permissions to the user account under which the build agent is running.C. Configure the build trigger for Continuous Integration.D. Add the UNC path to the build's list of working folders.E. Update the build definition by configuring the UNC path to Publish Symbols.

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:To publish symbol data by using a Default Template build definition1. In Team Explorer:

If you are not already connected to the team project that you want to work in, then connect to the teamproject.Choose Home, and then choose Builds.

2. Open the shortcut menu of a build, and then:Choose Edit Build Definition, and then in the build definition window choose the Process tab. Choose Queue New Build, and then on the Queue Build dialog box, choose the Parameters tab.

3. Under the Basic node, expand the Source and Symbol Server Settings node.4. Set Index Sources to True.5. In Path to Publish Symbols, type the UNC file path to the folder (for example, \\contoso-share\symbols).http://msdn.microsoft.com/en-us/library/vstudio/hh190722.aspx

QUESTION 30Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youare configuring a set of automated build servers for TFS that includes one build controller and four buildservers, with TFS Build Agents installed on each. All build servers are configured with the same base set ofsoftware. You have a software component that is licensed for a single build server and can be installed on onlyone build machine. You need to configure a set of build definitions that rely on this software component toutilize the correct build machine. What should you do?

A. Add the name of the software component and the name of the build agent it is installed on to the InstalledComponents list in the build controller properties. In the build definition, add the name of the softwarecomponent to the Required Components list.

B. Add a tag to the build agent (indicating which machine has the software installed) and reference this tag inthe Tags Filter setting for the build definition that uses the software.

C. Add a tag to the build agent (indicating which machine has the software installed) and reference this tag inthe Name Filter setting for the build definition that uses the software.

D. Add the name of the software component to the Installed Components list in the build agent properties. In

Page 21: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

the build definition, add the name of the software component to the Required Components list.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:To specify which build agents are used to process your build, expand the Advanced node, expand the AgentSettings node, and then specify values for the following parameters:

Name Filter: You can filter the build agents that are used to process this build definition by typing the nameof the agent in this field. You can also specify a set of names by using the * and the ? wildcard characters.For example, you could specify CI* to specify any agent whose name starts with the characters CI. Agentsthat would match this criterion include CI, CI1, or CI_Agent2.Tags Filter: Specify one or more tags to ensure that only build agents that have matching tags will run thisbuild. You typically apply tags to certain build agents to reserve them for special purposes. For example, youset up a build agent on a build machine that is designed to process your gated check-in builds. You applythe tag gated to this build agent. Finally, you apply the gated tag to the build definition so that it is processedonly by the agent is also tagged with the gated tag. To specify tags, you choose the ellipsis button (...).

http://msdn.microsoft.com/en-us/library/dd647547.aspx

QUESTION 31Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.Developers use Visual Studio 2012 to maintain a library of commercial .NET components provided for sale byyour company. You release new versions quarterly and provide support for the four most recent versions. Whenissues are logged with previous versions it is time-consuming for your developers to locate and associate thecorrect version of debugging symbols and source code. You need to streamline the process for debugging priorversions of your library. What should you do?

A. When it is time to deploy each quarterly update, copy the release binaries into version control.B. Within the build definition, set the Index Sources property to True and provide a path for the symbols. Add

this path to the list of symbol file locations in Visual Studio when debugging that particular version.C. When it is time to deploy each quarterly update, label the source code with the version number being

released.D. Enable IntelliTrace within Visual Studio. Within the build definition, set the IntelliTrace option to True.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 32Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 serverinstalled at a main office. A TFS Proxy is installed at the branch office with a default port number. You need toaccess TFS from the branch office to add and manage work items. What should you do?

A. Navigate to the Internet Options of your browser. In the LAN settings area, configure the name of the TFSproxy and enter the port number 8081.

B. Navigate to the Internet Options of your browser. In the LAN settings area, configure the name of the TFSproxy and enter the port number 8080.

C. In the Add/Remove Team Foundation Server dialog box within Visual Studio 2012, enter the name of theTFS server.

D. From the Source Control section of Visual Studio 2012, enter the name of the proxy server and port number8081.

Correct Answer: C

Page 22: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Section: (none)Explanation

Explanation/Reference:

QUESTION 33Your network environment includes an on-premise Microsoft Visual Studio Team Foundation Server (TFS)2012 server. You create a work item custom query named Tasks Exceeding Original Estimate Hours in your MyQueries folder.You need to meet the following requirements:· The query should be available to all team members.· Aggregate results of the query, in the form of total number of work items that match the query, should appearas a tile on the Home page of the Team Web Access client.What should you do?

A. From within Team Web Access:· From the Activities list on the home page, click Publish Query to Team Favorites.· Select the Tasks Exceeding Original Estimate Hours query from the list overlay.

B. From within Team Explorer:· From the Activities tab, click Publish Query to Team Favorites.· Select the Tasks Exceeding Original Estimate Hours query from the list overlay.

C. From within Team Explorer:· From the My Queries folder, drag the Tasks Exceeding Original Estimate Hours query to the SharedQueries section.· Drag the query from the Shared Queries section to the Team Favorites section.

D. From within Team Web Access:· On the Work Items tab of the Work page, drag the query Tasks Exceeding Original Estimate Hour thatappears in the My Queries section and add it to Shared Queries section.· Drag the query from the Shared Queries section to the Team Favorites section.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:A, B is wrong because we can't Publish Query to Team Favorites.D is wrong because there is no Work Items tab on the Work page.

QUESTION 34Your network environment is configured according to the following table:

The data tier has been configured to run Microsoft SQL Server Reporting Services (SSRS) in SharePointIntegrated Mode.You need to configure the TFS environment to support the addition of SSRS Reports. Which two actions should

Page 23: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

you perform? (Each correct answer presents part of the solution. Choose two.)

A. Open the report in SQL Server Business Intelligence Development Studio and change the TargetServeruRLproperty of the report.

B. Log on to the data-tier server and reconfigure SSRS to Native Mode.C. Log on to the data-tier server and rebuild the TFS data warehouse by using the TFSConfig.exe Rebuild

Warehouse /all I ReportingDataSourcePassword : <password> command.D. Log on to the application-tier server and rebuild the TFS data warehouse by using the TFSConfig.exe

RebuildWarehouse / all /ReportingDataSourcePassword:<password> command.E. Log on to the application-tier server and reconfigure TFS and SQL Reporting Services integration.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:

QUESTION 35Your client's network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012server.Some users, who do not have client access licenses perform, user acceptance testing. You need to allow useracceptance testers to only record and view bugs they have raised.What should you do?

A. Obtain a client access license for these users.B. Add the users to the Contributors group.C. Add the users to the Work Item Only View Users group.D. Set user security to allow Contribute permission to a specific work item query.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:When you are granted Limited access to TFS, you are able to view and modify only those work items that youcreate. You can report a code defect or suggest a product feature. Also, if you used Microsoft Feedback tosubmit feedback responses, you can revise your submissions. In the past, this view has been referred to asWork Item Only View (WIOV).Limited access to TFS was designed to support members in an organization with a TFS deployment who don'thave a client access license (CAL). This view restricts functionality so that your organization complies with theend-user license agreement for Team Foundation Server. http://msdn.microsoft.com/en-us/library/vstudio/cc668124.aspx

QUESTION 36Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server thathas separate computers for the application tier and the data tier. The data-tier computer experiences hardwarefailure. You restore all the data of TFS on another computer in the network by using a backup.You need to provide the location of the restored database to the application tier of TFS without reinstalling theapplication tier.What should you do?

A. Use the Team Foundation Backups node of the TFS Administration Console.B. Use the Application Tier node of the TFS Administration Console.C. Run the Tfsmgmt.exe configure command.D. Run the TfsConfig reqisterDB command.

Page 24: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Correct Answer: DSection: (none)Explanation

Explanation/Reference:Use RegisterDB to update name of the server that hosts the configuration database in Visual Studio TeamFoundation Server. You might use this command when restoring the configuration database to new hardwareor when changing the domain of a deployment.http://msdn.microsoft.com/en-us/library/ms252443(v=vs.100).aspxSee Jump Start module 3a slide 20

QUESTION 37Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server withMicrosoft SQL Server 2012 Reporting Services (SSRS) and Analysis Services (SSAS). Users report that thedata in their reports is out of date. You need to view the status of the data warehouse. You also need to viewthe analysis database jobs and see when each last ran successfully.What should you do?

A. From any computer on the network:· Browse to http://<servername>:8080/tfs/teamfoundation/administration/ v3.0/warehousecontrolservice.asmx· Invoke the GetProcessingStatus operation.

B. From the TFS server:· Browse to http://<servername>:8080/tfs/teamfoundation/administration/ v3.0/warehousecontrolservice.asmx· Invoke the GetProcessingStatus operation.

C. From the Team Foundation Server Administration Console:· Expand the application-tier tree.· Select Reporting.· View the Warehouse Database and Analysis Services Database status.

D. From any computer on the network:· Use SQL Server Management Studio.· Connect to the SQL server that hosts the TFS databases.· Query the TFS configuration database's _LastUpdatedTime table.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:To determine the processing status of the data warehouse From the WarehouseControlWebService page, click GetProcessingStatus, and then click Invoke.A new browser window will open and indicate the processing status. The processing status for the followingjobs appears:

Build Warehouse SyncCommon Structures Warehouse SyncTest Management Warehouse SyncVersion Control Warehouse SyncWork Item Tracking Warehouse SyncFull Analysis Database SyncIncremental Analysis Database Sync

A value of Idle indicates that the synchronization job is currently not running. You should process the datawarehouse or the cube only when the processing status for these jobs is Idle. If a different value is returned,repeat this step until Idle is returned for the job that you want to process.http://msdn.microsoft.com/en-us/library/ff400237(v=VS.100).aspx#DetermineStatusSee Jump Start module 2a 52:00A is wrong because you ca can utilize web-services via browser only on the computer wich runs the service.C is wrong because via TFS Administration Console you can only see status and no last run time.

Page 25: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

D is wrong because there's no _LastUpdatedTime table in TFS_Configuration database, it's inTFS_Warehouse database.

QUESTION 38Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youhave a development team named Dev1 that is already using the server. You hire a second development teamnamed Dev2. You need to ensure that the development activities of Dev2 are completely isolated from those ofDev1.What should you do?

http://www.gratisexam.com/

A. Use the TFS Administration Console to create a new team project collection for Dev2.B. Run the TFSConfiq collection /create [name] command.C. Use the TFS Administration Console to branch a new team project collection for Dev2 from the one used by

Dev1.D. Use Visual Studio Team Explorer 2012 to create a new team project collection for Dev2.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 39Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 servernamed Server1, which has a single team project collection containing a number of team projects.You want to outsource some projects to a third-party development team that will connect to Server1 by using avirtual private network (VPN).You need to ensure that only the projects the team has access to are available in their team project collection.Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. In the TFS Administration Console, select Clone team project collection.B. Use the TFSConfig.exe collection /attach CollectionDB:ServerName; DatabaseName /clone command to

make a copy of the existing team project collection.C. Use the TFSConfiq.exe collection /attach CollectionDB:ServerName; DatabaseName command to make a

copy of the existing team project collection.D. In the TFS Administration Console, create a new empty team project collection.E. Use the TFS Integration Platform to copy the required team projects to the new team project collection.F. In the TFS Administration Console, for both the original and cloned team project collections, delete the team

projects the respective teams do not need.

Correct Answer: BFSection: (none)Explanation

Explanation/Reference:TFSConfig Collection CommandIf you specify /attach option, you must also use the /collectionDB option. As an option, you can also use /

Page 26: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

collectionName and /clone with this option. If you use the /attach option, the specified collection database willbe added to your deployment of Team Foundation Server.If you specify /clone option, the original collection database will be attached as a clone in SQL Server, and thisdatabase will be attached to TFS. This option is primarily used as part of splitting a team project collection.http://msdn.microsoft.com/en-us/library/ee349263(v=vs.100).aspxA is wrong because there is no such menu item as Clone team project collection.C is wrong because TFSConfig Collection /attach connects existing TPC not a copy.D is wrong because we have only two choices and one of it is F.E is wrong because TFS Integration Platform isn't part of TFS.

QUESTION 40Your network environment is configured according to the following table:

The data tier is configured to use SQL Server Reporting Services (SSRS) and SQL Server Analysis Services(SSAS). The data tier currently does not contain a database named TFS_Analysis. You need to rebuild the datawarehouse, including the SSRS and SSAS databases.What should you do?

A. Log on to the application-tier server, then rebuild and redeploy the data warehouse cube by using SQLServer Business Intelligence Studio.

B. Log on to the application-tier server and run the TFSConfig.exe Rebuild Warehouse /analysisServices /ReportingDataSourcePassword: <password> command.

C. Log on to the application-tier server. From the Reporting node in the TFS Administration Console, select theStart Rebuild option.

D. Log on to the database-tier server and rebuild the data warehouse using SQL Server Management Studio.E. Log on to the database-tier server, then rebuild and redeploy the data warehouse cube by using SQL Server

Business Intelligence Studio.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:To start the rebuild of these databases interactively, you can use the Reporting node in the administrationconsole for Team Foundation.You can use the RebuildWarehouse command to rebuild the SQL Server Reporting Services and SQL ServerAnalysis Services databases that Visual Studio Team Foundation Server (TFS) uses.TFSConfig RebuildWarehouse /analysisServices | /all [/ReportingDataSourcePassword:Password]Option /analysisServices required if /all is not used. Specifies that only the database for Analysis Services willbe rebuilt. If no database exists for Analysis Services, you must also use the /reportingDataSourcePasswordoption.Option /all required if /analysisServices is not used. Specifies that all reporting and analysis databases thatTFS uses will be rebuilt.See TFS Administration Guide - RebuildWarehouse Command

QUESTION 41Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.You need to view performance data related to client connections and commands being executed against the

Page 27: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

TFS server.What should you do?

A. Browse to http:<servername>:8080/tfs/teamfoundation/administration/v3.0/warehousecontrolservice.asmxand select Processing Status.

B. Use the TFS Administration Console to view the TFS logs.C. Query the tbl_ClientEvent table in each TFS Team Project Collection database.D. Query the tbl_Command table in each TFS Team Project Collection database.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:The answer should be D but there is a tbl_Command table in Tfs_Configuration database as well. See Jump Start module 3a 48:33

QUESTION 42Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Allrequests pass through an HTTP proxy before reaching users. You need to allow access to the server overHTTPS for remote workers. Which two actions should you perform? (Each correct answer presents part of thesolution. Choose two.)

A. Configure Basic authentication.B. Configure SSL.C. Configure Kerberos authentication.D. Add the users to the user identities in Internet Information Services (IIS).E. Configure a TFS proxy server.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:You can strengthen the security of your deployment of Visual Studio Team Foundation Server (TFS) byconfiguring the services that it uses to utilize Hypertext Transfer Protocol Secure (HTTPS) with Secure SocketsLayer (SSL). You can configure your deployment either to require this protocol, which maximizes the security ofyour deployment, or to support HTTPS with SSL in addition to the default protocol, HTTP.To support external connections to your deployment of TFS, you must also enable Basic authentication, Digestauthentication, or both in Internet Information Services (IIS).http://msdn.microsoft.com/en-us/library/vstudio/aa833872.aspx

QUESTION 43Your network environment includes Microsoft Visual Studio Team Foundation Server (TFS) 2012. You areusing Microsoft Lab Management (MLM) 2012. Automatic host group provisioning is turned off. You need toallocate a Microsoft System Center Virtual Machine Manager (SCVMM) 2012 host group to the team project.Which two tools should you use? (Each correct answer presents part of the solution. Choose two.)

A. TFSConfig.exe with the lab command nameB. Visual Studio 2012 Team ExplorerC. Microsoft Test Manager (MTM)D. TFS Administration Console

Correct Answer: ADSection: (none)Explanation

Page 28: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Explanation/Reference:You can use the TfsConfig Lab commands to configure Lab Management in the Team Foundation ServerApplication Tier and to add SCVMM host groups and library shares to team project collections.

A host group is a logical container that is used to manage one or more physical machines that host virtualmachines. Host groups are created by an administrator in SCVMM.A library share is a designated share that provides access to the file-based resources such as ISO imagesand virtual hard disks that Lab Management uses to create and deploy virtual environments. Library sharesare created in SCVMM by the SCVMM administrator.

http://msdn.microsoft.com/en-us/library/ee513027(v=vs.100).aspxTo add or remove host groups for your team project collection1. In the Team Foundation Administration Console, under Application Tier, click Team Project Collections.2. In the right-side pane, click the appropriate team project collection from the list of project collections. 3. Click the Lab Management tab, and then click Configure Host Groups. The Edit Project Collection Level Lab

Management Settings dialog box is displayed.http://msdn.microsoft.com/en-us/library/dd386364.aspx

QUESTION 44Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server andMicrosoft Lab Management (MLM) 2012.You need to create a new environment that will support the ability to include a snapshot of the environment in abug report. Which two actions should you perform? (Each correct answer presents part of the solution. Choosetwo.)

A. Create a standard environment.B. Set up Hyper-V virtual machines using a virtual disk.C. Create an SCVMM environment.D. Install a test agent on each box in the environment.E. Set up Hyper-V virtual machines using a physical disk.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:There are two types of lab environments that you can create with Visual Studio Lab Management—standardEnvironments and SCVMM Environments. However, the capabilities of each type of environment are different.Standard Environments: Standard environments can contain a mix of virtual and physical machines. You canalso add virtual machines to a standard environment that are managed by third-party virtualization frameworks.In addition, standard environments do not require additional server resources such as an SCVMM server.SCVMM environments: SCVMM environments can only contain virtual machines that are managed bySCVMM (System Center Virtual Machine Manager), so the virtual machines in SCVMM environments can onlyrun on the Hyper-V virtualization framework. However, SCVMM environments provide the following automationand management features that are not available in standard environments:

Environment snapshots: Environment snapshots contain the state of a lab environment, so you canquickly restore a clean environment, or save the state of an environment that has been modified. You canalso use a build-deploy-test workflow to automate the process of saving and restoring environmentsnapshots.Stored environments: You can store a copy of an SCVMM environment, and then deploy multiple copiesof that environment.Network isolation: Network isolation allows you to simultaneously run multiple identical copies of anSCVMM environment without computer name conflicts.Virtual machine templates: A virtual machine template is a virtual machine that has had its name andother identifiers removed. When a VM template is deployed in an SCVMM environment, Microsoft TestManager generates new identifiers. This allows you deploy multiple copies of a virtual machine in the sameenvironment, or multiple environments, and then run the virtual machines simultaneously.Stored Virtual Machines: A virtual machine that is stored in your Team Project library and includes uniqueidentifiers.

Page 29: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

http://msdn.microsoft.com/en-us/library/dd997438.aspx

QUESTION 45Your network environment is configured according to the following table:

TFS2 experiences complete hardware failure.You need to replace TFS2.You install TFS on a new server. In which mode should you configure TFS?

A. UpgradeB. Application-Tier onlyC. AdvancedD. Basic

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 46Your client's network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012server installed at its main office. TFS Proxy has been installed at a branch office. You need to reconfigure theTFS Proxy Server to increase the percentage of disk used by the cache.What should you do?

A. Use the Team Foundation Server Configuration Tool and adjust the percentage of disk used by TFS Server.B. Modify the web.confiq file of the Proxy Server service and increase the value of the PercentageBasedPolicy

configuration item.C. Modify the TFS Global Web.config file and increase the value of the PercentageBasedPolicy configuration

item.D. Modify the TFS Proxy config file and increase the value of the PercentageBasedPolicy configuration item.

Correct Answer: DSection: (none)Explanation

Page 30: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Explanation/Reference:To change the limit at which old files are removed from the cache1. On the Team Foundation Server Proxy computer, open Windows Explorer, and locate the proxy installationdirectory.2. Open Proxy.config in a text or XML editor.3. Locate the <CacheLimitPolicy> element.4. Select one of the following:

To specify a percentage of available disk space to fill before removing old files from the cache, update the<PercentageBasedPolicy> element. For example, the following line specifies that the cache should fill up to 60% capacity of available disk spacebefore removing old files:<PercentageBasedPolicy>60</PercentageBasedPolicy>To specify a fixed size in MB for the cache to reach before removing old files, add or update the<FixedSizeBasedPolicy> element.For example, the following line specifies that the cache should reach 500 MB before removing old files.<FixedSizeBasedPolicy>500</FixedSizeBasedPolicy>Note Both the <PercentageBasedPolicy> and <FixedSizeBasedPolicy> elements cannot be in effect at thesame time.

5. Save and close the Proxy.config file.6. On the proxy computer, on the Start menu, click Run, and type the following: iisreset. Performing this actionretrieves the latest Proxy.config file.http://msdn.microsoft.com/en-us/library/ms400763(v=vs.80).aspx

QUESTION 47Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.Developers use Visual Studio 2012.Developers spend a significant amount of time dealing with the improper merging of change sets. You need toensure that developers are prevented from encountering merges.What should you do?

A. · Require all developers to utilize a local workspace.· Within the Source Control Settings box, select the Enable get latest on check-out option.

B. · Require all developers to utilize a server workspace.· Within the Source Control Settings box, clear the Enable multiple check-out option.

C. · Require all developers to utilize a server workspace.· Within the Source Control Settings box, select the Enable get latest on check-out option.

D. · Require all developers to utilize a local workspace.· Within the Source Control Settings box, clear the Enable multiple check-out option.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Why should I use a local workspace? There are a lot of things to love about a local workspace:

Work offline easily. You can quickly begin editing a file when your network connection is unavailable orunreliable. From Solution Explorer you can add, edit, delete, rename, undo, and compare items in yourworkspace even when you're not connected to your Team Foundation Server.Easily restore files that you have deleted locally. To restore locally deleted files, just get your files.Visual Studio automatically detects changes. When you add or delete files outside of Visual Studio, theprogram automatically detects these changes.

When might I need to use a server workspace? Even though a local workspace is a better option for most people, there are some special cases when youmight find a server workspace useful:

Performance degrades as the number of items in a local workspace increases.

Page 31: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

A workspace that contains a very large number of files. Visual Studio keeps only one copy of each file ina server workspace, which reduces the disk space required to store them.You can use Visual Studio 2010 and earlier versions to work with the workspace.The Enable get latest on check-out option is available.

Some challenges you face if you use a server workspace:Work offline with difficulty and with poor performance. When you are offline, you cannot work with your localfiles because they are read-only until you check them out. You can check out files only from Solution Explorer,and only after you switch to offline mode (as explained below). While you're offline, you can't perform any otheroperations, such as add, delete, rename, or undo.http://msdn.microsoft.com/en-us/library/bb892960.aspx

QUESTION 48Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.You need to be able to trace bugs to the code that addresses the bug.What should you do?

A. Enable the Work Items check-in policy. In the Edit options of the policy, select Bug from the list of work itemtypes.

B. Enable the Work Items check-in policy. In the Edit options of the policy, select the Active Bugs query.C. Enable the Work Items check-in policy and request that all developers associate the work item to the

appropriate bug at the time of check-in.D. Enable the Changeset Comments check-in policy.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:Work Items check-in policy requires that one or more work items be associated with the check-in.http://msdn.microsoft.com/en-us/library/ms181459(v=VS.100).aspx

QUESTION 49Your network environment includes a multi-tier Microsoft Visual Studio Team Foundation Server (TFS) 2012server implementation.A member of the networking team changes the name of a user's computer. From the user's computer, youneed to modify the existing workspace to reflect the new computer name.What should you do?

A. Execute the following workspaces command to update the machine name: tf workspaces /updateComputerName:<oldcomputername> /collection:http://teamserver:8080/tfs/DefaultCollection.

B. Create a new workspace. Replace the existing workspace with the new one by using the ManageWorkspaces window in Source Control Explorer.

C. Execute the following workspace command to update the machine name: tf workspace /computer:<oldComputerName> /collection:http://teamserver:8080/tfs/ DefaultCollection.

D. Open the existing workspace by using the Manage Workspaces window in Source Control Explorer. In theComputer field, enter the new machine name.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Tf Workspaces CommandOption /updateComputerName Instructs Team Foundation to update its tables to reflect a change in the nameof a client computer. If you specify this option, you must also specify a team project collection by using the /collection option.

Page 32: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

http://msdn.microsoft.com/en-us/library/54dkh0y3(v=VS.100).aspx

QUESTION 50Your network environment includes a Microsoft Visual Studio Team Foundation Server 2012 (TFS) server.Version control is configured with one project collection and two team projects. Some users use 2010 and 2012clients, such as Visual Studio and Team Explorer Everywhere. You need to ensure that users will be promptedby, and can satisfy, the comments check-in policy when using both 2010 and 2012 clients.Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Add the Changeset Comments policy in the team project collection's source control settings.B. Add the Changeset Comments policy in the source control settings for each team project.C. Install the TFS 2010 Power Tools on all clients.D. Install the TFS 2012 Power Tools on all clients and configure the policy by using Team Explorer.E. Install the TFS 2010 and 2012 Power Tools on the TFS application tier and configure the policy by using

Team Foundation Administrator.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:

QUESTION 51Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.The lead developer uses a large third-party library named Fabrikam. This utility requires thousands of files thatnone of the other developers use.You need to meet the following requirements:· Prevent Fabrikam files from being retrieved by the other developers.· Retrieve all files, including Fabrikam, for the lead developer.What should you do?

A. · Have each developer create a workspace mapping to root folder of the project.· Cloak the Fabrikam folder in the lead developer's workspace.

B. · Have each developer create a workspace mapping to root folder of the project.· Cloak the Fabrikam folder in every team member's workspace except the lead developer's.

C. · Have each developer map the Fabrikam TFS folder to the local folder C:\ThirdParty.· Within the workspace settings, ensure all other folders are cloaked.

D. · Keep the original workspace and within the Source Control Explorer, right-click on the UltraStats node andselect the Map Working Folder option and map it to C:\UltraStats.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 52Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server andMicrosoft Lab Management (MLM) 2012.You want to create a clone of the development test environment in your domain that will support testing patchesof your software while continuing to support release testing in the existing environment.You need to configure the environment to support network isolation. Which three actions should you perform?(Each correct answer presents part of the solution. Choose three.)

A. Add each machine to a workgroup.

Page 33: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

B. Install a test agent into each machine.C. Add a NAT server to the environment.D. Configure the test agent in each machine.E. Store the environment in a library.F. Add a domain controller to the environment.

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:These steps summarize the creation of a network isolated environment:1. Follow these steps to prepare the virtual machines and templates that you want to use in your environment.Then store them all on the same SCVMM host in your Team Project Library.

a. Add the virtual machines and templates to a workgroup, not a domain.b. Install a test agent on each virtual machine and template, but don’t configure the test agent.c. If you want the virtual machines to run in a private domain, set up a virtual machine as a domain controller.d. (Recommended) Enable Remote Desktop Services on each virtual machine and template.e. (Recommended) Set the administrator password on each virtual machine and template to not expire.

2. Create a new SCVMM environment using your stored virtual machines and templates. Enable the networkisolation option when you create the environment.3. Connect to the virtual machines in your lab environment and configure either a private domain or aworkgroup.4. In order to be able to create multiple copies of the environment, store the environment in your Team ProjectLibrary.http://msdn.microsoft.com/en-us/library/ee518924.aspx#Overview

QUESTION 53Your network environment includes a dual-tier Microsoft Visual Studio Team Foundation Server (TFS) 2012installation. The first server hosts Microsoft SQL Server and Analysis Services, and the second server hostsTFS Application Tier and Reporting Services. The TFS installation uses the company's Enterprise SharePointServer, which is backed up by a different team.You need to perform regular backups of the TFS server, and you need to keep the size of the backup to theminimum.Which three components should you back up? (Each correct answer presents part of the solution.Choose three.)

A. TFS Configuration and Collection databasesB. Configuration databaseC. SharePoint Products databasesD. Analysis databasesE. Warehouse database

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:You can create backups of the databases that TFS uses as a key aspect of protecting your deployment ofTeam Foundation against loss. The following table and accompanying illustrations show which databases youmust back up and provide examples of how those databases might be physically distributed in a deployment.

Page 34: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

http://msdn.microsoft.com/en-us/library/vstudio/ms253151.aspx

QUESTION 54Your client's network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012server that uses default permission sets. For each team project, all TFS group members are unique.The company stores sensitive information in a source code control folder. You need to restrict check-in accessto the folder to only the Project Administrators group. You need to achieve this goal by using the minimum setof permission changes.What should you do?

A. Deny Contribute permission to the folder for the Contributors group.B. Allow Check In permission to the Project Administrators group on the folder.C. Deny Check In permission to the folder for the Contributors group.D. Deny Check In permission to the folder for the Valid Project Collection Users group.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 55Your network environment is configured according to the following table:

Page 35: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

DATA1 experiences complete hardware failure.You restore operations on a new server. However, some users experience errors with Work Item tracking andWorkspaces.Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Refresh the version control cache by using the tf workspaces command on the client computers.B. Refresh the work item cache by using the ClientService command on the new server.C. Refresh the version control cache by using the tf workspaces command on TFS1.D. Refresh the work item cache by using the ClientService command on the client computer.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:To update the cache for tracking work items, you invoke the StampWorkitemCache Web method. Thismethod forces client computers to update the cache the next time that they connect to the application-tierserver. This method also synchronizes the workspaces that are defined on the client computers.To refresh the version control cache, each user runs the tf workspaces command on any computer that mustbe updated. They must update any computer that uses version control and that connects to a team projectcollection whose databases were relocated.http://msdn.microsoft.com/en-us/library/vstudio/cc716728.aspx

QUESTION 56DRAG DROPYour network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 servernamed Server1. Server1 is used by two development teams, Dev1 and Dev2, each of which has its own teamproject collection. You add a second TFS 2012 server named Server2, which also uses an instance ofMicrosoft SQL Server 2012. You need to move all of Dev2's content from Server1 to Server2. What should youdo? (To answer, move the six appropriate actions from the list of actions to the answer area and arrange themin the correct order.)

Page 36: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

A. Configure Lab Management resources,Delete Lab Management resources,Back up the collection database,Restore the collection database,Detach the collection,Attach the collection

B. Back up the collection database,Configure Lab Management resources,Detach the collection,Back up the collection database,Delete Lab Management resources

C. Back up the collection database,Detach the collection,Back up the collection database,Delete Lab Management resources

D. Delete Lab Management resources,Detach the collection,Back up the collection database,Restore the collection database,Attach the collection,Configure Lab Management resources

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

Page 37: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

QUESTION 57Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youneed to rebuild both the Team Foundation Data Warehouse and the SQL Server Analysis Services Cube fromscratch. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution.Choose two.)

A. Use Microsoft SQL Server Management Studio.B. Use SQL Server Business Intelligence Development Studio.C. Use Warehouse Control Web Service.D. Use the Reporting section in Team Foundation Administration Console.E. Restart SQL Server Analysis Services service, SQL Server service, and SQL Server Agent service by

navigating to the Services option under Administrative Tools.

Correct Answer: CDSection: (none)Explanation

Explanation/Reference:To start the rebuild of these databases interactively, you can use the Reporting node in the administrationconsole for Team Foundation.You can use the RebuildWarehouse command to rebuild the SQL Server Reporting Services and SQL ServerAnalysis Services databases that Visual Studio Team Foundation Server (TFS) uses.TFSConfig RebuildWarehouse /analysisServices | /all [/ReportingDataSourcePassword:Password]Option /analysisServices required if /all is not used. Specifies that only the database for Analysis Services willbe rebuilt. If no database exists for Analysis Services, you must also use the /reportingDataSourcePasswordoption.Option /all required if /analysisServices is not used. Specifies that all reporting and analysis databases thatTFS uses will be rebuilt.See TFS Administration Guide - RebuildWarehouse Command

Page 38: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

QUESTION 58Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youhave two teams named Team A and Team B working on a team project. You assign work items to a team areafor each team. Each person belongs to only one team. You need to provide read-only access to work items inthe Team A area node to Team B by using the least number of permissions changes.What should you do?

A. Set the View Work Items in This Node permission to allow Team B to access the Team A node.B. Set the Edit Work Items in This Node permission for Team B as Deny for the Team A node.C. Set the Edit Work Items in this Node permission for Team B as Deny to the Team A node and each child of

the Team A node.D. Set the View Work Items in This Node permission to allow Team B to access the Team A team node and

each child node.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 59Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server thatuses SharePoint and SQL Server 2012 Reporting Services (SSRS). You develop a custom report to trackprogress for all new projects. You need to ensure that the report is included in all new projects when they arecreated. Which two actions should you perform? (Each correct answer presents part of the solution. Choosetwo.)

A. Add the report file to the TfsReports folder on the reporting server.B. Add a report entry to the ReportsTasks.xml in the process template.C. Add the report file to the Reports folder for the process template.D. Add a report entry to the ProcessTemplate.xml in the process template.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:

QUESTION 60DRAG DROPYour network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youneed to configure TFS to send an email notification to a group of testers when a build is completed. Whatshould you do? (To answer, move the three appropriate actions from the list of actions to the answer area andarrange them in the correct order.)

Page 39: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

A. Create a team project group named Testers for all the tester in the project; Add all the testers to the team project group named Testers; Create a custom alert for Build Completed events to send emails to all members of Testers

B. Add all the testers to the team project group named Testers,Create a custom alert for build completed events to send emails to all members of testers,Create a team named Testers under the team project

C. Add all the testers to the team project group named Testers,Create a team named Testers under the team project,Create a custom alert for build completed events to send emails to all members of testers

D. Add all the testers to the team project group named Testers,Create a team project group named Testers for all the testers in the project,Create a custom alert for build completed events to send emails to all members of testers

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

Page 40: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

QUESTION 61Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Youlead a team of testers that is testing a specific module of an application. You want to list only the test cases thatare assigned to you testers. You need to create a query on work items of the type Test Case. What are twopossible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A. · Create a team project level group for testers of your module.· Create a work item query that uses the = operator on the Assigned To field and the group of testers.

B. · Create a team for testers of your module.· Create a work item query that uses the = operator on the Assigned To field and the team of testers.

C. · Create a team project level group for testers of your module.· Create a work item query that uses the IN GROUP operator on the Assigned To field and the group oftesters.

D. · Create a team for testers of your module.· Create a work item query that uses the IN GROUP operator on the Assigned To field and the team oftesters.

Correct Answer: CDSection: (none)Explanation

Explanation/Reference:= Matches the value in the clause.Applicable data types: Number, which includes Double, GUID, Integer, and String, DateTime, and TreePath.

In Group Matches a value that is a member of the group in the clause. You can specify a default, custom, orcategory group in Team Foundation Server. For example, you can create a query to find all work items that areassigned to members of the Contributors group.Applicable data types: String that matches the name of a user group or category group in Team Foundation

Page 41: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Server.http://msdn.microsoft.com/en-us/library/vstudio/dd286638.aspx

QUESTION 62Your development environment includes a team project on TFSPreview. The Team Build definitions include thestandard options for staging build output when using the default template. You need to ensure that the buildoutput is available to anyone with access to the team project. What should you do?

A. Configure a valid UNC path (in the form \\server\share).B. Configure the source control folder named $/<Team project name>/Drops.C. Configure the folder for any valid source control folder.D. Configure the build output for any SharePoint document library.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 63Your network environment includes a Microsoft Visual Studio Team Foundation Server 2012 (TFS) server. Youbuild a multi-tiered application that contains the following tiers:· User Interface· Application Services· Integration Services· DatabaseYou need to modify the item template to meet the following requirements:· When a bug is created, the testing team is able to identify the application tier.· You are able to produce a report of bugs by tier.Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)

A. Add a control to the work item FORM. For type, select WorkltemClassificationControl.B. Add a new FIELD called Custom.ApplicationTier Application Tier and configure its list of

ALLOWEDVALUES LISTITEMS to be:· User Interface· Application Services· Integration Services· Database

C. Add a control to the work item FORM. For type, select FieldControl.D. Add the attribute reportable = Dimension to the FIELD definition.E. Add the attribute reportable = Measure to FIELD definition.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 64Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server. Allof your Team Projects use the default Scrum process template. You create a new work item type namedAcceptanceBug. You need to ensure that work items of this type are displayed in queries for bugs. Which twoactions should you perform? (Each correct answer presents part of the solution. Choose two.)

A. Add the following XML element to the Microsoft.BugCategory Category for the project:

Page 42: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

<WORKITEMTYPE name= "AcceptanceBug"/>B. Update the work item filters in the bug-related queries to include the clause: AND [System.WorkltemType]

IN GROUP 'Bug Category'.C. Update the work item filters in the bug-related queries to include the clause: AND [System.WorkltemType] =

`AcceptanceBug'.D. Update the work item filters in the bug-related queries to include the clause: AND [System.Category] = `Bug

Category'.E. Set the System.Category field to Microsoft.BuqCategory in the AcceptanceBug work item type definition.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

http://msdn.microsoft.com/en-us/library/vstudio/dd286631.aspx

QUESTION 65Your network environment includes a Microsoft Visual Studio Team Foundation Server 2012 (TFS) server thatuses default ports for communication. Visual Studio 2012 has been installed on your computer recently. Youneed to connect to the TFS server. What are two possible options for entering Name or URL in the Connect toTFS dialog box? (Each correct answer presents a complete solution. Choose two.)

A. Tfs1B. http://tfs1:8080/tfsC. http://tfs1:8080D. http://tfs1

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:If you enter Tfs1 in the Name field you'll get http://tfs1:8080/tfs in the Preview field.

QUESTION 66

Page 43: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Your network environment is configured according to the following table:

You install Microsoft SharePoint Enterprise 2010 on a new server. You need to change the default sitecollection setting for your TFS installation. What should you do?

A. From the TFS Administration Console, update the team project collection's SharePoint default site location.B. From IIS Manager, create an alternate access mapping for the new SharePoint default location.C. From the TFS Administration Console, edit the SharePoint Web Application URL.D. From the TFS Command Prompt, run the STSADM.exe command to change the TFS SharePoint default

location.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:To add a SharePoint Web application and a default root location in which project administrators willcreate team project portals1. Open the administration console for Team Foundation.2. Expand the name of the server, expand Application Tier, and then choose Team Project Collections.3. In the Team Project Collections list, choose the collection from the list for which you want to add a web

application and a default location where team project portals will be created.4. On the SharePoint Site tab, choose Edit Default Site Location. The Edit Default Site Location window

appears.5. In the SharePoint Web Application list, choose an application.6. In Relative Path, specify the relative path of the location where sites and sub-sites will be created on the

web application for this collection. If the site does not exist, a SharePoint Site dialog will appear asking youto confirm creation of a site. Choose Yes.

7. In Full Path, review the information, and then choose OK if it is correct.http://msdn.microsoft.com/en-us/library/vstudio/ee805928.aspx

QUESTION 67You are preparing your network environment for a Microsoft Visual Studio Team Foundation Server 2012 (TFS)server. You want to install a new Microsoft SQL Server 2012 server to use as a data-tier server. You need toinstall the minimum SQL options that will support only the Microsoft Visual Studio TFS 2012 databases. Whichthree SQL options should you select? (Each correct answer presents part of the solution. Choose three.)

A. Windows Authentication selected as the authentication modeB. Database Engine ServicesC. Analysis ServicesD. Full-Text Search (Full-Text and Semantic Extractions for Search in SQL 2012)E. Reporting Services

Correct Answer: ABDSection: (none)

Page 44: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Explanation

Explanation/Reference:Team Foundation Server requires SQL Server 2008 R2 or SQL Server 2012. You have multiple SQL Serveroptions: You can use the basic configuration of Team Foundation Server, which comes with SQL Server 2012 Express.You can install one of the supported editions of SQL Server 2008 or SQL Server 2012.You can use an existing installation of SQL Server 2008 or SQL Server 2012. Regardless of which option you choose, your instance of SQL Server must meet the following requirements:Supported editions

SQL Server 2008, R2 Express¹SQL Server 2008, R2 Standard Edition¹SQL Server 2008, R2 Enterprise Edition with SP 1 CU1 (Aug 25, 2011)²SQL Server 2012, Express¹ SQL Server 2012, Standard Edition¹SQL Server 2012, Enterprise Edition

Required for Team Foundation ServerDatabase Engine ServicesFull-Text Search (or Full-Text and Semantic Extractions for Search in SQL Server 2012)

Required for reportingReporting Services (or Reporting Services - Native in SQL Server 2012)Analysis Services

Collation settingsMust be accent sensitiveMust not be case sensitiveMust not be BinaryMust not be Binary - code point

AuthenticationWindows authentication

Service accountYou can use a domain account or a built-in account.

¹ Limited or no SQL Server High Availability support.² If you're using SQL Server 2008, R2 Enterprise Edition you need to update to cumulative update package 1 for SQL Server 2008 R2Service Pack 1 to address a SQL Server issue with table compression.

See TFS Installation guide - SQL Server Requirements for Team Foundation Server

QUESTION 68Your network environment includes the following:· Multi-tier Microsoft Visual Studio Team Foundation Server (TFS) 2012 server environment with HTTPS/ SSLconfiguration· Microsoft Exchange Server 2010 with SMTP listening on Port 587, requiring SSL and allowing open relayYou want to be able to inform team members about changes to projects, work items, and builds. You need toconfigure email notifications for TFS 2012 using the least amount of administrative effort.What you should do?

A. · Log on to the application-tier server.· From the TFS Administration Console, enable Email Alert Settings by entering the 5MW Server and theFrom address, and then editing the Advanced SMTP Settings.

B. · Install and configure SMTP Service by using IIS Manager on the TFS Server.· Log on to the application-tier server.· From the SharePoint Central Administration website, configure outgoing email settings.

C. · From the Command prompt, run the command TFSConfiq ConfigureMail /FrornEmailAddress:tfsadmin?contoso.com / SmtpHost:SMTPSVR1 /Port:58] /SSL.

D. · Install and configure SMTP Service by using IIS Manager on the TFS Server.· Configure the TFS Email Alert Setting to use SMTP Service.· Configure the SMTP Service to send mail to Exchange by using port 587 and SSL.

Correct Answer: A

Page 45: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

Section: (none)Explanation

Explanation/Reference:

QUESTION 69Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server anda virtual test infrastructure that uses Lab Manager 2012 and System Center Virtual Machine Manager(SCVMM) 2010. A new Hyper-V based virtual test environment is added to your network environment with itsown SCVMM server. You need to reconfigure TFS to use the new SCVMM instance. What should you do?

A. Run the TFSLabConfig.exe command.B. Use the TFS Administration Console.C. Use the Visual Studio Test Controller Configuration Tool.D. Use Microsoft Test Manager (MTM) in Lab Center mode.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:To configure Lab Management for Team Foundation Server1. On TfsMachine, choose Start, All programs, Microsoft Visual Studio Team Foundation Server 2012 , and

then choose Team Foundation Server Administration Console.2. In the Administration Console, in the Application Tier node, choose Lab Management.3. Choose Configure. The Lab Management Settings dialog box appears.4. On the Virtual Machine Manager tab, in VMM Server Name, type the name of VmmMachine, the server that

is running Virtual Machine Manager and that you will use to manage the virtual machines.5. Choose Test to determine whether Team Foundation Server can communicate with the SCVMM server.http://msdn.microsoft.com/en-US/library/vstudio/dd380687.aspx#ConfigureTFS

QUESTION 70You network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server with abuild configuration of a single controller and numerous multi-agent computers. You develop a variety of buildtypes that require unique tools and specific computer's capacities. You need to ensure that each build getsrouted to one of the set of build computers configured to handle its build needs. What should you do?

A. Match the name of your build definition to the corresponding build controller.B. Match the build configuration of your build definition to the corresponding build agents.C. Match the tags of your build definition to the corresponding build controller.D. Match the tags of your build definition to the corresponding build agents.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 71Your network environment includes a Microsoft Visual Studio Team Foundation Server (TFS) 2012 server.Developers use Visual Studio 2012. You recently copied your existing TFS environment onto a new set ofservers on the same network. You need to ensure that developers can continue connecting to the original TFSserver. What should you do?

A. Rename the new Team Project Collection to a unique name.

Page 46: Administering Visual Studio Team Foundation Server 2012 · 6/27/2013  · Administering Visual Studio Team Foundation Server 2012 Number : 070-496 Passing Score : 700 ... Administering

B. Run the ChangeServerID command on the new TFS environment. C. Configure the Team Project Collections with the same name on the same network. D. Run the ChangeServerID command on the original TFS environment.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

http://www.gratisexam.com/