nerdexam
CompTIA

XK0-005 · Question #110300

An administrator is unable to sync servers to the new NTP server IP address given by the service provider despite several attempts. Looking at the below output: Which of the following commands will…

The correct answer is D. firewall-cmd -- reload. The command 'firewall-cmd --reload' reloads the firewall rules without interrupting existing connections, applying any newly added rules immediately. If the administrator had added a firewall rule to allow NTP traffic (UDP port 123) to the new NTP server but had not reloaded…

System Management

Question

An administrator is unable to sync servers to the new NTP server IP address given by the service provider despite several attempts. Looking at the below output: Which of the following commands will help resolve the issue?

Options

  • Afirewall-cmd --check-config
  • Bfirewall-cmd --state
  • Cfirewall-cmd -complete-reload
  • Dfirewall-cmd -- reload

How the community answered

(55 responses)
  • A
    13% (7)
  • B
    2% (1)
  • C
    5% (3)
  • D
    80% (44)

Explanation

The command 'firewall-cmd --reload' reloads the firewall rules without interrupting existing connections, applying any newly added rules immediately. If the administrator had added a firewall rule to allow NTP traffic (UDP port 123) to the new NTP server but had not reloaded the firewall, the new rule would not be active. A reload applies the pending configuration changes. Option A checks config syntax but doesn't apply changes. Option B only shows the running state of the firewall. Option C uses incorrect syntax (single dash instead of double dash for --complete-reload).

Topics

#firewall-cmd#Firewall reload#NTP#Network service management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice