Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DevOps and Infrastructure Quiz

Total questions: 20

Worksheet time: 48mins

Name
Class
Date
1.

What is Infrastructure as Code (IaC) mainly used for?

a)

Monitoring network traffic

b)

Automating infrastructure deployment using code

c)

Encrypting cloud storage

d)

Managing software licensing

2.

Which of the following is a Configuration as Code (CaC) tool?

a)

Terraform

b)

Jenkins

c)

Ansible

d)

Grafana

3.

Which file formats are most often used in IaC templates?

a)

CSV and XML

b)

JSON and YAML

c)

TXT and DOCX

d)

INI and CSV

4.

What is the main goal of versioning in DevOps environments?

a)

To ensure the code executes faster

b)

To track changes and maintain consistency

c)

To back up database systems

d)

To improve hardware performance

5.

Which of the following describes Continuous Integration (CI)?

a)

Releasing updates automatically

b)

Combining code from multiple developers frequently

c)

Configuring virtual networks

d)

Building dashboards for analytics

6.

What tool is primarily used for container orchestration?

a)

Docker

b)

Jenkins

c)

Kubernetes

d)

Grafana

7.

What is the main purpose of Ansible Playbooks?

a)

To visualize system performance

b)

To define and automate system tasks

c)

To create secure repositories

d)

To test REST APIs

8.

Which of the following ensures secure code management?

a)

Using shared admin passwords

b)

Hardcoding API keys

c)

Key-based authentication and password vaults

d)

Disabling code review

9.

Which DevOps tool is used to create dashboards and visualize metrics?

a)

Grafana

b)

Git

c)

Terraform

d)

Ansible

10.

Which scripting structure repeats a block of code until a condition is false?

a)

if statement

b)

while loop

c)

function

d)

variable

11.

Configuration as Code (CaC) ensures that environments remain consistent.

a)

True

b)

False

12.

Orchestration refers to automating a single routine task only.

a)

True

b)

False

13.

Git is an example of a version control system.

a)

True

b)

False

14.

In CI/CD, Continuous Deployment requires manual approval for each release.

a)

True

b)

False

15.

Event-driven architectures allow systems to respond automatically to specific triggers.

a)

True

b)

False

16.

State one benefit of using Infrastructure as Code (IaC).

4 lines
17.

What are two examples of deployment artifacts?

4 lines
18.

What is a Git pull request used for?

4 lines
19.

Name one protocol or technology used for web service integration.

4 lines
20.

What is one advantage of scripting in cloud operations?

4 lines