リアルEX294問題集でRedHat正確な解答2022年最新版を試そう [Q11-Q34]

Share

リアルEX294問題集でRedHat正確な解答2022年最新版を試そう

RHCE EX294試験練習問題集


RedHat EX294 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • 提供されているドキュメントを使用して、使用可能なモジュールとコマンドに関する特定の情報を入手してください
トピック 2
  • ローカルストレージ
  • オペレーティングシステムの構成
トピック 3
  • 機密データを保護するには、ユーザーガイドのAnsibleVaultを使用してください
  • 追加の拡張機能を利用してください
トピック 4
  • 変数を使用してコマンド実行の結果を取得します
  • 条件を使用してゲームの進行を制御します
トピック 5
  • SSHキーを作成し、それらを管理対象ノードに配布します
  • 静的不変条件を作成して使用し、ホストグループを定義します
トピック 6
  • ファイルシステムの作成と構成
  • ユーザーとグループの管理
  • セキュリティ管理
トピック 7
  • 機能ソフトウェアパッケージとストレージ、ファイアウォールルール、ストレージデバイス、ユーザーとグループで動作するシステムモジュールを使用する
トピック 8
  • 特定の状況に合わせてシステムを構成するための取扱説明書を作成する
  • 頻繁に使用されるAnsibleユニットの操作方法を学ぶ
トピック 9
  • 互換性のあるコントロールユニットをインストールして構成する
  • 静的ホストインベントリファイルを作成する
  • 構成ファイルを作成する
トピック 10
  • Ansibleカスタムコマンドを使用して、機能構成が正しいことを確認します
トピック 11
  • 基本的なツールを理解して使用する
  • システムの導入、構成、およびメンテナンス
トピック 12
  • ドラマやプレイブックを作成できない
  • 必要なパッケージをインストールする
  • 並列管理
トピック 13
  • Ancibel Exams、Units、Variable、Factsの主要コンポーネントを理解し、マニュアルを再生し、構成ファイルを作成します
トピック 14
  • 簡単なスクリプトを作成する
  • エラー処理を構成する
  • ロールを操作する
  • AnsibleGalaxyからロールをダウンロードして使用する

 

質問 11
Create the users in the file usersjist.yml file provided. Do this in a playbook called users.yml located at /home/sandy/ansible. The passwords for these users should be set using the lock.yml file from TASK7. When running the playbook, the lock.yml file should be unlocked with secret.txt file from TASK 7.
All users with the job of 'developer' should be created on the dev hosts, add them to the group devops, their password should be set using the pw_dev variable. Likewise create users with the job of 'manager' on the proxy host and add the users to the group 'managers', their password should be set using the pw_mgr variable.

  • A. ansible-playbook users.yml -vault-password-file=secret.txt
  • B. ansible-playbook users.yml -vault-password-file=secret.txt

正解: B

 

質問 12
Create a jinja template in /home/sandy/ansible/ and name it hosts.j2. Edit this file so it looks like the one below. The order of the nodes doesn't matter. Then create a playbook in /home/sandy/ansible called hosts.yml and install the template on dev node at /root/myhosts

  • A. Solution as:
  • B. Solution as:

正解: B

 

質問 13
Install and configure ansible
User sandy has been created on your control node with the appropriate permissions already, do not change or modify ssh keys. Install the necessary packages to run ansible on the control node. Configure ansible.cfg to be in folder /home/sandy/ansible/ansible.cfg and configure to access remote machines via the sandy user. All roles should be in the path /home/sandy/ansible/roles. The inventory path should be in /home/sandy/ansible/invenlory.
You will have access to 5 nodes.
node1.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node I is a member of group dev. nodc2 is a member of group test, node3 is a member of group proxy, nodc4 and node 5 are members of group prod. Also, prod is a member of group webservers.

  • A. In/home/sandy/ansible/ansible.cfg
    [defaults]
    inventory=/home/sandy/ansible/inventory
    roles_path=/home/sandy/ansible/roles
    remote_user= sandy
    host_key_checking=false
    [privilegeescalation]
    become=true
    become_user=root
    become_ask_pass=false
    In /home/sandy/ansible/inventory
    [dev]
    node 1 .example.com
    [test]
    node2.example.com
    node4.example.com
    node5 .example.com
    [webservers:children]
    prod
  • B. In/home/sandy/ansible/ansible.cfg
    [defaults]
    inventory=/home/sandy/ansible/inventory
    roles_path=/home/sandy/ansible/roles
    remote_user= sandy
    host_key_checking=false
    [privilegeescalation]
    become=true
    become_user=root
    become_method=sudo
    become_ask_pass=false
    In /home/sandy/ansible/inventory
    [dev]
    node 1 .example.com
    [test]
    node2.example.com
    [proxy]
    node3 .example.com
    [prod]
    node4.example.com
    node5 .example.com
    [webservers:children]
    prod

正解: B

 

質問 14
Create a playbook that changes the default target on all nodes to multi-user tarqet. Do this in playbook file called target.yml in /home/sandy/ansible

  • A. - name: change default target
    hosts: all
    tasks:
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link
  • B. - name: change default target
    hosts: all
    - name: change target
    file:
    src: /usr/lib/systemd/system/multi-user.target dest: /etc/systemd/system/default.target state: link

正解: A

 

質問 15
Create a playbook called timesvnc.yml in /home/sandy/ansible using rhel system role timesync. Set the time to use currently configured nip with the server 0.uk.pool.ntp.org. Enable burst. Do this on all hosts.

  • A. Solution as:
  • B. Solution as:

正解: B

 

質問 16
Create an empty encrypted file called myvault.yml in /home/sandy/ansible and set the password to notsafepw. Rekey the password to iwejfj2331.

  • A. ansible-vault create myvault.yml
    Create new password: notsafepw Confirm password: notsafepw ansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2221 Confirm password: iwejfj2221
  • B. ansible-vault create myvault.yml
    Create new password: notsafepw Confirm password: notsafepw ansible-vault rekey myvault.yml Current password: notsafepw New password: iwejfj2331 Confirm password: iwejfj2221

正解: A

 

質問 17
Create a playbook called regulartasks.yml which has the system that append the date to /root/datefile every day at noon. Name is job 'datejob'

  • A. Solution as:
  • B. Solution as:

正解: A

 

質問 18
Create an ansible vault password file called lock.yml with the password reallysafepw in the /home/sandy/ansible directory. In the lock.yml file define two variables. One is pw_dev and the password is 'dev' and the other is pw_mgr and the password is 'mgr' Create a regular file called secret.txt which contains the password for lock.yml.

  • A. ansible-vault create lock.yml
    New Vault Password: reallysafepw
  • B. ansible-vault create lock.yml
    New Vault Password: reallysafepw
    Confirm: reallysafepw

正解: B

 

質問 19
......

EX294試験合格を準備するため 今すぐ弊社のRHCE試験パッケージお試そう:https://www.goshiken.com/RedHat/EX294-mondaishu.html