LPI 701-100 Linux Professional Institute DevOps Tools Engineer Exam 701 Exam Practice Test

Page: 1 / 14
Total 60 questions
Question 1

Which statement in a Dockerfile defines which command should be started in the container by default when it is started? (Specify ONLY the statement's name without any values or parameters.)

See Below Explanation:




Answer : A


Question 2

Which of the following git commands is used to manage files in a repository? (Choose two correct answers.)



Answer : A, C


Question 3

Given the following excerpt of a Dockerfile:

Run apt-get --y update && apt-get install --y fortunes && apt-get clean

Why are the multiple apt-get commands combined in one RUN statement instead of using multiple RUN statements?



Answer : D


Question 4

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



Answer : A, B, C


Question 5

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



Answer : D, E


Question 6

A declarative Jenkins pipeline contains the following excerpt:

parameters {

string (name: 'TargetEnvironment', defaultValue: 'staging', description: 'Target environment')

}

How can a task use the value provided for TargetEnvironment?



Answer : B


Question 7

Which git sub command copies a local commit to a remote repository? (Specify ONLY the sub command without any path or parameters.)

See Below Explanation:




Answer : A


Page:    1 / 14   
Total 60 questions