Unit 3: Continuous Integration (CI) & Build Automation - Subjective Questions

INT331 — Fundamentals Of Devops • Practice Questions with Detailed Answers

20 questions

1

Define Continuous Integration (CI) and explain its core principles.

2

Explain the key benefits of adopting Continuous Integration in a software development project.

3

Describe the architecture of a typical CI pipeline with its main stages.

4

Explain Jenkins as a CI tool and list its key features.

5

Compare GitHub Actions, GitLab CI, and CircleCI as CI tools.

6

Distinguish between Maven and Gradle as build tools.

7

Explain npm and its role as a build/package tool in JavaScript projects.

8

Describe the structure of a Jenkins Declarative Pipeline with an example.

9

Distinguish between Declarative and Scripted Jenkins pipelines.

10

Explain the concept of Automated Builds and why they are essential in CI.

11

Explain Automated Testing and describe the different levels of testing used in a CI pipeline.

12

Define Unit Testing and explain its characteristics and benefits.

13

Explain Code Coverage in testing. How is it measured and what are its limitations?

14

Distinguish between Continuous Integration, Continuous Delivery, and Continuous Deployment.

15

Describe the Maven build lifecycle and its key phases.

16

Explain the master-agent (controller-node) architecture of Jenkins and its advantages.

17

Write a GitHub Actions workflow that builds and tests a Node.js application, and explain its components.

18

Explain the concept of build artifacts and the role of an artifact repository in CI.

19

Explain what a broken build is, and describe the best practices for handling build failures in CI.

20

Compare Jenkins with cloud-hosted CI tools (like GitHub Actions/CircleCI) and discuss when to choose each.