Search Tutorials


Team Foundation Server(TFS) (2024) Interview Questions | JavaInUse

Team Foundation Server(TFS) Interview Questions


In this post we will look at Team Foundation Server(TFS) Interview questions. Examples are provided with explanation.


  1. What is TFS?
  2. What are the functionalities provided by TFS?
  3. What are the tf commands in TFS?
  4. How does TFS integrate with other Non-ms platforms?
  5. What Plugin or Extensibility API does TFS expose?
  6. What kind or report server we can add in TFS?
  7. How can we remove a TFS Workspace Mapping?
  8. Mention ways to change computer name for a TFS Workspace?
  9. How to revert Roll Back checkin in TFS?
  10. What method should we use to undo another users checkout in TFS?

What is TFS?

Team Foundation Server developed by Microsoft is used in managing teams and the way in which they work.TFS contains version controlling, issue resolving and application management, it also provides end to end development of software and testing.It provides tools and technologies in helping the teams in collaborating and orchestrating their efforts in finishing projects and in creating products.TFS also helps us by enabling DevOps Capabilities in covering the entire application lifecycle.

What are the functionalities provided by TFS?

Functionalities provided by TFS are as follows:
  • Project Management
  • Tracking work items
  • Version Control
  • Test case management
  • Build Automation
  • Reporting
  • Virtual Lab Management

What are the tf commands in TFS?

  • tf add used in adding new folders and file form file system in TFS Source Control.
  • tf branch used in copying items from one location to other in TFS Source Control.
  • tf branches helps in displaying branches of history that can be a file or a folder.
  • tf change set helps in displaying information about the changesets like comments, notes, etc.
  • tf checkin helps in checking the changes in TFS Source Control.
  • tf checkout used in checking local files to edit.
  • tf configure used in updating source control settings while modifying check out settings, check in policies and check in notes.
  • tf delete used in deleting files and folders from TFS.
  • tf diff used in displaying differences between 2 files or shelveset.
  • tf dir helps in representing contents of TFS Source Control Server.
  • tf get used in getting read-only copies of a file from TFS and in creating folders on the disk.
  • tf help used in showing topics about TFS Commands.
  • tf history used in showing history of revisions for folders and files.
  • tf label used in creating or removing labels from one version of a folder or file.
  • tf labels helps in showing labels in TFS.
  • tf locks helps in locking or unlocking files or folders.
  • tf merge helps in applying all the changes from one branch to another.
  • tf merges helps in showing information about merges and branches.
  • tf properties helps in representing information about all the items under TFS Source Control Server.
  • tf rename used in renaming folders or files and in moving them.
  • tf resolve helps in resolving conflicts between changed items.
  • tf shelve helps in storing and deleting the changes in TFS Source Control Server.
  • tf shelveset helps in showing information about the sets of a shelved changes in TFS Source Control Server.
  • tf status helps in showing information about the changed items.
  • tf undelete helps in restoring deleted items.
  • tf undo helps in removing changes from TFS Source Control Server.
  • tf unlabel helps in restoring files revisions, check in notes, comments and work items.
  • tf view helps in retrieivng version of a file to the disk.
  • tf workfold helps in creating, updating, displaying information about the mappings in TFS Source Control Server.
  • tf workspace helps in creating, modifying and viewing mappings and properties.
  • tf workspaces helps in displaying information of the workspaces in the system.




How does TFS integrate with other Non-ms platforms?

Team Foundation Server(TFS) integrate with other Non-ms Platformas by using Web Services for crossing machine communication and are made available for any computers.Companies such as Teamprise, Teamplain have built its clients in running the non windows computers.

What Plugin or Extensibility API does TFS expose?

TFS component models are used in modifying the Process Template and also in Creating Plugins which are built to be entirely open.

What kind or report server we can add in TFS?

Team Foundation Server uses SQL in storing data and also in adding SQL Server reporting service for providing report server for TFS.

How can we remove a TFS Workspace Mapping?

For removing a TFS Workspace Mapping use the following steps:
Opening Team Explorer.
Clicking Source Control Explorer.
Drop the label by the nav tool window.
Extending and clicking on the lable.
Clicking Edit and we can add or remove or edit our workspace.

Mention ways to change computer name for a TFS Workspace?

We can change the computer name for a TFS Workspaces by using the following command:
tf workspaces /updatecomputername:myoldcomputername /s:"http://MyServer:8080/tfs/MyCollection"


How to revert Roll Back checkin in TFS?

We can revert(Roll Back) by using two options:
By using the User Interface:

TFS

By using TFS control command-line application:
tf.exe RollBack


What method should we use to undo another users checkout in TFS?

There are two we can use:
Command Line: Also known as Tf.exe that comes with the team explorer.
tf undo /workspace:workspacename;workspaceowner $/projectname/filename.cs

GUI: We can install the TFS Power Tools by using GUI.



See Also

Spring Boot Interview Questions Apache Camel Interview Questions Drools Interview Questions Java 8 Interview Questions Enterprise Service Bus- ESB Interview Questions. JBoss Fuse Interview Questions Top ElasticSearch frequently asked interview questions