Linux+ XK0-006 practice question 2: System management
A new disk partition has been formatted and must be mounted at boot. Which file should the administrator add an entry to?
The options
- A. /etc/resolv.conf
- B. /etc/passwd
- C. /etc/hosts
- D. /etc/fstab
Answer and why
The correct answer is D: /etc/fstab
A. This file configures DNS resolvers.
B. This file holds user account records.
C. This file maps names to addresses and has no mount entries.
D. fstab lists filesystems to mount at boot, with their options.
What System management tests
System management is storage, boot, packages, processes and networking basics. Distractors are real commands for a neighboring job, so match the tool to the object the stem names: a block device, a package, a process or an interface.
System management is 23% of the XK0-006 exam. The exam has 90 questions in 90 minutes, so this question is a slice of the real mix, not a prediction of your result.
Try these next
Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.
- An administrator needs to see which block devices are attached, with their sizes and mount points, in a tree. Which command does that?
- A package must be installed on a Debian-based system and its dependencies resolved automatically. Which command does this?
- A service unit file was edited on a systemd host. What must the administrator run so systemd reads the change before restarting the service?
- A file must be readable and writable by its owner, readable by the group and inaccessible to everyone else. Which mode does that?
Keep going
This is question 2 of 15 in the free Linux+ XK0-006 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.