Question 740A time service starts but the network blocks its upstream UDP transport, leaving all peers unreachable even though DNS resolves their names. The team recommends: Check time-source reachability and permit the approved NTP traffic path where policy allows. Which Linux behavior best explains that recommendation? Time source selection is part of the trust boundary; merely being synchronized does not establish source compliance. A timezone shift should alter local representation, not the underlying global instant. Clock synchronization and timezone display are independent; time-sensitive services require accurate system time. Resolving a time server name does not prove that NTP packets can reach it and return. ExplanationCorrect Answer D:Resolving a time server name does not prove that NTP packets can reach it and return. The underlying rule explains the proposal. Check time-source reachability and permit the approved NTP traffic path where policy allows. Without it, clock skew continues because synchronization packets never complete a round trip. Incorrect Answers A:Time source selection is part of the trust boundary; merely being synchronized does not establish source compliance. This does not establish the proposed intervention. The governing principle here is: Resolving a time server name does not prove that NTP packets can reach it and return. Apply it by: Check time-source reachability and permit the approved NTP traffic path where policy allows. B:A timezone shift should alter local representation, not the underlying global instant. This does not establish the proposed intervention. The governing principle here is: Resolving a time server name does not prove that NTP packets can reach it and return. Apply it by: Check time-source reachability and permit the approved NTP traffic path where policy allows. C:Clock synchronization and timezone display are independent; time-sensitive services require accurate system time. This does not establish the proposed intervention. The governing principle here is: Resolving a time server name does not prove that NTP packets can reach it and return. Apply it by: Check time-source reachability and permit the approved NTP traffic path where policy allows.
Question 741A script run from a cron-like noninteractive session unexpectedly lacks a command alias that administrators rely upon in interactive Bash sessions. An administrator proposes to use the executable's explicit path or a controlled PATH within the script instead of relying on an alias. Which technical principle supports the proposal? Aliases are generally interactive shell conveniences and cannot substitute for declared batch dependencies. A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. Login profiles establish inherited command search paths, whereas interactive rc files need not run in every login context. A child Bash inherits exported environment entries, not every internal variable in the parent's symbol table. ExplanationCorrect Answer A:Aliases are generally interactive shell conveniences and cannot substitute for declared batch dependencies. The proposed repair works on this mechanism rather than an unrelated symptom. Use the executable's explicit path or a controlled PATH within the script instead of relying on an alias. Incorrect Answers B:A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. This does not establish the proposed intervention. The governing principle here is: Aliases are generally interactive shell conveniences and cannot substitute for declared batch dependencies. Apply it by: Use the executable's explicit path or a controlled PATH within the script instead of relying on an alias. C: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: Aliases are generally interactive shell conveniences and cannot substitute for declared batch dependencies. Apply it by: Use the executable's explicit path or a controlled PATH within the script instead of relying on an alias. D:A child Bash inherits exported environment entries, not every internal variable in the parent's symbol table. This does not establish the proposed intervention. The governing principle here is: Aliases are generally interactive shell conveniences and cannot substitute for declared batch dependencies. Apply it by: Use the executable's explicit path or a controlled PATH within the script instead of relying on an alias.
Question 742An application on a bastion must reach a database port accessible only from the SSH gateway, but the operator proposes exposing the database to the Internet. What can go wrong if no corrective work is performed? Other users can copy the private key and impersonate the automation identity. Opening the database externally creates unnecessary attack surface and may violate segmentation policy. Operators may ignore a genuine man-in-the-middle attack while clearing connection warnings. A modified artifact can be accepted as authentic when only its download channel is considered. ExplanationCorrect Answer B:Opening the database externally creates unnecessary attack surface and may violate segmentation policy. The direct consequence is addressed by: Use an authorized SSH local port forward to the internal service through the gateway. A successful test would show: A client connects through the local forwarded port while the database remains unavailable directly from the Internet. Incorrect Answers A:Private-key confidentiality is a prerequisite for secure public-key authentication and is enforced by OpenSSH. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Opening the database externally creates unnecessary attack surface and may violate segmentation policy. C:Host-key changes must be authenticated rather than silently trusted because they can indicate impersonation. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Opening the database externally creates unnecessary attack surface and may violate segmentation policy. D:A digital signature binds the signer identity to the signed content independently of transport-channel security. That does not describe the principal exposure from the stated failure. The direct avoidable risk is: Opening the database externally creates unnecessary attack surface and may violate segmentation policy.
Question 743A group-owned operations directory must remain accessible to the service team, but a new contractor is added to a similarly named group with no filesystem rights. Which governing rule explains why this repair works: Check the directory's numerical group ownership and add the contractor only to the authorized matching group. Special-purpose daemon identities should not inherit ordinary interactive account privileges. Password tools manage credential hashes and related account databases with supported update mechanisms. Group names alone do not establish authorization; the file's GID and process memberships determine access. Linux DAC interprets file ownership through UIDs, so collisions invalidate intended separation. ExplanationCorrect Answer C:Group names alone do not establish authorization; the file's GID and process memberships determine access. The proposed repair works on this mechanism rather than an unrelated symptom. Check the directory's numerical group ownership and add the contractor only to the authorized matching group. 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: Group names alone do not establish authorization; the file's GID and process memberships determine access. Apply it by: Check the directory's numerical group ownership and add the contractor only to the authorized matching group. B:Password tools manage credential hashes and related account databases with supported update mechanisms. This does not establish the proposed intervention. The governing principle here is: Group names alone do not establish authorization; the file's GID and process memberships determine access. Apply it by: Check the directory's numerical group ownership and add the contractor only to the authorized matching group. D:Linux DAC interprets file ownership through UIDs, so collisions invalidate intended separation. This does not establish the proposed intervention. The governing principle here is: Group names alone do not establish authorization; the file's GID and process memberships determine access. Apply it by: Check the directory's numerical group ownership and add the contractor only to the authorized matching group.
Question 744A server sends an IPv4 packet to a remote network but the team proposes setting only a DNS search domain as the network's path out. What is the most defensible corrective step? Replace the documentation-only TEST-NET prefix with properly assigned usable addresses in the real deployment. Verify the relevant application transport separately and interpret ICMP filtering correctly. Test TCP connectivity to the intended HTTPS port and inspect policy along that path. Configure a valid default gateway or specific route for destinations beyond the local subnet. ExplanationCorrect Answer D:Configure a valid default gateway or specific route for destinations beyond the local subnet. It changes the dependency that is failing in the scenario. Routing chooses the next hop for remote IP packets independently of DNS suffix handling. Confirm the outcome with: The kernel route lookup shows the approved next hop and the remote address is reachable. Incorrect Answers A:Some address blocks are reserved for examples and should not be treated as globally allocated customer space. That is relevant to a different intervention. For the stated situation, the required action is: Configure a valid default gateway or specific route for destinations beyond the local subnet. The governing reason is: Routing chooses the next hop for remote IP packets independently of DNS suffix handling. B: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: Configure a valid default gateway or specific route for destinations beyond the local subnet. The governing reason is: Routing chooses the next hop for remote IP packets independently of DNS suffix handling. C:ICMP reachability and TCP port 443 service acceptance are different protocol behaviors. That is relevant to a different intervention. For the stated situation, the required action is: Configure a valid default gateway or specific route for destinations beyond the local subnet. The governing reason is: Routing chooses the next hop for remote IP packets independently of DNS suffix handling.
Question 745A workstation resolves a hostname to an old IP through /etc/hosts even though dig returns the new authoritative DNS value. After applying the correction, which observation would provide the strongest acceptance evidence? getent hosts returns the intended address and the application connects to the current server. getent resolves the expected unqualified internal name to its correct address. The branch resolver returns the same current answer as the known-good comparison endpoint. A local override and external DNS record resolve according to the documented NSS policy. ExplanationCorrect Answer A:getent hosts returns the intended address and the application connects to the current server. A successful configuration edit alone would not prove the behavior. Applications using NSS may prefer local hosts entries to DNS answers depending on configuration. Incorrect Answers B:Search domains are optional resolver expansions and are separate from the DNS server's IP address. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: getent hosts returns the intended address and the application connects to the current server. C:Resolver-specific caching or forwarding faults can exist even when authoritative DNS data is healthy. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: getent hosts returns the intended address and the application connects to the current server. D:The NSS hosts setting selects local files, DNS and other mechanisms in an explicit order. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: getent hosts returns the intended address and the application connects to the current server.
Question 746A network drawing allocates 192.0.2.0/24 as a live Internet-facing customer block without realizing the prefix is reserved for documentation. Which post-change test would demonstrate success rather than merely show that a configuration file exists? The route table and subnet calculation identify 192.168.44.128 as the network address for this host. A deployment plan contains a verified allocated prefix and routing tests use that prefix. Both conventional UDP queries and supported TCP DNS requests complete through the approved path. A normal small query succeeds over UDP and a forced TCP query works where the resolver requires it. ExplanationCorrect Answer B:A deployment plan contains a verified allocated prefix and routing tests use that prefix. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Replace the documentation-only TEST-NET prefix with properly assigned usable addresses in the real deployment. Incorrect Answers A:A /25 mask splits the /24 address space into two blocks of 128 addresses. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A deployment plan contains a verified allocated prefix and routing tests use that prefix. C:An application protocol's well-known port can be used with different transport protocols that need separate rules. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A deployment plan contains a verified allocated prefix and routing tests use that prefix. D:DNS commonly uses UDP for queries and TCP for larger responses, zone transfers and fallback scenarios. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: A deployment plan contains a verified allocated prefix and routing tests use that prefix.
Question 747An 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 governing rule explains why this repair works: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. The dot or source builtin executes file contents in the calling shell, unlike running a separate shell process. Bash login initialization uses the first applicable personal login file, so later alternatives are not automatically all loaded. A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. A shell function groups multiple commands and must be defined in the shell context that invokes it. ExplanationCorrect Answer C:A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. The proposed repair works on this mechanism rather than an unrelated symptom. Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. Incorrect Answers A:The dot or source builtin executes file contents in the calling shell, unlike running a separate shell process. This does not establish the proposed intervention. The governing principle here is: A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. Apply it by: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. B:Bash login initialization uses the first applicable personal login file, so later alternatives are not automatically all loaded. This does not establish the proposed intervention. The governing principle here is: A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. Apply it by: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change. D:A shell function groups multiple commands and must be defined in the shell context that invokes it. This does not establish the proposed intervention. The governing principle here is: A process receives an environment snapshot at execution time; changing the parent later does not edit an existing child's environment. Apply it by: Unset the variable in the intended shell and restart affected child processes if their inherited environment must change.
Question 748A client reports SERVFAIL from its configured DNS resolver, but the administrator changes the application's network route instead of testing name resolution directly. The team recommends: Query the configured resolver with dig and repair the resolver or its upstream configuration. Which Linux behavior best explains that recommendation? Resolver-specific caching or forwarding faults can exist even when authoritative DNS data is healthy. A generated resolver file reflects active management state rather than serving as the lasting configuration source. Applications using NSS may prefer local hosts entries to DNS answers depending on configuration. DNS errors must be distinguished from IP reachability because application names depend on resolver behavior. ExplanationCorrect Answer D:DNS errors must be distinguished from IP reachability because application names depend on resolver behavior. The underlying rule explains the proposal. Query the configured resolver with dig and repair the resolver or its upstream configuration. Without it, applications remain unusable by name even when numeric IP connectivity is healthy. Incorrect Answers A:Resolver-specific caching or forwarding faults can exist even when authoritative DNS data is healthy. This does not establish the proposed intervention. The governing principle here is: DNS errors must be distinguished from IP reachability because application names depend on resolver behavior. Apply it by: Query the configured resolver with dig and repair the resolver or its upstream configuration. B: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: DNS errors must be distinguished from IP reachability because application names depend on resolver behavior. Apply it by: Query the configured resolver with dig and repair the resolver or its upstream configuration. C: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: DNS errors must be distinguished from IP reachability because application names depend on resolver behavior. Apply it by: Query the configured resolver with dig and repair the resolver or its upstream configuration.
Question 749A 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. What is the most defensible corrective step? Encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. Validate the signer's public-key fingerprint through a trusted independent source before relying on signature verification. Install the intended public key in the correct account's authorized_keys with safe permissions. Give each person a distinct key pair and install only authorized public keys for their own access. ExplanationCorrect Answer A:Encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. This targets the failure described rather than another system component. Encryption protects confidentiality to the intended private-key holder; a signature alone does not hide plaintext. The expected result is: The recipient decrypts the message, while an unrelated key holder cannot read its contents. Incorrect Answers B:A cryptographically valid signature is meaningful only when its verification key is bound to the expected identity. That is relevant to a different intervention. For the stated situation, the required action is: Encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. The governing reason is: Encryption protects confidentiality to the intended private-key holder; a signature alone does not hide plaintext. C:SSH public-key authentication binds an accepted public key to a particular account on the server. That is relevant to a different intervention. For the stated situation, the required action is: Encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. The governing reason is: Encryption protects confidentiality to the intended private-key holder; a signature alone does not hide plaintext. D:SSH private keys establish personal authentication identity and should not be shared. That is relevant to a different intervention. For the stated situation, the required action is: Encrypt the document with the recipient's verified public key and use a signature separately if authenticity is needed. The governing reason is: Encryption protects confidentiality to the intended private-key holder; a signature alone does not hide plaintext.
Question 750A virtual machine restarts with incorrect time whenever its hardware clock is interpreted as local time after moving across geographic regions. Which post-change test would demonstrate success rather than merely show that a configuration file exists? After a maintenance window the host stays synchronized without another manual adjustment. timedatectl and hwclock show consistent UTC storage and the correct local display after reboot. chronyc sources shows a selected reachable source and tracking offset improves. chronyc sources receives valid measurements from the approved address after the network change. ExplanationCorrect Answer B:timedatectl and hwclock show consistent UTC storage and the correct local display after reboot. This is an end-to-end observation tied to the fault, not a generic host-health indicator. Standardize the RTC to UTC and apply the intended timezone only for local display. Incorrect Answers A:Manual wall-clock changes do not establish ongoing synchronization with a reliable reference. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: timedatectl and hwclock show consistent UTC storage and the correct local display after reboot. C:An active daemon cannot synchronize without usable upstream references and accepted time samples. This relates to a separate check and does not verify the specified repair. The relevant acceptance evidence is: timedatectl and hwclock show consistent UTC storage and the correct local display after reboot. D: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: timedatectl and hwclock show consistent UTC storage and the correct local display after reboot.