701-100日本語事前に試験練習テストで使おう(最新60問題) [Q10-Q34]

Share

701-100日本語事前に試験練習テストで使おう(最新60問題)

有効な701-100日本語試験解答PDF一年無料更新

質問 # 10
暗号化されたファイル内の機密データを管理および保存するために使用される Ansible コマンドはどれですか?
(パスやパラメータなしでコマンドのみを指定します。)

正解:

解説:
ansible-vault
Explanation:
The ansible-vault command is used to manage and store sensitive data in encrypted files within Ansible.
This allows users to keep variables, passwords, and other confidential information secure by encrypting them in a file.
References: Ansible Documentation - Ansible Vault


質問 # 11
コマンドパッカーはtemplate.jsonを検証しますか?

  • A. このコマンドは、template.jsonで参照されているすべてのソースイメージが使用可能であり、有効な暗号署名があることを確認します。
  • B. このコマンドは、追加のイメージまたはアーティファクトをダウンロードせずに、テンプレートの最新ビルドを実行できることを確認します。
  • C. このコマンドは、ファイルtemplate.jsonが構文的に正しい完全なPackerテンプレートであることを検証します。
  • D. このコマンドは、template.jsonによって生成されたすべての既存のアーティファクトに元のチェックサムがあることを確認します。
  • E. このコマンドは、template.jsonによって以前に生成された画像が最新のソース画像を引き続き使用することを確認します。

正解:C

解説:
Reference https://www.packer.io/docs/commands/validate.html
The packer validate template.json command checks the specified Packer template file for syntax correctness and completeness. This command ensures that the template is properly structured and ready to be used for building images.
* Syntax Check: Verifies the JSON syntax of the template.
* Completeness Check: Ensures all required fields and configurations are present in the template.
References:
* Packer Documentation - validate


質問 # 12
追加のパラメーターを使用してdocker-compose downを実行すると、次のタスクのうちどれが完了しますか? (正解を2つ選択してください。)

  • A. composerファイルで定義されているすべてのコンテナーを削除します。
  • B. composerファイルから作成されたすべてのイメージをレジストリから削除します。
  • C. コンポーザーファイルで使用されているすべての画像をDockerノードから削除します。
  • D. composerファイルで定義されたすべてのネットワークを削除します。
  • E. composerファイルで定義されたすべてのボリュームを削除します。

正解:D、E

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


質問 # 13
Ansibleプレイブックに存在する条件は次のうちどれですか? (3つの正解を選択してください。)

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

正解:A、B、D

解説:
参照https://docs.ansible.com/ansible/2.4/playbooks_loops.html


質問 # 14
cloud-initは管理対象システムイメージとどのように統合されますか?

  • A. cloud-initは、実行中のインスタンス内で定期的に呼び出す必要のあるcloud-init-workerコマンドを提供します。
  • B. cloud-initは、インスタンスの起動プロセスのいくつかの段階に含まれる必要があるsystemdユニットを提供します。
  • C. cloud-initは、systemdなどのインスタンスの元のinitシステムを置き換える独自の起動メカニズムを提供します。
  • D. cloud-initは、起動時に起動されるcloud-init-daemonサービスを提供し、目的の構成とインスタンスの同期を維持します。
  • E. cloud-initは、インスタンスのinitramfsに含まれてロードされる必要があるLinuxカーネルモジュールを提供します。

正解:E


質問 # 15
次のコマンドで作成されたボリュームについて、以下の記述のどれが当てはまりますか? (2つの正解を選択してください。)docker run -v / data -ti debian

  • A. The volume containing the container's rootfile system is retained until the /data volume is deleted.
  • B. The /data volume is discarded when the container terminates.
  • 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 new /data volume contains a copy of the complete container's base image.

正解:C、D


質問 # 16
git statusの出力に含まれる情報は次のうちどれですか? (3つの正解を選択してください。)

  • A. ロックが解除されるまで編集できないロックされたファイル。
  • B. バージョン管理の対象ではない未追跡ファイル。
  • C. 次のコミットの一部となるファイルを変更しました。
  • D. 次のコミットに含まれない変更されたファイル。
  • E. ローカルで編集されていない変更されていないファイル。

正解:B、C、E


質問 # 17
コンテナ環境でのサービス検出に使用されるメカニズムは次のうちどれですか? (正解を2つ選択してください。)

  • A. コンテナプラットフォームは、コンテナ内のサービス情報を含む環境変数を設定します。
  • B. コンテナプラットフォームは、各コンテナのコンテナに割り当てられたlocalhostポートをリストします
    / etc / servicesファイル。
  • C. コンテナプラットフォームは、利用可能なすべてのサービスのソケットをコンテナのファイルシステムにマウントします。
  • D. コンテナプラットフォームは、特定のサービスを提供するコンテナを指すDNSレコードを保持します。
  • E. コンテナープラットフォームは、コンテナー内で実行する必要があるdocker service discoverなどのコマンドを提供します。

正解:A、D

解説:
Service discovery is crucial in container environments to enable containers to find and communicate with each other. The common mechanisms for service discovery in container platforms include:
* Environment Variables: Container platforms often set environment variables within containers to provide information about services. This method is simple and allows containers to access necessary details without additional configuration.
* DNS Records: Many container platforms maintain DNS records that map service names to container IP addresses. This allows services to be discovered and accessed using standard DNS queries, which is a scalable and widely used approach.
The other options are not standard methods for service discovery:
* A: There is no docker service discover command for service discovery.
* C: Listing localhost ports in /etc/services is not a typical method used by container platforms.
* D: Mounting sockets for all services into containers' file systems is not a common practice for service discovery.
References:
* Docker Documentation - Service Discovery
* Kubernetes Documentation - Service Discovery


質問 # 18
次のHTTPヘッダーのうち、CORSヘッダーはどれですか?

  • A. Location:
  • B. Referer:
  • C. Access-Control-Allow-Origin
  • D. X-CORS-Access-Token:
  • E. Authorization:

正解:C

解説:
CORS (Cross-Origin Resource Sharing) is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the resource originated. This is done using a set of HTTP headers. One of the main headers used in CORS is Access-Control-Allow-Origin.
* Access-Control-Allow-Origin: This header indicates whether the response can be shared with requesting code from the given origin. This is essential for enabling cross-origin requests to be made securely.
The other headers listed in the question are not related to CORS:
* X-CORS-Access-Token: This is not a standard HTTP header.
* Location: This header is used in redirection or when a new resource has been created.
* Referer: This header indicates the address of the previous web page from which a request was made.
* Authorization: This header contains credentials to authenticate a user agent with a server.
References:
* MDN Web Docs on CORS
* W3C CORS Specification


質問 # 19
RESTで使用されるHTTPメソッドは次のうちどれですか? (3つの正解を選択してください。)

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

正解:B、C、D

解説:
参照https://restfulapi.net/http-methods/


質問 # 20
正しいテキスト
どのコンテナーサブコマンドが新しいコンテナーを開始しますか? (パスまたはパラメーターなしでサブコマンドのみを指定します。)

正解:

解説:
実行


質問 # 21
Prometheusは監視対象のホストとサービスに関する情報をどのように収集しますか?

  • A. HTTPを使用して、監視対象オブジェクトからJSONエンコードされたメトリックを取得します。
  • B. ICMPおよびSNMPプロトコルを実装して、リモートサービスをpingおよびクエリします。
  • C. テストを実行してさまざまなメトリックを返すスクリプトをPrometheusサーバーで実行します。
  • D. 監視対象アプリケーションがさまざまなメトリックを送信する必要があるWebhookを開きます。
  • E. 監視対象アプリケーションによってデータベースに書き込まれたメトリックをリレーショナルデータベースに照会します。

正解:C

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


質問 # 22
コンテナ仮想化はDevOpsにどのような影響を与えますか(2つの答えを選択してください。)

  • A. コンテナは、アプリケーションのパッケージングをインフラストラクチャから分離します。
  • B. コンテナには、コンテナプラットフォームに対するアプリケーション固有の調整が必要です。
  • C. コンテナはソフトウェアの展開を複雑にし、早期の展開テストを必要とします。
  • D. コンテナでは、開発者はITインフラストラクチャの詳細な知識を持っている必要があります。
  • E. コンテナにより、開発者は本番環境でソフトウェアをテストできます。

正解:A、E

解説:
Container virtualization has significant implications for DevOps practices, and the two main implications are:
* Decoupling of Packaging and Infrastructure: Containers encapsulate an application and its dependencies into a single package. This means the application can run consistently across different environments without being affected by differences in the underlying infrastructure. This decoupling facilitates more reliable deployments and easier migration between environments.
* Testing Under Production Conditions: Containers can replicate production environments on a developer's local machine or in a CI/CD pipeline. This allows developers to test their applications under conditions that closely mimic the production environment, which can lead to identifying issues early and ensuring the software behaves as expected when deployed.
The other options are not correct:
* Detailed Knowledge of IT Infrastructure: Containers abstract away much of the underlying infrastructure details, so developers do not need in-depth knowledge of it.
* Complicating Deployment: Containers simplify deployment through standardization and automation, rather than complicating it.
* Application Specific Adjustment: Containers are designed to run applications without the need for significant adjustments specific to the container platform, provided that the container image is correctly configured.
References:
* Docker Documentation
* Kubernetes Documentation


質問 # 23
Ansible aptモジュールによって提供される機能は次のうちどれですか? (正解を2つ選択してください。)

  • A. 設定されたリポジトリから利用可能なパッケージのリストを更新します。
  • B. 新しいリポジトリのURLをパッケージマネージャーの構成に追加します。
  • C. インストール済みパッケージを最新バージョンに更新します。
  • D. dpkgベースのLinuxディストリビューションを空のターゲットシステムにインストールします。
  • E. インストールされたパッケージをソースコードから再コンパイルします。

正解:A、D

解説:
参照https://docs.ansible.com/ansible/latest/modules/apt_module.html


質問 # 24
テスト駆動開発の背後にある主要な概念を説明しているのは次のうちどれですか

  • A. 関数/メソッドが実装される前にテストが書き込まれます。
  • B. ソフトウェアを自動的にテストする代わりに、手動テストが毎日実行され、ログに記録されます。
  • C. すべてのテストは、テストされたソースコードから自動的に生成されます。
  • D. テストは、テストされたコードを書いたのと同じ開発チームが書くことはできません。
  • E. テストを書く唯一の受け入れられる理由は、修正されたバグが再び発生するのを防ぐことです。

正解:A

解説:
参照https://en.wikipedia.org/wiki/Test-driven_development


質問 # 25
Packerテンプレートに存在する必要があるセクションはどれですか?

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

正解:A

解説:
Packer is a tool for creating machine and container images for multiple platforms from a single source configuration. A Packer template consists of various sections, but the builders section is mandatory.
* builders: This section defines the builders that Packer will use to create the machine images. It specifies the platform, source image, and configuration required to build the final image.
The other sections are optional but can be included for more complex configurations:
* A. images: Not a standard section in Packer templates.
* B. provisioners: Optional section used for provisioning the image after it is built.
* D. variables: Optional section for defining variables to be used in the template.
* E. post-processors: Optional section for defining actions to be taken after the image is built.
References:
* Packer Documentation - Template


質問 # 26
宣言的なJenkinsパイプラインには、次の抜粋が含まれています。
parameters {
string (name: 'TargetEnvironment', defaultValue: 'staging', description: 'Target environment')
}
How can a task use the value provided for TargetEnvironment?

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

正解:C

解説:
In a declarative Jenkins pipeline, parameters can be accessed using the ${params.<parameterName>} syntax.
This allows you to use the value provided for the TargetEnvironment parameter within your pipeline tasks.
References:
* Jenkins Declarative Pipeline Syntax
* Jenkins Parameters


質問 # 27
Prometheus構成のどのセクションがどのノードを監視するかを定義しますか?

  • A. ノード
  • B. ターゲット
  • C. scrape_config
  • D. ルール
  • E. リスナー

正解:C

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


質問 # 28
次のコマンドで作成されたSwarmサービスに関して、どのようなステートメントが当てはまりますか?
docker service create --name myweb --network webnet --mode global nginx

  • A. デフォルトで1つのノードで実行され、任意の数のレプリカに拡張できます。
  • B. Swarmの各ノードで1回だけ実行されます。
  • C. ネットワークタイプグローバルをサポートするノードでのみ実行されます。
  • D. ネットワークwebnetを提供するすべてのノードで実行されます。
  • E. Swarmで1回だけ実行され、スケーリングできません。

正解:B

解説:
The command docker service create --name myweb --network webnet --mode global nginx creates a Docker Swarm service named myweb using the nginx image. The --mode global option specifies that the service should run exactly once on each node in the Swarm cluster.
* Global Mode: When a service is created in global mode, Docker Swarm ensures that exactly one instance of the service runs on each node. This is useful for tasks that should run on all nodes, such as monitoring agents.
The other options are incorrect:
* A: It does not run exactly one time in the Swarm; it runs once on each node.
* C: This describes the replicated mode, not the global mode.
* D: The service runs on all nodes, not just those providing the webnet network.
* E: There is no network type called global.
References:
* Docker Documentation - Service Create
* Docker Documentation - Swarm Services


質問 # 29
正しいテキスト
どのgitサブコマンドがローカルコミットをリモートリポジトリにコピーしますか? (パスまたはパラメーターなしでサブコマンドのみを指定します。)

正解:

解説:
クローン


質問 # 30
次のコマンドで作成されたSwarmサービスに関して、どのようなステートメントが当てはまりますか?
docker service create --name myweb --network webnet --mode global nginx

  • A. デフォルトで1つのノードで実行され、任意の数のレプリカに拡張できます。
  • B. Swarmの各ノードで1回だけ実行されます。
  • C. ネットワークタイプグローバルをサポートするノードでのみ実行されます。
  • D. ネットワークwebnetを提供するすべてのノードで実行されます。
  • E. Swarmで1回だけ実行され、スケーリングできません。

正解:A


質問 # 31
次のコマンドは、2つのdockerノードで発行されます。
docker network create --driver bridge isolated_nw
その後、パラメータ-network = isolated_nwを使用して、各ノードで1つのコンテナが開始されます。コンテナは相互にやり取りできないことがわかりました。コンテナが相互にやり取りできるようにするには、何をする必要がありますか? (正解を2つ選択してください。)

  • A. オプション--inter-containerをdocker network createコマンドに追加します。
  • B. docker createの--networkパラメーターを--network = isolated_nw、nofenceに変更します。
  • C. 同じノードでコンテナを起動します。
  • D. ブリッジネットワークの代わりにオーバーレイネットワークを使用します。
  • E. ブリッジネットワークの代わりにホストネットワークを使用します。

正解:C、D

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


質問 # 32
正しいテキスト
暗号化されたファイルの機密データを管理および保存するには、どのAnsibleコマンドを使用しますか?
(パスまたはパラメーターなしでコマンドのみを指定します。)

正解:

解説:
ansible-vault


質問 # 33
コマンドパッカーはtemplate.jsonを検証しますか?

  • A. このコマンドは、template.jsonで参照されているすべてのソースイメージが使用可能であり、有効な暗号署名があることを確認します。
  • B. このコマンドは、追加のイメージまたはアーティファクトをダウンロードせずに、テンプレートの最新ビルドを実行できることを確認します。
  • C. このコマンドは、ファイルtemplate.jsonが構文的に正しい完全なPackerテンプレートであることを検証します。
  • D. このコマンドは、template.jsonによって生成されたすべての既存のアーティファクトに元のチェックサムがあることを確認します。
  • E. このコマンドは、template.jsonによって以前に生成された画像が最新のソース画像を引き続き使用することを確認します。

正解:C

解説:
参照https://www.packer.io/docs/commands/validate.html


質問 # 34
......

Linux Professional Institute DevOps Tools Engineer Exam 701 (701-100日本語版)無料更新認定サンプル問題:https://jp.fast2test.com/701-100J-premium-file.html


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어