Continuous Integration & Continuous Delivery Flashcards
9 cards from real CDM practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 9 Continuous Integration & Continuous Delivery flashcards as text
What is the primary goal of Continuous Integration (CI)?
Answer: Frequently merge code changes
The primary goal of Continuous Integration (CI) is to frequently merge code changes from all developers into a shared main branch. This practice helps to detect integration conflicts and bugs early in the development cycle, preventing 'integration hell' and maintaining a stable, working codebase. Automated builds and tests are triggered with each merge.
What does Continuous Delivery (CD) enable?
Answer: Automated release to production
Continuous Deployment (CD) enables the automated release of every change that passes all automated tests directly into production. This means that once code is committed and passes all checks, it goes live without manual intervention. It allows for the fastest possible delivery of new features and bug fixes to end-users, maximizing agility.
Which tool is commonly used for CI/CD pipelines?
Answer: Jenkins
Jenkins is a widely used open-source automation server commonly employed for building CI/CD pipelines. It allows developers to automate the entire software development lifecycle, including building, testing, and deploying applications. Its extensive plugin ecosystem supports integration with various other DevOps tools, making it a versatile choice.
Why is automated testing important in CI/CD?
Answer: Detect defects early
Automated testing is important in CI/CD because it allows for rapid and consistent verification of code changes, enabling the detection of defects early in the development cycle. By running tests automatically at every stage of the pipeline, from unit tests to integration and acceptance tests, bugs can be identified and fixed much sooner. This significantly reduces the cost and effort of defect resolution.
What is a build pipeline?
Answer: Automated code process
A build pipeline is an automated code process that transforms source code into a deployable artifact. It typically involves a sequence of steps such as compiling code, running tests, packaging the application, and preparing it for deployment. This automation ensures consistency, efficiency, and reliability in the software build process, making it a core component of CI/CD.
Which practice supports rapid feedback in CI/CD?
Answer: Automated testing and builds
Automated testing and builds are crucial practices that support rapid feedback in CI/CD. When developers commit code, automated systems immediately build the application and run tests, providing instant feedback on whether the changes introduced any regressions or issues. This quick feedback loop allows developers to address problems promptly, maintaining code quality and accelerating development.
What is the difference between Continuous Delivery and Continuous Deployment?
Answer: Delivery prepares; Deployment releases automatically
The key difference between Continuous Delivery and Continuous Deployment lies in the final release step. Continuous Delivery ensures that code is always ready for release and can be deployed to production at any time, but it still requires a manual trigger. Continuous Deployment, however, automatically releases every change that passes all automated tests directly into production without human intervention.
Why is version control important in CI/CD?
Answer: Track changes and enable collaboration
Version control systems like Git are fundamental in CI/CD because they record every change made to the codebase, providing a complete history. This enables multiple developers to work collaboratively on the same project without conflicts, ensuring seamless integration of their contributions. It also allows for easy rollback to previous stable versions, which is crucial for maintaining a reliable and continuously deployable application.
Which metric measures the time taken from code commit to deployment?
Answer: Lead time
Lead time in a CI/CD context specifically measures the duration from when a developer commits code to the version control system until that code is successfully deployed and running in production. This metric is critical for evaluating the efficiency and speed of the entire development and delivery pipeline. A shorter lead time indicates a more agile and responsive process, allowing for faster delivery of value to users.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- gsdcouncil.org — Eligibility, exam format, passing score, retake policy, time limit, score validity, score release · verified Oct 2026