300+ [UPDATED] Team Foundation Server (TFS) Interview Questions

  1. 1. Mention What Is Team Foundation Server?

    Team foundation server is used for inter-communication between the tester, developer team, project manager and CEO while working on software development.

  2. 2. List Out The Functionalities Provided By Team Foundation Server?

    • Project Management.
    • Tracking work items.
    • Version Control.
    • Test case management.
    • Build Automation.
    • Reporting.
    • Virtual Lab Management.
  3. Adv Java Interview Questions

  4. 3. Explain Tfs In Respect To Git?

    TFS:

    • Team foundation server is a Microsoft Version. It supports about 5 million lines of code
    • TFS integrates with Visual Studio, SharePoint and Active directory
    • TFS is more secure as you can assign read and write permission to an individual file
    • TFS requires SQL server to store all kind of data’s
    • TFS is centralized where the vast majority of the information is stored on the server
    • TFS does not support safe merge between unrelated branches
    • In TFS, you can do manual test tracking
    • Installation will take about ½ day
    • Analytics reports and chart option is given

    GIT:

    • Git is open source, and designed to support the source code of Linux Kernel and supports about 15 million lines of code. Development process is distributed all around the world.
    • Git does not support any of these
    • Git is less secure as the whole git repositories is regulated by file system
    • Git is based on Distributed Version Control System (DVCS) that means every developer’s copy can access every version of every file from anywhere
    • Git keeps every local copy fully independent
    • Git allows safe merge between unrelated branches
    • In Git, you cannot do manual test tracking
    • Installation will only take 10 minutes
    • Analytics reports and chart is not represented
  5. 4. Explain How You Can Create A Git-tfs In Visual Studio 2013 Express?

    To create a Git-TFS in Visual Studio 2013 express :

    • Create an account with MS TFS service if you don’t have inhouse TFS server
    • After that, you will be directed to TFS page, where you will see tow option for creating project, one with new team project and another with a new team project+Git
    • The account URL will be found right below “Getting Started.”
    • Click on create git project and it will take you to a new window, where you specify details about the project like project name, description, the process template, version control, etc. and once completed click on create project.
    • Now you can create a local project in team foundation server by creating a new project in Visual studio and do not forget to mark the check box that says “Add to source control”
    • In the next window, select mark Git as your version control and click ok, and you will be able to see the alteration made in the source code
    • After that, commit your code, right click a file in team explorer and you can compare version differences
  6. Adv Java Tutorial

  7. 5. Mention Whether All Of The Team Foundation Service Features Are Included Into The Team Foundation Server?

    TFS service is updated every 3 weeks while Team Foundation Server “on-premise” is updated every 3 months.  So, the on-premise version will always remain a little behind. However, TFS on-premise has got something that the TFS service does not.

    • You can use TFS Lab
    • Customize work items/process templates
  8. SSIS(SQL Server Integration Services)

  9. 6. Explain What Kind Or Report Server You Can Add In Tfs?

    TFS uses SQL for its data storage, so you have to add SQL server reporting services to provide a report server for TFS.

  10. 7. How One Would Know Whether The Report Is Updated In Tfs?

    For each report, there will be an option “Date Last Updated” in the lower light corner, when you click or select that option, it will give details about when it was last updated.

  11. Git (software) Tutorial
    SSRS(SQL Server Reporting Services)

  12. 8. Explain How You Can Restore Hidden Debugger Commands In Visual Studio 2013?

    To restore the debugger feature that is hidden, you have to add the command back to the command:

    • Open your project, click on Tools menu and then click customize
    • Tap the command tab in the customize dialog box
    • In the menu bar, drop down, choose the debug menu for which you want to contain the restored command
    • Tap on the Add command button
    • In the Add command box, choose the command you want to add and click OK
    • Repeat the step to add another command
  13. 9. Explain How You Can Track Your Code By Customizing The Scroll Bar In Visual Studio 2013?

    To show the annotations on the scroll bar :

    • You can customize the scroll bar to display code changes, breakpoints, bookmarks and errors.
    • Open the scroll bar options page.
    • Choose the option “show annotations over vertical scroll bar”, and then choose the annotations you want to see.
    • You can replace anything in the code that frequently appears in the file which is not meant to be.
  14. Git (software)

  15. 10. Is There A Way To Pull Two Copies Of A Single Solution From Tfs 2010 For The Same User/machine?

    You can have multiple copies of a single solution either by having multiple branches in TFS or by setting up different workspaces.

    The branches are good for when you need to be able to check in code for both copies of the solution, and have other people work with it too.

    I use the multiple workspaces when I need to have a last good state of the code on my dev box while at the same time and still working on new features.

  16. Microsoft Azure Tutorial

  17. 11. How Does It Integrate With Other Non-ms Platforms?

    Team Foundation Server uses Web Services for cross machine communication therefore the Team Foundation Server functionality can be made available to any computer. (see MSDN Team System Article on how to use these web services) This is exactly how companies likeTeamprise, Teamplain, have built their clients to run on non windows computers.

  18. Microsoft Azure

  19. 12. How Does It Integrate With Other Software (eg Custom Task Management Software Etc)?

    In addition to the integration methods mentioned above Team Foundation is also a popular platform for other software manufacturers to host themselves in. Examples of this is Borland with their Together and Caliber Products and Compuware Testing with DevPartner.

  20. Adv Java Interview Questions

  21. 13. How Does The Version Control Compare To Perforce? Branching, Merging, Change Lists Etc?

    Team Foundation Server supports all normally expected Source Control features such as branching, merging, exclusively locking, remote disconnected scenarios, labeling, searching on various properties high fidelity reporting (how much code churn per person per project per iteration etc) plus a couple of newer paradigms like shelving and optimization for things like branching scenarios (many version control systems do a full copy for branches). I would have some performance comparisons but most systems don’t allow this.

  22. Javascript Advanced Tutorial

  23. 14. Why Doesn’t Source Control Detect That I Have Deleted A File/folder On My Local Disk?

    The main scenario here is deleting a file (by mistake or intentionally) outside of Team Foundation and then trying the get that file back from source control. If the file version has not changed the server thinks the user already has the file and does not copy it over. This is because the server keeps a list of files that the user already has and when activities are made outside of source control this list becomes out of date. Team Foundation Version Control does have a force get option which will provide the functionality needed to obtain the desired version but it is currently partially hidden under the Get Specific Version Dialog window as a check box item.

  24. 15. How Do I Redisplay Source Control Explorer?

    Selecting View > Other Windows > Source Control Explorer will display the Source Control Explorer window within the IDE.

  25. Javascript Advanced

  26. 16. Can Different Checkin Policies Be Applied On Different Branches? E.g. Can They Have Qa Specific Policies Applied On Checkin In A Qa Branch?

    No.

  27. Software Development Lifecycle (SDLC) Tutorial

  28. 17. Are Deletes You Make In Tfs 2010 Source Control Physical Or Logical? Can Accidental Deletes Be Recovered?

    Deletes are fully recoverable with the “undelete” operation. You wouldn’t want to do a SQL restore because that would roll back every change to the TFS in the time since the file was deleted.

  29. SQL Server Analysis Services (SSAS)

  30. 18. What Are The Different Events Available In The Event Model And Is There Any Documentation On Them?

    There is really only one SCC event and that is the one that is raised on checkin. Subscription is via the general event model that is discussed in the extensibility kit.

  31. SSIS(SQL Server Integration Services)

  32. 19. Can We Disable The “override Checkin Policy Failure” Checkbox? Can That Be Customized Based On User Login, Policy Type Of File Type?

    No. It is designed it to be fully auditable by including policy compliance data in the change set details and in the checkin mail that is delivered, but left it up to the developer to determine whether they have a good reason for overriding.

  33. 20. Can I Install The Tfs 2010 Build Service On My Tfs 2008 Build Machine?

    Yes, you can. Even though they both default to the same port (9191), they can share that port without any problems.

  34. Software Development Lifecycle (SDLC)

  35. 21. Can I Compare Directory Structures In Tfs Source Control?

    No, you cannot compare Directory Structures in TFS Source Control

  36. 22. Can We Configure Scc To Not Check-in The Binary Files? Where Are Such Configurations Done?

    Team Foundation Version Control provides a way to limit check-ins by setting up check-in policies that are evaluated before a check-in can take effect. The easiest way to do this is by authoring a policy that checks if the user is trying to check-in a binary file from a given folder structure and reject or accept it in accordance.

  37. 23. How Can I Add Non-solution Items To Source Control?

    This can be achieved by either clicking the Add icon or by going to File > Source Control and selecting the Add To Source Control menu item.

  38. Windows Server Administration

  39. 24. When A User “edits” A File In A “source Controlled” Project, It Gets Checked Out Automatically. Is This Configurable? Can We Change This Behaviour?

    Yes it can be done by configuring TFS by going to Tools > Options > Source Control > Environment provides an option where a user can change the settings to not checkout files automatically on edit.

  40. SSRS(SQL Server Reporting Services)

  41. 25. What Plugin / Extensibility Api Does It Expose?

    The Team Foundation Server component model for modifying both the Process Template and creating plugins is built on to be entirely open(in many cases the entry points are defined in XML configuration files). In addition to the having this the development team and community is quite active in supplying samples of this:

    • Brian Harry
    • Buck Hodges
    • Rob Caron

    This open platform has also enabled a ecosystem of add-ons like Teamlook, Teamprise, Teamplain, Teamword, TFSPermission Manager.

  42. 26. Any Support For Distributed Build Tools? Ex: Integrating Our Custom Data Build Tools Into The System Throughout A Network?

    MSbuild was written to be extensible and integrate with existing tools through easy to use XML configuration files. Many of the commercial build utilities are already using and/or integrated with MSBuild –such as Cruisecontrol.net. In addition to making these actions part of the build script I have found the generic tests set to run as part of the build to do just as good a job with a rich user interface and support for managing/filtering etc.

  43. SQL Server Architect

  44. 27. Does Tfs Include An Automated Build System?

    Yes Team Foundation Server includes an Automated Build System. This system is based on MSBUILD and offers the additional functionality of automatically running tests, profiling, code analysis, verifying policies, collating the changesets and workitems for reporting.

  45. Git (software)

  46. 28. Does It Send Data Compression Over The Network?

    Team Foundation uses Web Services for cross machine communication and by default automatically configures IIS use Compression.

  47. 29. How To Revert (roll Back) A Checkin In Tfs 2010?

    Without using power tools or command line: 

    • ensure Tools->Options->Source Control->Visual Studio Team Foundation Server UNCHECK Get latest version of item on check out
    • View the history of project folder in Source Control Explorer and right click on the changeset to roll back to and choose Get This Version
    • Check out for edit on the project folder in the Source Control Explorer (this should keep your local version you just got from the history)
    • Check in pending changes on the project folder in the Source Control Explorer
    • if visual studio asks you to resolve conflicts, choose keep local and attempt check in of pending changes on the project folder in Source Control Explorer again
  48. Visual Source Safe

  49. 30. How Do You Use The Blame Feature In Tfs?

    The TFS equivalent is the Annotate command I believe. (Simply right click on the versioned file in the source code explorer and select “Annotate”.)