100%無料EX407試験問題集で試験を簡単に合格させます [Q17-Q34]

Rate this post

100%無料EX407試験問題集で試験を簡単に合格させるPassTest

無料EX407試験問題EX407実際のリアル試験問題

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

トピック 出題範囲
トピック 1
  • 管理対象ノードの作成
  • SSHキーを作成して管理対象ノードに配布
トピック 2
  • ドラマとプレイブックを作成できない
  • 既存の動的インベントリプログラムを使用する
  • エラー処理を構成する
トピック 3
  • 機能ソフトウェアパッケージとストレージ、サービス、ファイアウォールルール、ファイルシステム、ストレージデバイス、ファイルコンテンツ、スケジュールされたタスクで動作するシステムモジュールを使用します
トピック 4
  • 提供されているドキュメントを使用して、使用可能なモジュールとコマンドに関する特定の情報を取得します
  • 機密データを保護するには、ユーザーガイドのAnsibleVaultを使用してください
トピック 5
  • 静的ホストインベントリファイルの作成
  • 構成ファイルの作成
トピック 6
  • 互換性のあるコントロールユニットをインストールして構成します
  • 必要なパッケージをインストールします

 

質問 17
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.

質問 18
Which of the following are sub commands of the ansible-galaxy command? (Choose all that apply.)

 
 
 
 

質問 19
Create a file called requirements.yml in /home/sandy/ansible/roles to install two roles. The source for the first role is geerlingguy.haproxy and geerlingguy.php. Name the first haproxy-role and the second php-role. The roles should be installed in /home/sandy/ansible/roles.

質問 20
Create a playbook called webdev.yml in ‘home/sandy/ansible. The playbook will create a directory Avcbdev on dev host. The permission of the directory are 2755 and owner is webdev. Create a symbolic link from /Webdev to /var/www/html/webdev. Serve a file from Avebdev7index.html which displays the text “Development” Curl http://node1.example.com/webdev/index.html to test

質問 21
You are taking over for someone while they are away on leave. You need to run a playbook against over 600 servers. When you run the playbook you notice that only 10 servers are worked on at any one time.
How would you fix this so that you can have 50 servers worked on at the same time?

 
 
 
 

質問 22
Which are of the following are valid uses of a role’s meta directory? (Choose all that apply.)

 
 
 
 

質問 23
Which keywords will cause a role to be applied in a playbook? (Choose all that apply.)

 
 
 
 

質問 24
What formats may variables specified on the command line use when not using a file with the -e flag?
(Choose all that apply.)

 
 
 
 

質問 25
Which command is the correct way to run the playbook /home/ansible/Buildwww.yml using the inventory file
/home/ansible/inventory, assuming your present working directory is /home/ansible?

 
 
 
 

質問 26
A dynamic inventory must return data in what format?

 
 
 
 

質問 27
Create a file called mysecret.yml on the control host using ansible vault in home/bob/ansible. Set the password to ‘notasafepass’ and inside the file create a variable called dev_pass with the value of devops. Save the file.
Then go back in the file and change dev_pass value to devops123. Then change the vault password of mysecret.yml to verysafepass

質問 28
Install and configure ansible
Userbobhas been created on your control node. Give him the appropriate permissions on thecontrol node.
Install the necessary packages to run ansible on the control node.
Create a configuration file /home/bob/ansible/ansible.cfg to meet the following requirements:
* The roles path should include /home/bob/ansible/roles, as well as any otherpath that may be required for the course of the sample exam.
* The inventory file path is /home/bob/ansible/inventory.
* Ansible should be able to manage 10 hosts at a single time.
* Ansible should connect to all managed nodes using the bobuser.
Create an inventory file for the following five nodes:
nodel.example.com
node2.example.com
node3.example.com
node4.example.com
node5.example.com
Configure these nodes to be in an inventory file where node1 is a member of groupdev.nodc2 is a member of group test, nodc3 is a member of group nodc4 and node 5 are members of groupprod.Also,prodis a member of group webservers.

質問 29
What type of credential is used for accessing system accounts on your remote Linux hosts via SSH in Ansible Tower?

 
 
 
 

質問 30
In /home/sandy/ansible/ create a playbook called logvol.yml. In the play create a logical volume called Iv0 and make it of size 1500MiB on volume group vgO If there is not enough space in the volume group print a message “Not enough space for logical volume” and then make a 800MiB Iv0 instead. If the volume group still doesn’t exist, create a message “Volume group doesn’t exist” Create an xfs filesystem on all Iv0 logical volumes. Don’t mount the logical volume.

質問 31
Create a role called sample-apache in /home/sandy/ansible/roles that enables and starts httpd, enables and starts the firewall and allows the webserver service. Create a template called index.html.j2 which creates and serves a message from /var/www/html/index.html Whenever the content of the file changes, restart the webserver service.
Welcome to [FQDN] on [IP]
Replace the FQDN with the fully qualified domain name and IP with the ip address of the node using ansible facts. Lastly, create a playbook in /home/sandy/ansible/ called apache.yml and use the role to serve the index file on webserver hosts.

質問 32
State whether the following statement is true or false.
The correct structure for use with roles has the various portions of the role under a central folder.
E.g. if the role is called apache then the location of the tasks would be the following:
apache – tasks – main.yml

 
 

質問 33
Where is Ansible’s inventory stored by default?

 
 
 
 

質問 34
===================================================================================
control.realmX.example.com _ workstation.lab.example.com
node1.realmX.example.com _ servera.lab.example.com
node2.realmX.example.com _ serverb.lab.example.com
node3.realmX.example.com _ serverc.lab.example.com
node4.realmX.example.com _ serverd.lab.example.com
node5.realmX.example.com
– username:root, password:redhat
– username:admin, password:redhat
note1. don’t change ‘root’ or ‘admin’ password.
note2. no need to create ssh-keygen for access, its pre-defined
note3. SELinux is in enforcing mode and firewalld is disabled/stop on whole managed hosts.
Rekey an existing Ansible vault as follows:
———————————————–
* Download Ansible vault from http:// classroom.example.com /secret.yml to /home/
admin/ansible/
* The current vault password is curabete
* The new vault password is newvare
* The vault remains in an encrypted state with the new password


最新100%合格率保証付きの素晴らしいEX407試験問題PDF:https://www.passtest.jp/RedHat/EX407-shiken.html

         

Related Links: myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

Enter the text from the image below