Chapter 2 - Managing Software and Processes Flashcards

1
Q

On Linux, systems package manager databases typically contain what types of information? (Choose all that apply.)

A. Application files
B. Application file directory locations
C. Installation by username
D. Software version
E. Library dependencies
A

A. Application files
B. Application file directory locations
D. Software version
E. Library dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What filename extension does the CentOS Linux distribution use for packages?

A. .deb
B. .zypp
C. .dpkg
D. .yum
E. .rpm
A

E. .rpm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Carol needs to install packages from a Red Hat–based repository. What programs can she use? (Choose all that apply.)

A. dpkg
B. zypper
C. yum
D. apt-get
E. dnf
A

C. yum

E. dnf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Scott wants to add a third-party repository to his Red Hat–based package management system. Where should he place a new configuration file to add it?

A. /etc/yum.repos.d/
B. /etc/apt/sources.list
C. /usr/lib/
D. /bin/
E. /etc/
A

A. /etc/yum.repos.d/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You need to extract files from an .rpm package file for review prior to installing them. What utilities should you employ to accomplish this task? (Choose all that apply.)

A. cpio2rpm
B. rpm
C. rpm2cpio
D. cpio
E. yum
A

C. rpm2cpio

D. cpio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Natasha needs to install a new package on her Ubuntu Linux system. The package was distributed as a .deb file. What tool should she use?

A. rpm
B. yum
C. dnf
D. dpkg
E. zypper
A

D. dpkg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

On his Debian-based package managed system, Tony wants to list all currently installed packages with missing dependencies. What command should he use?

A. apt-cache unmet
B. apt-cache stats
C. apt-cache showpkg
D. apt-cache search
E. apt-cache depends
A

A. apt-cache unmet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You’ve installed and configured a .deb package but did something incorrectly in the configuration process, and now the package will not run. What should you do next?

A. Purge the package, and reinstall it.
B. Uninstall the package, and then reinstall it.
C. Reconfigure the package via the dpkg-reconfigure utility.
D. Reconfigure the package via the debconf-show utility.
E. Reconfigure the package via the dpkg or apt-get utilities.

A

C. Reconfigure the package via the dpkg-reconfigure utility.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Steve is working on an open source software development team to create a new application.
He’s completed a new shared library the program will be using and has moved it to the correct location. What command should Steve employ to update the system’s library cache?

A. ldd
B. ldconfig
C. ldcache
D. ld.so
E. ld-linux-x86-64.so.2
A

B. ldconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Library file locations may be stored where? (Choose all that apply.)

A. The /usr/bin*/ directories
B. The /ld.so.conf file
C. The /etc/ld.so.conf.d/ directory
D. The LD_LIBRARY_PATH environment variable
E. The /lib* and /usr/lib*/ folders
A

B. The /ld.so.conf file
C. The /etc/ld.so.conf.d/ directory
E. The /lib* and /usr/lib*/ folders

How well did you know this?
1
Not at all
2
3
4
5
Perfectly