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

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?

  1. Development and Operations
  2. Design and Programming
  3. Database and Security
  4. Testing and Marketing

Answer: Development and Operations

DevOps combines software development and IT operations to improve software delivery.

2. What is CI in DevOps?

  1. Continuous Integration
  2. Code Installation
  3. Computer Integration
  4. Continuous Installation

Answer: Continuous Integration

Continuous Integration automatically integrates and tests code changes frequently.

3. What is CD commonly associated with in DevOps?

  1. Continuous Delivery
  2. Computer Design
  3. Code Development
  4. Central Database

Answer: Continuous Delivery

CD commonly refers to Continuous Delivery or Continuous Deployment.

4. Which tool is widely used for CI/CD?

  1. Jenkins
  2. Photoshop
  3. Excel
  4. Chrome

Answer: Jenkins

Jenkins is a popular automation server used for CI/CD pipelines.

5. Which platform is used for containerization?

  1. Docker
  2. Git
  3. Jenkins
  4. Linux Mint

Answer: Docker

Docker packages applications and their dependencies into containers.

6. What is Kubernetes mainly used for?

  1. Container orchestration
  2. Image editing
  3. Database design
  4. Code compilation

Answer: Container orchestration

Kubernetes manages and orchestrates containerized applications.

7. Which tool is commonly used for version control?

  1. Git
  2. Docker
  3. Jenkins
  4. Kubernetes

Answer: Git

Git is a distributed version control system.

8. What is Infrastructure as Code?

  1. Managing infrastructure using configuration files and code
  2. Writing HTML pages
  3. Creating database tables
  4. 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?

  1. Terraform
  2. React
  3. Bootstrap
  4. jQuery

Answer: Terraform

Terraform is an Infrastructure as Code tool used to provision cloud and infrastructure resources.

10. What is a DevOps pipeline?

  1. An automated process for building, testing, and deploying software
  2. A database
  3. A programming language
  4. 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?

  1. AWS
  2. Photoshop
  3. Microsoft Word
  4. Figma

Answer: AWS

AWS provides many cloud services commonly used for DevOps workflows.

12. What is Docker Compose used for?

  1. Managing multiple Docker containers
  2. Writing JavaScript
  3. Editing images
  4. Managing Git branches

Answer: Managing multiple Docker containers

Docker Compose defines and runs multi-container applications.

13. What is a container?

  1. A lightweight isolated environment for running an application
  2. A programming language
  3. A database server
  4. 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?

  1. docker build
  2. docker create-image
  3. docker make
  4. docker compile

Answer: docker build

docker build creates a Docker image from a Dockerfile and build context.

15. What is monitoring in DevOps?

  1. Tracking system performance and health
  2. Writing HTML
  3. Creating logos
  4. 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?

  1. Configuration files
  2. Image editing
  3. Database storage
  4. Video processing

Answer: Configuration files

YAML is widely used for configuration, including CI/CD pipelines and Kubernetes manifests.

17. What is blue-green deployment?

  1. Running two production environments to reduce deployment risk
  2. Using two programming languages
  3. Creating two databases
  4. 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?

  1. Returning to a previous working version
  2. Deleting all source code
  3. Creating a new programming language
  4. 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?

  1. Reduce manual work and improve consistency
  2. Make software slower
  3. Remove version control
  4. 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?

  1. Deliver software faster and more reliably
  2. Only write source code
  3. Only manage databases
  4. Only design websites

Answer: Deliver software faster and more reliably

DevOps aims to improve collaboration, automation, reliability, and the speed of software delivery.

Take the timed quiz