LPI 701-100 practice test

Exam Title: LPIC-OT Exam 701: DevOps Tools Engineer

Last update: Dec 11 ,2025
Question 1

Which of the following information is contained in the output of git status? (Choose three correct
answers.)

  • A. Changed files that will not be part of the next commit.
  • B. Locked files which cannot be edited until the lock is released.
  • C. Changed files that will be part of the next commit.
  • D. Unchanged files which have not been edited locally.
  • E. Untracked files which are not subject to version control.
Answer:

C,D,E

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 2

What happens when a merge conflict occurs in git? (Choose two correct answers.)

  • A. The conflicting files remain unchanged in the local repository.
  • B. Conflict markers are added to the files.
  • C. A new branch containing the remote changes is created.
  • D. The affected files are flagged as conflicting.
  • E. The newest version is placed in the local repository.
Answer:

D,E

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 3

Which configuration option in the Ansible inventory is issued control privilege escalation of the
remote user?
A. priv_user
B. elevate
C. super
D. become
E. sudo

Answer:

D
Reference
//docs.ansible.com/ansible/2.6/user_guide/become.html

Comments
Question 4

Which Ansible modules can be used to change the contents of a file? (Choose three correct answers.)

  • A. lineinfile
  • B. replace
  • C. patch
  • D. insert
  • E. modify
Answer:

A,B,C

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 5

What is the Puppet equivalent to an Ansible Playbook called?

  • A. A Puppet Catalog
  • B. A Puppet Playbook
  • C. A Puppet Factsheet
  • D. A Puppet Declaration
  • E. A Puppet Manifest
Answer:

A

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 6

Which of the following Ansible tasks copies the file example.txt to a manage system?

  • A. – rsync:src: example.txtdst: /tmp/example.txt
  • B. – copy:src: example.txtdest: /tmp/example.txt
  • C. – retrieve:src: example.txtdest: /tmp/example.txt
  • D. - cp:source: example.txtdst: /tmp/example.txt
  • E. - transfer:src: example.txtdest: /tmp/example.txt
Answer:

B

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 7

CORRECT TEXT
Which Ansible command is used to manage and store sensitive data in encrypted files? (Specify ONLY
the command without any path or parameters.)

Answer:

ansible-vault

vote your answer:
Comments
Question 8

Which of the following commands lists the cookbooks available on a Chef server?

  • A. kitchen cookbook list
  • B. chef-client cookbook list
  • C. chef-server cookbook list
  • D. chef-solo cookbook list
  • E. knife cookbook list
Answer:

C

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 9

An Ansible variable file contains the following content:
myapp:
option1: one
Which of the following strings can be used to reference the defined variable? (Choose two correct
answers).

  • A. myapp(option1);
  • B. option1@myapp
  • C. myapp[‘option1’]
  • D. myapp.option1
  • E. myapp{{option1}}
Answer:

A,E

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 10

Which Ansible keyword is used in a playbook to store the result (i.e. return code) of a task in a
variable?
A. register
B. return
C. output
D. result
E. set_fact

Answer:

A
Reference
//docs.ansible.com/ansible/2.5/user_guide/playbooks_conditionals.html

Comments
Page 1 out of 5
Viewing questions 1-10 out of 60
Go To
page 2