DevOps Quiz
DevOps brings development and operations together to deliver software faster and more reliably. Expect questions about CI/CD, containers, automation, monitoring, infrastructure as code and teamwork practices.
What this quiz covers
- CI/CD pipelines
- Containers and Docker
- Automation and infrastructure as code
- Monitoring and culture
Study tip: Set up a free CI pipeline for a small project to see continuous integration working end to end.
Questions, answers and explanations
1. What does DevOps combine?
- Development and Operations
- Design and Programming
- Database and Security
- Testing and Marketing
Answer: Development and Operations
DevOps combines software development and IT operations to improve software delivery.
2. What is CI in DevOps?
- Continuous Integration
- Code Installation
- Computer Integration
- Continuous Installation
Answer: Continuous Integration
Continuous Integration automatically integrates and tests code changes frequently.
3. What is CD commonly associated with in DevOps?
- Continuous Delivery
- Computer Design
- Code Development
- Central Database
Answer: Continuous Delivery
CD commonly refers to Continuous Delivery or Continuous Deployment.
4. Which tool is widely used for CI/CD?
- Jenkins
- Photoshop
- Excel
- Chrome
Answer: Jenkins
Jenkins is a popular automation server used for CI/CD pipelines.
5. Which platform is used for containerization?
- Docker
- Git
- Jenkins
- Linux Mint
Answer: Docker
Docker packages applications and their dependencies into containers.
6. What is Kubernetes mainly used for?
- Container orchestration
- Image editing
- Database design
- Code compilation
Answer: Container orchestration
Kubernetes manages and orchestrates containerized applications.
7. Which tool is commonly used for version control?
- Git
- Docker
- Jenkins
- Kubernetes
Answer: Git
Git is a distributed version control system.
8. What is Infrastructure as Code?
- Managing infrastructure using configuration files and code
- Writing HTML pages
- Creating database tables
- Designing user interfaces
Answer: Managing infrastructure using configuration files and code
Infrastructure as Code allows infrastructure to be created and managed through code.
9. Which tool is commonly used for Infrastructure as Code?
- Terraform
- React
- Bootstrap
- jQuery
Answer: Terraform
Terraform is an Infrastructure as Code tool used to provision cloud and infrastructure resources.
10. What is a DevOps pipeline?
- An automated process for building, testing, and deploying software
- A database
- A programming language
- A web browser
Answer: An automated process for building, testing, and deploying software
A DevOps pipeline automates stages such as building, testing, and deploying applications.
11. Which cloud platform is commonly used in DevOps?
- AWS
- Photoshop
- Microsoft Word
- Figma
Answer: AWS
AWS provides many cloud services commonly used for DevOps workflows.
12. What is Docker Compose used for?
- Managing multiple Docker containers
- Writing JavaScript
- Editing images
- Managing Git branches
Answer: Managing multiple Docker containers
Docker Compose defines and runs multi-container applications.
13. What is a container?
- A lightweight isolated environment for running an application
- A programming language
- A database server
- A web browser
Answer: A lightweight isolated environment for running an application
Containers package applications with the dependencies they need to run.
14. Which command is commonly used to create a Docker image?
- docker build
- docker create-image
- docker make
- docker compile
Answer: docker build
docker build creates a Docker image from a Dockerfile and build context.
15. What is monitoring in DevOps?
- Tracking system performance and health
- Writing HTML
- Creating logos
- Designing databases
Answer: Tracking system performance and health
Monitoring helps teams detect performance problems and system failures.
16. What does YAML commonly provide in DevOps?
- Configuration files
- Image editing
- Database storage
- Video processing
Answer: Configuration files
YAML is widely used for configuration, including CI/CD pipelines and Kubernetes manifests.
17. What is blue-green deployment?
- Running two production environments to reduce deployment risk
- Using two programming languages
- Creating two databases
- Running two operating systems on one computer
Answer: Running two production environments to reduce deployment risk
Blue-green deployment uses separate environments so traffic can be switched between versions.
18. What is rollback in software deployment?
- Returning to a previous working version
- Deleting all source code
- Creating a new programming language
- Increasing server memory
Answer: Returning to a previous working version
Rollback restores an earlier version when a new deployment causes problems.
19. What is the main purpose of automation in DevOps?
- Reduce manual work and improve consistency
- Make software slower
- Remove version control
- Prevent testing
Answer: Reduce manual work and improve consistency
Automation makes repetitive processes faster, consistent, and less error-prone.
20. What is the main goal of DevOps?
- Deliver software faster and more reliably
- Only write source code
- Only manage databases
- Only design websites
Answer: Deliver software faster and more reliably
DevOps aims to improve collaboration, automation, reliability, and the speed of software delivery.