Question 670An account database review finds a shadow file readable by ordinary users because a packaging script reset its permissions. What can go wrong if no corrective work is performed? Non-wrapper applications remain reachable from prohibited networks. Local users can harvest password hashes for offline cracking attempts. New reboots restore insecure services that were stopped only temporarily. An unnecessary plaintext remote-access service remains available to attackers. ExplanationCorrect Answer B:Local users can harvest password hashes for offline cracking attempts. The direct consequence is addressed by: Restore appropriate restricted ownership and permissions on the shadow database using supported system tools. A successful test would show: A nonprivileged user cannot read /etc/shadow while authentication functions normally. Incorrect Answers A:TCP wrappers historically controlled compatible application connections and do not replace packet filtering. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Local users can harvest password hashes for offline cracking attempts. C:Service hardening requires maintaining a minimal set of reachable network interfaces across reboots. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Local users can harvest password hashes for offline cracking attempts. D:Unused network services expand attack surface whether launched as long-running daemons or on demand. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Local users can harvest password hashes for offline cracking attempts.
Question 671A keyboard-only operator cannot keep a modifier held while pressing the next key and therefore cannot invoke multi-key accessibility shortcuts reliably. Which unresolved failure mode should be included in the risk review? Blind or low-vision users lack a practical means to interpret the interface. Key interface controls remain effectively invisible, preventing completion of work. Essential keyboard shortcuts remain inaccessible despite functioning physical keys. Applications launch invisibly on an unreachable display or fail to open at all. ExplanationCorrect Answer C:Essential keyboard shortcuts remain inaccessible despite functioning physical keys. The failure arises from this Linux behavior: Sticky Keys permit sequential modifier-key entry for users who cannot press simultaneous combinations. A repair would be: Enable Sticky Keys through the desktop accessibility settings. Incorrect Answers A:Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Essential keyboard shortcuts remain inaccessible despite functioning physical keys. B:Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Essential keyboard shortcuts remain inaccessible despite functioning physical keys. D:The DISPLAY environment variable directs X clients to a particular server, not automatically to the active monitor. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Essential keyboard shortcuts remain inaccessible despite functioning physical keys.
Question 672A server still exposes an obsolete telnet daemon even though all administrators now use SSH, and the security baseline requires removing unneeded listeners. What consequence follows most directly if the team leaves this issue unresolved? New reboots restore insecure services that were stopped only temporarily. A legacy access list creates false confidence while the service remains openly reachable. Attackers retain alternative unnecessary entry points on the host. An unnecessary plaintext remote-access service remains available to attackers. ExplanationCorrect Answer D:An unnecessary plaintext remote-access service remains available to attackers. The direct consequence is addressed by: Disable the unneeded service and its activation socket, then confirm that its port is no longer reachable. A successful test would show: An authorized scan shows the telnet port closed while SSH remains functional. Incorrect Answers A:Service hardening requires maintaining a minimal set of reachable network interfaces across reboots. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: An unnecessary plaintext remote-access service remains available to attackers. B:TCP wrapper configuration affects only compatible services and is not a universal host firewall. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: An unnecessary plaintext remote-access service remains available to attackers. C:Attack surface reduction concerns every unneeded reachable service rather than only the most obvious port. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: An unnecessary plaintext remote-access service remains available to attackers.
Question 673A cron task works manually but cannot find a required utility because the cron environment contains a smaller PATH than the administrator's interactive shell. Which operational or security exposure is most closely tied to this condition? The recurring job fails only when the scheduler launches it unattended. A partial inventory leaves duplicate or conflicting maintenance actions running. The check can run repeatedly and produce unwanted changes on later weeks. A correct service definition remains dormant because no timer fires it. ExplanationCorrect Answer A:The recurring job fails only when the scheduler launches it unattended. The failure arises from this Linux behavior: Scheduled execution inherits a minimal environment and should not assume an interactive shell startup context. A repair would be: Declare an explicit safe PATH and required environment values inside the cron job or script. Incorrect Answers B:Cron scheduling may be distributed across user entries, system tables and periodic directory runners. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The recurring job fails only when the scheduler launches it unattended. C:at schedules a one-shot job while cron defines recurring schedules. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The recurring job fails only when the scheduler launches it unattended. D:A systemd timer is the scheduling trigger; enabling the target service alone does not create periodic activations. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The recurring job fails only when the scheduler launches it unattended.
Question 674An operator adds a temporary route with ip route, fixes connectivity, and closes the incident without documenting persistence. Why is the recommendation to apply the validated route to the authoritative persistent connection configuration and test after reboot appropriate here? IP reachability does not establish that a particular transport port or application is available. Direct iproute2 route changes normally affect live kernel state rather than persistent startup settings. IPv6 maintains routing information separate from IPv4 even on a dual-stack host. Path tracing can expose intermediate hop behavior that is not visible from a local route lookup alone. ExplanationCorrect Answer B:Direct iproute2 route changes normally affect live kernel state rather than persistent startup settings. The underlying rule explains the proposal. Apply the validated route to the authoritative persistent connection configuration and test after reboot. Without it, the same outage recurs on the next reboot or network-manager restart. Incorrect Answers A:IP reachability does not establish that a particular transport port or application is available. This does not establish the proposed intervention. The governing principle here is: Direct iproute2 route changes normally affect live kernel state rather than persistent startup settings. Apply it by: Apply the validated route to the authoritative persistent connection configuration and test after reboot. C:IPv6 maintains routing information separate from IPv4 even on a dual-stack host. This does not establish the proposed intervention. The governing principle here is: Direct iproute2 route changes normally affect live kernel state rather than persistent startup settings. Apply it by: Apply the validated route to the authoritative persistent connection configuration and test after reboot. D:Path tracing can expose intermediate hop behavior that is not visible from a local route lookup alone. This does not establish the proposed intervention. The governing principle here is: Direct iproute2 route changes normally affect live kernel state rather than persistent startup settings. Apply it by: Apply the validated route to the authoritative persistent connection configuration and test after reboot.
Question 675A timed script accidentally runs a privileged helper from an untrusted relative path because it depends on whichever directory the scheduler starts in. Which change most directly addresses this failure? Add a valid #!/bin/bash shebang as the first line and make the reviewed file executable. Pass the positional filename as a quoted argument and validate it before processing. Use a verified absolute executable path and a deliberate minimal execution environment. Use the failure-only OR conditional operator for the failure-only fallback and test both code paths. ExplanationCorrect Answer C:Use a verified absolute executable path and a deliberate minimal execution environment. This targets the failure described rather than another system component. Automation must not rely on incidental working directories or inherited search paths to select privileged programs. The expected result is: The scheduler launches the approved helper from a different working directory with a predictable PATH. Incorrect Answers A:The shebang identifies the interpreter for direct execution independent of the invoking interactive shell. That is relevant to a different intervention. For the stated situation, the required action is: Use a verified absolute executable path and a deliberate minimal execution environment. The governing reason is: Automation must not rely on incidental working directories or inherited search paths to select privileged programs. B:Shell expansion occurs before program execution and quoting prevents unintended argument splitting and globbing. That is relevant to a different intervention. For the stated situation, the required action is: Use a verified absolute executable path and a deliberate minimal execution environment. The governing reason is: Automation must not rely on incidental working directories or inherited search paths to select privileged programs. D:The failure-only OR operator runs the next command only when the previous command returns nonzero. That is relevant to a different intervention. For the stated situation, the required action is: Use a verified absolute executable path and a deliberate minimal execution environment. The governing reason is: Automation must not rely on incidental working directories or inherited search paths to select privileged programs.
Question 676A Linux host advertises a correct network mask but packets for an internal subnet take the public default route because a more specific route is missing. What should the administrator do to correct the underlying condition? Use traceroute or tracepath with appropriate interpretation and correlate it with local routes. Add the appropriate default route temporarily for diagnosis and correct its persistent configuration. Install or restore the approved corporate network route via the VPN interface. Add the appropriate destination-specific route and validate longest-prefix selection. ExplanationCorrect Answer D:Add the appropriate destination-specific route and validate longest-prefix selection. It changes the dependency that is failing in the scenario. Linux route lookup prefers the most specific matching prefix over a broader default route. Confirm the outcome with: ip route get for the internal subnet selects the intended internal next hop. Incorrect Answers A:Path tracing can expose intermediate hop behavior that is not visible from a local route lookup alone. That is relevant to a different intervention. For the stated situation, the required action is: Add the appropriate destination-specific route and validate longest-prefix selection. The governing reason is: Linux route lookup prefers the most specific matching prefix over a broader default route. B:A host needs a next-hop route for destinations outside directly connected networks. That is relevant to a different intervention. For the stated situation, the required action is: Add the appropriate destination-specific route and validate longest-prefix selection. The governing reason is: Linux route lookup prefers the most specific matching prefix over a broader default route. C:Multiple active interfaces require route selection that matches the destination and policy. That is relevant to a different intervention. For the stated situation, the required action is: Add the appropriate destination-specific route and validate longest-prefix selection. The governing reason is: Linux route lookup prefers the most specific matching prefix over a broader default route.
Question 677An analyst assumes that removing a variable in one shell tab will automatically remove the same exported variable from an already running process launched earlier. Which action is the most appropriate first repair? Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. Put verified system paths ahead of untrusted directories and remove unsafe PATH entries. Define one readable Bash function in a shared, deliberately sourced configuration file. Use the distribution's supported system-wide interactive Bash configuration under change control. ExplanationCorrect Answer A:Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. This targets the failure described rather than another system component. A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. The expected result is: The restarted process no longer reports the variable, while the existing process is handled explicitly. Incorrect Answers B:Command lookup follows PATH order; a writable earlier directory can shadow a trusted executable. That is relevant to a different intervention. For the stated situation, the required action is: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. The governing reason is: A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. C:A shell function groups multiple commands and must be defined in the shell context that invokes it. That is relevant to a different intervention. For the stated situation, the required action is: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. The governing reason is: A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. D:System-wide interactive shell initialization is distinct from per-user files and must match the distribution's conventions. That is relevant to a different intervention. For the stated situation, the required action is: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. The governing reason is: A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment.
Question 678A Linux workstation is configured with 172.20.5.4 and an operator flags it as public because it does not start with 192.168. Which technical response directly restores the expected behavior? Review and permit the required DNS protocol combination instead of diagnosing only the authoritative server. Recognize 172.16.0.0/12 as private IPv4 space and apply internal-address handling. Verify the relevant application transport separately and interpret ICMP filtering correctly. Recalculate usable host range and reserve the network and directed broadcast endpoints in that subnet. ExplanationCorrect Answer B:Recognize 172.16.0.0/12 as private IPv4 space and apply internal-address handling. It changes the dependency that is failing in the scenario. Private IPv4 ranges include 10/8, 172.16/12 and 192.168/16, not a single familiar prefix. Confirm the outcome with: An address classification test marks 172.20.5.4 as private while a public control address is distinct. Incorrect Answers A:An application protocol's well-known port can be used with different transport protocols that need separate rules. That is relevant to a different intervention. For the stated situation, the required action is: Recognize 172.16.0.0/12 as private IPv4 space and apply internal-address handling. The governing reason is: Private IPv4 ranges include 10/8, 172.16/12 and 192.168/16, not a single familiar prefix. C:ICMP diagnostic responses can be filtered independently of established TCP or UDP application traffic. That is relevant to a different intervention. For the stated situation, the required action is: Recognize 172.16.0.0/12 as private IPv4 space and apply internal-address handling. The governing reason is: Private IPv4 ranges include 10/8, 172.16/12 and 192.168/16, not a single familiar prefix. D:Traditional IPv4 subnetting reserves the all-zero host identifier for network and all-one identifier for directed broadcast. That is relevant to a different intervention. For the stated situation, the required action is: Recognize 172.16.0.0/12 as private IPv4 space and apply internal-address handling. The governing reason is: Private IPv4 ranges include 10/8, 172.16/12 and 192.168/16, not a single familiar prefix.
Question 679An application account can run commands normally but crontab rejects scheduling because of restrictive account-access lists. What is the most defensible corrective step? Configure an OnCalendar schedule in a systemd timer and check the host timezone. Configure at.allow or the distribution's equivalent control with the explicitly authorized accounts. Review /etc/cron.allow and /etc/cron.deny according to distribution policy before granting the specific account scheduling rights. Transfer the scheduled task to an approved persistent service account or managed system-level schedule. ExplanationCorrect Answer C:Review /etc/cron.allow and /etc/cron.deny according to distribution policy before granting the specific account scheduling rights. This targets the failure described rather than another system component. Cron access control is separate from ordinary login ability and can use allow or deny lists. The expected result is: The approved identity can install a test crontab while unauthorized accounts remain blocked. Incorrect Answers A:Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. That is relevant to a different intervention. For the stated situation, the required action is: Review /etc/cron.allow and /etc/cron.deny according to distribution policy before granting the specific account scheduling rights. The governing reason is: Cron access control is separate from ordinary login ability and can use allow or deny lists. B:The at access lists govern who can queue one-time jobs independently of filesystem permissions. That is relevant to a different intervention. For the stated situation, the required action is: Review /etc/cron.allow and /etc/cron.deny according to distribution policy before granting the specific account scheduling rights. The governing reason is: Cron access control is separate from ordinary login ability and can use allow or deny lists. D:User crontabs are associated with user accounts and should not be relied on after that identity is removed. That is relevant to a different intervention. For the stated situation, the required action is: Review /etc/cron.allow and /etc/cron.deny according to distribution policy before granting the specific account scheduling rights. The governing reason is: Cron access control is separate from ordinary login ability and can use allow or deny lists.
Question 680The payroll script's output must be reproducible across hosts, but LC_ALL is inherited unpredictably from whoever starts the command. The team recommends: Set the intended locale explicitly within the script and avoid dependence on interactive inherited settings. Which Linux behavior best explains that recommendation? Locale categories can be overridden independently rather than forcing all regional behavior through LANG. iconv transforms text between character encodings when the source encoding is known. Locale categories influence command output and can change text expected by scripts. Reproducible command output requires controlling locale-sensitive formatting at the process boundary. ExplanationCorrect Answer D:Reproducible command output requires controlling locale-sensitive formatting at the process boundary. The underlying rule explains the proposal. Set the intended locale explicitly within the script and avoid dependence on interactive inherited settings. Without it, identical business data can be interpreted differently depending on the launching user's session. Incorrect Answers A:Locale categories can be overridden independently rather than forcing all regional behavior through LANG. This does not establish the proposed intervention. The governing principle here is: Reproducible command output requires controlling locale-sensitive formatting at the process boundary. Apply it by: Set the intended locale explicitly within the script and avoid dependence on interactive inherited settings. B:iconv transforms text between character encodings when the source encoding is known. This does not establish the proposed intervention. The governing principle here is: Reproducible command output requires controlling locale-sensitive formatting at the process boundary. Apply it by: Set the intended locale explicitly within the script and avoid dependence on interactive inherited settings. C:Locale categories influence command output and can change text expected by scripts. This does not establish the proposed intervention. The governing principle here is: Reproducible command output requires controlling locale-sensitive formatting at the process boundary. Apply it by: Set the intended locale explicitly within the script and avoid dependence on interactive inherited settings.