Session Review

Session ID: 128
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (102.5-007 / multiple_choice)

Which yum command finds the package that provides the file /bin/wget?

Status: Unanswered

Your Answer:

Options:

Explanation:
To find what provides a file with yum, use whatprovides and the filename [1].

Question 2 (102.5-002 / multiple_choice)

Which command installs an RPM package file?

Status: Unanswered

Your Answer:

Options:

Explanation:
The -i parameter is used with rpm to install a package [1].

Question 3 (102.5-026 / command_line)

Enter the command that finds which installed RPM package owns the file /etc/redhat-release.

Status: Unanswered

Your Answer:

Accepted Answer(s):
rpm -qf /etc/redhat-release

Explanation:
Use rpm -qf to query which package a file belongs to [1].

Question 4 (102.5-012 / multiple_choice)

Which zypper command checks whether the package unzip is installed?

Status: Unanswered

Your Answer:

Options:

Explanation:
To search only installed packages for unzip, use zypper se -i unzip [1].

Question 5 (102.5-018 / multiple_choice)

What command displays built-in help for a specific dnf command such as install?

Status: Unanswered

Your Answer:

Options:

Explanation:
The built-in help system is used as dnf help followed by the command, such as dnf help install [1].

Question 6 (102.5-006 / multiple_choice)

Which command can be used with yum to check for updates for all packages in the system?

Status: Unanswered

Your Answer:

Options:

Explanation:
To check for updates for all packages, use yum check-update [1].

Question 7 (102.5-014 / multiple_choice)

Which command lists the contents of a package using dnf?

Status: Unanswered

Your Answer:

Options:

Explanation:
To list the contents of a package, use dnf repoquery -l PACKAGENAME [1].

Question 8 (102.5-022 / short_answer)

Which command checks for updates for all packages using yum?

Status: Unanswered

Your Answer:

Accepted Answer(s):
yum check-update

Explanation:
Use yum check-update without a package name to check for updates for all packages [1].

Question 9 (102.5-021 / short_answer)

Which command installs the RPM package file-roller-3.28.1-2.el7.x86_64.rpm and shows installation progress using hash marks?

Status: Unanswered

Your Answer:

Accepted Answer(s):
rpm -ih file-roller-3.28.1-2.el7.x86_64.rpm

Explanation:
Use -i to install and -h to show hash marks for progress [1].

Question 10 (102.5-023 / short_answer)

Which command checks whether the package unzip is installed using zypper?

Status: Unanswered

Your Answer:

Accepted Answer(s):
zypper se -i unzip

Explanation:
To search installed packages only, use zypper se -i unzip [1].