Lpi 701-100 Practice Exams
Last updated on Oct 21,2026- Exam Code: 701-100
- Exam Name: Linux Professional Institute DevOps Tools Engineer Exam 701
- Certification Provider: Lpi
- Latest update: Oct 21,2026
A DevOps engineer needs to apply a configuration across 500 servers using SaltStack.
What is the fastest way to do this?
- A . Run salt ‘*’ state.apply on the Salt Master
- B . SSH into each server and apply changes manually
- C . Use ansible-playbook instead
- D . Run puppet apply on each server
A
Explanation:
– SaltStack uses a master-minion architecture where the Salt Master can apply configurations to many minions simultaneously using salt ‘*’ state.apply.
– Option B is incorrect because manual configuration is inefficient.
– Option C is incorrect because this question is about SaltStack, not Ansible.
– Option D is incorrect because Puppet uses different mechanisms.
A web server is experiencing slow performance, and the administrator suspects high CPU usage.
What is the best way to lower the priority of a running process without terminating it?
- A . Use the kill -9 command to terminate the process
- B . Run renice +10 <PID> to lower the process priority
- C . Use systemctl restart to restart the web service
- D . Disable the CPU-intensive process permanently
B
Explanation:
– renice +10 <PID> lowers the priority of a running process without terminating it, ensuring the system remains responsive.
– Option A (kill -9) is incorrect because it forcefully stops the process.
– Option C (systemctl restart) is incorrect because restarting the service does not control its resource usage.
– Option D is incorrect because permanently disabling the process may not be necessary.
Which of the following best describes a benefit of using a build tool like Maven or Gradle?
- A . They provide a graphical user interface for writing code
- B . They automate the process of compiling, packaging, and managing dependencies
- C . They are used for monitoring application performance
- D . They replace version control systems like Git
B
Explanation:
Build tools like Maven and Gradle automate the software build process, including compilation, dependency management, and packaging. They do not replace version control systems or provide GUI for writing code.
A company has deployed multiple EC2 instances in AWS. The security team warns that unauthorized users might attempt SSH access.
What is the BEST way to enhance security?
- A . Disable SSH access entirely
- B . Open SSH (port 22) to all IP addresses (0.0.0.0/0)
- C . Restrict SSH access to specific IP addresses using a Security Group
- D . Use a simple password instead of SSH keys for authentication
C
Explanation:
– Security Groups in AWS allow defining inbound/outbound traffic rules.
– Best practice: Restrict SSH access to trusted IP addresses only:
– aws ec2 authorize-security-group-ingress
– –group-name my-security-group –protocol tcp
– –port 22 –cidr 203.0.113.5/32
– Disabling SSH (Option A) may not be practical.
– Opening SSH to all IPs (Option B) exposes the instance to brute-force attacks.
– Using passwords (Option D) is less secure than SSH keys.
Which command is used to create a new Docker network named my_network?
- A . docker run –network my_network
- B . docker network create my_network
- C . docker-compose network create my_network
- D . docker net create my_network
B
Explanation:
The correct command to create a custom bridge network is docker network create my_network. This allows multiple containers to communicate using container names instead of IP addresses.
Your company is moving its web application to the cloud. You need a cloud computing model that allows you to deploy virtual machines but also lets you configure networking and storage independently.
Which cloud model is the BEST choice?
- A . SaaS (Software as a Service)
- B . PaaS (Platform as a Service)
- C . IaaS (Infrastructure as a Service)
- D . FaaS (Function as a Service)
C
Explanation:
– IaaS (Infrastructure as a Service) provides virtual machines, networking, and storage, giving full control over infrastructure.
– PaaS is for deploying applications without managing infrastructure.
– SaaS provides fully managed software applications.
– FaaS (also known as serverless computing) is used for running individual functions without provisioning servers.
A system administrator wants to ensure all servers in an environment always match the desired configuration.
Which of the following strategies should they use?
- A . Deploy changes manually when needed
- B . Run Ansible playbooks only once
- C . Implement continuous configuration enforcement using Puppet or Chef
- D . Use SSH scripts for configuration management
C
Explanation:
– Puppet and Chef automatically enforce configurations continuously.
– Option A is incorrect because manual changes are prone to errors.
– Option B is incorrect because running Ansible once does not maintain ongoing enforcement.
– Option D is incorrect because SSH scripts lack scalability and consistency.
Which of the following tools is commonly used for static code analysis?
- A . Ansible
- B . SonarQube
- C . Kubernetes
- D . Docker
B
Explanation:
SonarQube is a static code analysis tool that helps developers detect vulnerabilities, bugs, and code quality issues. Ansible is for configuration management, Kubernetes is for container orchestration, and Docker is for containerization.
You want to run a web server in a Docker container and make it accessible from your host machine on port 8080.
Which command should you use?
- A . docker run -d -p 8080:80 nginx
- B . docker run -d -p 80:8080 nginx
- C . docker run -d -expose 8080 nginx
- D . docker run -d nginx –network=host
A
Explanation:
The -p 8080:80 flag maps port 8080 on the host machine to port 80 inside the container, allowing access to the Nginx web server via http://localhost:8080.
Your company is managing 500 Linux servers across multiple data centers. You need to ensure that all servers have the same configuration and software versions. The solution must be easy to deploy and should not require installing an agent on each server.
Which tool is the BEST choice?
- A . Puppet
- B . Chef
- C . Ansible
- D . SaltStack
C
Explanation:
– Ansible is agentless, meaning it does not require installing any additional software on managed nodes, making it ideal for large-scale deployments with minimal setup.
– Puppet and Chef require agents on managed nodes, adding complexity.
– SaltStack is fast but requires Salt Minions, making Ansible a simpler choice.