Question 410
For this maintenance ticket — A shell maintenance task needs to create nested working directories but fails because the parent directory does not exist — which outcome validates the corrected system state?
Explanation
Correct Answer
A successful acceptance test is that the complete intended directory tree exists without disturbing sibling paths. This relates to the original issue: A shell maintenance task needs to create nested working directories but fails because the parent directory does not exist. The administrator applied a change to create the required parent directories using an appropriate recursive-parent option. Verifying real behavior and subsequent reboot state, where applicable, is stronger than observing a successful command alone.
Incorrect Answers
The source remains readable and the destination has the expected data. That alternative is checked by using a copy operation that preserves the source and verifies the new file location; the actual requirement instead calls for confirming that the complete intended directory tree exists without disturbing sibling paths.
A deliberately failing upstream command makes the inventory job fail visibly. Enabling suitable pipeline failure detection and preserve diagnostic output for the failed producer tests that mechanism, but it does not establish the reported condition—for this maintenance ticket — A shell maintenance task needs to create nested working directories but fails because the parent directory does not exist —.
The obsolete directory is absent and adjacent active files remain intact. Its technical evidence involves removing only the approved files and then the empty directory using the proper operations. For the stated question, confirming that the complete intended directory tree exists without disturbing sibling paths is the more relevant test.