Question 510A log-cleanup Bash script executes its deletion step even after its prerequisite archive command fails, leaving the recovery files unprotected. Which post-change test would demonstrate success rather than merely show that a configuration file exists? Files containing wildcard characters are handled literally without processing unrelated files. A simulated archive failure leaves original logs intact and returns a nonzero result. The script passes syntax checks under its declared interpreter on each supported host. Leading spaces and literal backslashes survive a round-trip through the script. ExplanationCorrect Answer B:A simulated archive failure leaves original logs intact and returns a nonzero result. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Chain deletion to archive success with conditional execution and check the archive exit status. Incorrect Answers A:Shell expansion occurs before program execution and quoting prevents unintended argument splitting and globbing. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A simulated archive failure leaves original logs intact and returns a nonzero result. C:The script's declared interpreter must support every shell construct used in its body. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A simulated archive failure leaves original logs intact and returns a nonzero result. D:The read builtin's default field splitting and backslash handling can transform raw input. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A simulated archive failure leaves original logs intact and returns a nonzero result.
Question 511A host needs a fixed IP with a static default gateway, but the administrator changes only the interface's DNS servers in nmcli. What measured result should the reviewer ask for after the repair? getent hosts resolves the short name consistently with application behavior. After connection renewal the configured DNS server is still used by queries. A rebooted host retains the fixed address and its route lookup uses the approved gateway. ip route shows the approved wired default path when docked and Wi-Fi takes over only as specified. ExplanationCorrect Answer C:A rebooted host retains the fixed address and its route lookup uses the approved gateway. A successful configuration edit alone would not prove the behavior. DNS resolver configuration and IP routing are separate elements of persistent host networking. Incorrect Answers A:The hosts database lookup sequence is a configurable NSS policy separate from raw DNS server reachability. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A rebooted host retains the fixed address and its route lookup uses the approved gateway. B:NetworkManager or another resolver manager may regenerate /etc/resolv.conf rather than preserving manual edits. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A rebooted host retains the fixed address and its route lookup uses the approved gateway. D:Default route selection depends on metrics and active profiles, not simply physical media preference. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A rebooted host retains the fixed address and its route lookup uses the approved gateway.
Question 512A security appliance blocks all ICMP and an engineer interprets the disappearance of ping responses as proof that TCP applications are unreachable. The team recommends: Verify the relevant application transport separately and interpret ICMP filtering correctly. Which Linux behavior best explains that recommendation? Routing chooses the next hop for remote IP packets independently of DNS suffix handling. IPv4 and IPv6 have distinct address families and routing tables even when applications are dual-stack. ICMP reachability and TCP port 443 service acceptance are different protocol behaviors. ICMP diagnostic responses can be filtered independently of established TCP or UDP application traffic. ExplanationCorrect Answer D:ICMP diagnostic responses can be filtered independently of established TCP or UDP application traffic. The underlying rule explains the proposal. Verify the relevant application transport separately and interpret ICMP filtering correctly. Without it, operators may trigger unnecessary outage response based on a blocked diagnostic protocol. Incorrect Answers A:Routing chooses the next hop for remote IP packets independently of DNS suffix handling. This does not establish the proposed intervention. The governing principle here is: ICMP diagnostic responses can be filtered independently of established TCP or UDP application traffic. Apply it by: Verify the relevant application transport separately and interpret ICMP filtering correctly. B:IPv4 and IPv6 have distinct address families and routing tables even when applications are dual-stack. This does not establish the proposed intervention. The governing principle here is: ICMP diagnostic responses can be filtered independently of established TCP or UDP application traffic. Apply it by: Verify the relevant application transport separately and interpret ICMP filtering correctly. C:ICMP reachability and TCP port 443 service acceptance are different protocol behaviors. This does not establish the proposed intervention. The governing principle here is: ICMP diagnostic responses can be filtered independently of established TCP or UDP application traffic. Apply it by: Verify the relevant application transport separately and interpret ICMP filtering correctly.
Question 513A team wants all interactive Bash users on a managed Debian-derived host to have a consistent navigation helper without editing each home directory individually. An administrator proposes to use the distribution's supported system-wide interactive Bash configuration under change control. Which technical principle supports the proposal? System-wide interactive shell initialization is distinct from per-user files and must match the distribution's conventions. Shell name resolution can prioritize functions and aliases before executable lookup in PATH. Ordinary shell variables stay within the shell unless explicitly exported into its child process environment. Login profiles establish inherited command search paths, whereas interactive rc files need not run in every login context. ExplanationCorrect Answer A:System-wide interactive shell initialization is distinct from per-user files and must match the distribution's conventions. The proposed repair works on this mechanism rather than an unrelated symptom. Use the distribution's supported system-wide interactive Bash configuration under change control. Incorrect Answers B: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: System-wide interactive shell initialization is distinct from per-user files and must match the distribution's conventions. Apply it by: Use the distribution's supported system-wide interactive Bash configuration under change control. C: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: System-wide interactive shell initialization is distinct from per-user files and must match the distribution's conventions. Apply it by: Use the distribution's supported system-wide interactive Bash configuration under change control. D:Login profiles establish inherited command search paths, whereas interactive rc files need not run in every login context. This does not establish the proposed intervention. The governing principle here is: System-wide interactive shell initialization is distinct from per-user files and must match the distribution's conventions. Apply it by: Use the distribution's supported system-wide interactive Bash configuration under change control.
Question 514A colleague uses a screen reader but a new workstation has only enlarged text configured and still cannot deliver navigation information through speech. What is the most defensible corrective step? Enable Sticky Keys through the desktop accessibility settings. Enable and test a supported screen reader in the selected desktop environment. Enable an appropriate high-contrast and large-text theme and validate contrast in the actual application. Use scoped X authentication cookies through xauth instead of broadly disabling X server access controls. ExplanationCorrect Answer B:Enable and test a supported screen reader in the selected desktop environment. It changes the dependency that is failing in the scenario. Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly. Confirm the outcome with: The user can navigate headings and controls using speech output in a realistic application test. Incorrect Answers A:Sticky Keys permit sequential modifier-key entry for users who cannot press simultaneous combinations. That is relevant to a different intervention. For the stated situation, the required action is: Enable and test a supported screen reader in the selected desktop environment. The governing reason is: Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly. C:Visual accessibility settings address readability and distinguishability, not underlying network or shell problems. That is relevant to a different intervention. For the stated situation, the required action is: Enable and test a supported screen reader in the selected desktop environment. The governing reason is: Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly. D:X authorization should identify permitted clients rather than grant every reachable host unrestricted display access. That is relevant to a different intervention. For the stated situation, the required action is: Enable and test a supported screen reader in the selected desktop environment. The governing reason is: Magnification changes visual scale, whereas a screen reader communicates interface semantics audibly.
Question 515An engineer needs to troubleshoot the order of local name sources, but repeatedly edits /etc/resolv.conf and ignores the configured hosts lookup policy. What measured result should the reviewer ask for after the repair? getent hosts returns the intended address and the application connects to the current server. dig returns the expected record without SERVFAIL and the application resolves the name. A local override and external DNS record resolve according to the documented NSS policy. getent resolves the service name consistently with the application's lookup result. ExplanationCorrect Answer C:A local override and external DNS record resolve according to the documented NSS policy. A successful configuration edit alone would not prove the behavior. The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. Incorrect Answers A:Applications using NSS may prefer local hosts entries to DNS answers depending on configuration. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A local override and external DNS record resolve according to the documented NSS policy. B:DNS errors must be distinguished from IP reachability because application names depend on resolver behavior. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A local override and external DNS record resolve according to the documented NSS policy. D:Raw DNS utilities bypass parts of the NSS resolution order that applications may use. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A local override and external DNS record resolve according to the documented NSS policy.
Question 516A virtual machine restarts with incorrect time whenever its hardware clock is interpreted as local time after moving across geographic regions. What should the administrator do to correct the underlying condition? Configure and validate a reachable NTP synchronization service such as chrony. Keep UTC correct and change the timezone configuration to the new location. Confirm the timezone and daylight-saving definitions used by the logging display and reporting service. Standardize the RTC to UTC and apply the intended timezone only for local display. ExplanationCorrect Answer D:Standardize the RTC to UTC and apply the intended timezone only for local display. It changes the dependency that is failing in the scenario. Keeping the hardware clock in UTC avoids region-specific daylight-saving ambiguity in stored clock time. Confirm the outcome with: timedatectl and hwclock show consistent UTC storage and the correct local display after reboot. Incorrect Answers A:Clock synchronization and timezone display are independent; time-sensitive services require accurate system time. That is relevant to a different intervention. For the stated situation, the required action is: Standardize the RTC to UTC and apply the intended timezone only for local display. The governing reason is: Keeping the hardware clock in UTC avoids region-specific daylight-saving ambiguity in stored clock time. B:A timezone shift should alter local representation, not the underlying global instant. That is relevant to a different intervention. For the stated situation, the required action is: Standardize the RTC to UTC and apply the intended timezone only for local display. The governing reason is: Keeping the hardware clock in UTC avoids region-specific daylight-saving ambiguity in stored clock time. C:NTP aligns physical time; formatting local time is controlled by timezone rules. That is relevant to a different intervention. For the stated situation, the required action is: Standardize the RTC to UTC and apply the intended timezone only for local display. The governing reason is: Keeping the hardware clock in UTC avoids region-specific daylight-saving ambiguity in stored clock time.
Question 517A script uses host to query public DNS and receives the expected record, but the application follows NSS and still cannot resolve the same name. Which action is the most appropriate first repair? Inspect getent hosts and /etc/nsswitch.conf to reconcile the application's lookup path. Verify and correct the advertised AAAA record or client resolver policy according to authoritative ownership. Configure the upstream DNS servers through the resolver manager or connection profile that owns the stub. Compare direct queries against the branch resolver and a known-good resolver before editing authoritative records. ExplanationCorrect Answer A:Inspect getent hosts and /etc/nsswitch.conf to reconcile the application's lookup path. This targets the failure described rather than another system component. Raw DNS utilities bypass parts of the NSS resolution order that applications may use. The expected result is: getent resolves the service name consistently with the application's lookup result. Incorrect Answers B:Hostnames can map to distinct IPv4 and IPv6 records, each of which requires a valid route. That is relevant to a different intervention. For the stated situation, the required action is: Inspect getent hosts and /etc/nsswitch.conf to reconcile the application's lookup path. The governing reason is: Raw DNS utilities bypass parts of the NSS resolution order that applications may use. C:A generated resolver file reflects active management state rather than serving as the lasting configuration source. That is relevant to a different intervention. For the stated situation, the required action is: Inspect getent hosts and /etc/nsswitch.conf to reconcile the application's lookup path. The governing reason is: Raw DNS utilities bypass parts of the NSS resolution order that applications may use. D:Resolver-specific caching or forwarding faults can exist even when authoritative DNS data is healthy. That is relevant to a different intervention. For the stated situation, the required action is: Inspect getent hosts and /etc/nsswitch.conf to reconcile the application's lookup path. The governing reason is: Raw DNS utilities bypass parts of the NSS resolution order that applications may use.
Question 518A nightly backup is configured in one user's crontab but fails after the account is deleted because ownership of the job was never moved to a managed service identity. What can go wrong if no corrective work is performed? A repeatedly failing workload is mistaken for a scheduling problem and remains broken. Automated backups silently stop when an employee account is removed. The scheduler parses an invalid command field and never executes the intended task. The recurring job fails only when the scheduler launches it unattended. ExplanationCorrect Answer B:Automated backups silently stop when an employee account is removed. The direct consequence is addressed by: Transfer the scheduled task to an approved persistent service account or managed system-level schedule. A successful test would show: The backup continues to execute under the supported identity after the human account is decommissioned. Incorrect Answers A: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: Automated backups silently stop when an employee account is removed. C:System-wide crontab entries include an account field that per-user crontabs do not include. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Automated backups silently stop when an employee account is removed. D:Scheduled execution inherits a minimal environment and should not assume an interactive shell startup context. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Automated backups silently stop when an employee account is removed.
Question 519A shared Linux host has hundreds of developers, and an administrator plans to edit /etc/group by hand to remove one obsolete team group. Which governing rule explains why this repair works: Use groupdel after checking dependencies and active references, rather than making an unreviewed raw-file edit. Special-purpose daemon identities should not inherit ordinary interactive account privileges. Account expiration restricts login based on lifecycle policy independently of password age. Supported group management utilities maintain the group's database structure and consistency. A group display name can change independently of the numerical GID used by filesystem permissions. ExplanationCorrect Answer C:Supported group management utilities maintain the group's database structure and consistency. The proposed repair works on this mechanism rather than an unrelated symptom. Use groupdel after checking dependencies and active references, rather than making an unreviewed raw-file edit. Incorrect Answers A:Special-purpose daemon identities should not inherit ordinary interactive account privileges. This does not establish the proposed intervention. The governing principle here is: Supported group management utilities maintain the group's database structure and consistency. Apply it by: Use groupdel after checking dependencies and active references, rather than making an unreviewed raw-file edit. B:Account expiration restricts login based on lifecycle policy independently of password age. This does not establish the proposed intervention. The governing principle here is: Supported group management utilities maintain the group's database structure and consistency. Apply it by: Use groupdel after checking dependencies and active references, rather than making an unreviewed raw-file edit. D:A group display name can change independently of the numerical GID used by filesystem permissions. This does not establish the proposed intervention. The governing principle here is: Supported group management utilities maintain the group's database structure and consistency. Apply it by: Use groupdel after checking dependencies and active references, rather than making an unreviewed raw-file edit.
Question 520An admin wants to validate a new user forwarding rule but tests only that ~/.forward exists and is readable. Which change most directly addresses this failure? Regenerate the MTA's alias database with newaliases where required and test a local delivery. Configure an approved ~/.forward file for the account and test the MTA's forwarding behavior. Remove the overly broad alias and create only the approved recipient-specific forwarding rules. Send a real local message and verify actual forwarding in the MTA's delivery records. ExplanationCorrect Answer D:Send a real local message and verify actual forwarding in the MTA's delivery records. It changes the dependency that is failing in the scenario. The presence of a forwarding file does not prove its syntax, ownership and delivery path are accepted. Confirm the outcome with: A test message reaches the target inbox and delivery logs show the expected redirection. Incorrect Answers A:Alias source-file edits may require rebuilding the lookup database before the MTA uses them. That is relevant to a different intervention. For the stated situation, the required action is: Send a real local message and verify actual forwarding in the MTA's delivery records. The governing reason is: The presence of a forwarding file does not prove its syntax, ownership and delivery path are accepted. B:User-level forwarding is a recipient-side delivery instruction handled by the local mail agent. That is relevant to a different intervention. For the stated situation, the required action is: Send a real local message and verify actual forwarding in the MTA's delivery records. The governing reason is: The presence of a forwarding file does not prove its syntax, ownership and delivery path are accepted. C:Aliases should map clearly identified local addresses rather than redirect unrelated users' mail. That is relevant to a different intervention. For the stated situation, the required action is: Send a real local message and verify actual forwarding in the MTA's delivery records. The governing reason is: The presence of a forwarding file does not prove its syntax, ownership and delivery path are accepted.