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
Which GitHub Actions component defines a workflow trigger?
Answer: on:
The `on:` key in a GitHub Actions workflow YAML file specifies the events (push, pull_request, schedule, etc.) that trigger the workflow.
What is a 'canary deployment'?
Answer: Rolling out a new version to a small subset of users before full deployment
A canary deployment gradually routes a small percentage of traffic to the new version to detect issues before rolling out to all users.
In a CI/CD pipeline, what does 'shift-left testing' mean?
Answer: Moving testing earlier in the development lifecycle
Shift-left testing means incorporating testing earlier in the software development lifecycle to find and fix defects sooner and at lower cost.
What is the role of a 'build server' in a CI pipeline?
Answer: To compile source code, run tests, and produce deployable artifacts automatically
A build server automates the process of compiling code, running tests, and packaging artifacts whenever changes are pushed to the repository.
What is 'pipeline as code'?
Answer: Defining CI/CD pipeline configuration in version-controlled files
Pipeline as code means storing pipeline definitions in version-controlled files (like Jenkinsfile or .gitlab-ci.yml) so they are treated like application code.
Which metric measures how frequently code is deployed to production in a CI/CD context?
Answer: Deployment frequency
Deployment frequency, one of the four DORA metrics, measures how often an organization successfully releases to production.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Editorial policy