LPI 701-100 Exam Questions

Questions for the 701-100 were updated on : Sep 09 ,2024

Page 1 out of 4. Viewing questions 1-15 out of 60

Question 1

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

Answer:

clone

User Votes:
Discussions
vote your answer:
0 / 1000

Question 2

Which of the following statements regarding microservices are true? (Choose three correct answers.)

  • A. Microservices facilitate the replacement of the implementation of a specific functionality.
  • B. Microservices applications are hard to scale because microservice architecture allow only one instance of each microservice.
  • C. Integration tests for microservices are not possible until all microservices forming a specific application are completely developed.
  • D. Interaction between microservices can be slower that the interaction of similar components within a monolithic application.
  • E. Within one application, individual microservices can be updated and redeployed independent of the remaining microservices.
Answer:

C,D,E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 3

Which statements are true regarding databases during the deployment of a new release of a service
using canary deployment? (Choose two correct answers.)

  • A. Changes to the database schema can take long and reduce the database performance.
  • B. Traffic to the database will significantly increase because of the additional service instance.
  • C. The database schema must be compatible to all running versions of a service.
  • D. The database is locked while its content is copied to the canary database.
  • E. Canary deployments require two synchronized instances of each database.
Answer:

B,E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 4

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?

  • A. {{TargetEnvironment}}
  • B. $TargetEnvironment
  • C. %TargetEnvironment%
  • D. ${params.TargetEnvironment}
  • E. $ENV{TargetEnvironment}
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 5

Which of the following HTTP headers is a CORS header?
A. X-CORS-Access-Token:
B. Location:
C. Referer:
D. Authorization:
E. Access-Control-Allow-Origin

Answer:

E
Reference
//enable-cors.org/server_apache.html

Discussions
0 / 1000

Question 6

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

  • A. git rm
  • B. git cp
  • C. git mv
  • D. git move
  • E. git copy
Answer:

A,C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 7

What implications does container virtualization have for DevOps? (Choose two answers.)
A. Containers decouple the packaging of an application from its infrastructure.
B. Containers require developers to have detailed knowledge of their IT infrastructure.
C. Containers let developers test their software under production conditions.
D. Containers complicate the deployment of software and require early deployment tests.
E. Containers require application specific adjustment to the container platform.

Answer:

A,C
Reference
//anandmanisankar.com/posts/container-docker-PaaS-microservices/

Discussions
0 / 1000

Question 8

Which of the following HTTP methods are used by REST? (Choose three correct answers.)
A. CREATE
B. REPLACE
C. PUT
D. DELETE
E. GET

Answer:

C,D,E
Reference
//restfulapi.net/http-methods/

Discussions
0 / 1000

Question 9

The file index.php, which is being maintained in a git repository, was changed locally and contains an
error. If the error has not been committed to the repository yet, which of the following git commands
reverts the local copy of index.php to the latest committed version in the current branch?
A. git lastver index.php
B. git revert index.php
C. git checkout index.php
D. git clean index.php
E. git repair index.php

Answer:

B
Reference
//git-scm.com/docs/git-revert

Discussions
0 / 1000

Question 10

Which of the following statements are true about Jenkins? (Choose two correct answers.)

  • A. Jenkins is specific to Java based applications.
  • B. Jenkins can delegate tasks to slave nodes.
  • C. Jenkins only works on local files and cannot use SCM repositories.
  • D. Jenkins’ functionality is determined by plugins.
  • E. Jenkins includes a series of integrated testing suites.
Answer:

B,E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 11

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

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 12

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

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 13

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

Discussions
0 / 1000

Question 14

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

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 15

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

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000
To page 2