Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
13K views6 pages

Continuous Integration

The document contains multiple choice questions about concepts related to continuous integration. Some key points covered include: - Continuous integration involves activities like version control, automated builds, and testing. - Benefits include being able to quickly identify and address issues, but bugs and defects will still occur. - Tools mentioned include Git, TeamCity, Jenkins, Nexus, Maven and NAnt. - Concepts covered include feature branches, work branches, build triggers, artifacts, pipelines, and decoupling code complexity metrics.

Uploaded by

arun challa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13K views6 pages

Continuous Integration

The document contains multiple choice questions about concepts related to continuous integration. Some key points covered include: - Continuous integration involves activities like version control, automated builds, and testing. - Benefits include being able to quickly identify and address issues, but bugs and defects will still occur. - Tools mentioned include Git, TeamCity, Jenkins, Nexus, Maven and NAnt. - Concepts covered include feature branches, work branches, build triggers, artifacts, pipelines, and decoupling code complexity metrics.

Uploaded by

arun challa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

#1.

Activities that are part of continuous integration______________.


All of the Options(ANSWER)
Inspection
Version Control
Code Build
Tests

#2.
Which is NOT a benefit of CI ?
Issues can be identified and addressed quickly
Productivity increases
Bugs and defects no longer occur(ANSWER)
The integration process is faster

#3.
Release branches are created for resolving merge conflicts.
True
False(ANSWER)

#4.
Git is a ___________________________ version control system.
Local
Centralized
None of the options
Distributed(ANSWER)

#5.
Feature branching is used to _____________.
Work on user stories(ANSWER)
Both the options
Bug fixes
None of the options

#6.
Work Branch is also known as_______________________.
Codeline(ANSWER)
Mainline
Trunk
None of the options

#7.
Which is NOT true about continuous integration ?
Involves moving code from development to test environment
Involves moving code in frequent intervals
Involves moving code in large amounts(ANSWER)
Most effectively done through automation

#8.
Which is not a CI practice ?
Run fast builds
Stage Builds
Commit frequently
Deploy to production(ANSWER)

9.
Complexity of a code is determined based on _________________.
Efferent Coupling
Cyclomatic Complexity Number(ANSWER)
Number of source lines of code
Time taken to perform inspection

#10.
Capablility of your build system to handle an increase in the amount of code that
it integrates and analyzes is known as ____________.
Build scalability(ANSWER)
Build performance
Build Integration
None of the options

#11.
__________ is a .Net build tool.
Maven
NAnt(ANSWER)
Ant

#12.
Time taken to fix a broken build is measured using ________________.
Build repair rate(ANSWER)
Successful build rate
Total Build time

#13.
Release builds can be triggered ___________.
event-driven
by polling for changes
All of the options
On-demand(ANSWER)

#14.
_______________ is a measure of incoming dependencies.
Efferent Coupling
Cyclomatic Complexity
Afferent Coupling(ANSWER)

#15.
Pipeline break and build break is one and the same.
True
False(ANSWER)

#16.
Private builds are executed after moving the changes to version control.
True
False(ANSWER)

#17.
Build can be triggered by a version control tool.
True(ANSWER)
False

#18.
_______________ is a code coverage tool.
None of the options
Jenkins
Nunit
Cobertura(ANSWER)

#19.
Does CI pipeline need to have all the software development functionalities
integrated in place ?
True
False(ANSWER)

#20.
Efferent Coupling is a measure of ____________________.
Outgoing dependencies(ANSWER)
Incoming dependencies
Code Complexity

#21.
Component test is executed as part of _______________________.
All of the options
Integration Build(ANSWER)
Private Build
None of the options

#22.
Jabber is a :
Messaging plugin(ANSWER)
Deployment plugin
Build plugin

#23.
CI servers use the _________ expression to poll for changes.
JSON
CRON(ANSWER)
PERL

#24.
______________ is a continuous integration server.
Teamcity(ANSWER)
Ansible
Maven
Nexus

#25.
Trunk is also known as __________________.
Feature Branch
Codeline
Work Branch
Mainline(ANSWER)

#26.
It is a proven fact that reducing the CCN of code is known to reduce the number of
errors or bugs in the code.
True
False(ANSWER)

#27.
__________________ helps in differentiating the environments.
Configuration files(ANSWER)
Build scripts
Both the options

#28.
Which of the following is an artifact repository ?
Maven
Ansible
Nexus(ANSWER)
Matrix

#29.
What are the reasons for a build to fail ?
None of the options
Pipeline break
Both the options
Build break(ANSWER)

#30.
CCMetrics is used to identify _______________________.
Coupling factor
Incoming dependencies
Outgoing dependencies
Code Complexity(ANSWER)

#31.
Which of the tools is not used for establishing a pipeline workflow ?
Maven(ANSWER)
Teamcity
Travis CI
Jenkins

#32.
Arrange in order- A. Running Unit Test B.Running Static Code Check C.Check for Code
Coverage D. Build Package
ACBD
ABDC
BACD(ANSWER)
BADC

#33.
Which is the first code analysis to be executed ?
unit test(ANSWER)
style check()
code coverage

--

#34.
In a normal scenario, software from ____________ is deployed to production.
All of the options
Work branch
Release branch
Master branch(ANSWER)

#35.
Feature toggle can be used in the following scenarios ________.
Disabling or Hiding a feature
None of the options
All of the options(ANSWER)
Enhancing an existing feature in an application
Adding a new feature to an application

#36.
Staged builds include _________.
Commit builds
Both the options(ANSWER)
Secondary builds
None of the options

#37.
Which of these is not mandated for a CI pipeline ?
Configuration code
Application code
Infrastructure as code
Functional testing(ANSWER)

#38.
Select a CI tool based on it's _________________________.
Resistability
Both the options
Extendability(ANSWER)
None of the options

#39.
Commiting a code change, when the inspection fails , is perfectly fine as the code
logic is working fine anyway.
True
False(ANSWER)

#40.
Code changes can be hidden,enabled or disabled using _________________.
All of the options()
Feature Switch
Feature Toggles(WRONG)
Feature flag

#41.
How are component dependencies injected in a workflow ?
Use sequence triggers(ANSWER)
Parallel trigger components and build package
Build package first and then perform the remaining tasks
Run unit test and build package

#42.
Teamcity is a ______________________.
Build Tool
Build Scheduler(ANSWER)

#43.
Functional testing can be automated using Jenkins.
False
True(ANSWER)

#44.
Which of the tools is not mandated for integration in a CI pipeline ?
Terraform
Chef
Selenium(ANSWER)
Maven

--

#45.
Control flow graph is used to calculate _______.
Afferent Coupling
Efferent Coupling
Cyclomatic Complexity(ANSWER)

#46.
Which of these is not a valid build trigger ?
manual trigger
parameterized trigger(ANSWER)
version conrol trigger
downstream trigger

#47.
Faster feedback can be received by ___________.
Staging builds(ANSWER)
Running tests
Commiting changes frequently

--

#48.
Private builds can be triggered automatically.
True
False(ANSWER)

#49.
CI pipeline consists of ______________.
Stages(ANSWER)
Items
Artifacts
Commitments
Tickets

#50.
Git, Mercurial and Subversion are centralized version control tools
True
False(ANSWER)

#51.
Practice of developers integrating changes directly in the feature or work branches
and commiting the changes at the end to the mainline is known as
___________________.
Promiscuous Integration(ANSWER)
Integration Build
Continuous Integration

#52.
Which is the most important operational parameter in CI ?
Quality
Robustness
Repeatability
Time(ANSWER)

You might also like