Skip to content

Linux+ XK0-006 practice question 15: Troubleshooting

A server can reach other hosts by IP address but name lookups fail. Which file should be checked first for the resolver configuration?

The options

  • A. /etc/crontab
  • B. /etc/fstab
  • C. /etc/sudoers
  • D. /etc/resolv.conf, or the systemd-resolved settings that manage it

Answer and why

The correct answer is D: /etc/resolv.conf, or the systemd-resolved settings that manage it

A. That file schedules jobs, not names.

B. That file controls mounts and has no effect on name resolution.

C. That file controls privilege delegation.

D. Failing names with working IPs points at the DNS resolver settings.

What Troubleshooting tests

Troubleshooting is the largest practical skill: reading logs, finding resource exhaustion and tracing network and permission failures. The right first step is the one that gathers evidence before changing anything.

Troubleshooting is 22% 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.

Keep going

This is question 15 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.