50 Free LPI DevOps Tools Engineer Practice Questions
Preparing for the LPI DevOps Tools Engineer? These questions cover the DevOps exam domains.
Domain: CI/CD (Questions 1–12)
Question 1
What is the primary purpose of a CI/CD pipeline?
a) Manual code deployment
b) Automating build, test, and deployment processes
c) Replacing version control
d) Managing infrastructure manually
Show Answer
Answer: b) Automating build, test, and deployment processes
Explanation: CI/CD automates the software delivery process: Continuous Integration (auto-build/test on commit) and Continuous Delivery/Deployment (auto-deploy to environments).
Question 2
Which Git branching strategy creates a new branch for each feature from main?
a) Git Flow
b) GitHub Flow
c) GitLab Flow
d) Trunk-based development
Show Answer
Answer: b) GitHub Flow
Explanation: GitHub Flow uses a main branch + feature branches (created from main → PR → merge back). Git Flow has develop/release/hotfix branches.
Questions 3–12
[Full set covers Jenkins, GitLab CI, GitHub Actions, pipeline stages, artifact management, and testing]
Domain: Containers (Questions 13–24)
Question 3
Which Docker Compose command builds and starts all services?
a) docker-compose up
b) docker-compose start
c) docker-compose run
d) docker-compose create
Show Answer
Answer: a) docker-compose up
Explanation: docker-compose up builds (if needed), creates, and starts containers. -d runs in detached mode. docker-compose down stops and removes.
Questions 4–24
[Full set covers Dockerfile, Compose, container networking, volumes, and container security]
Domain: Configuration Management (Questions 25–35)
Question 4
Which Ansible component defines the desired state of a system?
a) Playbook
b) Module
c) Inventory
d) Role
Show Answer
Answer: a) Playbook
Explanation: Ansible Playbooks (YAML) define the desired state through plays, tasks, and modules. Roles organize playbooks and related files.
Questions 5–35
[Full set covers Ansible, Puppet, YAML, idempotency, modules, and inventory management]
Domain: Monitoring and Infrastructure (Questions 36–50)
Question 5
Which Prometheus component scrapes metrics from targets?
a) Prometheus server
b) Alertmanager
c) Grafana
d) Pushgateway
Show Answer
Answer: a) Prometheus server
Explanation: The Prometheus server scrapes metrics from configured targets at specified intervals. Alertmanager handles alerts. Grafana visualizes. Pushgateway handles short-lived jobs.
Questions 6–50
[Full set covers Prometheus, Grafana, Nagios/Icinga, metrics collection, alerting, dashboards, and IaC with Terraform]
How Did You Score?
Bereit, dein Wissen zu testen?
Probiere unsere Übungsprüfungen mit Hunderten von realistischen Fragen aus.
Üben starten →