Question 210
A release manager needs a non-mutating list of pending upgrades for installed packages before opening the maintenance window. Which DNF command checks what updates are available?
- dnf upgrade
- dnf check-update
- dnf install rsyslog
- dnf group remove "System Tools"
Explanation
Correct Answer
B:Check-update queries for newer versions available for installed packages without executing the upgrade transaction.
Incorrect Answers
A:Upgrade installs available newer versions and changes the production machine.
C:Install targets one named package and does not inventory all pending upgrades.
D:Removing a package group is a destructive operation unrelated to viewing available updates.
Question 211
After change approval, the operator should apply security-errata-related RPM updates only, rather than every feature update currently available. Which DNF operation selects that security update scope?
- dnf upgrade
- dnf check-update
- dnf upgrade --security
- dnf search security
Explanation
Correct Answer
C:The --security filter restricts the DNF upgrade selection to security-related advisories, consistent with the maintenance authorization.
Incorrect Answers
A:Unqualified upgrade also applies nonsecurity updates and exceeds the restricted change scope.
B:Checking shows what might be updated, but does not apply the authorized security fixes.
D:Search finds package metadata mentioning security, not actual security advisory updates.
Question 212
The maintenance window permits the installed `rsyslog` package and its required dependencies to move to the newest available version; all other packages should remain outside the requested target set. Which command fits?
- dnf upgrade
- dnf info rsyslog
- dnf remove rsyslog
- dnf upgrade rsyslog
Explanation
Correct Answer
D:Naming rsyslog on upgrade selects the package for update and pulls dependency changes required for that transaction.
Incorrect Answers
A:Unqualified upgrade also selects unrelated installed packages with available newer versions.
B:Info can display the newest available rsyslog version, but reading metadata never replaces the installed rsyslog executable or applies its dependency updates.
C:Remove would uninstall the logging package rather than upgrade it.
Question 213
A repository contains both installed and installable packages. Before a planned change, an auditor needs a unified listing of both categories rather than a single filter. Which DNF form returns that summary?
- dnf list
- dnf list --installed
- dnf list --available
- dnf remove --oldinstallonly
Explanation
Correct Answer
A:The unfiltered list command reports installed and available package information together, unlike the narrower --installed or --available filters.
Incorrect Answers
B:--installed excludes repo packages not on the machine, failing the combined inventory.
C:The --available filter shows installable repository candidates; it omits installed-only packages that the audit explicitly requires in the combined inventory.
D:Removal would change local packages instead of producing a combined package listing.
Question 214
The administrator wants to know which packages currently installed have been superseded by newer repository releases, but the change board forbids applying them yet. Which read-only filtered DNF command exposes upgrade candidates?
- dnf upgrade
- dnf list --upgrades
- dnf list --available
- dnf remove
Explanation
Correct Answer
B:The upgrades filter displays installed packages for which newer enabled-repository candidates exist; it does not apply the updates.
Incorrect Answers
A:This applies the available upgrades and violates the read-only change-board restriction.
C:Available inventory is broader than currently installed upgrade candidates and includes not-installed packages.
D:Remove changes the installed state rather than inspecting update eligibility.
Question 215
After vendor approval, a package called `telnet` must be uninstalled and DNF should assess any now-unused dependent packages, rather than leaving it installed. Which operation meets this removal request?
- dnf list telnet
- dnf install telnet
- dnf remove telnet
- dnf info telnet
Explanation
Correct Answer
C:Remove requests a DNF uninstall transaction for telnet and resolves dependent or unused package actions under the current policy.
Incorrect Answers
A:Listing telnet only reports the package’s current installation status and versions; it never submits the uninstall transaction requested by the change board.
B:Install would add the package if absent, opposite to the stated removal.
D:Info is read-only metadata inspection and cannot uninstall the package.
Question 216
A RHEL 10 administrator is deciding whether the optional development-tool group suits a build machine and wants to see its component packages before installing it. Which DNF group inspection answers the question?
- dnf group install "Development Tools"
- dnf history info 1
- dnf list --installed
- dnf group info "Development Tools"
Explanation
Correct Answer
D:Group info describes a selected group and its member packages, supporting a review before change approval.
Incorrect Answers
A:Group install actually deploys the package group and skips the required pre-install assessment boundary.
B:One historical transaction does not provide the planned package membership of an available software group.
C:Installed package inventory reflects present RPMs rather than the packages included in the proposed group.
Question 217
On a RHEL 10 administration workstation, the operator needs to install the named rpm package from enabled repositories. The package or lookup term, when required, is lsof. Which command fits?
- dnf install lsof
- dnf remove lsof
- dnf info lsof
- dnf search lsof
Explanation
Correct Answer
A:dnf install resolves and installs the specified package and required dependencies. This performs the described action on this host.
Incorrect Answers
B:dnf remove uninstalls the named RPM and may remove dependencies that are no longer needed. That operation does not accomplish the stated package-management task. The stated task is to install the named rpm package from enabled repositories. Instead, `dnf install lsof` is the relevant alternative because dnf install resolves and installs the specified package and required dependencies. This performs the described action on this host.
C:dnf info shows package metadata without changing its installation state. That operation does not accomplish the stated package-management task. The stated task is to install the named rpm package from enabled repositories. Instead, `dnf install lsof` is the relevant alternative because dnf install resolves and installs the specified package and required dependencies. This performs the described action on this host.
D:dnf search matches package names and descriptions for a search term. That operation does not accomplish the stated package-management task. The stated task is to install the named rpm package from enabled repositories. Instead, `dnf install lsof` is the relevant alternative because dnf install resolves and installs the specified package and required dependencies. This performs the described action on this host.
Question 218
On a RHEL 10 administration workstation, the operator needs to review installed package transaction history. The package or lookup term, when required, is tmux. Which command fits?
- dnf install tmux
- dnf history
- dnf remove tmux
- dnf info tmux
Explanation
Correct Answer
B:dnf history displays recorded DNF transactions and does not initiate a new one. This performs the described action on this host.
Incorrect Answers
A:dnf install resolves and installs the specified package and required dependencies. That operation does not accomplish the stated package-management task.
C:dnf remove uninstalls the named RPM and may remove dependencies that are no longer needed. That operation does not accomplish the stated package-management task. The stated task is to review installed package transaction history. Instead, `dnf history` is the relevant alternative because dnf history displays recorded DNF transactions and does not initiate a new one. This performs the described action on this host.
D:dnf info shows package metadata without changing its installation state. That operation does not accomplish the stated package-management task. The stated task is to review installed package transaction history. Instead, `dnf history` is the relevant alternative because dnf history displays recorded DNF transactions and does not initiate a new one. This performs the described action on this host.
Question 219
On a RHEL 10 administration workstation, the operator needs to display details about the available package. The package or lookup term, when required, is tmux. Which command fits?
- dnf search tmux
- dnf list --installed
- dnf info tmux
- dnf repolist
Explanation
Correct Answer
C:dnf info shows package metadata without changing its installation state. This performs the described action on this host. This matches the stated requirement to display details about the available package. By contrast, the plausible alternative `dnf list --installed` has the effect: dnf list --installed lists the local installed RPM set, rather than repository candidates. That operation does not accomplish the stated package-management task; that operation would not achieve the requested result.
Incorrect Answers
A:dnf search matches package names and descriptions for a search term. That operation does not accomplish the stated package-management task. The stated task is to display details about the available package. Instead, `dnf info tmux` is the relevant alternative because dnf info shows package metadata without changing its installation state. This performs the described action on this host.
B:dnf list --installed lists the local installed RPM set, rather than repository candidates. That operation does not accomplish the stated package-management task. The stated task is to display details about the available package. Instead, `dnf info tmux` is the relevant alternative because dnf info shows package metadata without changing its installation state. This performs the described action on this host.
D:dnf repolist enumerates enabled repositories without installing content. That operation does not accomplish the stated package-management task. The stated task is to display details about the available package. Instead, `dnf info tmux` is the relevant alternative because dnf info shows package metadata without changing its installation state. This performs the described action on this host.
Question 220
On a RHEL 10 administration workstation, the operator needs to display details about the available package. The package or lookup term, when required, is nmap-ncat. Which command fits?
- dnf search nmap-ncat
- dnf list --installed
- dnf repolist
- dnf info nmap-ncat
Explanation
Correct Answer
D:dnf info shows package metadata without changing its installation state. This performs the described action on this host. This matches the stated requirement to display details about the available package. By contrast, the plausible alternative `dnf list --installed` has the effect: dnf list --installed lists the local installed RPM set, rather than repository candidates. That operation does not accomplish the stated package-management task; that operation would not achieve the requested result. The correct action is scoped to On a RHEL 10 administration workstation, the operator needs to display details about the available package. The package or lookup term, when required, is, which is the object or case specified by the scenario.
Incorrect Answers
A:dnf search matches package names and descriptions for a search term. That operation does not accomplish the stated package-management task. The stated task is to display details about the available package. Instead, `dnf info nmap-ncat` is the relevant alternative because dnf info shows package metadata without changing its installation state. This performs the described action on this host.
B:dnf list --installed lists the local installed RPM set, rather than repository candidates. That operation does not accomplish the stated package-management task. The stated task is to display details about the available package. Instead, `dnf info nmap-ncat` is the relevant alternative because dnf info shows package metadata without changing its installation state. This performs the described action on this host.
C:dnf repolist enumerates enabled repositories without installing content. That operation does not accomplish the stated package-management task. The stated task is to display details about the available package. Instead, `dnf info nmap-ncat` is the relevant alternative because dnf info shows package metadata without changing its installation state. This performs the described action on this host.
Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests