Courseiva
Configure local storagehardMultiple ChoiceObjective-mapped

EX200 Configure local storage Practice Question

An administrator needs to ensure that a specific LVM logical volume is automatically mounted at boot with the 'noexec' option. Which configuration file and entry should be used?

⚠ Common exam trap

Many candidates confuse the purpose of /etc/fstab with boot scripts like rc.local, or they forget that mount options in fstab must be comma-separated and include 'defaults' to ensure all standard options are explicitly set before overriding them.

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

/etc/fstab: /dev/vg/lv /mnt ext4 defaults,noexec 0 0

/etc/fstab is the standard configuration file for defining filesystem mount points and options that are applied automatically at boot. The entry specifies the logical volume device, mount point, filesystem type, and mount options including 'noexec' to prevent execution of binaries on that filesystem. The 'defaults' keyword ensures standard mount behavior is applied before the 'noexec' option overrides the exec permission.

Answer analysis

Option-by-option breakdown

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

  • /etc/fstab: /dev/vg/lv /mnt ext4 noexec 0 0

    Why it's wrong here

    Missing 'defaults' before noexec; 'noexec' alone is acceptable but typically combined with defaults.

  • /etc/rc.d/rc.local: mount /dev/vg/lv /mnt -o noexec

    Why it's wrong here

    Not the standard method; fstab is used for automatic boot mounts.

  • /etc/fstab: /dev/vg/lv /mnt ext4 defaults,noexec 0 0

    Why this is correct

    Correct fstab entry.

  • /etc/rc.local: mount -o noexec /dev/vg/lv /mnt

    Why it's wrong here

    rc.local is not the standard way; fstab is preferred for boot-time mounts.

About these practice questions

This EX200 question is part of Courseiva's 127-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.