Linux and Windows System Administration Questions
Administering server operating systems: Linux fundamentals (shell, permissions, services), Windows Server roles and services, Active Directory/Group Policy, package management, and software updates. Covers day-to-day operational tasks and diagnostic tooling for keeping systems healthy. The practitioner surface for sysadmin and infrastructure roles.
Design a lightweight, resilient pipeline to ship system logs from Linux hosts to a central EFK/ELK stack. Requirements: low CPU overhead on hosts, at-least-once delivery, local buffering during network outages, TLS encryption in transit, and efficient indexing. Describe agent choice, buffering and batching strategy, compression, and retention/rotation considerations.
Describe how to ensure correct system time and timezone on a fleet of Linux servers using timedatectl and chrony. Show commands to set the timezone to UTC, enable and start chronyd/chrony, and verify that the system clock is synchronized. Explain why accurate time is important for distributed systems and log correlation.
As part of compliance you must audit changes to /etc/sudoers. Describe how to configure auditd to watch the file and tag events with a custom key, how to query recent changes and extract the user/process that made the modification, and how to forward these audit logs to a central SIEM pipeline.
During a deployment a new version of a service crash-loops on production hosts. Describe an immediate rollback procedure that minimizes downtime and preserves logs/metrics for post-incident analysis. Include systemd commands, how to keep the old binary available for quick rollback, and automation ideas to make future rollbacks safer.
Compare package management on Debian/Ubuntu (apt/dpkg) versus RHEL/CentOS/Fedora (yum/dnf/rpm). Provide commands to: install a package, list upgradable packages, find which package owns /usr/sbin/sshd, and recover from a locked dpkg or rpm database. Include considerations for unattended security updates in production.
Unlock Full Question Bank
Get access to all 42 Linux and Windows System Administration interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.