Courseiva
Essential Tools →easyMultiple Choice

EX200 Essential Tools Practice Question

Which command displays the current system time, timezone, and whether NTP synchronization is active?

⚠ Common exam trap

Candidates often choose `ntpq -p` (option A) because they associate it with NTP, but they overlook that it does not show the system time or timezone, which the question explicitly requires.

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

✓

timedatectl

The `timedatectl` command (option C) is the correct tool in Red Hat Enterprise Linux (RHEL) for querying and configuring system time, timezone, and NTP synchronization status. It displays the current local time, timezone, and whether NTP is active or enabled in a single, clear output, making it the standard utility for these tasks in systemd-based systems.

Answer analysis

Option-by-option breakdown

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

  • ✗

    ntpq -p

    Why it's wrong here

    ntpq -p queries the local NTP daemon and prints a table of configured peer servers, including their stratum, polling interval, reachability, and offset/jitter values. It reports synchronization status with upstream time sources, not the system's current wall-clock time or the configured timezone. Even if NTP is actively working, the peer table does not include the local time or the zone name, so it cannot answer a question asking for both the current time and the timezone.

  • ✗

    date

    Why it's wrong here

    The date command prints the current system date and time according to the format string, and it can display a timezone abbreviation like EST or UTC if '%Z' is specified, but it does not show the full timezone database name (e.g., America/New_York) or any NTP status. The abbreviation is inherently ambiguous because multiple zones can share the same short form, and date simply reflects whatever the system clock currently reads without indicating whether the timezone is set consistently. Since it only provides the current time (with an optional abbreviation), it falls short of displaying the system timezone identifier as a configuration detail.

  • ✓

    timedatectl

    Why this is correct

    timedatectl is the correct command because it gives a consolidated, systemd-based view of the time and timezone configuration. Running it with no arguments prints local time, universal time (UTC), RTC time, the currently configured timezone (e.g., 'Europe/Amsterdam'), and whether NTP synchronization is active or enabled. It also supports subcommands like set-timezone to change the configuration, making it the standard utility for this purpose on modern Linux distributions. Thus it directly and unambiguously displays both the current system time and the timezone, plus related status information.

  • ✗

    cal

    Why it's wrong here

    cal displays a text-based calendar for a specified month or year, such as a grid of days for the current month. It does not consult or reveal the system time at all—it only computes the layout of days based on the requested period, and it has no concept of the system timezone. Consequently, it cannot show the current time or the timezone identifier, so it is completely unrelated to the requested information.

About these practice questions

This EX200 question is part of Courseiva's 427-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This EX200 practice question is part of Courseiva's free Red Hat 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 EX200 exam.