Dockerfile に次の行が含まれているとします。
作業ディレクトリ /
実行 cd /tmp
RUN エコーテスト > テスト
ファイルtestはどこにありますか?
A. コンテナー イメージ内の /test。
B. コンテナー イメージ内の /ting/test。
C. コンテナ イメージ内の /root/tesc。
D. docker build を実行しているシステム上の /tmp/test。
E. Dockerf ファイルを保持するディレクトリでテストします。
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
libvirt ドメイン定義の <domain> 要素の type 属性で有効な値は次のうちどれですか? (2つお選びください。)
A. kvm
B. cgroup
C. Ixc
D. プロシージャ
E. ネームスペース
正解:A,C
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
オプションdom0_memを使用してXen Domain-0に割り当てられるメモリ量を制限するには、このオプションをどこで指定する必要がありますか?
A. Xen の起動時の構成ファイル /etc/xen/Domain-0.cfg 内。
B. Xen のビルド時の Makefile 内。
C. ブートローダー構成内 (Xen 起動時)。
D. Domain-0 カーネルの構築時の .config ファイル内。
E. Xen のグローバル構成ファイルのいずれか。
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
ユーザーデータから直接cloud-init処理できるデータの種類は次のうちどれですか? (3つお選びください。)
A. 実行するシェル スクリプト
B. インポートする URL のリスト
C. 起動元の ISO イメージ
D. 実行する Base64 エンコードされたバイナリ ファイル
E. YAML でのクラウド構成宣言
正解:A,B,E
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
空白を埋める
CPU、ブロック I/O、またはメモリ消費量でソートされたコンテナーを一覧表示する LXC コマンドはどれですか? (パスやパラメータを指定せずにコマンドのみを指定します。)
正解:
lxc-top
Explanation:
LXD supports the following network interface types for containers: macvlan, bridged, physical, sriov, and ovn1. Macvlan creates a virtual interface on the host that is connected to the same network as the parent interface2. Bridged connects the container to a network bridge that acts as a virtual switch3. Physical attaches the container to a physical network interface on the host2. Ipsec and wifi are not valid network interface types for LXD containers. References:
* 1: Bridge network - Canonical LXD documentation
* 2: How to create a network - Canonical LXD documentation
* 4: LXD containers and networking with static IP - Super User
質問 6:
空白を埋める
仮想ネットワークの XML 構成を変更するために、その構成をエディターで開く virshop のサブコマンドはどれですか? (パラメータを指定せずにサブコマンドのみを指定します。)
正解:
net-edit
Explanation:
The subcommand of virsh that opens the XML configuration of a virtual network in an editor in order to make changes to that configuration is net-edit1. This subcommand takes the name or UUID of the network as a parameter and opens the network XML file in the default editor, which is specified by the $EDITOR shell variable1. The changes made to the network configuration are applied immediately after saving and exiting the editor1.
References:
* 1: net-edit - libvirt.
高杉** -
305-300日本語版本番試験に無事合格いたしました。91%で合格しました。問題の重要点を理解すれば、この一つの問題集で余裕です。