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 system administrator is tasked with launching an AWS EC2 instance that automatically installs and configures a web server upon startup.
What is the BEST way to accomplish this?
- A . Manually connect to the instance after launch and install the software
- B . Use a User Data script to automate the installation process
- C . Create a Docker container and manually deploy it after the instance is running
- D . Use an IAM policy to allow the instance to install the software
B
Explanation:
– AWS allows using User Data scripts to automate initial configurations when an instance starts.
– Example User Data script to install Nginx on launch:
– #!/bin/bash
– apt update -y
– apt install -y nginx
– systemctl start nginx
– Manually installing software (Option A) is inefficient.
– Docker (Option C) is useful but does not automate instance setup.
– IAM policies (Option D) control permissions but do not install software.
A Linux administrator notices high disk I/O usage on a database server.
Which command should they use to identify which processes are consuming the most disk resources?
- A . htop
- B . iotop
- C . netstat -tulnp
- D . vmstat 1
B
Explanation:
– iotop shows which processes are using the most disk I/O resources in real time.
– Option A (htop) is incorrect because it monitors CPU and memory, not disk I/O.
– Option C (netstat -tulnp) is incorrect because it checks network connections, not disk usage.
– Option D (vmstat 1) is incorrect because it provides system-wide I/O statistics but does not show which processes are causing high disk usage.
Your team follows a DevOps approach and has implemented a CI/CD pipeline. Recently, you noticed that deployments to production occasionally introduce critical bugs.
What is the BEST way to prevent these issues in the future?
- A . Deploy manually instead of using automation
- B . Implement automated testing (unit, integration, and regression tests) in the CI/CD pipeline
- C . Increase the frequency of deployments to detect issues earlier
- D . Require developers to manually test their code before pushing to production
B
Explanation:
Automated testing ensures that all code changes are validated before deployment, reducing the risk of introducing bugs into production. CI/CD pipelines should include unit tests (to test individual functions), integration tests (to test interactions between components), and regression tests (to ensure new changes do not break existing functionality). Manual testing (option D) is useful but not scalable in a DevOps environment.
A company wants its cloud-based web application to automatically handle increased traffic by scaling up instances.
Which AWS feature should they use?
- A . EC2 Reserved Instances
- B . Elastic Load Balancer (ELB)
- C . Auto Scaling Group (ASG)
- D . CloudTrail
C
Explanation:
– Auto Scaling Groups (ASG) automatically add or remove EC2 instances based on demand.
– ELB (Elastic Load Balancer) distributes traffic but does not scale instances.
– Reserved Instances are used for cost savings but do not scale dynamically.
– CloudTrail provides audit logs but does not handle scaling.
Your company uses AWS to host multiple web applications. A security audit has flagged that all EC2 instances are accepting SSH connections from any IP (0.0.0.0/0).
What is the BEST action to take?
- A . Restrict SSH access in Security Groups to only trusted IP ranges
- B . Block all SSH connections and use FTP instead
- C . Require SSH keys but still allow access from all IPs
- D . Restart all EC2 instances to apply default security settings
A company wants to migrate its on-premise applications to a cloud environment where it does not have to manage infrastructure.
Which cloud computing model should they choose?
- A . IaaS
- B . PaaS
- C . SaaS
- D . Bare Metal
B
Explanation:
– PaaS provides a managed platform for developers, so they do not need to manage underlying infrastructure.
– IaaS (Infrastructure as a Service) requires managing VMs and networking.
– SaaS (Software as a Service) provides ready-to-use applications.
– Bare Metal is not a cloud model but a physical server option.
A DevOps engineer is using Ansible to manage multiple servers. What is the primary advantage of Ansible over Puppet or Chef?
- A . Ansible requires installing an agent on managed nodes
- B . Ansible uses SSH and does not require an agent
- C . Ansible only works with Linux-based systems
- D . Ansible requires a centralized server to function
B
Explanation:
– Ansible is agentless, meaning it connects via SSH to managed nodes, unlike Puppet and Chef, which require agents.
– Option A is incorrect because Ansible does not use agents.
– Option C is incorrect because Ansible supports Windows as well.
– Option D is incorrect because Ansible does not require a centralized server.
In Puppet, which command is used on a managed node to apply the latest configuration changes?
- A . puppet agent –apply
- B . puppet master –run
- C . puppet agent –test
- D . puppet run config
C
Explanation:
– puppet agent –test forces a manual configuration run on a managed node.
– Option A is incorrect because –apply is used for local manifests, not central configurations.
– Option B is incorrect because puppet master runs the Puppet server, not the agent.
– Option D is incorrect because puppet run config is not a valid command.
Your DevOps team is responsible for managing a CI/CD pipeline using Jenkins. After pushing new changes to the repository, you notice that the pipeline takes much longer to complete than before.
What is the MOST effective way to optimize pipeline performance?
- A . Reduce the number of tests executed during the pipeline
- B . Implement parallel execution for test stages and optimize build caching
- C . Disable automated builds and trigger them manually when needed
- D . Increase the server memory and CPU to run Jenkins faster
B
Explanation:
Optimizing the pipeline should focus on efficiency, not reducing tests. Parallel execution allows multiple test jobs to run at the same time, reducing build time. Build caching helps avoid redundant compilation and dependency downloads, improving performance. Simply increasing server resources (option D) may help temporarily but is not a scalable solution.
Which of the following tools is primarily used for Infrastructure as Code (IaC)?
- A . Jenkins
- B . Terraform
- C . SonarQube
- D . Selenium
B
Explanation:
Terraform is a widely used tool for Infrastructure as Code (IaC), allowing automated provisioning and management of infrastructure resources. Jenkins is a CI/CD tool, SonarQube is for static code analysis, and Selenium is for UI testing.