Question 590A configuration team put an environment setting in ~/.bash_logout and expects it to affect commands launched at the beginning of each login session. Why is the recommendation to move the startup setting into the appropriate Bash login initialization path appropriate here? Ordinary shell variables stay within the shell unless explicitly exported into its child process environment. The logout file is evaluated when leaving the login shell rather than when establishing its initial environment. Shell name resolution can prioritize functions and aliases before executable lookup in PATH. User-account creation copies initial skeleton content; modifying the template does not rewrite existing home directories. ExplanationCorrect Answer B:The logout file is evaluated when leaving the login shell rather than when establishing its initial environment. The underlying rule explains the proposal. Move the startup setting into the appropriate Bash login initialization path. Without it, users begin work without the setting and the cleanup phase changes values too late to help. Incorrect Answers A:Ordinary shell variables stay within the shell unless explicitly exported into its child process environment. This does not establish the proposed intervention. The governing principle here is: The logout file is evaluated when leaving the login shell rather than when establishing its initial environment. Apply it by: Move the startup setting into the appropriate Bash login initialization path. C:Shell name resolution can prioritize functions and aliases before executable lookup in PATH. This does not establish the proposed intervention. The governing principle here is: The logout file is evaluated when leaving the login shell rather than when establishing its initial environment. Apply it by: Move the startup setting into the appropriate Bash login initialization path. D:User-account creation copies initial skeleton content; modifying the template does not rewrite existing home directories. This does not establish the proposed intervention. The governing principle here is: The logout file is evaluated when leaving the login shell rather than when establishing its initial environment. Apply it by: Move the startup setting into the appropriate Bash login initialization path.
Question 591An administrator changes an SSH server's host key after rebuilding the machine, and clients now reject the connection with a host-identification warning. What measured result should the reviewer ask for after the repair? A client connects through the local forwarded port while the database remains unavailable directly from the Internet. The target account accepts the key and another account is not granted access by the misplaced file. After a verified update the SSH client accepts the new key and rejects a mismatched test key. The private key is unreadable to unrelated accounts and the authorized SSH login succeeds. ExplanationCorrect Answer C:After a verified update the SSH client accepts the new key and rejects a mismatched test key. A successful configuration edit alone would not prove the behavior. Host-key changes must be authenticated rather than silently trusted because they can indicate impersonation. Incorrect Answers A:SSH local forwarding carries a specific TCP connection through an encrypted authenticated tunnel. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: After a verified update the SSH client accepts the new key and rejects a mismatched test key. B:SSH public-key authentication binds an accepted public key to a particular account on the server. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: After a verified update the SSH client accepts the new key and rejects a mismatched test key. D:Private-key confidentiality is a prerequisite for secure public-key authentication and is enforced by OpenSSH. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: After a verified update the SSH client accepts the new key and rejects a mismatched test key.
Question 592A shared emergency admin group needs renaming after a policy change, yet user records and file permissions must continue to resolve the existing numeric group identity. What consequence follows most directly if the team leaves this issue unresolved? Support staff may wrongly recreate existing accounts and introduce conflicting identities. New users begin work without standard shell settings or inherit files with wrong ownership. New accounts can start with missing home directories or unintended group access. Ad hoc deletion and recreation may assign a new GID and break existing ownership associations. ExplanationCorrect Answer D:Ad hoc deletion and recreation may assign a new GID and break existing ownership associations. The direct consequence is addressed by: Rename the group with groupmod while preserving its GID and test dependent access. A successful test would show: getent resolves the new name with the original GID and authorized file access still works. Incorrect Answers A:Name Service Switch resolution may combine local and external account databases beyond a single local file. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Ad hoc deletion and recreation may assign a new GID and break existing ownership associations. B:Home initialization and account metadata creation are separate operations that must be coordinated. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Ad hoc deletion and recreation may assign a new GID and break existing ownership associations. C:Account creation parameters determine initial metadata and permissions instead of being inferred from team naming conventions. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Ad hoc deletion and recreation may assign a new GID and break existing ownership associations.
Question 593A security scanner must run every four hours, but its cron entry has an invalid hour-list separator and silently fails parsing. Which operational or security exposure is most closely tied to this condition? The host goes unscanned for long periods despite the presence of a crontab line. A partial inventory leaves duplicate or conflicting maintenance actions running. A repeatedly failing workload is mistaken for a scheduling problem and remains broken. Jobs drift out of the authorized maintenance window after service restarts. ExplanationCorrect Answer A:The host goes unscanned for long periods despite the presence of a crontab line. The failure arises from this Linux behavior: Cron fields require valid syntax for ranges, lists and increments before a task can be scheduled. A repair would be: Correct the hour field using the supported cron step or list syntax and validate the resulting schedule. 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 host goes unscanned for long periods despite the presence of a crontab line. C:A scheduler can trigger successfully while the executed workload independently fails. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The host goes unscanned for long periods despite the presence of a crontab line. D:Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The host goes unscanned for long periods despite the presence of a crontab line.
Question 594A payroll operator can run a private reporting utility after opening a terminal, but a scheduled login session never discovers the executable in the team's application directory. Which post-change test would demonstrate success rather than merely show that a configuration file exists? After sourcing the shared file, the function resolves in each approved shell and reports the same disk totals. A fresh login resolves the utility with command -v and runs it without an absolute path. The desired variable exists immediately after a fresh login and not only when the session closes. The variable is visible immediately to the subsequent current-shell command without another import step. ExplanationCorrect Answer B:A fresh login resolves the utility with command -v and runs it without an absolute path. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Place the reporting directory in the login shell's exported PATH through the appropriate profile file. Incorrect Answers A:A shell function groups multiple commands and must be defined in the shell context that invokes it. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A fresh login resolves the utility with command -v and runs it without an absolute path. C:The logout file is evaluated when leaving the login shell rather than when establishing its initial environment. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A fresh login resolves the utility with command -v and runs it without an absolute path. D:The dot or source builtin executes file contents in the calling shell, unlike running a separate shell process. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A fresh login resolves the utility with command -v and runs it without an absolute path.
Question 595A document prints correctly from one Linux user but stays pending for others because the shared CUPS queue is paused. Which governing rule explains why this repair works: Inspect the queue state and resume the approved printer rather than reinstalling all print drivers. A print job can queue normally while the destination device cannot complete it. Print queues assign job identifiers, allowing targeted cancellation without clearing unrelated work. Queue state can prevent delivery even when documents and the device driver are correct. CUPS routes jobs to a defined device or server destination; a stale URI blocks output. ExplanationCorrect Answer C:Queue state can prevent delivery even when documents and the device driver are correct. The proposed repair works on this mechanism rather than an unrelated symptom. Inspect the queue state and resume the approved printer rather than reinstalling all print drivers. Incorrect Answers A:A print job can queue normally while the destination device cannot complete it. This does not establish the proposed intervention. The governing principle here is: Queue state can prevent delivery even when documents and the device driver are correct. Apply it by: Inspect the queue state and resume the approved printer rather than reinstalling all print drivers. B:Print queues assign job identifiers, allowing targeted cancellation without clearing unrelated work. This does not establish the proposed intervention. The governing principle here is: Queue state can prevent delivery even when documents and the device driver are correct. Apply it by: Inspect the queue state and resume the approved printer rather than reinstalling all print drivers. D:CUPS routes jobs to a defined device or server destination; a stale URI blocks output. This does not establish the proposed intervention. The governing principle here is: Queue state can prevent delivery even when documents and the device driver are correct. Apply it by: Inspect the queue state and resume the approved printer rather than reinstalling all print drivers.
Question 596A remote operator confuses SSH and Telnet because both provide interactive login, proposing cleartext Telnet for administrative access. The team recommends: Use SSH on its configured secure port and disable unnecessary Telnet access. Which Linux behavior best explains that recommendation? IPv6 link-local addresses have link scope and are not forwarded by routers. UDP provides datagram transport without built-in ordering, acknowledgment or retransmission guarantees. Private IPv4 ranges include 10/8, 172.16/12 and 192.168/16, not a single familiar prefix. SSH encrypts the session, whereas Telnet transmits application content without equivalent protection. ExplanationCorrect Answer D:SSH encrypts the session, whereas Telnet transmits application content without equivalent protection. The underlying rule explains the proposal. Use SSH on its configured secure port and disable unnecessary Telnet access. Without it, administrative credentials may be exposed to anyone able to observe the path. Incorrect Answers A:IPv6 link-local addresses have link scope and are not forwarded by routers. This does not establish the proposed intervention. The governing principle here is: SSH encrypts the session, whereas Telnet transmits application content without equivalent protection. Apply it by: Use SSH on its configured secure port and disable unnecessary Telnet access. B:UDP provides datagram transport without built-in ordering, acknowledgment or retransmission guarantees. This does not establish the proposed intervention. The governing principle here is: SSH encrypts the session, whereas Telnet transmits application content without equivalent protection. Apply it by: Use SSH on its configured secure port and disable unnecessary Telnet access. C:Private IPv4 ranges include 10/8, 172.16/12 and 192.168/16, not a single familiar prefix. This does not establish the proposed intervention. The governing principle here is: SSH encrypts the session, whereas Telnet transmits application content without equivalent protection. Apply it by: Use SSH on its configured secure port and disable unnecessary Telnet access.
Question 597A branch server has address 192.168.44.130/25 but its administrator mistakenly treats 192.168.44.64 as belonging to the same local subnet. Which action is the most appropriate first repair? Calculate the /25 network boundary and correct the host or routing plan for the 192.168.44.128/25 segment. Recalculate usable host range and reserve the network and directed broadcast endpoints in that subnet. Allow the required DNS transport, normally UDP 53 with TCP support where necessary. Use a suitable routable IPv6 address and route for cross-link communication. ExplanationCorrect Answer A:Calculate the /25 network boundary and correct the host or routing plan for the 192.168.44.128/25 segment. This targets the failure described rather than another system component. A /25 mask splits the /24 address space into two blocks of 128 addresses. The expected result is: The route table and subnet calculation identify 192.168.44.128 as the network address for this host. Incorrect Answers B: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: Calculate the /25 network boundary and correct the host or routing plan for the 192.168.44.128/25 segment. The governing reason is: A /25 mask splits the /24 address space into two blocks of 128 addresses. C:DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. That is relevant to a different intervention. For the stated situation, the required action is: Calculate the /25 network boundary and correct the host or routing plan for the 192.168.44.128/25 segment. The governing reason is: A /25 mask splits the /24 address space into two blocks of 128 addresses. D:IPv6 link-local addresses have link scope and are not forwarded by routers. That is relevant to a different intervention. For the stated situation, the required action is: Calculate the /25 network boundary and correct the host or routing plan for the 192.168.44.128/25 segment. The governing reason is: A /25 mask splits the /24 address space into two blocks of 128 addresses.
Question 598A host needs a fixed IP with a static default gateway, but the administrator changes only the interface's DNS servers in nmcli. What can go wrong if no corrective work is performed? Administrators repeatedly edit inactive files and never fix the live network configuration. The host resolves names but cannot reach networks beyond its local subnet. The appliance remains disconnected because the authentication problem was never addressed. Users continue connecting to a retired destination despite correct external DNS records. ExplanationCorrect Answer B:The host resolves names but cannot reach networks beyond its local subnet. The direct consequence is addressed by: Set the IPv4 address, prefix, gateway and method in the appropriate saved NetworkManager profile. A successful test would show: A rebooted host retains the fixed address and its route lookup uses the approved gateway. Incorrect Answers A:Different Linux networking stacks manage configuration independently; a dormant manager's file cannot change the active connection. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The host resolves names but cannot reach networks beyond its local subnet. C:Wireless authentication must succeed before IP-layer attributes such as MTU can explain connectivity. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The host resolves names but cannot reach networks beyond its local subnet. D:The hosts database may take precedence over DNS depending on Name Service Switch configuration. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The host resolves names but cannot reach networks beyond its local subnet.
Question 599An operator schedules a one-time database check for next Tuesday, but mistakenly uses a cron expression that repeats every Tuesday forever. Which unresolved failure mode should be included in the risk review? Silent failures accumulate until disk pressure or a missing archive is discovered. The host goes unscanned for long periods despite the presence of a crontab line. The check can run repeatedly and produce unwanted changes on later weeks. Jobs drift out of the authorized maintenance window after service restarts. ExplanationCorrect Answer C:The check can run repeatedly and produce unwanted changes on later weeks. The failure arises from this Linux behavior: at schedules a one-shot job while cron defines recurring schedules. A repair would be: Use at for a single future execution and verify the queued job identifier. Incorrect Answers A:Unattended jobs require observable results; scheduling success does not prove command success. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The check can run repeatedly and produce unwanted changes on later weeks. B:Cron fields require valid syntax for ranges, lists and increments before a task can be scheduled. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The check can run repeatedly and produce unwanted changes on later weeks. D:Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: The check can run repeatedly and produce unwanted changes on later weeks.
Question 600A user who belongs to several privileged groups is accidentally stripped of all those memberships when an administrator adds one more group using usermod -G. Which change most directly addresses this failure? Check the directory's numerical group ownership and add the contractor only to the authorized matching group. Set and verify the account expiration date through supported user-account tools. Rename the group with groupmod while preserving its GID and test dependent access. Use the append form usermod -aG when adding supplementary membership and check the resulting list. ExplanationCorrect Answer D:Use the append form usermod -aG when adding supplementary membership and check the resulting list. It changes the dependency that is failing in the scenario. Without append, usermod -G replaces the supplementary group list rather than extending it. Confirm the outcome with: id shows the newly approved group alongside every preexisting authorized group. Incorrect Answers A:Group names alone do not establish authorization; the file's GID and process memberships determine access. That is relevant to a different intervention. For the stated situation, the required action is: Use the append form usermod -aG when adding supplementary membership and check the resulting list. The governing reason is: Without append, usermod -G replaces the supplementary group list rather than extending it. B:Account expiration restricts login based on lifecycle policy independently of password age. That is relevant to a different intervention. For the stated situation, the required action is: Use the append form usermod -aG when adding supplementary membership and check the resulting list. The governing reason is: Without append, usermod -G replaces the supplementary group list rather than extending it. C:A group display name can change independently of the numerical GID used by filesystem permissions. That is relevant to a different intervention. For the stated situation, the required action is: Use the append form usermod -aG when adding supplementary membership and check the resulting list. The governing reason is: Without append, usermod -G replaces the supplementary group list rather than extending it.