New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX294 Exam - Topic 17 Question 13 Discussion

Actual exam question for RedHat's EX294 exam
Question #: 13
Topic #: 17
[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:

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:

0/2000 characters
Rikki
4 months ago
I think it’s missing error handling for the get_url task.
upvoted 0 times
...
Florinda
4 months ago
This is a solid approach, but I’d double-check the regex.
upvoted 0 times
...
Lavonna
4 months ago
Wait, does the BIOS version really get pulled automatically?
upvoted 0 times
...
Theron
4 months ago
Agree, but what if vdb doesn't exist?
upvoted 0 times
...
Vanna
4 months ago
Sounds straightforward, just need to pull the right facts.
upvoted 0 times
...
Penney
5 months ago
I recall we discussed using the loop for replacing multiple values, but I’m uncertain if I set up the inventory host name correctly in my playbook.
upvoted 0 times
...
Haydee
5 months ago
I definitely need to double-check the syntax for the replace module; I hope I remember to use the correct regular expressions for vda and vdb sizes.
upvoted 0 times
...
Rosalia
5 months ago
I think we had a similar question about generating reports, but I’m a bit confused about how to handle the "NONE" values for missing hardware.
upvoted 0 times
...
Abel
5 months ago
I remember we practiced creating playbooks that gather system information, but I’m not sure if I included all the required facts like BIOS version in my last attempt.
upvoted 0 times
...
Belen
5 months ago
I remember the loop structure for replacing multiple values in a file, but I’m worried I might mix up the variable names during the exam.
upvoted 0 times
...
Gail
5 months ago
I feel like I need to double-check how to handle the case when a disk device doesn't exist. I think we set it to NONE, but I’m not completely confident.
upvoted 0 times
...
Alexis
5 months ago
I think we did a similar question where we had to output system facts to a file. I hope I can recall the correct variables for memory and BIOS version.
upvoted 0 times
...
Kirby
5 months ago
I remember we practiced creating playbooks that gather system information, but I'm a bit unsure about the exact syntax for the replace module.
upvoted 0 times
...
Stephaine
5 months ago
Okay, I think I've got it. The government mandate is an external factor that the company has to adapt to, but it's not part of their strategic plans. So it seems like the best answer is "B. Enterprise environmental factor."
upvoted 0 times
...
Polly
5 months ago
I'm leaning towards option B, 23, but I just can't recall if I mixed up some dependencies during my practice.
upvoted 0 times
...
Cherelle
5 months ago
I'm a bit confused about how to calculate the annual benefit versus the cost. Does anyone remember if we consider the total cash when computing interest?
upvoted 0 times
...

Save Cancel