[2025年05月25日]701-100試験問題集を試そう!ベスト701-100試験問題 [Q29-Q44]

Share

[2025年05月25日]701-100試験問題集を試そう!ベスト701-100試験問題

検証済みの701-100テスト問題集で正確な60問題と解答


この試験では、バージョン制御システム、継続的な統合と展開、構成管理ツール、コンテナ化、クラウドインフラストラクチャ、監視およびロギングツールなどのさまざまなトピックをカバーしています。この試験に合格すると、さまざまなDevOpsツールを使用してソフトウェア開発ライフサイクルのさまざまな段階を自動化する際の候補者の知識と実践的なスキルを検証します。また、他のチームメンバーと協力して作業し、DevOpsの文化と原則を理解し、開発および展開プロセス中に発生する一般的な問題のトラブルシューティングを行う能力を示しています。

 

質問 # 29
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. #!/usr/bin/cloud-init

正解:C

解説:
Explanation/Reference:
Reference https://cloudinit.readthedocs.io/en/latest/topics/examples.html


質問 # 30
Which security issues exist for most publicly available Vagrant boxes? (Choose three correct answers.)

  • A. They accept SSH logins from the user vagrant with the password vagrant.
  • B. They export their file system via NFS with full write permissions without any additional restrictions.
  • C. Their whole file system, including configuration files, is writable by any user, including vagrant.
  • D. The vagrant user can use sudo to obtain root privileges without additional authentication.
  • E. They accept SSH logins from the user vagrant with a publicly available SSH key pair.

正解:A、D、E

解説:
Reference https://www.vagrantup.com/docs/boxes/base.html
* A. Many publicly available Vagrant boxes are configured to allow SSH logins for the user vagrant with the password vagrant, which poses a security risk.
* B. They also typically allow SSH logins using a default, publicly available SSH key pair for the user vagrant.
* C. The vagrant user is often configured to use sudo without requiring a password, granting root privileges easily, which can be exploited if unauthorized access is gained.
References:
* Vagrant Documentation - Boxes
* Vagrant Security Model


質問 # 31
Which of the following sections must exist in a Packer template?

  • A. images
  • B. builders
  • C. provisioners
  • D. post-processsors
  • E. variables

正解:B

解説:
Explanation
https://www.packer.io/docs/templates/index.html


質問 # 32
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?

  • A. To avoid the creation of unnecessary images because Docker creates a new image for each RUN statement.
  • B. To ensure the execution order of the commands because Docker might evaluate the statements of a Dockerfile in any order.
  • C. To prevent the commands from running in parallel because Docker executes all RUN statements in their own container at the same time.
  • D. To execute both commands in the same container instance and void Docker to reset the container to the original base image.
  • E. 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.

正解:A

解説:
Combining multiple apt-get commands in one RUN statement avoids the creation of multiple intermediate images, which helps keep the image size smaller and the build process more efficient. Docker creates a new layer for each RUN instruction, so combining commands reduces the number of layers.
References: Docker Documentation - Best Practices for Writing Dockerfiles


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

正解:C


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

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

正解:B、D、E

解説:
* A. Microservices architecture allows different services to be developed, deployed, and replaced independently, facilitating the replacement of specific functionalities without impacting the entire system.
* D. Due to the network latency and overhead associated with inter-service communication, interaction between microservices can indeed be slower than the interaction of components within a monolithic application.
* E. One of the significant advantages of microservices is the ability to update and redeploy individual services independently, which helps in faster iteration and deployment cycles.
References:
* Microservices Architecture
* Microservices vs Monolithic Architecture


質問 # 35
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. Add the option --inter-container to the docker network create command.
  • B. Start the containers on the same node.
  • C. Use an overlay network instead of a bridged network.
  • D. Use a host network instead of a bridged network.
  • E. Change the --network parameter of docker create to --network=isolated_nw,nofence.

正解:B、C

解説:
For containers to communicate across different Docker nodes, they need to be part of a network that supports multi-host networking. The bridge network driver is limited to a single host.
* C. Start the containers on the same node: If both containers are started on the same Docker node, they can communicate using the bridged network.
* E. Use an overlay network instead of a bridged network: Overlay networks are designed for multi-host communication and allow containers on different Docker nodes to communicate with each other.
The other options are incorrect:
* A: Using a host network removes network isolation but does not help with multi-host container communication.
* B: There is no --inter-container option for the docker network create command.
* D: --network=isolated_nw,nofence is not a valid parameter for Docker network settings.
References:
* Docker Documentation - Networking overview
* Docker Documentation - Overlay networks


質問 # 36
Which of the following tasks are completed by docker-compose down when it is used with additional parameters? (Choose TWO correct answers.)

  • A. Delete all volumes defined in the composer file.
  • B. Delete all networks defined in the composer file.
  • C. Delete all containers defined in in the composer file.
  • D. Delete all images built from the composer file from their registry
  • E. Delete all images used in the composer file from the Docker nodes.

正解:B、C

解説:
Explanation
https://docs.docker.com/compose/reference/down/


質問 # 37
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 implements the ICMP and SNMP protocols to ping and query remote services.
  • C. It queries a relational database for metrics written to the database by monitored applications.
  • D. It opens a webhook where monitored applications have to submit various metrics.
  • E. It runs scripts on the Prometheus server which perform tests and return various metrics.

正解:E

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


質問 # 38
Which docker-machine sub command outputs a list of commands that set environment variables which are required 10 make dock, with a Docket host managed by docker-machine? (Specify ONLY the sub command without any path or parameters.)

正解:

解説:
docker-machine env


質問 # 39
Which sections can exist in a Logstash configuration file? (Choose three correct answers.)

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

正解:A、C、E

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


質問 # 40
How is cloud-init integrated with a managed system image?

  • A. cloud-init provides systemd units which must be included in several stages of the booting process of the instance.
  • B. cloud-init provides a Linux kernel module that must be included and loaded in the instance's initramfs.
  • C. cloud-init provides the cloud-init-workercommand which has to be invoked periodically within the running instance.
  • D. cloud-init provides the cloud-init-daemonservice which is launched during startup and keeps the instance in sync with the desired configuration.
  • E. cloud-init provides its own startup mechanism which replaces the instance's original init system, such as systemd.

正解:B


質問 # 41
Which of the following conditionals exist in an Ansible playbook? (Choose three correct answers.)

  • A. with_nodes
  • B. with_items
  • C. with_sequence
  • D. with_playbook
  • E. with_nested

正解:B、C、E

解説:
Ansible playbooks can include conditionals that allow looping over a set of items, sequences, or nested structures.
* with_sequence: Iterates over a sequence of numbers.
* with_items: Iterates over a list of items.
* with_nested: Iterates over a nested list of items, combining them in all possible ways.
References:
* Ansible Loops
* Ansible Documentation - with_items
* Ansible Documentation - with_sequence
* Ansible Documentation - with_nested


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

正解:C、D、E

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


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

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

正解:C、D

解説:
In Git, several commands are used to manage files within a repository. These include adding, removing, and moving files. The correct commands for managing files as per the options given are:
* git rm: This command removes files from the working directory and the index (staging area). This is used to delete files from the repository.
* git mv: This command moves or renames files in the working directory and the index. This is essentially a combination of git rm (remove) and git add (add) in one command.
The other options are not valid Git commands:
* git cp and git copy: There are no Git commands for copying files directly. File copying is typically done using standard file system commands, and then using git add to track the new files.
* git move: This is not a valid Git command; the correct command for moving or renaming files is git mv.
References:
* Git Documentation - git rm
* Git Documentation - git mv


質問 # 44
......

Lpi 701-100テストエンジンPDFで全問 無料問題集:https://www.passtest.jp/Lpi/701-100-shiken.html

手に入れよう!最新701-100認定有効な試験問題集解答:https://drive.google.com/open?id=1XKNixi4FFtxy9EWjIW2X2Naqzi10lI0t