Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat Exam EX294 Topic 6 Question 54 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 54
Topic #: 6
[All EX294 Questions]

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://classroom.example.com/

hwreport.empty and

save it as /root/hwreport.txt

--> Modify with the correct values.

note: If a hardware item does not exist, the associated value should be set to NONE

----------------------------------------------------------------------------------------------

while practising you to create these file hear. But in exam have to download as per

questation.

hwreport.txt file consists.

my_sys=hostname

my_BIOS=biosversion

my_MEMORY=memory

my_vda=vdasize

my_vdb=vdbsize

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Madelyn
20 hours ago
The playbook looks great, but I'm a little worried about the `ignore_errors` setting. What if something goes wrong during the execution, and we miss important information in the output file? Maybe we could add some error handling instead.
upvoted 0 times
...
Doug
8 days ago
Eve
upvoted 0 times
...
Oliva
10 days ago
Yes, the playbook steps are well explained with the necessary tasks.
upvoted 0 times
...
Quentin
15 days ago
I agree, but the solution provided seems clear.
upvoted 0 times
...
Oliva
22 days ago
I think this question is tricky.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77