CI/CD Pipelines Flashcards
6 cards from real DevOps practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 CI/CD Pipelines flashcards as text
What does the DORA metric 'Lead Time for Changes' measure?
Answer: Time from code commit to running in production
Lead time for changes measures the elapsed time from a code commit to that code running successfully in production.
In GitLab CI/CD, what file defines the pipeline configuration?
Answer: .gitlab-ci.yml
GitLab CI/CD reads its pipeline configuration from a `.gitlab-ci.yml` file stored at the root of the repository.
What is a 'rolling deployment'?
Answer: Gradually replacing old instances with new ones in batches
A rolling deployment incrementally replaces running instances of an application with the new version in batches to minimize downtime.
Which practice ensures that every code change passes automated tests before being merged?
Answer: Continuous Integration
Continuous Integration requires every code change to trigger an automated build and test run, failing the merge if tests do not pass.
What is the purpose of a 'staging environment' in a CI/CD pipeline?
Answer: To provide a production-like environment for final testing before release
A staging environment mirrors production and is used for final integration testing, UAT, and smoke tests before a release goes live.
What does 'fail fast' mean in a CI/CD pipeline?
Answer: Running the quickest and most critical checks first to detect failures early
Fail fast means ordering pipeline stages so the fastest and most likely-to-fail checks (lint, unit tests) run first, giving developers quick feedback.