Question 830A Linux host runs several unused network listeners after package installation, and the team plans to block only one Internet-facing port. Why is the recommendation to inventory, disable and remove all unnecessary service activation points as permitted by the approved baseline appropriate here? Password hashes require stronger access protection than public user profile records. Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. TCP wrappers historically controlled compatible application connections and do not replace packet filtering. Unused network services expand attack surface whether launched as long-running daemons or on demand. ExplanationCorrect Answer B:Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. The underlying rule explains the proposal. Inventory, disable and remove all unnecessary service activation points as permitted by the approved baseline. Without it, attackers retain alternative unnecessary entry points on the host. Incorrect Answers A:Password hashes require stronger access protection than public user profile records. This does not establish the proposed intervention. The governing principle here is: Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. Apply it by: Inventory, disable and remove all unnecessary service activation points as permitted by the approved baseline. C:TCP wrappers historically controlled compatible application connections and do not replace packet filtering. This does not establish the proposed intervention. The governing principle here is: Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. Apply it by: Inventory, disable and remove all unnecessary service activation points as permitted by the approved baseline. D:Unused network services expand attack surface whether launched as long-running daemons or on demand. This does not establish the proposed intervention. The governing principle here is: Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. Apply it by: Inventory, disable and remove all unnecessary service activation points as permitted by the approved baseline.
Question 831A server's hostname is changed with the hostname command but returns to the old value after reboot, breaking internal inventory matching. Which governing rule explains why this repair works: Set the persistent hostname through hostnamectl or the distribution's supported configuration. A host's kernel hostname is not a free-form description field and must follow supported naming conventions. Writing a profile on disk does not necessarily update the network manager's in-memory active connection. Transient hostname changes can differ from persistent host identity settings. NetworkManager uses saved connection profiles to establish networking across sessions. ExplanationCorrect Answer C:Transient hostname changes can differ from persistent host identity settings. The proposed repair works on this mechanism rather than an unrelated symptom. Set the persistent hostname through hostnamectl or the distribution's supported configuration. Incorrect Answers A:A host's kernel hostname is not a free-form description field and must follow supported naming conventions. This does not establish the proposed intervention. The governing principle here is: Transient hostname changes can differ from persistent host identity settings. Apply it by: Set the persistent hostname through hostnamectl or the distribution's supported configuration. B:Writing a profile on disk does not necessarily update the network manager's in-memory active connection. This does not establish the proposed intervention. The governing principle here is: Transient hostname changes can differ from persistent host identity settings. Apply it by: Set the persistent hostname through hostnamectl or the distribution's supported configuration. D:NetworkManager uses saved connection profiles to establish networking across sessions. This does not establish the proposed intervention. The governing principle here is: Transient hostname changes can differ from persistent host identity settings. Apply it by: Set the persistent hostname through hostnamectl or the distribution's supported configuration.
Question 832A server administrator receives a first-time SSH host-key prompt for a sensitive host and plans to accept it without checking the fingerprint. The team recommends: Verify the server's host-key fingerprint through an independent trusted channel before recording it. Which Linux behavior best explains that recommendation? Public-key encryption targets selected recipients; possession of a different private key cannot decrypt their ciphertext. A digital signature binds the signer identity to the signed content independently of transport-channel security. Asymmetric SSH keys separate private signing credentials from public verification material. SSH host keys authenticate the server identity and protect against connecting to an impostor. ExplanationCorrect Answer D:SSH host keys authenticate the server identity and protect against connecting to an impostor. The underlying rule explains the proposal. Verify the server's host-key fingerprint through an independent trusted channel before recording it. Without it, an attacker-in-the-middle can impersonate the server during first contact. Incorrect Answers A:Public-key encryption targets selected recipients; possession of a different private key cannot decrypt their ciphertext. This does not establish the proposed intervention. The governing principle here is: SSH host keys authenticate the server identity and protect against connecting to an impostor. Apply it by: Verify the server's host-key fingerprint through an independent trusted channel before recording it. B:A digital signature binds the signer identity to the signed content independently of transport-channel security. This does not establish the proposed intervention. The governing principle here is: SSH host keys authenticate the server identity and protect against connecting to an impostor. Apply it by: Verify the server's host-key fingerprint through an independent trusted channel before recording it. C:Asymmetric SSH keys separate private signing credentials from public verification material. This does not establish the proposed intervention. The governing principle here is: SSH host keys authenticate the server identity and protect against connecting to an impostor. Apply it by: Verify the server's host-key fingerprint through an independent trusted channel before recording it.
Question 833An engineer needs to troubleshoot the order of local name sources, but repeatedly edits /etc/resolv.conf and ignores the configured hosts lookup policy. An administrator proposes to review the hosts database sequence in /etc/nsswitch.conf and test resolution via getent. Which technical principle supports the proposal? The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. Applications using NSS may prefer local hosts entries to DNS answers depending on configuration. A generated resolver file reflects active management state rather than serving as the lasting configuration source. Search domains are optional resolver expansions and are separate from the DNS server's IP address. ExplanationCorrect Answer A:The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. The proposed repair works on this mechanism rather than an unrelated symptom. Review the hosts database sequence in /etc/nsswitch.conf and test resolution via getent. Incorrect Answers B:Applications using NSS may prefer local hosts entries to DNS answers depending on configuration. This does not establish the proposed intervention. The governing principle here is: The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. Apply it by: Review the hosts database sequence in /etc/nsswitch.conf and test resolution via getent. C:A generated resolver file reflects active management state rather than serving as the lasting configuration source. This does not establish the proposed intervention. The governing principle here is: The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. Apply it by: Review the hosts database sequence in /etc/nsswitch.conf and test resolution via getent. D:Search domains are optional resolver expansions and are separate from the DNS server's IP address. This does not establish the proposed intervention. The governing principle here is: The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. Apply it by: Review the hosts database sequence in /etc/nsswitch.conf and test resolution via getent.
Question 834A host used by investigators has plausible wall time but the team cannot confirm whether it is synchronized closely enough for evidence correlation. Which post-change test would demonstrate success rather than merely show that a configuration file exists? chronyc sources receives valid measurements from the approved address after the network change. Documented chrony tracking reports an acceptable offset and a stable selected source. chronyc sources lists only approved peers and tracking indicates successful synchronization. The same UTC event displays with the correct seasonal offset in both systems. ExplanationCorrect Answer B:Documented chrony tracking reports an acceptable offset and a stable selected source. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Measure synchronization offset and source quality using the supported time-daemon diagnostics. Incorrect Answers A:Resolving a time server name does not prove that NTP packets can reach it and return. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: Documented chrony tracking reports an acceptable offset and a stable selected source. C:Time source selection is part of the trust boundary; merely being synchronized does not establish source compliance. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: Documented chrony tracking reports an acceptable offset and a stable selected source. D:NTP aligns physical time; formatting local time is controlled by timezone rules. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: Documented chrony tracking reports an acceptable offset and a stable selected source.
Question 835A temporary troubleshooting web server remains enabled across reboots despite an approved plan to use it only during a one-hour diagnostic session. What measured result should the reviewer ask for after the repair? A connection probe no longer activates the service and the listener is absent. Ordinary users cannot read password hashes while login authentication continues to function. After reboot neither the service nor its listening port is present. A before-and-after listener inventory shows only approved services remain active. ExplanationCorrect Answer C:After reboot neither the service nor its listening port is present. A successful configuration edit alone would not prove the behavior. Disabling future startup and stopping current processes are separate tasks in service hardening. Incorrect Answers A:Systemd socket activation can launch a service in response to network connections independently of service enablement. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: After reboot neither the service nor its listening port is present. B:Shadow password configurations separate public account metadata from restricted password hashes. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: After reboot neither the service nor its listening port is present. D:Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: After reboot neither the service nor its listening port is present.
Question 836A user must send a confidential document to a colleague who has provided a verified GnuPG public key, but the sender proposes signing alone to protect secrecy. The proposed fix is to encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. Which result would verify that the actual problem was resolved? The remote X11 application opens locally without granting arbitrary network clients access to the X server. The intended recipient decrypts the corrected message while the former user's key is not required. Authorized SSH connections succeed after one agent unlock and the private key remains passphrase-protected. The recipient decrypts the message, while an unrelated key holder cannot read its contents. ExplanationCorrect Answer D:The recipient decrypts the message, while an unrelated key holder cannot read its contents. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. Incorrect Answers A:SSH can forward X11 traffic over an encrypted channel with scoped display authorization. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: The recipient decrypts the message, while an unrelated key holder cannot read its contents. B:Public-key encryption targets selected recipients; possession of a different private key cannot decrypt their ciphertext. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: The recipient decrypts the message, while an unrelated key holder cannot read its contents. C:An authentication agent can reuse a protected unlocked key without storing it in plaintext for every connection. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: The recipient decrypts the message, while an unrelated key holder cannot read its contents.
Question 837An employee with low vision cannot distinguish form labels in the standard desktop theme, even though the application is technically accessible. An administrator proposes to enable an appropriate high-contrast and large-text theme and validate contrast in the actual application. Which technical principle supports the proposal? Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly. Keyboard accessibility filters can distinguish deliberate input from accidental rapid or sustained key events. The DISPLAY environment variable directs X clients to a particular server, not automatically to the active monitor. ExplanationCorrect Answer A:Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. The proposed repair works on this mechanism rather than an unrelated symptom. Enable an appropriate high-contrast and large-text theme and validate contrast in the actual application. Incorrect Answers B:Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly. This does not establish the proposed intervention. The governing principle here is: Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. Apply it by: Enable an appropriate high-contrast and large-text theme and validate contrast in the actual application. C:Keyboard accessibility filters can distinguish deliberate input from accidental rapid or sustained key events. This does not establish the proposed intervention. The governing principle here is: Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. Apply it by: Enable an appropriate high-contrast and large-text theme and validate contrast in the actual application. D:The DISPLAY environment variable directs X clients to a particular server, not automatically to the active monitor. This does not establish the proposed intervention. The governing principle here is: Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. Apply it by: Enable an appropriate high-contrast and large-text theme and validate contrast in the actual application.
Question 838A support technician deletes every queued print job to remove one jammed report, harming other employees' unsent work. Which technical response directly restores the expected behavior? Identify duplicate submissions and adjust the retry workflow instead of clearing the entire printer spool. Use the queue's job identifiers to target only the failed job and keep valid jobs queued. Re-enable job acceptance for the appropriate CUPS queue and verify its status. Correct the printer's approved device URI in the CUPS configuration and test connectivity. ExplanationCorrect Answer B:Use the queue's job identifiers to target only the failed job and keep valid jobs queued. It changes the dependency that is failing in the scenario. CUPS job-level controls should be preferred over indiscriminate queue clearing when failures are isolated. Confirm the outcome with: The problematic job is absent while unrelated jobs retain their queue state and print normally. Incorrect Answers A:Each print submission creates a separate queued job, so repeated client retries can duplicate physical output. That is relevant to a different intervention. For the stated situation, the required action is: Use the queue's job identifiers to target only the failed job and keep valid jobs queued. The governing reason is: CUPS job-level controls should be preferred over indiscriminate queue clearing when failures are isolated. C:CUPS distinguishes accepting jobs from processing enabled jobs, and both states affect service availability. That is relevant to a different intervention. For the stated situation, the required action is: Use the queue's job identifiers to target only the failed job and keep valid jobs queued. The governing reason is: CUPS job-level controls should be preferred over indiscriminate queue clearing when failures are isolated. D:CUPS routes jobs to a defined device or server destination; a stale URI blocks output. That is relevant to a different intervention. For the stated situation, the required action is: Use the queue's job identifiers to target only the failed job and keep valid jobs queued. The governing reason is: CUPS job-level controls should be preferred over indiscriminate queue clearing when failures are isolated.
Question 839A central syslog rule catches only a specific facility, but test messages are being generated under another facility and never reach the collector. What is the most defensible corrective step? Filter journalctl by unit and explicit time boundaries to isolate the incident. Configure an rsyslog forwarding action to the approved collection endpoint and validate transport. Align the rsyslog facility-and-severity selector with the application's emitted message metadata. Set and validate bounded journal storage and use controlled journal vacuuming for old data. ExplanationCorrect Answer C:Align the rsyslog facility-and-severity selector with the application's emitted message metadata. This targets the failure described rather than another system component. Syslog routing matches facility and priority patterns, not simply the text content of every message. The expected result is: A logger test using the configured facility arrives at the central receiver. Incorrect Answers A:The systemd journal indexes unit and time metadata, allowing targeted queries rather than only line scanning. That is relevant to a different intervention. For the stated situation, the required action is: Align the rsyslog facility-and-severity selector with the application's emitted message metadata. The governing reason is: Syslog routing matches facility and priority patterns, not simply the text content of every message. B:Local log persistence and remote syslog forwarding require separate configured delivery rules. That is relevant to a different intervention. For the stated situation, the required action is: Align the rsyslog facility-and-severity selector with the application's emitted message metadata. The governing reason is: Syslog routing matches facility and priority patterns, not simply the text content of every message. D:Systemd journal retention has its own size and time management separate from logrotate. That is relevant to a different intervention. For the stated situation, the required action is: Align the rsyslog facility-and-severity selector with the application's emitted message metadata. The governing reason is: Syslog routing matches facility and priority patterns, not simply the text content of every message.
Question 840A departmental printer must be available to multiple Linux workstations, but its queue was configured as a local USB device on a remote host. What consequence follows most directly if the team leaves this issue unresolved? Paper and confidential document waste continues while repeated jobs remain unchecked. Restarting the daemon conceals the actual hardware fault and delays printing. Users accumulate pending print jobs despite a functional physical printer. Only the host attached to the printer can produce documents and other users remain blocked. ExplanationCorrect Answer D:Only the host attached to the printer can produce documents and other users remain blocked. The direct consequence is addressed by: Define the proper shared network destination and permissions in CUPS. A successful test would show: Two authorized workstations submit test jobs to the same network printer successfully. Incorrect Answers A:Each print submission creates a separate queued job, so repeated client retries can duplicate physical output. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Only the host attached to the printer can produce documents and other users remain blocked. B:A print job can queue normally while the destination device cannot complete it. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Only the host attached to the printer can produce documents and other users remain blocked. C:Queue state can prevent delivery even when documents and the device driver are correct. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Only the host attached to the printer can produce documents and other users remain blocked.