DevOps / GitLab CI Basics Interview Questions
What is GitLab CI/CD and what problem does it solve?
GitLab CI/CD is a built-in automation system within GitLab that automatically builds, tests, and deploys code every time a developer pushes changes to a repository. It eliminates the need for separate CI tools like Jenkins by providing pipelines as a native GitLab feature.
The problems it solves:
- Manual errors - human steps in build/deploy processes are replaced with scripted automation
- Slow feedback - developers learn about broken code minutes after pushing, not hours later
- Integration debt - frequent small merges catch conflicts early instead of painful big-bang integrations
- Inconsistency - every pipeline run uses the same defined environment and steps
| Term | Full name | What it does |
|---|---|---|
| CI | Continuous Integration | Auto-build and test every code change |
| CD | Continuous Delivery | Auto-prepare release-ready artifacts after CI passes |
| CD | Continuous Deployment | Auto-deploy all the way to production after CI passes |
Everything is configured in a single YAML file (.gitlab-ci.yml) committed alongside the code, making pipeline configuration version-controlled and auditable.
More Related questions...