โ† All CAD Flashcard Decks

CAD Continuous Integration and Delivery Questions and Answers Flashcards

6 cards from real CAD practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 CAD Continuous Integration and Delivery Questions and Answers flashcards as text
  1. What is the primary purpose of a build pipeline in continuous integration?

    Answer: To automate the process of compiling, testing, and packaging code changes

    A build pipeline automates compiling, running tests, and packaging code so that integration issues are detected quickly and consistently.

  2. In a CI/CD workflow, what does 'trunk-based development' emphasize?

    Answer: Developers committing to a single shared branch frequently

    Trunk-based development encourages frequent commits to a single main branch to reduce merge conflicts and enable continuous integration.

  3. Which practice helps ensure that a deployment can be safely rolled back in a continuous delivery pipeline?

    Answer: Using blue-green or canary deployment strategies

    Blue-green and canary deployments allow quick rollback by maintaining a previous stable environment alongside the new release.

  4. What is a 'flaky test' in the context of continuous integration?

    Answer: A test that produces inconsistent pass/fail results without code changes

    A flaky test intermittently passes or fails on the same code, undermining confidence in CI results and slowing down development.

  5. Why should database schema migrations be backward-compatible in a continuous delivery environment?

    Answer: To allow the previous application version to function during a rolling deployment

    Backward-compatible migrations ensure that both old and new application versions can run simultaneously during a rolling or staged deployment.

  6. What role does a container registry play in a CI/CD pipeline?

    Answer: It stores and versions built container images for consistent deployment across environments

    A container registry stores versioned container images so that the exact same artifact built in CI can be deployed consistently to any environment.