Question 1010An SELinux-enforcing server rejects a process opening its custom document root. Which repeatable process change best sustains this resolution? Test custom path labeling under enforcing mode before deploying a new application. Audit SSH key ownership and restrictive permissions during identity changes. Scan configuration and build artifacts for secrets and enforce restrictive file modes. Set capacity-tested descriptor limits and alert on approaching open-file ceilings. ExplanationCorrect Answer A:Test custom path labeling under enforcing mode before deploying a new application. This safeguards the intended change because Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. The immediate repair remains: Inspect AVC denials and correct the designated file context or policy rather than disabling SELinux. Other Answers B:SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. The continuing safeguard required here is: Test custom path labeling under enforcing mode before deploying a new application. C:Readable files expose credentials to other local principals regardless of whether application code is trusted. The continuing safeguard required here is: Test custom path labeling under enforcing mode before deploying a new application. D:Processes consume file descriptors for sockets and files, and per-process limits can block new opens. The continuing safeguard required here is: Test custom path labeling under enforcing mode before deploying a new application.
Question 1011A Linux admin can connect to SSH but is repeatedly denied key authentication. What is the most appropriate supported Linux change in this situation? Inspect neighbor tables and duplicate addresses, then assign unique approved interface addresses. Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. Inspect AVC denials and correct the designated file context or policy rather than disabling SELinux. Inspect stateful packet-filter rules and conntrack behavior to restore approved established traffic. ExplanationCorrect Answer B:Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. The relevant Linux behavior is: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. Verify its effectiveness by: Test the approved key from a controlled client and confirm unknown keys remain rejected. Other Answers A:ARP associates IPv4 addresses with link-layer peers and conflicts can redirect packets unpredictably. It does not resolve the specific failure; the targeted correction is: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. C:Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. It does not resolve the specific failure; the targeted correction is: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. D:Connection-tracking rules distinguish established return packets from unsolicited new flows. It does not resolve the specific failure; the targeted correction is: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy.
Question 1012A Linux admin can connect to SSH but is repeatedly denied key authentication. What Linux system principle makes the proposed approach appropriate? SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. Heavy swap paging introduces storage IO and latency when active memory exceeds practical available RAM. Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. Connection-tracking rules distinguish established return packets from unsolicited new flows. ExplanationCorrect Answer A:SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. That behavior supports this specific response: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. A confirming test is: Test the approved key from a controlled client and confirm unknown keys remain rejected. Other Answers B:Heavy swap paging introduces storage IO and latency when active memory exceeds practical available RAM. That concept is relevant instead to: A service stalls during memory allocation and swap-in activity increases. The present case depends on: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. C:Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. That concept is relevant instead to: A web service returns permission denied after an application update despite correct Unix mode bits. The present case depends on: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. D:Connection-tracking rules distinguish established return packets from unsolicited new flows. That concept is relevant instead to: A firewall rule unexpectedly drops established connections after a ruleset migration. The present case depends on: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules.
Question 1013A Linux admin can connect to SSH but is repeatedly denied key authentication. Which controlled check would best verify that the issue is resolved? Run a trusted openssl handshake and confirm the expected hostname validates without insecure flags. Verify token revocation and denied access to the replacement secret by unauthorized users. Compare per-process CPU and request latency before and after stopping the noncritical load. Test the approved key from a controlled client and confirm unknown keys remain rejected. ExplanationCorrect Answer D:Test the approved key from a controlled client and confirm unknown keys remain rejected. This tests the underlying failure: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. Other Answers A:TLS peer verification depends on valid identity, chain trust and time validity of certificates. That does not establish the required outcome; verify it by checking: Test the approved key from a controlled client and confirm unknown keys remain rejected. B:Readable files expose credentials to other local principals regardless of whether application code is trusted. That does not establish the required outcome; verify it by checking: Test the approved key from a controlled client and confirm unknown keys remain rejected. C:Concurrent CPU-bound processes compete for scheduler time even if network and disk remain healthy. That does not establish the required outcome; verify it by checking: Test the approved key from a controlled client and confirm unknown keys remain rejected.
Question 1014A Linux admin can connect to SSH but is repeatedly denied key authentication. Which repeatable process change best sustains this resolution? Test custom path labeling under enforcing mode before deploying a new application. Include established-connection scenarios in host firewall regression tests. Audit SSH key ownership and restrictive permissions during identity changes. Record SMART trends and schedule tested backup restoration procedures. ExplanationCorrect Answer C:Audit SSH key ownership and restrictive permissions during identity changes. This safeguards the intended change because SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. The immediate repair remains: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. Other Answers A:Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. The continuing safeguard required here is: Audit SSH key ownership and restrictive permissions during identity changes. B:Connection-tracking rules distinguish established return packets from unsolicited new flows. The continuing safeguard required here is: Audit SSH key ownership and restrictive permissions during identity changes. D:Media errors can manifest as block device timeouts before an entire filesystem becomes unavailable. The continuing safeguard required here is: Audit SSH key ownership and restrictive permissions during identity changes.
Question 1015An operator replaces authorized_keys yet remote key login fails with no password fallback. Which Linux administration response directly addresses the stated condition? Rotate the leaked token and move it into a permission-restricted approved secret store. Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. Inspect the certificate chain, SAN names and trust store instead of bypassing TLS verification. Inspect vmstat and iostat for blocked IO and storage latency before changing CPU allocations. ExplanationCorrect Answer B:Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. The relevant Linux behavior is: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. Verify its effectiveness by: Test the approved key from a controlled client and confirm unknown keys remain rejected. Other Answers A:Readable files expose credentials to other local principals regardless of whether application code is trusted. It does not resolve the specific failure; the targeted correction is: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. C:TLS peer verification depends on valid identity, chain trust and time validity of certificates. It does not resolve the specific failure; the targeted correction is: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. D:Linux load average can include tasks waiting in uninterruptible states rather than only runnable CPU work. It does not resolve the specific failure; the targeted correction is: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy.
Question 1016An operator replaces authorized_keys yet remote key login fails with no password fallback. Which underlying Linux concept is most relevant to this outcome? The OOM killer may terminate processes when memory exhaustion exceeds reclaim or configured limits. Group membership and sudoers authorization are separate, and sudo matches specific command policy. SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. Connection-tracking rules distinguish established return packets from unsolicited new flows. ExplanationCorrect Answer C:SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. That behavior supports this specific response: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. A confirming test is: Test the approved key from a controlled client and confirm unknown keys remain rejected. Other Answers A:The OOM killer may terminate processes when memory exhaustion exceeds reclaim or configured limits. That concept is relevant instead to: A container workload consumes memory until the kernel kills an application process. The present case depends on: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. B:Group membership and sudoers authorization are separate, and sudo matches specific command policy. That concept is relevant instead to: A user receives sudo permission denied despite having the correct application group. The present case depends on: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. D:Connection-tracking rules distinguish established return packets from unsolicited new flows. That concept is relevant instead to: A firewall rule unexpectedly drops established connections after a ruleset migration. The present case depends on: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules.
Question 1017An operator replaces authorized_keys yet remote key login fails with no password fallback. Which validation most directly confirms the Linux solution works? Compare controlled slow and normal runs with the configured freshness and duration alerts. Test the approved key from a controlled client and confirm unknown keys remain rejected. Run a trusted openssl handshake and confirm the expected hostname validates without insecure flags. Generate an allowed client connection and verify both directions while disallowed new flows fail. ExplanationCorrect Answer B:Test the approved key from a controlled client and confirm unknown keys remain rejected. This tests the underlying failure: SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. Other Answers A:A process exit code can indicate success without proving timely completion or acceptable business latency. That does not establish the required outcome; verify it by checking: Test the approved key from a controlled client and confirm unknown keys remain rejected. C:TLS peer verification depends on valid identity, chain trust and time validity of certificates. That does not establish the required outcome; verify it by checking: Test the approved key from a controlled client and confirm unknown keys remain rejected. D:Connection-tracking rules distinguish established return packets from unsolicited new flows. That does not establish the required outcome; verify it by checking: Test the approved key from a controlled client and confirm unknown keys remain rejected.
Question 1018An operator replaces authorized_keys yet remote key login fails with no password fallback. Which ongoing operational safeguard helps prevent the issue recurring? Monitor certificate lifecycles and require SAN and chain tests before renewal cutover. Monitor user-journey health alongside infrastructure telemetry. Include established-connection scenarios in host firewall regression tests. Audit SSH key ownership and restrictive permissions during identity changes. ExplanationCorrect Answer D:Audit SSH key ownership and restrictive permissions during identity changes. This safeguards the intended change because SSH public-key authentication depends on trusted key files, permissions and daemon authorization rules. The immediate repair remains: Check sshd logs, file ownership, authorized_keys permissions and effective SSH key policy. Other Answers A:TLS peer verification depends on valid identity, chain trust and time validity of certificates. The continuing safeguard required here is: Audit SSH key ownership and restrictive permissions during identity changes. B:Availability of a running host does not guarantee application correctness or user-facing service health. The continuing safeguard required here is: Audit SSH key ownership and restrictive permissions during identity changes. C:Connection-tracking rules distinguish established return packets from unsolicited new flows. The continuing safeguard required here is: Audit SSH key ownership and restrictive permissions during identity changes.
Question 1019A service token accidentally appears in a world-readable environment file. Which action best resolves this observed Linux system requirement? Inspect stateful packet-filter rules and conntrack behavior to restore approved established traffic. Rotate the leaked token and move it into a permission-restricted approved secret store. Inspect AVC denials and correct the designated file context or policy rather than disabling SELinux. Recover the bootloader configuration and reinstall or regenerate GRUB as appropriate to the platform. ExplanationCorrect Answer B:Rotate the leaked token and move it into a permission-restricted approved secret store. The relevant Linux behavior is: Readable files expose credentials to other local principals regardless of whether application code is trusted. Verify its effectiveness by: Verify token revocation and denied access to the replacement secret by unauthorized users. Other Answers A:Connection-tracking rules distinguish established return packets from unsolicited new flows. It does not resolve the specific failure; the targeted correction is: Rotate the leaked token and move it into a permission-restricted approved secret store. C:Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. It does not resolve the specific failure; the targeted correction is: Rotate the leaked token and move it into a permission-restricted approved secret store. D:GRUB relies on correct paths to its modules, configuration and boot images. It does not resolve the specific failure; the targeted correction is: Rotate the leaked token and move it into a permission-restricted approved secret store.
Question 1020A service token accidentally appears in a world-readable environment file. Which underlying Linux concept is most relevant to this outcome? Readable files expose credentials to other local principals regardless of whether application code is trusted. Group membership and sudoers authorization are separate, and sudo matches specific command policy. Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. systemd mount jobs can block normal boot when a required fstab device cannot be found. ExplanationCorrect Answer A:Readable files expose credentials to other local principals regardless of whether application code is trusted. That behavior supports this specific response: Rotate the leaked token and move it into a permission-restricted approved secret store. A confirming test is: Verify token revocation and denied access to the replacement secret by unauthorized users. Other Answers B:Group membership and sudoers authorization are separate, and sudo matches specific command policy. That concept is relevant instead to: A user receives sudo permission denied despite having the correct application group. The present case depends on: Readable files expose credentials to other local principals regardless of whether application code is trusted. C:Mandatory SELinux labels can prevent access even when discretionary Linux permissions allow it. That concept is relevant instead to: A web service returns permission denied after an application update despite correct Unix mode bits. The present case depends on: Readable files expose credentials to other local principals regardless of whether application code is trusted. D:systemd mount jobs can block normal boot when a required fstab device cannot be found. That concept is relevant instead to: A Linux host enters emergency mode after a storage UUID changed during disk replacement. The present case depends on: Readable files expose credentials to other local principals regardless of whether application code is trusted.