Refer to the exhibit. An administrator attempts to recover a corrupted standalone mongod instance using the --repair flag. Based on the error log output, what is the most appropriate next step for the administrator?
Since the --repair process failed with a critical WiredTiger read error, the data files are too corrupted for the built-in tools to salvage. The most reliable and standard administrative response is to wipe the corrupted directory and restore the database from a verified backup to ensure consistency.
Why this answer
The --repair flag is a last-resort tool that attempts to salvage data from corrupted files, but it cannot fix severe filesystem or metadata corruption where blocks are missing or unreadable. The 'Short read' error indicates physical or logical corruption that WiredTiger cannot bypass. In this scenario, restoring from a known-good backup is the only reliable way to ensure data integrity.
Exam trap
Candidates often rely on --repair as a 'fix-all' solution, not realizing that severe corruption, such as short reads, indicates physical data loss that repair cannot resolve.