QA
Intermediate LevelLinux Commands & SysAdmin

How does chrony / systemd-timesyncd synchronize system clocks using NTP?

❓ Interview Prompt: Explain clock synchronization, Network Time Protocol (NTP), chrony daemon (chronyc tracking), systemd-timesyncd, and drift correction.

System clock synchronization is critical for distributed databases, TLS certificate validation, and kerberos authentication:

Tools:

•
'chrony' (Recommended): Modern NTP implementation optimized for virtual machines and intermittent connections. Provides fast clock drift correction.
•
'chronyc tracking': Displays clock offset, stratum, and frequency error bounds.

Code Implementation Example

bash
# Inspect active clock synchronization status via chrony
chronyc tracking

# List active NTP time servers and offsets
chronyc sources -v

# Check systemd time synchronization status
timdatectl status
💡Checking NTP time synchronization tracking and server sources via chronyc.
🎯 Interview Key Takeaway

Use chrony for precise system clock synchronization required by distributed databases and authentication services.

#chrony#NTP#Time Sync#Intermediate
Back to all Linux Commands & SysAdmin Questions→

More Linux Commands & SysAdmin Interview Questions

Beginner LevelLinux Commands & SysAdmin

How do Linux File Permissions (chmod, chown, chgrp) work in Octal and Symbolic notation?

Beginner LevelLinux Commands & SysAdmin

What is the Linux Filesystem Hierarchy Standard (/bin, /etc, /var, /usr, /opt, /tmp)?

Beginner LevelLinux Commands & SysAdmin

What are File Descriptors (0=stdin, 1=stdout, 2=stderr) and Redirection (>, >>, 2>&1)?