[2024年12月]更新の701-100試験資料Lpi学習ガイド [Q10-Q30]

Share

[2024年12月]更新の701-100試験資料Lpi学習ガイド

有効な問題最新版を試そう701-100テスト解釈701-100有効な試験ガイド

質問 # 10
Which configuration option in the Ansible inventory is issued control privilege escalation of the remote user?

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

正解:C

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


質問 # 11
Which of the following HTTP methods are used by REST? (Choose three correct answers.)

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

正解:B、C、D

解説:
REST (Representational State Transfer) is an architectural style for designing networked applications. It relies on a stateless, client-server, cacheable communications protocol -- the HTTP protocol. The main HTTP methods used in REST are:
* GET: This method is used to retrieve data from a server at the specified resource.
* PUT: This method is used to update or create a resource at the specified URL.
* DELETE: This method is used to remove a specified resource.
The other options are not standard HTTP methods used in REST:
* CREATE: This is not a standard HTTP method. The equivalent standard method for creating resources is POST.
* REPLACE: This is not a standard HTTP method. The equivalent standard methods for replacing resources are PUT or PATCH.
References:
* RESTful Web Services - HTTP Methods
* MDN Web Docs on HTTP Methods


質問 # 12
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 lei developers test their software under production condition.
  • C. Containers require developers to have detailed knowledge of their It infrastructure
  • D. Containers complicate the deployment of software and require early deployment tests.
  • E. Containers require application specific adjustments to the container platform.

正解:B、D


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

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

正解:B、E

解説:
* 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


質問 # 14
A service should be provided to arbitrary clients on the Internet using HTTPS. Any standard client on the Internet should be able to consume the service without further configuration. Which of the following approaches can be used to implement these requirements? (Choose three correct answers.)

  • A. Install a wildcard certificate and the respective private key on all the backend servers.
  • B. Use a load balancer that decrypts incoming requests and passes them on in plain HTTP.
  • C. Generate a self-signed certificates during the deployment of each backend server.
  • D. Use a certificate issuing service to request certificates during each server deployment.
  • E. Configure the web servers to not use a server certificate when serving HTTPS.

正解:A、B、D

解説:
* C. Using a certificate issuing service (e.g., Let's Encrypt) allows each server to obtain a valid, trusted certificate, ensuring secure HTTPS communication.
* D. A load balancer can handle HTTPS termination, decrypting incoming HTTPS requests and forwarding them as plain HTTP to backend servers.
* E. Installing a wildcard certificate on all backend servers ensures that each server can handle HTTPS requests using the same certificate, simplifying management.
References:
* Let's Encrypt Documentation
* AWS Documentation - Load Balancer HTTPS Listener
* Wildcard Certificates - SSL.com


質問 # 15
CORRECT TEXT
Which docker subcommand starts a new container? (Specify only the subcommand without any path or parameters.)

正解:

解説:
run


質問 # 16
Which of the following kinds of data are suitable as artifacts in a continuous delivery pipeline? (Choose THREE answers.)

  • A. Build configuration files such as Makefiles or Maven configurations.
  • B. Compiled packages to be installed by a Linux package manager.
  • C. Docker container images which contain an application.
  • D. Executable applications such as exe files or jar packages
  • E. Copies of the contents of source code repositories.

正解:A、B、C


質問 # 17
Which of the following kinds of data are suitable as artifacts in a continuous delivery pipeline? (Choose three correct answers.)

  • A. Executable applications such as .exe files or .jar packages.
  • B. Compiled packages to be installed by a Linux package manager.
  • C. Docker container images which contain an application.
  • D. Copies of the contents of source code repositories.
  • E. Build configuration files such as Makefiles or Maven configurations.

正解:A、B、C

解説:
In a continuous delivery pipeline, artifacts are the final outputs produced during the build and integration stages. These artifacts are then deployed to different environments for testing and production.
* Executable Applications: Artifacts can include executable files like .exe or .jar packages that are ready to be run.
* Compiled Packages: Precompiled packages for installation via package managers (e.g., .deb or .rpm files) are suitable artifacts.
* Docker Images: Docker container images encapsulate the application and its dependencies, making them ideal artifacts for consistent deployment across environments.
References:
* Continuous Delivery
* Artifact Repository


質問 # 18
How does Vagrant run virtual machines?

  • A. Vagrant generates virtual machine images but does not provide a mechanism to run them.
  • B. Vagrant has to be run within a running virtual machine which is not controlled by Vagrant.
  • C. Vagrant ships with an embedded version of VirtualBox.
  • D. Vagrant uses so-called provides which control external hypervisors such as VirtualBox.
  • E. Vagrant uses a vagrant-specific hypervisor called VagrantVM.

正解:D


質問 # 19
Which section of the Prometheus configuration defines which nodes are monitored?

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

正解:B

解説:
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


質問 # 20
A Dockerfile contains the statements:
COPY data/ /data/
VOLUME /data
What happens when the resulting container is started without any additional volume configuration? (Choose two correct answers.)

  • A. Files existing in /data/ in the image are not available in the running container.
  • B. Existing files from /data/ in the image are copied to the new volume.
  • C. Changes to files within /data/ affect the Docker image and all other containers derived from it.
  • D. An error is raised because /data/ already contains data when the volume is mounted.
  • E. A new volume is created and mounted to /data/ within the new container.

正解:B、E


質問 # 21
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 ReplicaSet immediately starts a new replacement Pod.
  • C. The remaining Pods are stopped and a new ReplicaSet is started.
  • D. The Deployment switches to the state Degraded.
  • E. The number of replicas in the ReplicaSet is changed to 4.

正解:B

解説:
In Kubernetes, a Deployment manages ReplicaSets and ensures that the specified number of replicas for a given Pod is always maintained. If a Pod managed by a ReplicaSet is terminated (e.g., using the command kubectl delete pod <pod-name>), the ReplicaSet detects the discrepancy in the desired state (number of replicas) and the actual state. As a result, the ReplicaSet will immediately create a new Pod to replace the terminated one and maintain the desired number of replicas.
* Deployment Management: A Kubernetes Deployment is responsible for maintaining the desired state of Pods through ReplicaSets.
* ReplicaSet Functionality: A ReplicaSet ensures that a specified number of Pod replicas are running at all times.
* Pod Termination: When a Pod is terminated, the ReplicaSet notices the reduction in the number of running Pods.
* Replacement Pod Creation: To restore the desired state, the ReplicaSet automatically creates a new Pod to replace the terminated one.
References:
* Kubernetes Documentation - Deployments
* Kubernetes Documentation - ReplicaSet


質問 # 22
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.)

正解:

解説:
ENTRYPOINT
Explanation:
In a Dockerfile, the ENTRYPOINT instruction is used to specify the command that will be executed when a container starts. Unlike CMD, which can be overridden by arguments provided in docker run, ENTRYPOINT ensures that the specified command is always run.
References:
* Docker Documentation - ENTRYPOINT


質問 # 23
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 queries a relational database for metrics written to the database by monitored applications.
  • C. It uses HTTP to retrieve JSON encoded metrics from the monitored objects.
  • D. It implements the ICMP and SNMP protocols to ping and query remote services.
  • E. It runs scripts on the Prometheus server which perform tests and return various metrics.

正解:E

解説:
Explanation/Reference:
Reference https://dzone.com/articles/monitoring-with-prometheus


質問 # 24
Which of the following functions are provided by the Ansible aptmodule? (Choose two correct answers.)

  • A. Add the URL of a new repository to the package manager configuration.
  • B. Re-compile an installed package from the source code.
  • C. Update an installed package to the latest version.
  • D. Update the list of available packages from configured repositories.
  • E. Install a dpkg based Linux distribution on an empty target system.

正解:D、E

解説:
Explanation/Reference:
Reference https://docs.ansible.com/ansible/latest/modules/apt_module.html


質問 # 25
An Ansible variable file contains the following content
myapp:
option: one
Which of the following strings can bo used to reference the defined variable? (Choose TWO correct answers.)

  • A. optionl10myapp
  • B. myapp {{optionl}}
  • C. myapp . option1
  • D. myappl 'option]
  • E. myapp (option1):

正解:B、E


質問 # 26
What is the Puppet equivalent to an Ansible Playbook called?

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

正解:D

解説:
Explanation/Reference:


質問 # 27
Which of the following messages bellows the following Logstash grok filter?
grok {
match => ['message ". "%{SYSLOGBASE} new node %{IPORHOST : node)" ]
}

  • A. clustermanager [12353] : Jun 30 00:36:49 headnode new node 198.51.100.103
  • B. Jun 30 00"36" 49 headnode:
    New node 198. 51. 100. 103 at clustermanager: 12353
  • C. %{ SYSLOG-FROM: headnode clustermanager [12353]) new node 198.51.100.103
  • D. Jun 30 00: 36: 49 headnode clustermanager [12353]: new node 198.51.100.103
  • E. Jun 30 00:36: 49 headnode clustermanager[198.51.100.103] : new node

正解:E


質問 # 28
Given the following excerpt of a Dockerfile:
RUN apt-get -y update && apt.-get install -y fortunes && apt-got clean
Why the multiple apt-get commands are combined in one RUN statement instead ot using multiple RUN statements?
Given the following excerpt of a Dockerfile:
RUN apt-get -y update && apt.-get install -y fortunes && apt-got clean
Why are the multiple apt-got commands combined in one RUN statement instead of using multiple RUN statements?

  • A. To avoid the creation ot unnecessary images because Docker creates a new image tor each run statement.
  • B. To execute both commands in the same container Instance and void Docker to reset the container to the original base image.
  • C. To execute the apt-get install command only if the apt -get update command was successful because Docker does not check the success of RUN statements.
  • D. To ensure the execution order of the commands because Docker might evaluate the statements of a Dockerfile in in any order.
  • E. To prevent the commands from running in parallel because Docker executes all run statements in their own container at the same time.

正解:E


質問 # 29
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 repair -- indox.php
  • B. git checkout -- indox.php
  • C. git revert -- index, php
  • D. git lastver -- index.php
  • E. git clean -- indox.php

正解:E


質問 # 30
......

701-100試験問題と解答:https://jp.fast2test.com/701-100-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어