Curated

Troubleshooting

0 votes

Questions147

  1. Question 101

    Troubleshooting

    A server's authentication log shows thousands of failed log-in attempts per hour for many different usernames, mostly from a handful of external IP addresses, and one internal address that repeats the same single account. Which TWO conditions are likely causes? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. A script or service on the internal host using an outdated stored passwordC. An automated brute-force or password-spraying attack against an exposed SSH service

    Many usernames from external addresses indicates brute-force or password spraying, and one internal host repeating a single account suggests automation with stale credentials. Filesystem fragmentation and low entropy do not generate failed log-in records.

    Open this question
  2. Question 102

    Troubleshooting

    A server's network link shows as up, yet throughput is low and the interface's collision and CRC error counters keep rising. Which cause fits these symptoms?

    Show the answer

    Correct answerA. A duplex mismatch between the NIC and its switch port

    AWhy this is right: With one end at half duplex and the other at full, the link stays up while collisions and CRC errors grow.

    BWhy not this: An MTU mismatch drops large frames, but it does not cause collisions on the link.

    CWhy not this: A bad gateway stops traffic to other networks; it does not raise collision or CRC counters.

    DWhy not this: ARP cache problems affect address resolution, not collision and CRC counts on the interface.

    When one side runs half duplex and the other full duplex, the link still comes up but collisions, CRC errors, and retransmissions reduce throughput. This often happens when auto-negotiation is disabled on only one end.

    Open this question
  3. Question 103

    Troubleshooting

    Applications on a Linux client are slow when reading from an NFS-mounted share, and ls on the mount sometimes pauses for several seconds. Local disk and CPU are idle. nfsiostat shows average RTT of several hundred milliseconds and a growing retransmission count. Which is the most likely cause?

    Show the answer

    Correct answerA. Packet loss or congestion on the network path to the NFS server

    High RPC round-trip times with rising retransmissions indicate requests or replies are being delayed or lost between client and server, so the network path is the cause. Local swap or CPU problems would show up in local metrics, which are idle here.

    Open this question
  4. Question 104

    Troubleshooting

    A Linux virtual machine running an application becomes slow at certain times of day. Inside the guest, top shows 35% user, 5% system, 30% st, and no I/O wait. Memory and swap are healthy. Which is the most likely cause?

    Show the answer

    Correct answerA. The hypervisor host is oversubscribed and is giving CPU time to other guests

    A high st (steal) value means the guest wanted CPU time but the hypervisor ran other virtual machines instead, typically from CPU oversubscription. Blocked disk reads would appear as high wa, which is absent here.

    Open this question
  5. Question 105

    Troubleshooting

    An administrator connects to a Linux server over SSH and waits about 30 seconds before the password prompt appears. After login, commands run instantly. CPU, memory, and disk metrics are normal, and the logs show no failed authentication attempts. Which is the most likely cause?

    Show the answer

    Correct answerD. sshd is waiting on a DNS lookup that times out against an unreachable resolver

    A delay before the password prompt with otherwise normal performance typically points to sshd doing a reverse DNS lookup (UseDNS) or GSSAPI lookup that times out. Swapping would make the whole session sluggish, not just the login, and the metrics show no memory pressure.

    Open this question
  6. Question 106

    Troubleshooting

    A team measures the ratio of successful HTTP requests for an API. Its contract promises customers 99.5%, and its internal goal is 99.9%. How do these relate?

    Show the answer

    Correct answerC. The success ratio is one SLI, compared against both the SLO and the SLA

    AWhy not this: One measurement can be evaluated against several targets; the contract does not need a second metric.

    BWhy not this: Reversed: the internal goal is the SLO, and the customer contract with consequences is the SLA.

    CWhy this is right: The success ratio is the SLI; 99.9% is the internal SLO and 99.5% is the looser contractual SLA.

    DWhy not this: The measured ratio is the SLI; the percentages are targets (SLO and SLA), not measurements.

    An SLI is only a measurement, so one metric can be compared against an internal SLO target and a looser contractual SLA threshold. The false belief is that each target needs its own separate metric.

    Open this question
  7. Question 107

    Troubleshooting

    A customer asks for service credits after an outage. The contract promises 99.9% availability but does not say how availability is calculated or over what period it is evaluated. The provider and customer reach different results from their own data. Which element is missing from the agreement?

    Show the answer

    Correct answerD. A defined SLI and measurement window for the commitment

    An SLA is only enforceable if it defines how the underlying SLI is measured and over what window, so both sides can reach the same result. An error budget policy is internal engineering process and does not settle a contractual dispute.

    Open this question
  8. Question 108

    Troubleshooting

    A company's application depends on a single database service whose provider SLA promises 99.9% availability. Management wants to add a 99.99% availability commitment, with service credits, to its own customer contract. What is the main problem with this plan?

    Show the answer

    Correct answerA. The commitment exceeds what a single dependency with a 99.9% SLA can reliably support.

    A service cannot reliably promise more availability than a critical dependency it has no redundancy for, so the customer SLA would be breached by expected dependency downtime. Measuring 99.99% is possible with an SLI, so measurement is not the obstacle.

    Open this question
  9. Question 109

    Troubleshooting

    A web service's Prometheus dashboard shows an average request duration of 120 ms, yet some users report page loads of several seconds. The team wants an SLI that reflects what these users experience. Which measurement is the best choice?

    Show the answer

    Correct answerB. 99th percentile request duration

    A high-percentile duration captures the slowest requests that affected users, so it makes a better latency SLI. Median duration is tempting but, like the average, hides slow tail requests.

    Open this question
  10. Question 110

    Troubleshooting

    A team is documenting what makes a service level agreement (SLA) different from the other service level terms. Which three statements correctly describe an SLA? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. It is a contractual commitment between a service provider and its customer.C. It states consequences, such as service credits, when the commitment is missed.D. It is commonly set looser than the internal SLO for the same metric.

    An SLA is a customer-facing contract with defined remedies, and it is usually looser than the internal SLO so the team has margin. The raw measurement is an SLI, and the internal target with no penalty is an SLO, so those descriptions do not fit an SLA.

    Open this question
  11. Question 111

    Troubleshooting

    Users report that a public login page is sometimes unreachable, although the web server's own CPU, memory and access-log metrics look normal. The cause may be DNS or a network path problem outside the server. Which method BEST detects these failures as users experience them?

    Show the answer

    Correct answerB. An HTTP check against the public login URL run from a monitoring node outside the network

    An external agentless HTTP check exercises DNS, the network path and the application from the user's side. Access logs and local agent metrics only reflect requests that reached the server, so they cannot show failures occurring before that point.

    Open this question
  12. Question 112

    Troubleshooting

    A Linux server forwards authentication events to a central rsyslog server over UDP. During login bursts, some events never appear centrally, although the network shows no outages. Administrators need reliable delivery of these events. Which change BEST addresses this?

    Show the answer

    Correct answerB. Forward the messages over TCP with a disk-assisted queue

    TCP forwarding with a queue provides acknowledged, buffered delivery, so bursts do not drop messages. UDP has no delivery guarantee, and changing local rotation does nothing to improve what reaches the central server.

    Open this question
  13. Question 113

    Troubleshooting

    A web tier autoscales and terminates instances within a few hours of launch. When an instance is removed, its local /var/log files disappear, and administrators can no longer investigate errors from that instance. Which approach BEST preserves the log data?

    Show the answer

    Correct answerB. Run a log-forwarding agent that ships entries to a central log platform as they are written

    Forwarding entries to a central log platform as they are written (log aggregation) keeps the data after an instance is terminated. A nightly rsync still loses everything written since the last run if an instance is removed earlier.

    Open this question
  14. Question 114

    Troubleshooting

    A containerized application occasionally deadlocks. The process keeps running, so the orchestrator believes the container is healthy, but it no longer serves requests. Which method BEST lets the orchestrator detect this state and restart the container automatically?

    Show the answer

    Correct answerD. A liveness health check that requests the application's HTTP health endpoint

    A liveness health check against an application endpoint tests whether the app actually responds, so a deadlock fails the check and triggers a restart. A process-existence check passes because the deadlocked process is still running.

    Open this question
  15. Question 115

    Troubleshooting

    A monitoring server in a cloud network must collect CPU, memory and disk metrics from servers in a remote office. The office firewall uses NAT and blocks all inbound connections but allows outbound HTTPS. Which acquisition method BEST fits?

    Show the answer

    Correct answerC. A local agent on each server that sends metrics outbound to the monitoring server

    An agent that initiates the connection outbound works through a firewall that blocks inbound traffic. SNMP and SSH polling require the monitoring server to reach the devices inbound, and ping checks would not return the needed metrics.

    Open this question
  16. Question 116

    Troubleshooting

    A CPU alert group has already sent its first notification. Additional alerts keep joining the group, and Alertmanager sends an updated notification every 5 minutes by default. The team wants updates about new alerts in a group to be sent no more often than every 15 minutes. Which route setting should be changed?

    Show the answer

    Correct answerC. group_interval: 15m

    group_interval sets how long Alertmanager waits before notifying about new or resolved alerts added to a group that has already notified. repeat_interval is tempting but only controls resending an unchanged group, not updates about changes.

    Open this question
  17. Question 117

    Troubleshooting

    A /var filesystem fills slowly but steadily. The team wants a Prometheus alerting rule that fires when, based on the trend over the last 6 hours, /var is predicted to run out of space within 4 hours. Which expression does this?

    Show the answer

    Correct answerA. predict_linear(node_filesystem_avail_bytes{mountpoint="/var"}[6h], 4*3600) < 0

    predict_linear extrapolates the 6-hour trend 4 hours ahead and fires if the projected free space drops below zero. increase(...) < 0 is tempting but is true for any decline in free space, regardless of whether the filesystem will fill.

    Open this question
  18. Question 118

    Troubleshooting

    In a Prometheus monitoring setup, which component evaluates alerting rules, and which groups, silences and routes the resulting notifications?

    Show the answer

    Correct answerA. Prometheus evaluates the rules; Alertmanager groups, silences and routes notifications

    AWhy this is right: Prometheus evaluates rules and sends firing alerts on, and Alertmanager handles grouping, silencing and routing.

    BWhy not this: The roles are reversed; Alertmanager never evaluates rules, and Prometheus does not route notifications.

    CWhy not this: Node exporter only exposes host metrics for scraping; it evaluates no rules.

    DWhy not this: Alertmanager receives alerts but does not evaluate rules; Prometheus evaluates them.

    Prometheus evaluates rule expressions and pushes firing alerts to Alertmanager. Alertmanager does not evaluate rules; it deduplicates, groups, silences, inhibits and routes the alerts it receives to receivers.

    Open this question
  19. Question 119

    Troubleshooting

    A Nagios service stays in a CRITICAL hard state for several hours, and the on-call contact is re-notified every 30 minutes. The team wants only one notification for the problem, plus the recovery notice. Which service directive should be set?

    Show the answer

    Correct answerA. notification_interval 0

    A notification_interval of 0 tells Nagios to send a single notification for a problem and not renotify while it persists. max_check_attempts 1 is tempting but only makes the service reach a hard state after one failed check, which does not stop repeat notifications.

    Open this question
  20. Question 120

    Troubleshooting

    An administrator edited the alert rule file /etc/prometheus/rules/cpu.yml and wants to check only its syntax before reloading Prometheus. Which command does this?

    Show the answer

    Correct answerB. promtool check rules /etc/prometheus/rules/cpu.yml

    promtool check rules validates the syntax and expressions of Prometheus rule files. amtool check-config is tempting but validates Alertmanager configuration files, not Prometheus rule files.

    Open this question
  21. Question 121

    Troubleshooting

    The root filesystem on a server shows 100% used in df -h, yet du -sx / totals only a small fraction of that size. A large log file was deleted earlier to free space, but no space was recovered, and a running daemon may still be writing to that log. Which command BEST identifies the process holding the space?

    Show the answer

    Correct answerA. lsof +L1 to list open files with a link count of zero

    A deleted file stays allocated until every process holding it open closes it, and lsof +L1 lists such files with their owning processes. Restarting that process frees the space. df -i reports inode usage, which does not explain the gap between df and du.

    Open this question
  22. Question 122

    Troubleshooting

    After a new network card is installed, no matching interface appears in ip link. The lspci -k output lists the card with "Kernel modules: ixgbe" but no "Kernel driver in use" line. The command grep -r ixgbe /etc/modprobe.d/ returns the line "install ixgbe /bin/false." What is the BEST fix?

    Show the answer

    Correct answerB. Remove the install override, then load the driver with modprobe ixgbe

    The install directive replaces module loading with /bin/false, so the driver is deliberately disabled. Removing the line and running modprobe ixgbe loads it. Running depmod does not override the directive, and no interface exists yet to bring up.

    Open this question
  23. Question 123

    Troubleshooting

    A mail server cannot create new files in /var/spool/mqueue, an ext4 filesystem, and the logs show "No space left on device." However, df -h reports only 38% of the blocks in use. What is the BEST next step?

    Show the answer

    Correct answerD. Run df -i to check inode usage, then remove the large number of small files consuming inodes

    "No space left on device" with free blocks points to inode exhaustion, which ext4 can hit when a directory holds huge numbers of small files. df -i confirms it, and deleting files frees inodes. Remounting read-write does not help, because the filesystem is not read-only and the problem is not its mount state.

    Open this question
  24. Question 124

    Troubleshooting

    A process that ps shows in state D does not exit after kill -9. What explains this?

    Show the answer

    Correct answerA. It is in uninterruptible sleep, waiting on I/O that has not completed or failed

    AWhy this is right: In state D the process waits in the kernel on I/O, and signals are not acted on until the wait ends.

    BWhy not this: A zombie shows as state Z, not D.

    CWhy not this: A stopped process shows as state T, and SIGKILL ends a stopped process without SIGCONT.

    DWhy not this: SIGKILL cannot be caught or ignored by any process.

    A process in state D is blocked inside the kernel waiting on I/O, often from a failing disk or hung NFS mount. Signals, including SIGKILL, are not acted on until the wait ends. Resolving the underlying I/O problem is the fix.

    Open this question
  25. Question 125

    Troubleshooting

    After a kernel update and reboot, a server halts with a kernel panic: "VFS: Unable to mount root fs on unknown-block(0,0)." Selecting the previous kernel entry in the GRUB menu boots the server normally, and the disks are healthy. What is the BEST fix?

    Show the answer

    Correct answerD. Boot the previous kernel, then rebuild the new kernel's initramfs with dracut --force --kver <new-kernel-version>

    The new kernel's initramfs likely lacks the storage driver needed to find the root device, so rebuilding it from a working boot fixes the panic. Specifying the new kernel version with --kver is required, because plain dracut --force rebuilds the running kernel's image. Running fsck does not help because the disks are healthy and the previous kernel mounts root fine.

    Open this question
  26. Question 126

    Troubleshooting

    A Linux server can ping hosts on its own 192.168.10.0/24 subnet but cannot reach any other network, including the IP address 8.8.8.8. The output of ip route show contains only this line: 192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.25. What is the BEST fix?

    Show the answer

    Correct answerB. Add a default route through the subnet's router, such as ip route add default via 192.168.10.1 dev eth0

    The routing table has no default route, so the server has no next hop for off-subnet traffic. Adding a default route via the local router restores connectivity; make it persistent in the network configuration. A DNS change is wrong because pinging a raw IP address already fails without name resolution.

    Open this question
  27. Question 127

    Troubleshooting

    Before assigning 192.168.10.50 to eth0, an administrator wants to check whether another host on the segment already uses that address. Which command does this?

    Show the answer

    Correct answerA. arping -D -I eth0 192.168.10.50

    AWhy this is right: Duplicate address detection mode sends ARP probes, and any reply shows another host holds the address.

    BWhy not this: ip addr show lists only the addresses on this host, not ones used by other hosts.

    CWhy not this: Flushing the neighbor table clears cached entries; it does not probe for the address.

    DWhy not this: ss lists this host's own sockets; it cannot tell whether another host holds the address.

    arping -D uses duplicate address detection mode: it sends ARP probes and exits successfully only if no host answers for the address. A reply means another device already holds that IP, so a conflict exists.

    Open this question
  28. Question 128

    Troubleshooting

    A bond0 interface in 802.3ad mode uses eth1 and eth2. The design requires both links to be aggregated for throughput. The file /proc/net/bonding/bond0 shows each slave in a different aggregator ID and a partner MAC address of 00:00:00:00:00:00. The switch ports are configured as individual access ports. What is the BEST fix?

    Show the answer

    Correct answerC. Configure the two switch ports as a port channel that uses LACP

    The all-zero partner MAC means no LACP partner is answering, so the switch ports must be placed in an LACP port channel. Active-backup would bring the bond up but would not aggregate the links as required.

    Open this question
  29. Question 129

    Troubleshooting

    A server's eth0 is set to MTU 9000, but the switches and router on the path to a remote host carry only 1500-byte frames. Small pings to the host succeed. An SSH connection to the host shows the server banner and then hangs during key exchange. Which action is the BEST fix?

    Show the answer

    Correct answerA. Set the MTU on eth0 to 1500 in the persistent connection profile and reapply it

    Small packets pass but the larger key exchange packets exceed the path MTU and are dropped, so the interface MTU must match the path. Restarting sshd does not help because the remote service is fine and the packets never arrive.

    Open this question
  30. Question 130

    Troubleshooting

    A client can ping a newly built web server, and ss -tlnp on the server shows nginx listening on 0.0.0.0:443. Browsers on the client wait and then report a connection timeout. firewalld is running on the server and its default zone permits only ssh. Which action is the BEST fix?

    Show the answer

    Correct answerA. Permanently add the https service to the active zone and reload firewalld

    A timeout with a listening service and working ping points to a firewall silently dropping the traffic. Opening https permanently with firewall-cmd and reloading fixes it. A stopped service would give an immediate connection refused instead.

    Open this question
  31. Question 131

    Troubleshooting

    A contractor's engagement was extended by six months, but the contractor now cannot log in on the console or over SSH and sees "Your account has expired; please contact your system administrator." The password is correct, and passwd -S shows it is not locked. chage -l shows an "Account expires" date in the past. Which action BEST restores access?

    Show the answer

    Correct answerD. Run chage -E with a new future date on the account

    The account expiration date is the cause, and chage -E sets a new one. chage -M changes only the maximum password age, so the account would stay expired. passwd -u clears a password lock, which is not the cause here.

    Open this question
  32. Question 132

    Troubleshooting

    Apache on an SELinux-enforcing RHEL server fails to start after an administrator adds Listen 8585 to its configuration. The error log reports a permission denied error when binding the port, and ausearch -m avc shows an httpd_t denial for name_bind on TCP port 8585. Which action BEST resolves the problem while keeping SELinux enforcing?

    Show the answer

    Correct answerA. Run semanage port -a -t http_port_t -p tcp 8585

    The denial is httpd_t binding to a port that is not labeled http_port_t. Adding the port to that type with semanage port makes the change persistent and keeps SELinux enforcing. The httpd_can_network_connect boolean governs outbound connections, not binding a listening port.

    Open this question
  33. Question 133

    Troubleshooting

    An administrator adds a third-party repository file to /etc/yum.repos.d/ on a RHEL server. Metadata downloads succeed, but dnf install fails with "Public key for package.rpm is not installed" and the repository has gpgcheck=1. Which action BEST resolves the problem?

    Show the answer

    Correct answerC. Import the vendor's public GPG key with rpm --import

    Package signatures cannot be verified until the vendor's public key is in the RPM keyring, so importing it fixes the cause. Disabling gpgcheck would install unverified packages, and cleaning the cache does not add a missing key.

    Open this question
  34. Question 134

    Troubleshooting

    An internal web server's certificate was renewed, and the new certificate was issued by an intermediate CA. Clients now report "unable to get local issuer certificate," and openssl s_client -connect shows that the server sends only the leaf certificate. Which three actions are appropriate to diagnose and resolve the problem? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersB. Use openssl s_client -connect with -showcerts to confirm the full chain is now presentedC. Reload the web service so it presents the updated chainF. Append the intermediate certificate to the server's certificate file so the full chain is sent

    The server must send the leaf plus the intermediate; the service must be reloaded to use the new file, and s_client -showcerts verifies the result. Skipping verification with -k hides the problem and removes the protection certificates provide.

    Open this question
  35. Question 135

    Troubleshooting

    In enforcing mode, SELinux blocks httpd from binding to TCP port 8090. Which command allows the bind without weakening SELinux for the rest of the system?

    Show the answer

    Correct answerC. semanage port -a -t http_port_t -p tcp 8090

    AWhy not this: setenforce 0 switches the whole system to permissive mode, removing SELinux enforcement everywhere.

    BWhy not this: This boolean lets httpd make outbound network connections; it does not allow binding a new port.

    CWhy this is right: Labelling port 8090 as http_port_t lets httpd bind it while enforcement stays on.

    DWhy not this: chcon labels files, and http_port_t is a port type, so this does not change what httpd may bind.

    SELinux restricts which ports each domain may bind by port type, and semanage port -a -t labels the new port with the type the daemon is already allowed to use. Disabling SELinux or changing file permissions is unnecessary.

    Open this question
  36. Question 136

    Troubleshooting

    A reverse proxy opens a very large number of short-lived outbound connections to a backend. During peak load, some requests fail randomly with 'Cannot assign requested address'. CPU and memory are normal, and ss -s shows more than 28,000 sockets in TIME_WAIT. Which is the most likely cause?

    Show the answer

    Correct answerB. The proxy has exhausted its available ephemeral source ports

    Many sockets in TIME_WAIT combined with 'Cannot assign requested address' means the local ephemeral port range is used up, so new outbound connections fail. A full conntrack table is tempting, but it logs 'table full, dropping packet' in dmesg instead of returning this error.

    Open this question
  37. Question 137

    Troubleshooting

    A database server randomly crashes processes with segmentation faults and occasionally reboots without warning. Disk, CPU load, and network are normal. The kernel log shows repeated 'EDAC MC0: 1 CE' correctable error messages that point to the same memory slot. Which is the most likely cause?

    Show the answer

    Correct answerC. A failing memory module is producing a rising number of ECC errors

    Repeated EDAC correctable errors tied to one slot indicate a degrading DIMM, which can lead to crashes, segfaults, and uncorrectable errors that force reboots. The OOM killer is tempting for killed processes, but it logs out-of-memory messages, not EDAC hardware errors.

    Open this question
  38. Question 138

    Troubleshooting

    A Linux server receiving heavy UDP traffic shows steadily rising rx_missed_errors in ethtool -S eth0. In top, one ksoftirqd process is pinned near 100% on CPU 0 while the other cores are mostly idle. The cable and switch port report no CRC errors. Which is the most likely cause?

    Show the answer

    Correct answerC. All of the NIC's interrupt processing is handled by one core that cannot keep up

    Missed packets with one saturated ksoftirqd mean receive interrupts and softirq processing all land on a single core, so the ring buffer overflows. A bad cable is tempting, but it would produce CRC and frame errors rather than missed packets with clean link counters.

    Open this question
  39. Question 139

    Troubleshooting

    A Linux host has 40 GB of free memory. A Java application running in a container is repeatedly terminated and restarted. docker inspect shows OOMKilled as true, and dmesg contains 'Memory cgroup out of memory: Killed process' entries. Which is the most likely cause?

    Show the answer

    Correct answerA. The container's memory limit is lower than the application's peak memory use

    A 'Memory cgroup out of memory' message means the process hit its own cgroup memory limit, so the OOM killer acted even though the host has plenty free. Host-wide exhaustion is the tempting answer, but that would produce a global OOM message and little free memory.

    Open this question
  40. Question 140

    Troubleshooting

    Users report that typing in SSH sessions to a remote Linux server lags badly, with characters echoing after a noticeable delay. Ping to the server normally shows about 20 ms, but now varies from 400 to 900 ms. Server CPU, memory, and disk are idle. The lag began when a nightly rsync started over the same WAN link. Which is the most likely cause?

    Show the answer

    Correct answerD. The WAN link is saturated, so interactive packets wait in long queues

    A bulk transfer filling the link creates queueing delay, which raises latency and jitter for small interactive packets. A duplex mismatch is tempting, but it would show interface errors and would not start and stop with the rsync job.

    Open this question
  41. Question 141

    Troubleshooting

    A monthly report for a managed DNS service contains three lines. Line 1: "Queries answered in under 100 ms last month: 99.7%." Line 2: "Target: at least 99.9% of queries answered in under 100 ms each month." Line 3: "Contract: if fewer than 99.5% of queries are answered in under 100 ms, the customer receives a 5% credit." Which option correctly labels Line 1, Line 2 and Line 3, in that order?

    Show the answer

    Correct answerA. SLI, SLO, SLA

    Line 1 is a measured value (SLI), Line 2 is the internal target that measurement is judged against (SLO), and Line 3 is a contractual commitment with a penalty (SLA). Swapping the last two is tempting, but the SLA is the one with consequences, and it is usually looser than the internal SLO.

    Open this question
  42. Question 142

    Troubleshooting

    A development team's Linux application exposes request counts and queue depth as plain-text key-value pairs at http://app01:9100/metrics. The monitoring server must record these values every 15 seconds and detect gaps when the application stops responding. Which acquisition method BEST meets this need?

    Show the answer

    Correct answerA. Poll the metrics endpoint over HTTP at a 15-second interval

    Scheduled polling of the HTTP metrics endpoint gives samples at a fixed interval, and a failed poll exposes a gap. A webhook is event-driven, so silence is ambiguous: it could mean no change or a dead application.

    Open this question
  43. Question 143

    Troubleshooting

    On a Prometheus server, several alerting rules show as FIRING on the Alerts page, but the Alertmanager web interface at am01:9093 shows no alerts and no notifications are sent. Alertmanager is running and healthy. Which change to prometheus.yml fixes this?

    Show the answer

    Correct answerD. Add an alerting section with an alertmanagers entry whose static_configs targets list am01:9093

    Prometheus pushes firing alerts only to the Alertmanager instances listed in the alerting section's alertmanagers configuration. A scrape job is tempting, but it only collects Alertmanager's own metrics and never delivers alerts to it.

    Open this question
  44. Question 144

    Troubleshooting

    After a new data disk is added to /etc/fstab, a server boots into emergency mode. journalctl shows "Timed out waiting for device /dev/disk/by-uuid/..." followed by "Dependency failed for /data". The root filesystem is mounted read-only in the emergency shell. What is the BEST fix?

    Show the answer

    Correct answerA. Remount / read-write, find the disk's real UUID with blkid, and correct the /data entry in /etc/fstab

    systemd waits for a UUID that does not exist, so the /data mount unit fails and boot drops to emergency mode. Remounting root read-write and fixing the fstab entry with the UUID from blkid resolves it. Booting an older kernel does not help because every kernel reads the same /etc/fstab.

    Open this question
  45. Question 145

    Troubleshooting

    A server uses the static address 192.168.10.50. Clients reach it for a few minutes, and then their connections reset. On a client, ip neigh shows the MAC address for 192.168.10.50 alternating between two values. Running arping -I eth0 192.168.10.50 shows replies from two different MAC addresses. The DHCP pool range includes 192.168.10.50. What is the BEST fix?

    Show the answer

    Correct answerC. Exclude the address from the DHCP pool and renew the lease on the other device

    Two MAC addresses answering for one IP means an address conflict, and the DHCP pool handing out the server's static address is the cause. Excluding it from the pool and moving the other device removes the duplicate. Flushing ARP caches only helps until the next conflicting reply.

    Open this question
  46. Question 146

    Troubleshooting

    After moving site files with mv from /home/dev/site into /var/www/html on a RHEL server, httpd returns 403 Forbidden. The files are mode 0644 and readable by the apache user, and ls -Z shows the user_home_t type on them. ausearch -m avc reports denials for httpd. What is the BEST fix?

    Show the answer

    Correct answerC. Restore the default file contexts with restorecon -Rv /var/www/html, then retest

    mv keeps the source SELinux context, so the files still carry user_home_t, which httpd is not allowed to read. restorecon -Rv /var/www/html relabels them to the policy default (httpd_sys_content_t). Changing mode bits does not help because the denial comes from SELinux, not discretionary permissions. The homedirs boolean only applies to content served from home directories.

    Open this question
  47. Question 147

    Troubleshooting

    Users reach a Linux server through a VPN tunnel. SSH logins succeed and short commands work, but the session freezes whenever a command prints a large amount of output, such as cat on a long log file, and then the connection times out. A default-size ping succeeds, but ping -M do -s 1400 gets no reply. CPU, memory, and disk metrics are normal. Which is the most likely cause?

    Show the answer

    Correct answerB. The path MTU is smaller than the interface MTU, and ICMP fragmentation-needed messages are being blocked

    Small packets pass, but full-size packets with the don't-fragment bit set are dropped. Without ICMP fragmentation-needed replies, TCP never lowers its segment size, so large transfers stall (a PMTU black hole). A duplex mismatch would show errors and affect small packets too.

    Open this question