XK0-005 · Question #747
XK0-005 Question #747: Real Exam Question with Answer & Explanation
The correct answer is C: rpmdb --rebuilddb. {"question_number": 4, "correct_answer": "C", "explanation": "rpmdb --rebuilddb is the correct command. It rebuilds the RPM database from the package header files already installed on the system, which recovers from database corruption. 'rpmdb -D rebuild' (A) is not a valid rpmdb
Question
After trying to install an RPM package unsuccessfully, a systems administrator verifies the integrity of the package's database. The administrator discovers that the database is corrupted and needs to be recreated. Which of the following commands will help accomplish this task?
Options
- Arpmdb -D rebuild
- Brpmdb --initdb
- Crpmdb --rebuilddb
- Drpmdb --exportdb
Explanation
{"question_number": 4, "correct_answer": "C", "explanation": "rpmdb --rebuilddb is the correct command. It rebuilds the RPM database from the package header files already installed on the system, which recovers from database corruption. 'rpmdb -D rebuild' (A) is not a valid rpmdb syntax. 'rpmdb --initdb' (B) creates a new, empty database and does not restore package records from existing installed packages - using it on a live system would lose all package tracking data. 'rpmdb --exportdb' (D) exports the current database contents and cannot be used to fix corruption.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.