nerdexam
Linux_Foundation

LFCS · Question #751

Which of the following commands is run LAST during boot on a system with quotas enabled?

The correct answer is D. quotaon. When quotas are enabled on a Linux system, quotaon is the last command executed related to quota management during boot, as it activates the quota enforcement after file systems are checked and mounted and quotacheck has prepared the quota files.

Submitted by packet_pusher· Apr 18, 2026Storage Management

Question

Which of the following commands is run LAST during boot on a system with quotas enabled?

Options

  • Afsck
  • Bmount
  • Cquotacheck
  • Dquotaon

How the community answered

(20 responses)
  • C
    5% (1)
  • D
    95% (19)

Why each option

When quotas are enabled on a Linux system, `quotaon` is the last command executed related to quota management during boot, as it activates the quota enforcement after file systems are checked and mounted and `quotacheck` has prepared the quota files.

Afsck

`fsck` runs early to check filesystem integrity, before quotas are enabled.

Bmount

`mount` runs after `fsck` but before quota services are fully activated.

Cquotacheck

`quotacheck` prepares the quota files but does not activate the quota system itself; `quotaon` performs the activation.

DquotaonCorrect

During the boot process on a system with quotas, `fsck` first checks file system integrity, then `mount` makes the file systems available. Next, `quotacheck` is run to verify and repair quota database files. Finally, `quotaon` is executed to activate the quota system, making it the last quota-related command to run during boot.

Concept tested: Linux boot sequence (quotas)

Source: https://learn.microsoft.com/en-us/windows-server/administration/linux-reference/linux-commands/quota

Topics

#Boot process#Disk quotas#Filesystem management

Community Discussion

No community discussion yet for this question.

Full LFCS Practice