لا تريد أن تفوت شيئا؟

نصائح اجتياز امتحان الشهادة

آخر أخبار الامتحانات ومعلومات الخصم

برعاية وحديثة من قبل خبرائنا

نعم، أرسل لي النشرة الإخبارية

خذ اختبارات أخرى عبر الإنترنت

السؤال #1
When using Ansible facts, what should you look for to get information about discovered disks?
A. ansible_disks
B. ansible_devices
C. ansible_mounts
D. ansible_device_links
عرض الإجابة
اجابة صحيحة: B
السؤال #2
What can you use to set a variable inside a task, based on discovered Ansible facts?
A. set
B. set_vars
C. vars
D. set_facts
عرض الإجابة
اجابة صحيحة: D
السؤال #3
Create user accounts ------------------------ --> A list of users to be created can be found in the file called user_list.yml which you should download from http://classroom.example.com/user_list.yml and save to /home/admin/ansible/ --> Using the password vault created elsewhere in this exam, create a playbook called create_user.yml that creates user accounts as follows: --> Users with a job description of developer should be: --> created on managed nodes in the "dev" and "test" host groups assigned the pas
A. Explanation:
عرض الإجابة
اجابة صحيحة: A
السؤال #4
Which statement about using YAML lists in playbooks is true?
A. Any module can use a YAML list to specify the names of items that need to be processed
B. YAML lists can be used at a play level, not at a tasks level
C. The service module does not support YAML lists to manage multiple servers
D. A YAML list can be used to run multiple modules
عرض الإجابة
اجابة صحيحة: C
السؤال #5
Create a playbook called hwreport.yml that produces an output file called /root/ hwreport.txt on all managed nodes with the following information: ------------------------------------------------------------------------------------------------------ --> Inventory host name --> Total memory in MB --> BIOS version --> Size of disk device vda --> Size of disk device vdb Each line of the output file contains a single key-value pair. * Your playbook should: --> Download the file hwreport.empty from the URL http:
A. Explanation:
عرض الإجابة
اجابة صحيحة: A
السؤال #6
After you set an SELinux context, the Linux restorecon command must be executed. How would you do this?
A. Use the command module to run the restorecon command
B. Use the restorecon module
C. Use the selinux module
D. No further action is needed; this is done automatically when using the appropriate SELinux module
عرض الإجابة
اجابة صحيحة: A
السؤال #7
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. See the Explanation for complete Solution below
عرض الإجابة
اجابة صحيحة: A
السؤال #8
Modify file content. ------------------------ Create a playbook called /home/admin/ansible/modify.yml as follows: * The playbook runs on all inventory hosts * The playbook replaces the contents of /etc/issue with a single line of text as follows: --> On hosts in the dev host group, the line reads: ''Development'' --> On hosts in the test host group, the line reads: ''Test'' --> On hosts in the prod host group, the line reads: ''Production''
A. Explanation:
عرض الإجابة
اجابة صحيحة: A
السؤال #9
How can the result of a command be used as a variable in Ansible?
A. Get it from Ansible facts
B. Use the command_facts module
C. Use the register parameter
D. Redirect the standard output to a file and analyze that
عرض الإجابة
اجابة صحيحة: C
السؤال #10
Create Logical volumes with lvm.yml in all nodes according to following requirements. ---------------------------------------------------------------------------------------- * Create a new Logical volume named as 'data' * LV should be the member of 'research' Volume Group * LV size should be 1500M * It should be formatted with ext4 file-system. --> If Volume Group does not exist then it should print the message "VG Not found" --> If the VG can not accommodate 1500M size then it should print "LV Can not be
A. Explanation:
عرض الإجابة
اجابة صحيحة: A
السؤال #11
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. See the Explanation for complete Solution below
عرض الإجابة
اجابة صحيحة: A
السؤال #12
Each play must have at least three parameters in its header. Which of the following is not one of them?
A. hosts
B. tasks
C. name
D. become
عرض الإجابة
اجابة صحيحة: D
السؤال #13
Create a file called requirements.yml /home/sandy/ansible/roles in a file called role.yml in /home/sandy/ansible/. The haproxy-role should be used on the proxy host. And when you curl http://node3.example.com it should display "Welcome tonode4.example.com" and when you curl again "Welcome tonode5.example.com"The php-role should be used on the prod host.
A. See the Explanation for complete Solution below
عرض الإجابة
اجابة صحيحة: A
السؤال #14
Create a playbook called webdev.yml 'home/sandy/ansible in . 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://nod e1.example.com/webdev/index.htmlto test
A. See the Explanation for complete Solution below
عرض الإجابة
اجابة صحيحة: A
السؤال #15
Which argument must be used in the parted module to create GPT partitions?
A. label: gpt
B. type: gpt
C. table: gpt
D. state: gpt
عرض الإجابة
اجابة صحيحة: A
السؤال #16
Custom facts have different requirements. Which of the following is not one of them?
A. Custom facts must be stored on the managed host in the directory /etc/ansible/facts
B. Custom fact files must be executable
C. Custom facts are written in INI or JSON format
D. Custom fact files must use the
عرض الإجابة
اجابة صحيحة: B
السؤال #17
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
A. Explanation:
عرض الإجابة
اجابة صحيحة: A
السؤال #18
In which role directory should you define role variables that are not supposed to be overwritten from a playbook?
A. vars
B. meta
C. files
D. defaults
عرض الإجابة
اجابة صحيحة: A
السؤال #19
You want to use the cron module to write the current time to a file. Which notation do you need to use? (Choose two.)
A. job: echo rebooted at {{ ansible_facts[’date_time’][’time] }} >> /tmp/rebooted
B. job: echo rebooted at {{ ansible_date_time
C. job: echo rebooted at $(datE
D. job: echo rebooted at `date` >> /tmp/rebooted
عرض الإجابة
اجابة صحيحة: CD

عرض الإجابات بعد التقديم

يرجى إرسال البريد الإلكتروني الخاص بك والواتس اب للحصول على إجابات الأسئلة.

ملحوظة: يرجى التأكد من صلاحية معرف البريد الإلكتروني وWhatsApp حتى تتمكن من الحصول على نتائج الاختبار الصحيحة.

بريد إلكتروني:
رقم الواتس اب/الهاتف: