Lpi 701-100 Real Exam Questions Guaranteed Updated Dump from TestKingsIT [Q31-Q50]

Share

Lpi 701-100 Real Exam Questions Guaranteed Updated Dump from TestKingsIT

Verified Pass 701-100 Exam in First Attempt Guaranteed

NEW QUESTION # 31
Which configuration option in the Ansible inventory is issued control privilege escalation of the remote user?

  • A. elevate
  • B. super
  • C. sudo
  • D. become
  • E. priv_user

Answer: D

Explanation:
Explanation/Reference:
Reference https://docs.ansible.com/ansible/2.6/user_guide/become.html


NEW QUESTION # 32
Which of the log messages below matches the following Logstash grok filter?
grok {
match => ["message", "%{SYSLOGBASE} new node %{IPORHOST:node}" ]
}

  • A. %{SYSLOG-FROM:headnode clustermanager[12353]} new node 198.51.100.103
  • B. clustermanager[12353]: Jun 30 00:36:49 headnode new node 198.51.100.103
  • C. Jun 30 00:36:49 headnode:
    new node 198.51.100.103 at clustermanager:12353
  • D. Jun 30 00:36:49 headnode clustermanager[198.51.100.103]: new node
  • E. Jun 30 00:36:49 headnode clustermanager[12353]: new node 198.51.100.103

Answer: D


NEW QUESTION # 33
Which of the following statements describes the principal concept behind test driven development?

  • A. Tests may not be written by the same development team that wrote the tested code.
  • B. Tests are written before the function / method is implemented.
  • C. All tests are generated automatically from the tested source code.
  • D. The only acceptable reason to write a test is to prevent fixed bugs from occurring again.
  • E. Instead of testing software automatically, manual tests are performed and logged daily.

Answer: B

Explanation:
Explanation/Reference:
Reference https://en.wikipedia.org/wiki/Test-driven_development


NEW QUESTION # 34
Which of the following HTTP methods are used by REST? (Choose THREE correct answers.)

  • A. REPLACE
  • B. PUT
  • C. GET
  • D. CREATE
  • E. DELETE

Answer: C,D,E


NEW QUESTION # 35
Which sections can exist in a Logstash configuration file? (Choose three correct answers.)

  • A. forward
  • B. generate
  • C. filter
  • D. input
  • E. output

Answer: C,D,E

Explanation:
Reference https://www.elastic.co/guide/en/logstash/current/configuration-file-structure.html


NEW QUESTION # 36
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. If the command is run a second time, another volume for /data is created.
  • B. The new /data volume contains a copy of the complete container's base image.
  • C. The /data volume is discarded when the container terminates.
  • D. The /data volume can be attached to another Docker container.
  • E. The volume containing the container's rootfile system is retained until the /data volume is deleted.

Answer: A,D

Explanation:
The correct answers to the question "Which of the statements below are true about the volume created by the following command? docker run -v /data -ti debian" are:
D). The /data volume can be attached to another Docker container.E. If the command is run a second time, another volume for /data is created.
When you run docker run -v /data -ti debian, Docker creates a volume for /data inside the container. This volume can be managed in the following ways:
* Volume Attachment: Volumes are designed to be shared between containers. The volume /data can be attached to other Docker containers, allowing them to read from and write to the same data store.
* Multiple Volumes: If you run the command again, Docker will create a new volume for /data, as volumes are specific to the container instance unless explicitly shared.
The other options are incorrect:
* A: The new volume does not contain a copy of the complete container's base image; it is an empty volume.
* B: The volume containing the container's root filesystem is not retained until the /data volume is deleted.
* C: Volumes are persistent and are not discarded when the container terminates unless explicitly removed.
References:
* Docker Documentation - Manage Data in Containers


NEW QUESTION # 37
Which section of the Prometheus configuration defines which nodes are monitored?

  • A. nodes
  • B. rules
  • C. listener
  • D. scrape_config
  • E. targets

Answer: D

Explanation:
In Prometheus, the scrape_config section of the configuration file defines how and which nodes (targets) should be scraped (monitored). This section specifies the endpoints Prometheus should scrape, the frequency of scraping, and any relabeling configurations.
* scrape_config: This is the correct section where you define the targets to be monitored by Prometheus.
The other options are incorrect:
* B. targets: This is part of scrape_config but not a top-level configuration section.
* C. rules: This section is used to define alerting and recording rules, not targets.
* D. listener: This is not a standard section in Prometheus configuration.
* E. nodes: This is not a standard section in Prometheus configuration.
References:
* Prometheus Documentation - Configuration


NEW QUESTION # 38
What does the command packer validate template.jsondo?

  • A. The command verifies that the latest build of the template can be run without downloading additional images or artifacts.
  • B. The command verifies that all existing artifacts generated by template.jsonhave their original checksums.
  • C. The command verifies that all source images referenced in template.jsonare available and have valid cryptographic signatures.
  • D. The command verifies that images generated previously by template.jsonstill use the most recent source images.
  • E. The command verifies that the file template.jsonis a syntactically correct and complete Packer template.

Answer: E

Explanation:
Explanation/Reference:
Reference https://www.packer.io/docs/commands/validate.html


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

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

Answer: A,C

Explanation:
* B. Jenkins supports a master-slave architecture where the master node distributes build tasks to multiple slave nodes, thereby improving performance and enabling load balancing.
* D. Jenkins is highly extensible through plugins. Its functionality can be significantly enhanced by installing various plugins that support different tools, languages, and activities such as building, deploying, and automating tasks.
References:
* Jenkins Distributed Builds
* Jenkins Plugins


NEW QUESTION # 40
Which docker subcommand starts a new container? (Specify ONLY the subcommand without any path or parameters.)

Answer:

Explanation:
docker start <container_id>
https://docs.docker.com/engine/reference/commandline/create/#parent-command


NEW QUESTION # 41
How does Prometheus gather information about monitored hosts and services?

  • A. It uses HTTP to retrieve JSON encoded metrics from the monitored objects.
  • B. It queries a relational database for metrics written to the database by monitored applications.
  • C. It runs scripts on the Prometheus server which perform tests and return various metrics.
  • D. It implements the ICMP and SNMP protocols to ping and query remote services.
  • E. It opens a webhook where monitored applications have to submit various metrics.

Answer: A


NEW QUESTION # 42
What must be the first line of a plain text user-data configuration containing YAML configuration for cloud-init?

  • A. ------ cloud-config
  • B. #cloud-config
  • C. cloud-config:
  • D. [cloud-config]
  • E. #1 /user/bin/cloud-init

Answer: B

Explanation:
Explanation
https://www.digitalocean.com/community/tutorials/how-to-use-cloud-config-for-your-initial-server-setup


NEW QUESTION # 43
Which vagrant sub command executes a command in a running box? (Specify ONLY the sub command without any path or parameters.)

Answer:

Explanation:
vagrant ssh [name|id] [-- extra_ssh_args]
https://www.vagrantup.com/docs/cli/ssh.html


NEW QUESTION # 44
Which of the following elements are present in a Vagrant box file? (Choose TWO correct answers.)

  • A. Configuration files for provisioners such as Ansible.
  • B. A Vagrant guest configuration file that is used to create instances of the box.
  • C. A metadata file describing the box and its requirements.
  • D. A base file system image in a format supported by the provider of the box.
  • E. The installer for the Vagrant version which is required to run the box.

Answer: B,D


NEW QUESTION # 45
Which of the following tasks can Logstash fulfill without using other components of the Elastic Stack?
(Choose three.)

  • A. Receive log data from remote systems.
  • B. Store log data persistently.
  • C. Aggregate log data over a period of time.
  • D. Process log data to extract information.
  • E. Forward log data to other services.

Answer: A,D,E

Explanation:
Logstash is a powerful data processing pipeline tool that can ingest data from multiple sources, transform it, and then send it to different destinations. Even without other components of the Elastic Stack, Logstash can perform the following tasks:
* A. Receive log data from remote systems: Logstash can collect logs from various sources using its numerous input plugins, such as beats, syslog, and HTTP.
* D. Process log data to extract information: Logstash can process and transform log data using filter plugins, which allow for parsing, enriching, and modifying the data.
* E. Forward log data to other services: Logstash can forward processed data to various outputs, such as databases, message queues, and other log management systems.
The other options are not tasks that Logstash can perform without other components:
* B. Store log data persistently: Logstash itself does not provide persistent storage capabilities. It requires Elasticsearch or another storage solution to persist the data.
* C. Aggregate log data over a period of time: Aggregation typically requires persistent storage and
* querying capabilities, which Logstash alone does not provide.
References:
* Elastic Documentation - Logstash


NEW QUESTION # 46
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. myapp.option1
  • C. myapp{{option1}}
  • D. option1@myapp
  • E. myapp['option1']

Answer: B,E

Explanation:
* C. Ansible allows accessing variables using the dictionary-style syntax myapp['option1'].
* D. Alternatively, dot notation can be used to access nested variables: myapp.option1.
References: Ansible Documentation - Variables


NEW QUESTION # 47
If a Dockerfile references the container's base image without a specific version tag, which tag of that image is used to create the container?

  • A. nightly
  • B. default
  • C. lts
  • D. latest
  • E. current

Answer: D

Explanation:
Reference https://docs.docker.com/engine/reference/commandline/build/


NEW QUESTION # 48
Which of the following statements regarding microservices are true? (Choose THREE correct answers.)

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

Answer: A,C,D


NEW QUESTION # 49
Which docker subcommand starts a new container? (Specify only the subcommand without any path or parameters.)

Answer:

Explanation:
run
Explanation:
In Docker, the run subcommand is used to create and start a new container from an image. The full command typically includes the image name and any additional parameters needed to configure the container.
References:
* Docker Documentation - run


NEW QUESTION # 50
......

Download Real Lpi 701-100 Exam Dumps Test Engine Exam Questions: https://selftestengine.testkingit.com/Lpi/latest-701-100-exam-dumps.html