← All CDP Flashcard Decks

Testing & Quality Assurance Flashcards

7 cards from real CDP practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Testing & Quality Assurance flashcards as text
  1. Which testing approach aligns best with DevOps principles by integrating testing throughout the entire software delivery pipeline?

    Answer: Shift-left testing

    Shift-left testing moves quality checks earlier in the pipeline, catching defects sooner and reducing the cost of fixes in a DevOps workflow.

  2. In a DevOps pipeline, what is the primary purpose of a quality gate?

    Answer: To enforce minimum quality criteria before promoting code to the next stage

    Quality gates enforce minimum standards (coverage thresholds, zero critical bugs, etc.) that must be met before code advances to the next pipeline stage.

  3. Which type of test validates that individual functions or methods work correctly in isolation?

    Answer: Unit test

    Unit tests target the smallest testable units of code in isolation, providing fast feedback to developers without external dependencies.

  4. What does TDD (Test-Driven Development) require developers to do before writing production code?

    Answer: Write a failing test first

    TDD follows the Red-Green-Refactor cycle: write a failing test, write the minimum code to pass it, then refactor for quality.

  5. Which metric measures the percentage of code exercised by automated tests?

    Answer: Code coverage

    Code coverage measures what percentage of the codebase is executed during automated test runs, helping teams identify untested areas.

  6. In the DevOps testing pyramid, which layer should contain the largest number of tests?

    Answer: Unit tests

    The testing pyramid places the most tests at the unit level because they are fast, cheap, and stable compared to higher-level tests.

  7. What is the main benefit of running automated tests in parallel during a CI pipeline?

    Answer: Shortens overall pipeline execution time

    Parallel test execution distributes the test suite across multiple runners simultaneously, significantly reducing total pipeline run time and enabling faster feedback.

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

  1. gsdcouncil.org — Eligibility, fees, exam format, passing score, renewal, retake policy, time limit, score validity, test delivery, score release · verified Oct 2026