1. What is TeamCity?
a) A version control system
b) A continuous integration and build server
c) A project management tool
d) A code review tool
Answer: b
2. Which programming languages does TeamCity support for building and testing?
a) Only Java
b) Only Python
c) Multiple languages including Java, .NET, and more
d) None of the above
Answer: c
3. What is the purpose of a build agent in TeamCity?
a) It's responsible for creating builds and running tests.
b) It's used for version control.
c) It's a repository for source code.
d) It manages user access control.
Answer: a
4. Which version control systems does TeamCity support?
a) Git and Mercurial
b) Git and Subversion
c) Mercurial and Subversion
d) All of the above
Answer: b
5. What is the primary benefit of continuous integration with TeamCity?
a) Reducing the number of developers on a team
b) Reducing build and test times
c) Catching integration issues early
d) Increasing technical debt
Answer: c
6. What is a build configuration in TeamCity?
a) A list of project contributors
b) A set of build steps and settings for a specific build target
c) A database of test results
d) A list of code reviews
Answer: b
7. How does TeamCity notify developers of build and test results?
a) Through smoke signals
b) By sending email notifications
c) By posting results on social media
d) It doesn't notify developers
Answer: b
8. Which of the following is NOT a TeamCity feature?
a) Code review
b) Build history
c) Code coverage analysis
d) Agile project management
Answer: d
9. What is a VCS root in TeamCity?
a) The main version control server
b) A configuration of a version control repository
c) A root directory of the project
d) A version control branch
Answer: b
10. How does TeamCity handle parallel builds?
a) It doesn't support parallel builds
b) It runs multiple builds sequentially
c) It allows concurrent execution of builds on multiple agents
d) It uses cloud-based build agents
Answer: c
11. Which of the following can TeamCity integrate with for code quality analysis?
a) JIRA
b) Jenkins
c) SonarQube
d) Slack
Answer: c
12. What is a TeamCity build chain?
a) A sequence of builds that depend on each other
b) A physical chain used for security
c) A group of build agents
d) A list of build configurations
Answer: a
13. Which build runner can be used to build .NET applications in TeamCity?
a) MSBuild
b) Gradle
c) Maven
d) Ant
Answer: a
14. What is an artifact in TeamCity?
a) A piece of artwork
b) A build result or output that can be reused in other builds
c) A build agent
d) A TeamCity plugin
Answer: b
15. How can you trigger a build in TeamCity?
a) By clicking a button
b) Automatically based on code commits
c) By sending a fax
d) By using a command-line tool
Answer: b
16. What is the purpose of a TeamCity build template?
a) To create a template for code reviews
b) To define a standard set of build steps and settings for multiple build configurations
c) To organize build agents
d) To manage user access control
Answer: b
17. Which of the following is a TeamCity server plugin?
a) A version control system
b) A build configuration
c) A build agent
d) A custom notification type
Answer: d
18. What is a build step in TeamCity?
a) A step in the process of writing code
b) A step in the CI/CD pipeline
c) A project manager's task
d) A notification rule
Answer: b
19. How does TeamCity handle dependency management?
a) It uses a built-in package manager
b) It relies on the developer to manage dependencies
c) It can integrate with external package managers like NuGet and Maven
d) It doesn't support dependency management
Answer: c
20. What is the purpose of a TeamCity agent pool?
a) To organize and categorize build agents
b) To store artifacts
c) To manage source code repositories
d) To host the TeamCity server
Answer: a
21. Which TeamCity feature allows you to define custom workflows and rules for build and deployment processes?
a) Build configuration
b) Build template
c) Build failure condition
d) Build chain
Answer: c
22. How can you extend TeamCity's functionality?
a) By creating custom plugins
b) By configuring additional build agents
c) By using external monitoring tools
d) By changing the build configuration
Answer: a
23. What is a TeamCity build trigger?
a) A tool for triggering code reviews
b) An event or condition that starts a build
c) A step in the build process
d) A build agent
Answer: b
24. Which of the following TeamCity features allows you to track and analyze code coverage?
a) Build runner
b) VCS root
c) Artifact
d) Build failure condition
Answer: d
25. How does TeamCity handle distributed version control systems like Git?
a) It doesn't support distributed version control systems
b) It has built-in support for Git and Mercurial
c) It uses a separate plugin for Git integration
d) It relies on external Git clients
Answer: b
26. What is the purpose of a TeamCity build parameter?
a) To specify the project name
b) To configure the build agent
c) To provide dynamic input to the build process
d) To define the build trigger
Answer: c
27. Which of the following is a notification type in TeamCity?
a) Dependency management
b) Build history
c) Artifact
d) Email notification
Answer: d
28. What is the purpose of a TeamCity project?
a) To store code repositories
b) To manage build agents
c) To organize build configurations
d) To host the TeamCity server
Answer: c
29. Which version control system is TeamCity integrated with through the "VCS roots" feature?
a) CVS
b) Git
c) TFS
d) Perforce
Answer: b
30. How does TeamCity facilitate parallel test execution?
a) By using a single test agent
b) By running tests sequentially
c) By distributing tests across multiple test agents
d) By disabling parallel testing
Answer: c
31. What is a TeamCity project feature that allows you to track changes to your codebase and build history?
a) Build chain
b) Code coverage analysis
c) Build history
d) VCS root
Answer: c
Top comments (0)