[Nov 23, 2021] Dumps Collection 701-100 Test Engine Dumps Training With 60 Questions
Lpi 701-100 Dumps - 100% Cover Real Exam Questions
NEW QUESTION 13
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. ${params.TargetEnvironment}
- B. %TargetEnvironment%
- C. $ENV{TargetEnvironment}
- D. $TargetEnvironment
- E. {{TargetEnvironment}}
Answer: D
NEW QUESTION 14
Which of the following statement describes the principal concept behind test driven development?
- A. Tests ate written before the function / method is implemented.
- B. The only acceptable reason to write a test is to prevent fixed bugs from occurring again.
- C. All tests ate generated automatically from the tested source code.
- D. Tests may not be written by the same development team that wrote the tested code.
- E. Instead of testing software automatically, manual tests are performed and logged daily.
Answer: E
NEW QUESTION 15
Which of the following elements are presents in a Vagrant box file? (Choose two correct answers.)
- A. A metadata file describing the box and its requirements.
- B. A Vagrant guest configuration file that is used to create instances of the box.
- C. The installer for the Vagrant version which is required to run the box.
- D. Configuration files for provisioners such as Ansible.
- E. A base file system image in a format supported by the provider of the box.
Answer: A,D
NEW QUESTION 16
A recently installed application log data to / opt/ app/ log/ info.log. it Filebeat is already installed and set up for communication with a remote Logstash, what has to be done order to submit the log data of the new application to Loggstash?
- A. Add a new cron job that invokes filebeat -I /opt/app/info.log periodically.
- B. Replace /opt/app/log/info.log by a symbolic link to/dev/filebeat and restart the new application.
- C. Add an additional input channel with the optional source => "/opt/log/info.log" to the logstash configuration.
- D. Add the log file to the path option within the log prospector in the Filebeat configuration and restart Filebeat.
- E. Configuration logrote to execute filebeat -I /opt/app/info.log" 0.after each rotation of
.opt//app/log/info.log.
Answer: B
NEW QUESTION 17
How does Prometheus gather information about monitored hosts and services?
- A. It opens a webhook where monitored applications have to submit various metrics.
- B. It runs scripts on the Prometheus server which perform tests and return various metrics.
- C. It uses HTTP to retrieve JSON encoded metrics from the monitored objects.
- D. It queries a relational database for metrics written to the database by monitored applications.
- E. It implements the ICMP and SNMP protocols to ping and query remote services.
Answer: B
Explanation:
Reference https://dzone.com/articles/monitoring-with-prometheus
NEW QUESTION 18
What implications does container virtualization have tor DevOps? (Choose TWO correct answers.)
- A. Containers decouple the packaging of an application from its infrastructure
- B. Containers complicate the deployment of software and require early deployment tests.
- C. Containers require developers to have detailed knowledge of their It infrastructure
- D. Containers lei developers test their software under production condition.
- E. Containers require application specific adjustments to the container platform.
Answer: B,D
NEW QUESTION 19
What is tested by unit tests?
- A. The throughput, load capacity and latency of a service.
- B. The correctness of a specific function of a software component.
- C. The formal validity of a service's external REST API.
- D. The syntactical correctness of a (the source code of a software component
- E. The integration of multiple components of the same software.
Answer: E
NEW QUESTION 20
Which of the statements below are true about the volume created by the following command? (Choose two correct answers.) docker run -v /data -ti debian
- A. The /data volume is discarded when the container terminates.
- B. The new /data volume contains a copy of the complete container's base image.
- C. The /data volume can be attached to another Docker container.
- D. If the command is run a second time, another volume for /data is created.
- E. The volume containing the container's rootfile system is retained until the /data volume is deleted.
Answer: C,D
NEW QUESTION 21
What does the command packer validate template. json do?
- A. The command verifies that all images generated previously by template. json still use the most recent source images.
- B. The command verifies that the latest build of the template can be run without downloading additional images or artifacts.
- C. The command verified that the file template. json is a syntactically correct and complete Packet template.
- D. The command verified that all source images referenced in template .json are available and have valid cryptographic signatures.
- E. The command verifies that all existing artifacts generated by template. jaon have their original checksums.
Answer: C
NEW QUESTION 22
Which of the following Ansible tasks the file example.txt to a managed system?
A)
B)
C)
D)
E )
- A. Option B
- B. Option D
- C. Option C
- D. Option E
- E. Option A
Answer: A
NEW QUESTION 23
Which of the following HTTP methods are used by REST? (Choose three correct answers.)
- A. REPLACE
- B. CREATE
- C. DELETE
- D. GET
- E. PUT
Answer: C,D,E
Explanation:
Reference https://restfulapi.net/http-methods/
NEW QUESTION 24
What does the command packer validate template.json do?
- A. The command verifies that all existing artifacts generated by template.json have their original checksums.
- B. The command verifies that the latest build of the template can be run without downloading additional images or artifacts.
- C. The command verifies that the file template.json is a syntactically correct and complete Packer template.
- D. The command verifies that images generated previously by template.json still use the most recent source images.
- E. The command verifies that all source images referenced in template.json are available and have valid cryptographic signatures.
Answer: C
Explanation:
Reference https://www.packer.io/docs/commands/validate.html
NEW QUESTION 25
The following command is issued on two docker nodes:
docker network create --driver bridge isolated_nw
Afterwards, one container is started at each node with the parameter -- network=isolated_nw. It turns out that the containers can not interact with each other. What must be done in order to allow the containers to interact with each other? (Choose two correct answers.)
- A. Use an overlay network instead of a bridged network.
- B. Start the containers on the same node.
- C. Add the option --inter-container to the docker network create command.
- D. Change the --network parameter of docker create to --network=isolated_nw,nofence.
- E. Use a host network instead of a bridged network.
Answer: B,D
Explanation:
Reference https://docs.docker.com/v17.09/engine/userguide/networking/#bridge-networks
NEW QUESTION 26
Which sections can exist in a Logstash configuration file? (Choose three correct answers.)
- A. input
- B. filter
- C. output
- D. forward
- E. generate
Answer: A,B,C
Explanation:
Reference https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html
NEW QUESTION 27
Which of the following mechanisms are used for service discovery in a container environment? (Choose TWO correct answers.)
- A. The container platform lists localhost ports assigned to containers in each container's /etc/services file.
- B. The container platform sets environment variables containing service information within the containers.
- C. The container platform mounts the sockets for all available services into the container's tile systems
- D. The container platform offers a command like docker service discover which should be run within a container.
- E. The container platform maintains DNS records which point to container offering a specific service.
Answer: C,E
NEW QUESTION 28
Which of the following HTTP headers is a CORS header?
- A. Referer:
- B. Location:
- C. X-CORS-access-Token:
- D. access-Control-Allow-Origin:
- E. Authorization:
Answer: D
NEW QUESTION 29
Which of the following gitcommands is used to manage files in a repository? (Choose two correct answers.)
- A. git rm
- B. git move
- C. git mv
- D. git cp
- E. git copy
Answer: A,C
NEW QUESTION 30
CORRECT TEXT
Which docker subcommand starts a new container? (Specify only the subcommand without any path or parameters.)
Answer:
Explanation:
run
NEW QUESTION 31
Consider the following Kubernetes Deployment:
With the ReplicaSet:
And the Pods:
What happens if one of the Pods is terminated with the command kubect1 pod delete?
- A. The remaining Pods are stopped and the Deployment switches to the state Failed.
- B. The Deployment switches to the state Degraded.
- C. The ReplicaSet immediately starts a new replacement Pod.
- D. The number of replicas in the ReplicaSet is changed to 4.
- E. The remaining Pods are stopped and a new ReplicaSet is started.
Answer: D
NEW QUESTION 32
Which of the following commands lists the cookbooks available on a Chef server?
- A. chef-server cookbook list
- B. chef-solo cookbook list
- C. kitchen cookbook list
- D. knife cookbook list
- E. chef-client cookbook list
Answer: A
NEW QUESTION 33
......
Realistic Actual4Dumps 701-100 Dumps PDF - 100% Passing Guarantee: https://pdfpractice.actual4dumps.com/701-100-study-material.html