XK0-005 · Question #1344
XK0-005 Question #1344: Real Exam Question with Answer & Explanation
The correct answer is A: lspci | egrep 'hba|fibr'. {"question_number": 6, "question": "Which command confirms an HBA card was installed on the server?", "correct_answer": "A", "explanation": "'lspci' lists all PCI devices connected to the system, including HBA (Host Bus Adapter) and Fibre Channel cards. Piping through 'egrep' (ex
Question
A junior systems administrator recently installed an HBA card in one of the servers that is deployed for a production environment. Which of the following commands can the administrator use to confirm on which server the card was installed?
Options
- Alspci | egrep 'hba|fibr'
- Blspci | zgrep 'hba|fibr'
- Clspci | pgrep 'hba|fibr'
- Dlspci | 'hba|fibr'
Explanation
{"question_number": 6, "question": "Which command confirms an HBA card was installed on the server?", "correct_answer": "A", "explanation": "'lspci' lists all PCI devices connected to the system, including HBA (Host Bus Adapter) and Fibre Channel cards. Piping through 'egrep' (extended grep) allows the use of the pipe character '|' as a logical OR in the regex pattern, so 'egrep 'hba|fibr'' searches for lines containing either 'hba' or 'fibr'. Option B uses 'zgrep', which is for searching compressed files. Option C uses 'pgrep', which searches running processes by name. Option D is syntactically invalid - piping directly to a bare string is not a valid shell construct.", "generated_by": "claude-sonnet", "llm_judge_score": 3}
Topics
Community Discussion
No community discussion yet for this question.