次のAnsibleタスクのどれがファイルexample.txtを管理システムにコピーしますか?
A. -transfer:src:example.txtdest:/tmp/example.txt
B. -rsync:src:example.txtdst:/tmp/example.txt
C. -cp:source:example.txtdst:/tmp/example.txt
D. -retrieve:src:example.txtdest:/tmp/example.txt
E. -copy:src:example.txtdest:/tmp/example.txt
正解:E
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
gitリポジトリで管理されているindex.phpファイルはローカルで変更され、エラーが含まれています。エラーがまだリポジトリにコミットされていない場合、次のgitコマンドのどれがindex.phpのローカルコピーを現在のブランチのコミットされた最新バージョンに戻しますか?
A. git clean-index.php
B. git lastver-index.php
C. git repair-index.php
D. git checkout-index.php
E. git revert-index.php
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
どの docker-machine サブコマンドが、docker-machine によって管理される Docker ホストで docker を動作させるために必要な環境変数を設定するコマンドのリストを出力しますか? (パスやパラメータなしでサブコマンドのみを指定します。)
正解:
env
Explanation:
The docker-machine env subcommand outputs a list of commands that set environment variables required to make Docker work with a Docker host managed by docker-machine. These variables configure the Docker client to communicate with the Docker Engine on the specified host.
References: Docker Documentation - docker-machine env
質問 4:
追加のパラメーターを使用してdocker-compose downを実行すると、次のタスクのうちどれが完了しますか? (正解を2つ選択してください。)
A. composerファイルで定義されているすべてのコンテナーを削除します。
B. コンポーザーファイルで使用されているすべての画像をDockerノードから削除します。
C. composerファイルで定義されたすべてのネットワークを削除します。
D. composerファイルで定義されたすべてのボリュームを削除します。
E. composerファイルから作成されたすべてのイメージをレジストリから削除します。
正解:A,D
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
暗号化されたファイル内の機密データを管理および保存するために使用される 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
質問 6:
次のコマンドで作成されたボリュームについて、以下の記述のどれが当てはまりますか? (2つの正解を選択してください。)docker run -v / data -ti debian
A. The /data volume can be attached to another Docker container.
B. The new /data volume contains a copy of the complete container's base image.
C. If the command is run a second time, another volume for /data is created.
D. The volume containing the container's rootfile system is retained until the /data volume is deleted.
E. The /data volume is discarded when the container terminates.
正解:A,C
解説: (Pass4Test メンバーにのみ表示されます)
1164 お客様のコメント





Matsuzaki -
Pass4Testの試験問題集を熟読すればきっと大丈夫です。見事試験合格しました。
ソフト版の模擬はすごいなぁと感心します。ありがとうございました。