Linux Chapter 6.2 Check of understanding

Linux Chapter 6.2 Check of understanding

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Angel Martinez

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You need to determine which files are associated with the metacity RPM package.

Which of the following commands should you use?

rpm -ql metacity shows the files associated with the metacity package.

rpm -i installs a package

rpm -V verifies that packages are free from errors by performing an MD5 checksum on the package

rpm --test tests a package for uninstalled dependencies without actually installing it

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

rpm --test tests a package for uninstalled dependencies without actually installing it. Select two

The command rpm -ih apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm

The command rpm -Uh apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm

The command rpm -e will erase an installed package

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have an RPM package called mathpac that is not working correctly. You have downloaded the latest package.

Which of the following commands should you use to install the latest mathpac package?

rpm -U mathpac

The -U option specifies that you would like to upgrade the package

rpm -F freshens the current install, but there is still a small possibility that it will not solve the problem

rpm -i installs a new package, which will not work in this case since the package is already installed

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands queries the system for all installed RPM packages?

The rpm -qa command queries all installed RPM packages on the system

rpm --nodeps installs the package without checking for dependencies

rpm -U updates an installed package to the newest version

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are attempting to install an RPM package on your Linux system, but the system tells you the package has dependencies that are not installed. What would you enter at the command prompt to force RPM to override the need to install the dependencies?

The rpm --nodeps command installs the package without checking for dependencies.

rpm -q

rpm -e

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have installed a package called mathpac with DNF. After a system upgrade, the package is not working correctly.

Which of the following commands should you try first to get the package to function?

dnf update mathpac upgrade is for some backward compatibility functions and considers package obsoletes

dnf remove mathpac and then dnf install mathpac will work, but this option requires unnecessary steps

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following DNF options will display whether updates are available for RPM packages?

dnf list updates displays whether updates are available for packages

dnf list displays lists of packages

dnf install installs a package

dnf update updates RPM packages

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have installed a package called mathpac with yum. After a system upgrade, the package is not working correctly.

Which of the following commands should you FIRST try to get the package to function?

yum update mathpac

update ensures all dependencies are met

yum upgrade mathpac

upgrade is for some backward compatibility and considers package obsoletes

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following yum options will display whether updates are available for RPM packages?

yum list updates displays whether updates are available for packages

yum list displays lists of packages

yum install installs a package

yum update updates RPM packages