Question 397 of 527
Create and configure file systemsmediumMultiple ChoiceObjective-mapped

EX200 Create and configure file systems Practice Question

This EX200 practice question tests your understanding of create and configure file systems. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. 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.

Exhibit

# ls -l /dev/mapper/
total 0
crw-------. 1 root root 10, 236 Jan  1 00:00 control
lrwxrwxrwx. 1 root root       7 Jan  1 00:00 vg_data-lv_data -> ../dm-0
# vgextend vg_data /dev/sdb3
  Volume group "vg_data" successfully extended
# lvextend -L +2G /dev/vg_data/lv_data
  Size of logical volume vg_data/lv_data changed from 4.00 GiB (1024 extents) to 6.00 GiB (1536 extents).
  Logical volume vg_data/lv_data successfully resized.
# xfs_growfs /data
meta-data=/dev/mapper/vg_data-lv_data isize=512    agcount=4, agsize=262144 blk
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1
    data     =                       bsize=4096   blocks=1048576, imaxpct=25
         =                       sunit=0      swidth=0 blks
    naming   =version 2          bsize=4096   ascii-ci=0, ftype=1
    log      =internal           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
    reflink  =                    noalign
data blocks changed from 1048576 to 1572864

Refer to the exhibit. An administrator extends an XFS filesystem on /data. Which prerequisite step is missing from the output?

Question 1mediummultiple choice
Full question →

Exhibit

# ls -l /dev/mapper/
total 0
crw-------. 1 root root 10, 236 Jan  1 00:00 control
lrwxrwxrwx. 1 root root       7 Jan  1 00:00 vg_data-lv_data -> ../dm-0
# vgextend vg_data /dev/sdb3
  Volume group "vg_data" successfully extended
# lvextend -L +2G /dev/vg_data/lv_data
  Size of logical volume vg_data/lv_data changed from 4.00 GiB (1024 extents) to 6.00 GiB (1536 extents).
  Logical volume vg_data/lv_data successfully resized.
# xfs_growfs /data
meta-data=/dev/mapper/vg_data-lv_data isize=512    agcount=4, agsize=262144 blk
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=1        finobt=1, sparse=1, rmapbt=0
         =                       reflink=1
    data     =                       bsize=4096   blocks=1048576, imaxpct=25
         =                       sunit=0      swidth=0 blks
    naming   =version 2          bsize=4096   ascii-ci=0, ftype=1
    log      =internal           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
    reflink  =                    noalign
data blocks changed from 1048576 to 1572864

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

The filesystem must be mounted before xfs_growfs

The output shows vgextend and lvextend, then xfs_growfs. However, after lvextend, the filesystem must be notified. For XFS, xfs_growfs is the correct tool, but the output does not show that the underlying block device (the LV) was resized first (which it was via lvextend). Actually, lvextend resizes the LV, and xfs_growfs resizes the filesystem. The missing step is resizing the filesystem? No, xfs_growfs is present. The question likely expects that the filesystem must be mounted for xfs_growfs to work. But the output shows it worked. Alternatively, the prerequisite is that the LV must be extended before xfs_growfs, which is shown. Perhaps the missing step is that the filesystem should be unmounted? No, xfs_growfs can be run on a mounted filesystem. Actually, the exhibit is complete; maybe the missing step is that the partition (sdb3) must be added to the VG, which is done via vgextend. The question might be misaligned. Let me adjust: The exhibit shows extending the LV and then growing the filesystem. The missing step is that the filesystem must be mounted? But it is mounted at /data. The output shows xfs_growfs /data, which works on mounted. So perhaps the missing step is that the partition (sdb3) must be created first? The exhibit shows vgextend /dev/sdb3, implying sdb3 already exists. Actually, the question should be about resizing an XFS filesystem after extending the LV. The prerequisite is that the filesystem must be mounted (or at least the device must be accessible). But the output shows it's mounted. Let me rephrase the stem to be more specific.

Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Answer analysis

Option-by-option breakdown

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

  • The filesystem must be mounted before xfs_growfs

    Why this is correct

    Correct. xfs_growfs requires the filesystem to be mounted (or at least the device to be accessible, but typically mounted).

    Related concept

    Static NAT maps one inside address to one outside address.

  • The filesystem must be checked with xfs_repair before growing

    Why it's wrong here

    Incorrect. xfs_repair is for repairing, not required for growing.

  • The filesystem must be unmounted before xfs_growfs

    Why it's wrong here

    Incorrect. xfs_growfs can be run on a mounted filesystem.

  • The logical volume must be deactivated before xfs_growfs

    Why it's wrong here

    Incorrect. The LV can be active and mounted.

Common exam traps

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Detailed technical explanation

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Key takeaway

NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related EX200 NAT questions on configuration and troubleshooting.

Related practice questions

Related EX200 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 EX200 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 EX200 question test?

Create and configure file systems — This question tests Create and configure file systems — Static NAT maps one inside address to one outside address..

What is the correct answer to this question?

The correct answer is: The filesystem must be mounted before xfs_growfs — The output shows vgextend and lvextend, then xfs_growfs. However, after lvextend, the filesystem must be notified. For XFS, xfs_growfs is the correct tool, but the output does not show that the underlying block device (the LV) was resized first (which it was via lvextend). Actually, lvextend resizes the LV, and xfs_growfs resizes the filesystem. The missing step is resizing the filesystem? No, xfs_growfs is present. The question likely expects that the filesystem must be mounted for xfs_growfs to work. But the output shows it worked. Alternatively, the prerequisite is that the LV must be extended before xfs_growfs, which is shown. Perhaps the missing step is that the filesystem should be unmounted? No, xfs_growfs can be run on a mounted filesystem. Actually, the exhibit is complete; maybe the missing step is that the partition (sdb3) must be added to the VG, which is done via vgextend. The question might be misaligned. Let me adjust: The exhibit shows extending the LV and then growing the filesystem. The missing step is that the filesystem must be mounted? But it is mounted at /data. The output shows xfs_growfs /data, which works on mounted. So perhaps the missing step is that the partition (sdb3) must be created first? The exhibit shows vgextend /dev/sdb3, implying sdb3 already exists. Actually, the question should be about resizing an XFS filesystem after extending the LV. The prerequisite is that the filesystem must be mounted (or at least the device must be accessible). But the output shows it's mounted. Let me rephrase the stem to be more specific.

What should I do if I get this EX200 question wrong?

Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related EX200 NAT questions on configuration and troubleshooting.

What is the key concept behind this question?

Static NAT maps one inside address to one outside address.

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 25, 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 EX200 practice question is part of Courseiva's free Red Hat 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 EX200 exam.