Question 260
A Red Hat administrator must investigate: A capacity script compares output of df that contains a header and a percent sign as though it were a plain integer. What is the most relevant diagnostic step?
Explanation
Correct Answer
The first useful check is: Inspect the command output and extraction of the intended numeric field. The reported scenario is: A capacity script compares output of df that contains a header and a percent sign as though it were a plain integer. A responsible next step after confirming that evidence is to normalize and validate the selected numeric capacity value before numerical comparison. This prevents an unrelated configuration change and leaves a measurable result: threshold tests produce the right branch for representative low and high values.
Incorrect Answers
Review the command's machine-friendly exit status or concise output interface. The check concerns the command's machine-friendly exit status or concise output interface, not inspecting the command output and extraction of the intended numeric field.
Review how command substitution and whitespace splitting affect discovered file paths. This assesses how command substitution and whitespace splitting affect discovered file paths; it does not determine the reported condition—a capacity script compares output of df that contains a header and a percent sign as though it were a plain integer.
Check whether command substitution is evaluated or treated as literal text. The case-specific requirement is inspecting the command output and extraction of the intended numeric field, which that option does not establish.