Question 500An admin wants to validate a new user forwarding rule but tests only that ~/.forward exists and is readable. The proposed fix is to send a real local message and verify actual forwarding in the MTA's delivery records. Which result would verify that the actual problem was resolved? Package and service inspection identify the actual MTA and a test message is processed successfully. A local submission through the sendmail-compatible interface is accepted and routed by the MTA. A test message addressed to root reaches the approved operations recipients. A test message reaches the target inbox and delivery logs show the expected redirection. ExplanationCorrect Answer D:A test message reaches the target inbox and delivery logs show the expected redirection. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Send a real local message and verify actual forwarding in the MTA's delivery records. Incorrect Answers A:Postfix and Exim can provide compatibility commands; interface naming does not identify the daemon. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A test message reaches the target inbox and delivery logs show the expected redirection. B:An MTA routes and transfers messages between mail systems; a user-facing mail reader has another role. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A test message reaches the target inbox and delivery logs show the expected redirection. C:Mail aliases redirect locally addressed messages without changing the application's sender identity. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A test message reaches the target inbox and delivery logs show the expected redirection.
Question 501A monitoring agent sends DNS queries to the correct server using TCP only, and an engineer assumes DNS always operates exclusively over TCP. What should the administrator do to correct the underlying condition? Allow the required DNS transport, normally UDP 53 with TCP support where necessary. Keep the address within private routing and use approved external translation or published public addressing where needed. Use SSH on its configured secure port and disable unnecessary Telnet access. Review and permit the required DNS protocol combination instead of diagnosing only the authoritative server. ExplanationCorrect Answer A:Allow the required DNS transport, normally UDP 53 with TCP support where necessary. This targets the failure described rather than another system component. DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. The expected result is: A normal small query succeeds over UDP and a forced TCP query works where the resolver requires it. Incorrect Answers B:RFC 1918 private IPv4 addresses are not globally routed across the public Internet. That is relevant to a different intervention. For the stated situation, the required action is: Allow the required DNS transport, normally UDP 53 with TCP support where necessary. The governing reason is: DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. C:SSH encrypts the session, whereas Telnet transmits application content without equivalent protection. That is relevant to a different intervention. For the stated situation, the required action is: Allow the required DNS transport, normally UDP 53 with TCP support where necessary. The governing reason is: DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. D: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: Allow the required DNS transport, normally UDP 53 with TCP support where necessary. The governing reason is: DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios.
Question 502A workstation sometimes uses stale address mappings in /etc/hosts even though the authoritative DNS entry has been updated. What can go wrong if no corrective work is performed? Programs fail local name resolution even when direct DNS queries succeed. Users continue connecting to a retired destination despite correct external DNS records. A deployed configuration appears correct on disk while active traffic still uses old networking values. The client returns to an unapproved network and loses access to corporate services. ExplanationCorrect Answer B:Users continue connecting to a retired destination despite correct external DNS records. The direct consequence is addressed by: Correct the obsolete local hosts entry and confirm the system's lookup order. A successful test would show: getent hosts resolves the service to the expected new address after correction. Incorrect Answers A:The hosts database lookup sequence is a configurable NSS policy separate from raw DNS server reachability. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Users continue connecting to a retired destination despite correct external DNS records. C:Writing a profile on disk does not necessarily update the network manager's in-memory active connection. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Users continue connecting to a retired destination despite correct external DNS records. D:NetworkManager uses saved connection profiles to establish networking across sessions. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Users continue connecting to a retired destination despite correct external DNS records.
Question 503A systemd timer was installed with a corresponding service unit but never runs because only the service was enabled, not the timer. Which governing rule explains why this repair works: Enable and start the timer unit, then inspect its next activation time. One-shot jobs stay scheduled until executed or explicitly removed from the queue. Scheduled execution inherits a minimal environment and should not assume an interactive shell startup context. A systemd timer is the scheduling trigger; enabling the target service alone does not create periodic activations. User crontabs are associated with user accounts and should not be relied on after that identity is removed. ExplanationCorrect Answer C:A systemd timer is the scheduling trigger; enabling the target service alone does not create periodic activations. The proposed repair works on this mechanism rather than an unrelated symptom. Enable and start the timer unit, then inspect its next activation time. Incorrect Answers A:One-shot jobs stay scheduled until executed or explicitly removed from the queue. This does not establish the proposed intervention. The governing principle here is: A systemd timer is the scheduling trigger; enabling the target service alone does not create periodic activations. Apply it by: Enable and start the timer unit, then inspect its next activation time. B:Scheduled execution inherits a minimal environment and should not assume an interactive shell startup context. This does not establish the proposed intervention. The governing principle here is: A systemd timer is the scheduling trigger; enabling the target service alone does not create periodic activations. Apply it by: Enable and start the timer unit, then inspect its next activation time. D:User crontabs are associated with user accounts and should not be relied on after that identity is removed. This does not establish the proposed intervention. The governing principle here is: A systemd timer is the scheduling trigger; enabling the target service alone does not create periodic activations. Apply it by: Enable and start the timer unit, then inspect its next activation time.
Question 504A 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. The team recommends: Add the appropriate destination-specific route and validate longest-prefix selection. Which Linux behavior best explains that recommendation? IPv6 maintains routing information separate from IPv4 even on a dual-stack host. A host needs a next-hop route for destinations outside directly connected networks. Among routes with the same prefix length, route metrics influence selection. Linux route lookup prefers the most specific matching prefix over a broader default route. ExplanationCorrect Answer D:Linux route lookup prefers the most specific matching prefix over a broader default route. The underlying rule explains the proposal. Add the appropriate destination-specific route and validate longest-prefix selection. Without it, internal packets travel through an unintended network path and may be blocked or exposed. Incorrect Answers A: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: Linux route lookup prefers the most specific matching prefix over a broader default route. Apply it by: Add the appropriate destination-specific route and validate longest-prefix selection. B:A host needs a next-hop route for destinations outside directly connected networks. This does not establish the proposed intervention. The governing principle here is: Linux route lookup prefers the most specific matching prefix over a broader default route. Apply it by: Add the appropriate destination-specific route and validate longest-prefix selection. C:Among routes with the same prefix length, route metrics influence selection. This does not establish the proposed intervention. The governing principle here is: Linux route lookup prefers the most specific matching prefix over a broader default route. Apply it by: Add the appropriate destination-specific route and validate longest-prefix selection.
Question 505The local alias file has been edited for a shared team mailbox, but delivery continues using old mappings after the change. After applying the correction, which observation would provide the strongest acceptance evidence? A test to the alias reaches the newly configured recipients. A test message addressed to root reaches the approved operations recipients. A well-formed test message appears in the mail queue or recipient inbox with correct headers. Test messages to two different local accounts reach their respective approved destinations. ExplanationCorrect Answer A:A test to the alias reaches the newly configured recipients. A successful configuration edit alone would not prove the behavior. Alias source-file edits may require rebuilding the lookup database before the MTA uses them. Incorrect Answers B:Mail aliases redirect locally addressed messages without changing the application's sender identity. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A test to the alias reaches the newly configured recipients. C:MTA queue files have implementation-specific formats; supported submission tools handle message creation and routing. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A test to the alias reaches the newly configured recipients. D:Aliases should map clearly identified local addresses rather than redirect unrelated users' mail. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A test to the alias reaches the newly configured recipients.
Question 506A monitoring agent sends DNS queries to the correct server using TCP only, and an engineer assumes DNS always operates exclusively over TCP. Why is the recommendation to allow the required DNS transport, normally UDP 53 with TCP support where necessary appropriate here? UDP provides datagram transport without built-in ordering, acknowledgment or retransmission guarantees. DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. TCP provides a reliable ordered byte stream, not application-defined message boundaries. IPv4 and IPv6 have distinct address families and routing tables even when applications are dual-stack. ExplanationCorrect Answer B:DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. The underlying rule explains the proposal. Allow the required DNS transport, normally UDP 53 with TCP support where necessary. Without it, name resolution can fail in routine cases if the allowed transport does not match actual DNS use. Incorrect Answers A:UDP provides datagram transport without built-in ordering, acknowledgment or retransmission guarantees. This does not establish the proposed intervention. The governing principle here is: DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. Apply it by: Allow the required DNS transport, normally UDP 53 with TCP support where necessary. C:TCP provides a reliable ordered byte stream, not application-defined message boundaries. This does not establish the proposed intervention. The governing principle here is: DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. Apply it by: Allow the required DNS transport, normally UDP 53 with TCP support where necessary. D: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: DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. Apply it by: Allow the required DNS transport, normally UDP 53 with TCP support where necessary.
Question 507A contractor has left the company, but the shared administration host still accepts the contractor's password and retains access to a group-owned release directory. Which action is the most appropriate first repair? Use passwd or the supported account-management utility for the controlled reset. Inspect account and shadow-password configuration with authorized tools rather than treating the passwd placeholder as a hash. Lock the departing account immediately and review its group memberships before eventual deletion under retention policy. Use useradd with explicitly reviewed home, shell and group options, then assign credentials through the normal account workflow. ExplanationCorrect Answer C:Lock the departing account immediately and review its group memberships before eventual deletion under retention policy. This targets the failure described rather than another system component. Account lifecycle control separates immediate login denial from preserving needed files and audit records. The expected result is: Authentication for the contractor fails and a membership check shows privileged groups no longer include the account. Incorrect Answers A:Password tools manage credential hashes and related account databases with supported update mechanisms. That is relevant to a different intervention. For the stated situation, the required action is: Lock the departing account immediately and review its group memberships before eventual deletion under retention policy. The governing reason is: Account lifecycle control separates immediate login denial from preserving needed files and audit records. B:Shadow password schemes keep password hashes in a restricted database separate from public account metadata. That is relevant to a different intervention. For the stated situation, the required action is: Lock the departing account immediately and review its group memberships before eventual deletion under retention policy. The governing reason is: Account lifecycle control separates immediate login denial from preserving needed files and audit records. D:Account creation parameters determine initial metadata and permissions instead of being inferred from team naming conventions. That is relevant to a different intervention. For the stated situation, the required action is: Lock the departing account immediately and review its group memberships before eventual deletion under retention policy. The governing reason is: Account lifecycle control separates immediate login denial from preserving needed files and audit records.
Question 508An engineer assumes that a window manager alone supplies the login screen, but the workstation never presents graphical account authentication after boot. The proposed fix is to configure a supported display manager and confirm that it starts the intended desktop session. Which result would verify that the actual problem was resolved? The client connects to the current display and works without manually granting broad server access. An authorized remote client connects while an unauthorized test client is rejected by the X server. The utility opens its window through the approved forwarded session without changing global X access rules. At boot the display manager presents authentication and starts the selected desktop environment on success. ExplanationCorrect Answer D:At boot the display manager presents authentication and starts the selected desktop environment on success. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Configure a supported display manager and confirm that it starts the intended desktop session. Incorrect Answers A:The DISPLAY environment variable directs X clients to a particular server, not automatically to the active monitor. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: At boot the display manager presents authentication and starts the selected desktop environment on success. B:X authorization should identify permitted clients rather than grant every reachable host unrestricted display access. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: At boot the display manager presents authentication and starts the selected desktop environment on success. C:X clients need a reachable X server and valid authorization, even when their programs run on another host. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: At boot the display manager presents authentication and starts the selected desktop environment on success.
Question 509A timer should run each night at a fixed local time, but a monotonic interval counts from last activation and causes the execution hour to drift. An administrator proposes to configure an OnCalendar schedule in a systemd timer and check the host timezone. Which technical principle supports the proposal? Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. One-shot jobs stay scheduled until executed or explicitly removed from the queue. A scheduler can trigger successfully while the executed workload independently fails. System-wide crontab entries include an account field that per-user crontabs do not include. ExplanationCorrect Answer A:Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. The proposed repair works on this mechanism rather than an unrelated symptom. Configure an OnCalendar schedule in a systemd timer and check the host timezone. Incorrect Answers B:One-shot jobs stay scheduled until executed or explicitly removed from the queue. This does not establish the proposed intervention. The governing principle here is: Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. Apply it by: Configure an OnCalendar schedule in a systemd timer and check the host timezone. C:A scheduler can trigger successfully while the executed workload independently fails. This does not establish the proposed intervention. The governing principle here is: Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. Apply it by: Configure an OnCalendar schedule in a systemd timer and check the host timezone. D:System-wide crontab entries include an account field that per-user crontabs do not include. This does not establish the proposed intervention. The governing principle here is: Calendar timers target civil clock times whereas monotonic triggers target elapsed durations. Apply it by: Configure an OnCalendar schedule in a systemd timer and check the host timezone.
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.