exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 90 discussion

Actual exam question from CompTIA's XK0-004
Question #: 90
Topic #: 1
[All XK0-004 Questions]

A systems administrator is enabling quotas on the /home directory of a Linux server. The administrator makes the appropriate edits to the /etc/fstab file and attempts to issue the commands to enable quotas on the desired directory. However, the administrator receives an error message stating the filesystem does not support quotas. Which of the following commands should the administrator perform to proceed?

  • A. mount ג€"o remount /home
  • B. quotacheck -cg
  • C. edquota /home
  • D. quotaon /home
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Laurelfree
2 years, 8 months ago
A is correct answer definitely After enabling quotas, the second step should be remounting file system Issue the mount -o remount <file-system> command (where <file-system> is the name of the file system) to remount the file system. For example, to remount the /home file system, the command to issue is mount -o remount /home. See reference https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/ch-disk-quotas B is not accurate as it only creates group quota file, missing user quota file
upvoted 3 times
...
MeisAdriano
3 years, 1 month ago
Selected Answer: A
A: valid, as explained here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/system_administration_guide/implementing_disk_quotas B: (?) C: wrong because edquota should be used on username not on directories D: wrong because in this way the right command should be something like "quotaon -a" to mount automatically non-NFS filesystems in /etc/fstab ; or use "# quotaon -vug /home" command to manipulate user and group quota. I suppose.
upvoted 3 times
...
FilipIT
4 years, 3 months ago
I agree remounting filesystem is second step in setting quotas according to this link https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/system_administration_guide/implementing_disk_quotas
upvoted 2 times
...
francocaorlini
4 years, 4 months ago
Correct Answer is A
upvoted 4 times
nakres64
4 years, 1 month ago
Why? It has already been done after fstab is finished. Administrator must enable the filesystem now with answer D. I think provided answer is correct.
upvoted 4 times
augustogcn
3 years, 1 month ago
Pay attention to the question: The administrator issue the commands to enable quotas on the desired directory. However, the administrator receives an error message stating the filesystem does not support quotas. So, he already tried 'quotaon' and it did not work.
upvoted 2 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago