Question 370A Red Hat compatible server needs an RPM package and its dependencies installed consistently. Which action best resolves this observed Linux system requirement? Use rpm -qf or dpkg -S as appropriate to map the file to its installed package. Configure an appropriate non-login shell for the service account and restrict its credentials. Use dnf with configured signed RPM repositories and confirm dependency resolution before install. Validate publisher ownership, signing key and support terms before enabling the repository. ExplanationCorrect Answer C:Use dnf with configured signed RPM repositories and confirm dependency resolution before install. The relevant Linux behavior is: DNF works with RPM metadata and resolves available dependencies from enabled repositories. Verify its effectiveness by: Inspect dnf transaction output and query the resulting package version with rpm. Other Answers A:Package databases record owned paths for managed files, while unmanaged copies may have no owning package. It does not resolve the specific failure; the targeted correction is: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. B:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. It does not resolve the specific failure; the targeted correction is: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. D:Additional repositories expand software trust and can override or conflict with distribution packages. It does not resolve the specific failure; the targeted correction is: Use dnf with configured signed RPM repositories and confirm dependency resolution before install.
Question 371A Red Hat compatible server needs an RPM package and its dependencies installed consistently. Which underlying Linux concept is most relevant to this outcome? APT resolves package dependencies and repository metadata under configured signing trust. DNF works with RPM metadata and resolves available dependencies from enabled repositories. Package managers record transactions but restoring an older package may require compatible dependencies and data format. Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. ExplanationCorrect Answer B:DNF works with RPM metadata and resolves available dependencies from enabled repositories. That behavior supports this specific response: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. A confirming test is: Inspect dnf transaction output and query the resulting package version with rpm. Other Answers A:APT resolves package dependencies and repository metadata under configured signing trust. That concept is relevant instead to: An Ubuntu service VM is missing a required package and operations need normal dependency resolution. The present case depends on: DNF works with RPM metadata and resolves available dependencies from enabled repositories. C:Package managers record transactions but restoring an older package may require compatible dependencies and data format. That concept is relevant instead to: After a repository update, a service begins failing and staff need package history for rollback review. The present case depends on: DNF works with RPM metadata and resolves available dependencies from enabled repositories. D:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. That concept is relevant instead to: An organization needs immediate local login revocation while retaining a leaver's data for review. The present case depends on: DNF works with RPM metadata and resolves available dependencies from enabled repositories.
Question 372A Red Hat compatible server needs an RPM package and its dependencies installed consistently. Which validation most directly confirms the Linux solution works? Confirm repository fingerprint and candidate package origin before downloading any software. Run systemctl is-enabled and is-active and repeat after a controlled reboot. Identify the changed packages and retest the service after a controlled approved revert. Inspect dnf transaction output and query the resulting package version with rpm. ExplanationCorrect Answer D:Inspect dnf transaction output and query the resulting package version with rpm. This tests the underlying failure: DNF works with RPM metadata and resolves available dependencies from enabled repositories. Other Answers A:Additional repositories expand software trust and can override or conflict with distribution packages. That does not establish the required outcome; verify it by checking: Inspect dnf transaction output and query the resulting package version with rpm. B:systemd enable sets boot-time dependencies whereas start changes the unit's current runtime state. That does not establish the required outcome; verify it by checking: Inspect dnf transaction output and query the resulting package version with rpm. C:Package managers record transactions but restoring an older package may require compatible dependencies and data format. That does not establish the required outcome; verify it by checking: Inspect dnf transaction output and query the resulting package version with rpm.
Question 373A Red Hat compatible server needs an RPM package and its dependencies installed consistently. What control should be added to the administration checklist? Manage repository files and GPG trust centrally for RPM-based hosts. Require group-inheritance tests in shared directory provisioning standards. Require formal review of new package sources and track signing key rotation. Review repository trust and apt update schedules before approving package changes. ExplanationCorrect Answer A:Manage repository files and GPG trust centrally for RPM-based hosts. This safeguards the intended change because DNF works with RPM metadata and resolves available dependencies from enabled repositories. The immediate repair remains: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. Other Answers B:Directory setgid can cause new files to inherit the parent directory group on supported filesystems. The continuing safeguard required here is: Manage repository files and GPG trust centrally for RPM-based hosts. C:Additional repositories expand software trust and can override or conflict with distribution packages. The continuing safeguard required here is: Manage repository files and GPG trust centrally for RPM-based hosts. D:APT resolves package dependencies and repository metadata under configured signing trust. The continuing safeguard required here is: Manage repository files and GPG trust centrally for RPM-based hosts.
Question 374A Rocky Linux node should receive a vendor-approved package without manual rpm dependency juggling. What is the most appropriate supported Linux change in this situation? Write a Dockerfile or Containerfile with pinned supported base image and deterministic build steps. Use dnf with configured signed RPM repositories and confirm dependency resolution before install. Inspect package manager transaction history and use a supported rollback or version-pinning procedure. Refresh APT metadata and install the supported package using apt from approved repositories. ExplanationCorrect Answer B:Use dnf with configured signed RPM repositories and confirm dependency resolution before install. The relevant Linux behavior is: DNF works with RPM metadata and resolves available dependencies from enabled repositories. Verify its effectiveness by: Inspect dnf transaction output and query the resulting package version with rpm. Other Answers A:Container build files define layered image construction that can be versioned and rebuilt consistently. It does not resolve the specific failure; the targeted correction is: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. C:Package managers record transactions but restoring an older package may require compatible dependencies and data format. It does not resolve the specific failure; the targeted correction is: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. D:APT resolves package dependencies and repository metadata under configured signing trust. It does not resolve the specific failure; the targeted correction is: Use dnf with configured signed RPM repositories and confirm dependency resolution before install.
Question 375A Rocky Linux node should receive a vendor-approved package without manual rpm dependency juggling. Which underlying Linux concept is most relevant to this outcome? cron launches recurring commands from matching time fields with a restricted environment. Additional repositories expand software trust and can override or conflict with distribution packages. APT resolves package dependencies and repository metadata under configured signing trust. DNF works with RPM metadata and resolves available dependencies from enabled repositories. ExplanationCorrect Answer D:DNF works with RPM metadata and resolves available dependencies from enabled repositories. That behavior supports this specific response: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. A confirming test is: Inspect dnf transaction output and query the resulting package version with rpm. Other Answers A:cron launches recurring commands from matching time fields with a restricted environment. That concept is relevant instead to: An operations group needs a recurring shell task to execute each weekday at an approved hour. The present case depends on: DNF works with RPM metadata and resolves available dependencies from enabled repositories. B:Additional repositories expand software trust and can override or conflict with distribution packages. That concept is relevant instead to: A service requires a package only available from an external software repository. The present case depends on: DNF works with RPM metadata and resolves available dependencies from enabled repositories. C:APT resolves package dependencies and repository metadata under configured signing trust. That concept is relevant instead to: A Debian-derived server must install security updates from approved signed repositories. The present case depends on: DNF works with RPM metadata and resolves available dependencies from enabled repositories.
Question 376A Rocky Linux node should receive a vendor-approved package without manual rpm dependency juggling. Which validation most directly confirms the Linux solution works? Inspect dnf transaction output and query the resulting package version with rpm. Inspect apt policy and installed package version and verify the application starts. Compare inode numbers and link counts with ls -li and verify both names reveal identical data. Confirm repository fingerprint and candidate package origin before downloading any software. ExplanationCorrect Answer A:Inspect dnf transaction output and query the resulting package version with rpm. This tests the underlying failure: DNF works with RPM metadata and resolves available dependencies from enabled repositories. Other Answers B:APT resolves package dependencies and repository metadata under configured signing trust. That does not establish the required outcome; verify it by checking: Inspect dnf transaction output and query the resulting package version with rpm. C:Hard links are directory references to the same inode and cannot normally cross filesystem boundaries. That does not establish the required outcome; verify it by checking: Inspect dnf transaction output and query the resulting package version with rpm. D:Additional repositories expand software trust and can override or conflict with distribution packages. That does not establish the required outcome; verify it by checking: Inspect dnf transaction output and query the resulting package version with rpm.
Question 377A Rocky Linux node should receive a vendor-approved package without manual rpm dependency juggling. Which repeatable process change best sustains this resolution? Manage repository files and GPG trust centrally for RPM-based hosts. Set non-login shells and minimal group membership by default for service identities. Review repository trust and apt update schedules before approving package changes. Require formal review of new package sources and track signing key rotation. ExplanationCorrect Answer A:Manage repository files and GPG trust centrally for RPM-based hosts. This safeguards the intended change because DNF works with RPM metadata and resolves available dependencies from enabled repositories. The immediate repair remains: Use dnf with configured signed RPM repositories and confirm dependency resolution before install. Other Answers B:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. The continuing safeguard required here is: Manage repository files and GPG trust centrally for RPM-based hosts. C:APT resolves package dependencies and repository metadata under configured signing trust. The continuing safeguard required here is: Manage repository files and GPG trust centrally for RPM-based hosts. D:Additional repositories expand software trust and can override or conflict with distribution packages. The continuing safeguard required here is: Manage repository files and GPG trust centrally for RPM-based hosts.
Question 378A package upgrade introduces a regression and the team must identify the earlier installed version. Which action best resolves this observed Linux system requirement? Refresh APT metadata and install the supported package using apt from approved repositories. Validate publisher ownership, signing key and support terms before enabling the repository. Inspect package manager transaction history and use a supported rollback or version-pinning procedure. Use a supported rootless Podman or Docker configuration with only the necessary capabilities. ExplanationCorrect Answer C:Inspect package manager transaction history and use a supported rollback or version-pinning procedure. The relevant Linux behavior is: Package managers record transactions but restoring an older package may require compatible dependencies and data format. Verify its effectiveness by: Identify the changed packages and retest the service after a controlled approved revert. Other Answers A:APT resolves package dependencies and repository metadata under configured signing trust. It does not resolve the specific failure; the targeted correction is: Inspect package manager transaction history and use a supported rollback or version-pinning procedure. B:Additional repositories expand software trust and can override or conflict with distribution packages. It does not resolve the specific failure; the targeted correction is: Inspect package manager transaction history and use a supported rollback or version-pinning procedure. D:Rootless containers map container identities to an unprivileged host context, reducing host privilege exposure. It does not resolve the specific failure; the targeted correction is: Inspect package manager transaction history and use a supported rollback or version-pinning procedure.
Question 379A package upgrade introduces a regression and the team must identify the earlier installed version. Which technical mechanism best explains this Linux behavior? Package managers record transactions but restoring an older package may require compatible dependencies and data format. Additional repositories expand software trust and can override or conflict with distribution packages. Container networking isolates port namespaces, so external reachability needs deliberate port publication or routing. Package databases record owned paths for managed files, while unmanaged copies may have no owning package. ExplanationCorrect Answer A:Package managers record transactions but restoring an older package may require compatible dependencies and data format. That behavior supports this specific response: Inspect package manager transaction history and use a supported rollback or version-pinning procedure. A confirming test is: Identify the changed packages and retest the service after a controlled approved revert. Other Answers B:Additional repositories expand software trust and can override or conflict with distribution packages. That concept is relevant instead to: A service requires a package only available from an external software repository. The present case depends on: Package managers record transactions but restoring an older package may require compatible dependencies and data format. C:Container networking isolates port namespaces, so external reachability needs deliberate port publication or routing. That concept is relevant instead to: A new containerized API works inside its network namespace but cannot be reached from the host. The present case depends on: Package managers record transactions but restoring an older package may require compatible dependencies and data format. D:Package databases record owned paths for managed files, while unmanaged copies may have no owning package. That concept is relevant instead to: An administrator needs to find which installed package owns a particular executable file. The present case depends on: Package managers record transactions but restoring an older package may require compatible dependencies and data format.
Question 380A package upgrade introduces a regression and the team must identify the earlier installed version. Which controlled check would best verify that the issue is resolved? Confirm the reported package and verify its checksum or package metadata against trusted repositories. Check systemctl list-timers and journalctl for a harmless run of the scheduled service. Identify the changed packages and retest the service after a controlled approved revert. Confirm repository fingerprint and candidate package origin before downloading any software. ExplanationCorrect Answer C:Identify the changed packages and retest the service after a controlled approved revert. This tests the underlying failure: Package managers record transactions but restoring an older package may require compatible dependencies and data format. Other Answers A:Package databases record owned paths for managed files, while unmanaged copies may have no owning package. That does not establish the required outcome; verify it by checking: Identify the changed packages and retest the service after a controlled approved revert. B:systemd timers activate associated units at configured monotonic or calendar schedules. That does not establish the required outcome; verify it by checking: Identify the changed packages and retest the service after a controlled approved revert. D:Additional repositories expand software trust and can override or conflict with distribution packages. That does not establish the required outcome; verify it by checking: Identify the changed packages and retest the service after a controlled approved revert.