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 EX294 Exam - Topic 17 Question 13 Discussion

Posted by Brett on Aug 02, 2022 at 02:44 PM

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

Suggested Answer: A

Get Premium EX294 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
16 comments · newest first
RI
Rikki 1 year ago
I think it’s missing error handling for the get_url task.
FL
Florinda 1 year ago
This is a solid approach, but I’d double-check the regex.
LA
Lavonna 1 year ago
Wait, does the BIOS version really get pulled automatically?
TH
Theron 1 year ago
Agree, but what if vdb doesn't exist?
VA
Vanna 1 year ago
Sounds straightforward, just need to pull the right facts.
PE
Penney 1 year 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.
HA
Haydee 1 year 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.
RO
Rosalia 1 year 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.
AB
Abel 1 year 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.
BE
Belen 1 year 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.
GA
Gail 1 year 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.
AL
Alexis 1 year 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.
KI
Kirby 1 year 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.
ST
Stephaine 1 year 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."
PO
Polly 1 year ago
I'm leaning towards option B, 23, but I just can't recall if I mixed up some dependencies during my practice.
CH
Cherelle 1 year 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?
0/2000 characters

Save Cancel