Courseiva
mediumMultiple SelectObjective-mapped

XK0-006 Practice Question: Which TWO of the following are valid methods to…

Which TWO of the following are valid methods to enforce disk quota limits on a Linux filesystem? (Select TWO.)

⚠ Common exam trap

Many candidates confuse commands that set or check quotas (edquota, setquota, repquota, quotacheck) with the actual enforcement mechanism (quotaon), leading them to select multiple configuration or reporting commands instead of the one that activates enforcement.

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

Using 'edquota' to set soft and hard limits for users

'edquota' is the standard interactive command used to set soft and hard disk quota limits for users or groups on a Linux filesystem. It opens the user's quota settings in a text editor, allowing precise configuration of block and inode limits. Option E is correct because 'quotaon' is the command that enables quota enforcement on a specified filesystem, activating the quota subsystem after limits have been defined.

Answer analysis

Option-by-option breakdown

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

  • Using 'edquota' to set soft and hard limits for users

    Why this is correct

    Setting limits with edquota prepares enforcement when quotas are on.

  • Using 'setquota' to set limits in a script

    Why it's wrong here

    setquota sets limits but does not enforce; enforcement requires quotaon.

  • Running 'repquota' to generate reports

    Why it's wrong here

    repquota only reports usage, does not enforce.

  • Running 'quotacheck' to update quota files

    Why it's wrong here

    quotacheck scans and updates, but does not enforce limits.

  • Running 'quotaon' on the filesystem

    Why this is correct

    quotaon activates quota enforcement.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.