Courseiva
Question 76 of 979
mediumMultiple ChoiceObjective-mapped

XK0-006 Practice Question: A system administrator needs to configure a Linux…

A system administrator needs to configure a Linux server to automatically synchronize time with the NTP pool servers. The server should also act as an NTP peer for other servers on the local network. Which file should be modified, and which directive should be added?

⚠ Common exam trap

Many exam-takers confuse the legacy `ntpd` configuration file (`/etc/ntp.conf`) with the modern `chrony` configuration file (`/etc/chrony/chrony.conf`) and forget that only chrony (or ntpd with proper restrict rules) can act as a server/peer, while systemd-timesyncd is a client-only service.

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

/etc/chrony/chrony.conf with "pool pool.ntp.org iburst" and "allow 192.168.1.0/24"

The system uses chrony (the default NTP implementation on modern RHEL/CentOS 8+ and many other distributions). The `pool` directive with `iburst` synchronizes time from NTP pool servers, and the `allow` directive grants local subnet peers access to the chronyd service, enabling the server to act as an NTP peer for other hosts on 192.168.1.0/24.

Answer analysis

Option-by-option breakdown

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

  • /etc/chrony/chrony.conf with "pool pool.ntp.org iburst" and "allow 192.168.1.0/24"

    Why this is correct

    Correct file and directives for both client sync and allowing other servers to peer.

  • /etc/npt.conf with "peer pool.ntp.org"

    Why it's wrong here

    Typo in filename and 'peer' is not used for NTP pool; also missing allow directive.

  • /etc/systemd/timesyncd.conf with "NTP=pool.ntp.org" and "LocalPort=123"

    Why it's wrong here

    timesyncd is a SNTP client only; it cannot act as a server.

  • /etc/ntp.conf with "server pool.ntp.org iburst"

    Why it's wrong here

    ntpd does not have a built-in 'allow' directive for acting as a peer; also ntp.conf is not typical for newer systems.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.