Question 237 of 522
Devices, Filesystems and FHShardMultiple ChoiceObjective-mapped

Quick Answer

The answer is `mdadm --detail /dev/md0`. This command is the correct choice because it provides a comprehensive snapshot of the RAID array’s current state, including whether it is degraded, the number of active and failed devices, and the progress of any resync or rebuild operation. When an administrator adds a new disk to a degraded array, `mdadm --detail` reveals if the new device has been properly integrated or if a component is still missing or failed, which is exactly the information needed to diagnose why the array remains degraded. On the LPIC-1 exam, this question tests your ability to manage software RAID with mdadm, a key objective under the “Storage Management” domain. A common trap is confusing `--detail` with `--query`; remember that `--detail` gives the full status, while `--query` only shows a brief summary. Memory tip: “Detail reveals the whole tale” – use `--detail` when you need the full story on your RAID health.

LPIC-1 Devices, Filesystems and FHS Practice Question

This LPIC-1 practice question tests your understanding of devices, filesystems and fhs. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A Linux system has a software RAID1 array /dev/md0 consisting of /dev/sda1 and /dev/sdb1. After replacing a failed disk, the administrator runs 'mdadm --manage /dev/md0 --add /dev/sdc1', but the array remains degraded. Which command should be used to check the status of the array?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "which command"

    Why it matters: Tests specific CLI syntax. Recall the exact command and its required context — near-synonyms and partial matches are common distractors.

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

mdadm --detail /dev/md0

The `mdadm --detail /dev/md0` command displays the current state of the RAID array, including its status (e.g., degraded, active), the number of active and failed devices, and the sync/resync progress. Since the array remains degraded after adding a new disk, this command will show whether the new disk has been properly integrated or if there is an underlying issue, such as a missing or failed component.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • mdadm --examine /dev/sdc1

    Why it's wrong here

    Examines superblock on a device, not array status.

  • mdadm --version

    Why it's wrong here

    Shows version, not status.

  • mdadm --detail /dev/md0

    Why this is correct

    Correct: shows detailed array status.

    Clue confirmation

    The clue word "which command" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • mdadm --query /dev/md0

    Why it's wrong here

    Shows brief status, may not show details.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse `--examine` (which inspects a disk's superblock) with `--detail` (which shows the array's overall state), leading them to choose Option A when they need to check the array's degraded status rather than a single disk's metadata.

Trap categories for this question

  • Command / output trap

    Shows version, not status.

Detailed technical explanation

How to think about this question

Under the hood, `mdadm --detail` reads the sysfs files under `/sys/block/md0/md/` and the kernel's md driver metadata to present a comprehensive view, including the RAID level, chunk size, and each component device's role (active, spare, faulty). In a real-world scenario, if a newly added disk has a stale superblock or is too small, `--detail` will show it as a spare or as 'removed' rather than as an active device, helping the administrator pinpoint the failure.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the LPIC-1 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related LPIC-1 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free LPIC-1 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this LPIC-1 question test?

Devices, Filesystems and FHS — This question tests Devices, Filesystems and FHS — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: mdadm --detail /dev/md0 — The `mdadm --detail /dev/md0` command displays the current state of the RAID array, including its status (e.g., degraded, active), the number of active and failed devices, and the sync/resync progress. Since the array remains degraded after adding a new disk, this command will show whether the new disk has been properly integrated or if there is an underlying issue, such as a missing or failed component.

What should I do if I get this LPIC-1 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "which command". Tests specific CLI syntax. Recall the exact command and its required context — near-synonyms and partial matches are common distractors.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.