All cards143
- Rising reallocated sector counts in SMART data are a common cause of high network latency.
Reallocated sectors mean the drive is remapping failing sectors, which causes high disk latency and I/O wait, and signals impending drive failure. They are unrelated to network latency, which comes from congestion, routing or link problems.
- A CPU bottleneck is most likely when the id value in top stays near 100 percent while the run queue is longer than the number of CPU cores.
A CPU bottleneck shows near-zero idle time (id), with high us or sy and a run queue longer than the core count. Idle near 100 percent means the CPUs are mostly doing nothing, so they cannot be the constraint.
- An SLO sets a target for which measured value?
An SLO is the target applied to an SLI, the measured indicator. An SLA is the customer contract and does not itself define the measurement.
- Which statement is an SLO?
An SLO is a target for a metric over a period, such as 95% of requests under 300 ms. The measured latency is an SLI, and the credit clause is part of an SLA.
- Which is a typical SLI for a web service?
An SLI is a measured indicator such as request error rate, latency or availability. A monthly uptime target is an SLO, and credits and renewal terms belong to an SLA.
- Which statement is a typical SLA clause?
An SLA is a contract with consequences, such as service credits when uptime falls below a stated level. The internal goal is an SLO, and the measurements are SLIs.
- Which option correctly matches each term to its role?
The SLI measures performance, the SLO sets the target for it, and the SLA is the contract with the customer. The other options swap these roles.
- Which method sends an HTTP POST to a preconfigured URL when an event occurs?
A webhook pushes event data to a URL over HTTP when something happens. An SNMP poll is pulled by the monitoring server on a schedule instead.
- Which daemon commonly forwards Linux syslog messages to a central log server?
rsyslog can forward messages to a remote collector, which supports log aggregation. logrotate only archives and rotates local log files.
- Which default UDP port does an SNMP manager listen on to receive traps?
SNMP managers receive traps on UDP 162. UDP 161 is where agents listen for polling requests, 514 is syslog, and 123 is NTP.
- What describes the objects, identified by OIDs, that an SNMP agent can report?
A Management Information Base (MIB) defines the manageable objects and their OIDs. A community string only authenticates SNMPv1/v2c access and does not describe objects.
- Which command walks an entire SNMP subtree, returning every OID beneath a starting point?
snmpwalk repeatedly queries an agent to return all OIDs under a given node. snmpget retrieves only a single specified OID.
- Which file format does Prometheus use for alerting rule files?
Prometheus rule files are written in YAML, with alerting rules defined under groups. JSON is not the format for rule files, even though YAML is a superset of it.
- Which Prometheus alert state means the expression is true but the for duration has not yet elapsed?
Pending means the condition is true but has not lasted for the full for duration. Firing is only reached after that duration, when notifications are sent.
- Which Alertmanager feature mutes matching alerts for a set time window, such as during maintenance?
Silencing suppresses notifications for alerts matching given labels during a defined time period. Inhibition instead suppresses alerts only while another specified alert is firing.
- Which journalctl option filters entries by priority, such as err, for log-based alerting?
The -p option filters by syslog priority level, such as err or warning. The -u option filters by unit name, not severity.
- Which systemd unit directive activates another unit, such as a notification service, when this unit fails?
OnFailure= lists units to start when the unit enters the failed state, which suits failure notifications. OnSuccess= does the opposite and triggers only after a clean exit.
- Which command repairs errors on an unmounted ext4 filesystem that fails to mount cleanly?
e2fsck checks and repairs ext2/3/4 filesystem metadata. tune2fs only adjusts filesystem parameters and does not repair damage.
- Which command shows which top-level directories use the most space when the root filesystem is full?
du -xh --max-depth=1 / totals usage per directory on the root filesystem only. df -i reports inode usage per filesystem, not which directories consume space.
- After copying a new driver module into /lib/modules/$(uname -r)/, which command rebuilds the module dependency database (modules.dep) so that modprobe can resolve the new module's dependencies?
depmod scans the installed modules for the kernel and writes modules.dep, the dependency map that modprobe reads. modprobe only consumes that map to load modules and their dependencies. It does not rebuild it, so a new module's dependencies stay unknown until depmod runs.
- Which command repairs broken package dependencies on a Debian-based system?
apt install -f (--fix-broken) installs missing dependencies and completes interrupted configurations. apt update only refreshes package lists and fixes nothing already broken.
- A command runs with its full path but not by name. Which variable most likely needs correcting?
The shell searches the directories in PATH to find executables by name. LD_LIBRARY_PATH only affects where shared libraries are found, not where commands are found.
- A server's eth0 NIC seems to have negotiated the wrong speed after a cable change. Which command reports its negotiated speed, duplex, and whether a link is detected?
ethtool eth0 queries the NIC driver and prints Speed, Duplex, and Link detected, which exposes a bad negotiation or a dead cable. ss -tulpn only lists listening sockets and their processes, so it says nothing about physical link state.
- Which firewalld command displays the services and ports allowed in the active zone?
firewall-cmd --list-all shows the allowed services, ports and other settings of the zone, revealing a blocked port. --get-zones only lists the zone names available.
- Which command shows the interface and gateway the kernel would use to reach a specific address?
ip route get <address> shows the route the kernel selects, including the outgoing interface and next-hop gateway. ip neigh show only lists ARP/neighbor cache entries.
- Which tool sends ARP probes to check whether another host already uses an IP address?
arping sends ARP requests, and its -D option performs duplicate address detection to reveal an IP conflict. traceroute maps routed hops and does not show who owns an address on the local segment.
- A host can ping other systems on its own subnet but cannot reach any IP address on other networks. Which command shows whether a default gateway is configured?
ip route show lists the routing table, including the default route via the gateway. Traffic to other networks needs that route, and a missing or wrong one explains why only the local subnet works. ip addr show lists only interface addresses, not routes.
- Which command displays the immutable attribute that stops even root from modifying or deleting a file?
lsattr lists extended file attributes such as i (immutable), which chattr -i removes. getfacl shows ACL entries, not attributes.
- An application is being blocked and SELinux is suspected. Which command searches the audit log for recent SELinux access denials?
ausearch -m avc -ts recent queries the audit log for recent AVC records, which are the SELinux denials. getenforce only reports the current mode (Enforcing, Permissive or Disabled) and shows no denial details.
- Which command prints the validity start and expiration dates of a certificate file?
openssl x509 -noout -dates outputs the notBefore and notAfter fields of a certificate. openssl crl reads revocation lists, not certificates.
- An administrator suspects alice is locked out by pam_faillock. Which command displays the failed authentication records pam_faillock has stored for her?
faillock --user alice lists the failure entries pam_faillock recorded for that account, with timestamps and validity, showing whether it has reached the deny threshold. lastb reads /var/log/btmp, which logs bad logins but not pam_faillock's per-user tally.
- Which command lists the ciphers the local OpenSSH client supports when diagnosing a cipher negotiation failure?
ssh -Q cipher queries the client for supported cipher algorithms, which you compare with the server's offered list. ssh -V only prints the client version.
- What commonly causes packet drops on a busy network interface?
When packets arrive faster than the kernel drains the receive ring buffer, new packets are dropped. Swap exhaustion affects memory, not interface packet counters.
- What most commonly causes slow response from an NFS-mounted share?
Every NFS operation crosses the network, so latency or packet loss between client and server slows the share. A full local /tmp affects only local temporary files.
- What commonly makes a systemd boot stall for about 90 seconds waiting on a job?
An fstab entry for an unavailable device or network share, without nofail, makes systemd wait until the job times out. A large log directory does not delay boot this way.
- Processes stuck in uninterruptible sleep (D state) are usually waiting on what?
D state means the process is blocked in the kernel on I/O, often a slow disk or hung NFS server. Waiting for a parent to call wait() describes a zombie, not a blocked process.
- What most commonly causes jitter, meaning variable packet delay, on a network link?
Congestion makes packets wait in queues for differing times, so delay varies from packet to packet. An exhausted entropy pool slows random number generation, not packet timing.
- A team decides whether it is meeting a 99.9% availability SLO by comparing the target with the current value of the SLI, which is the ___ of the service.
measurement
- In the abbreviation SLA, the letter A stands for ___.
Agreement
- A 99.9% availability SLO over a 30-day month allows about ___ minutes of downtime.
43.2
- In the abbreviation SLO, the letter O stands for ___.
Objective
- In the abbreviation SLI, the letter I stands for ___.
Indicator
- The ___ command requests the value of one specific OID from an SNMP agent.
snmpget
- A load balancer stops sending traffic to a backend server after its repeated ___ checks fail.
health
- Collecting log entries from many hosts into one central, searchable location is known as log ___.
aggregation
- A monitoring system that relies on a small daemon installed on each host to collect and send local metrics is called ___-based monitoring.
agent
- SNMPv1 and SNMPv2c send a community string in clear text, while SNMP version ___ adds authentication and encryption.
3
- In prometheus.yml, the ___ key lists the paths of the files that contain alerting rules.
rule_files
- Before reloading Prometheus, validate an alerting rule file for syntax errors with the ___ check rules command.
promtool
- By default, Alertmanager listens for incoming alerts and web requests on TCP port ___.
9093