Lesson 9 Quiz Flashcards

1
Q

Select ALL statements that are TRUE about yum.

a) The yum command with the “eat-em-up” option is often used to clear up file system space.
b) Without rpm, the yum command will not work
c) yum and rpm have no relationship other than yum is used with Debian versions of Linux and rpm is used with Red Hat version so of Linux
d) yum is built ON TOP OF rpm

A

b) Without rpm, the yum command will not work

d) yum is built ON TOP OF rpm

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

This directory contains repository configuration info that is used by yum.

a) /etc/yummy/repos
b) /var/repositories
c) /etc/yum.repos.d
d) /var/yum/repositories

A

c) /etc/yum.repos.d

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

You want to download but not install a binary package named tcsh.

a) yumdownloader –source tcsh
b) yum –eat-em-up tcsh
c) yum –downloader tcsh
d) yumdownloader tcsh

A

d) yumdownloader tcsh

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

This is a hfybrid client-server peer-to-peer file transfer mechanism.

a) wget
b) yum
c) rpm
d) BitTorrent

A

d) BitTorrent

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

You want to download but not install a source package named tcsh.

a) yumdownloader –source tcsh
b) yum –download –source –prompt –are-you-sure
- -maybe –if-enough-space –no-kidding tcsh
c) yumdownloader tcsh
d) wget tcsh

A

a) yumdownloader –source tcsh

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

This is the global yum configuration file.

a) /var/yum.conf
b) /boot/yum.conf
c) /etc/yum.conf
d) /bin/yum.conf

A

c) /etc/yum.conf

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

There are TWO kinds of RPM packages.

a) Source RPM Packages - SRPM
b) Documentation RPM Packages - DRPM
c) Photo RPM Packages - PRPM
d) Binary RPM Packages - RPM

A

a) Source RPM Packages - SRPM

d) Binary RPM Packages - RPM

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

Use this command to display a list of installed and available groups.

a) It is not possible to list groups using yum
b) yum-group-list
c) yum grouplist
d) rpm grouplist

A

c) yum grouplist

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

You need to remove a package named tcsh.

a) yum remove tcsh
b) rpm remove tcsh
c) yum –throw-in-trash-can tcsh
d) yumdownlaoder remove tcsh

A

a) yum remove tcsh

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

Use this command to download files using any of the following protocols: http, https, ftp.

a) yum
b) wget
c) aptget
d) rpm

A

b) wget

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

Fedora/RHEL use this for for tracking bugs

a) Bugzilla
b) bug-tracker
c) rpm
d) yum

A

a) Bugzilla

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

You need to query info about a package named logrotate.

a) rpm –query –info logrotate
b) ls –query –info logrotate
c) rpm-query logrotate
d) give-it-to-me | grep logrotate

A

a) rpm –query –info logrotate

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

To update ALL packages.

a) rpm update
b) yumdownloader –update-all
c) yumdownloader update
d) yum update

A

d) yum update

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

Select ALL items that are TRUE if the word noarch is in the RPM package name.

a) The RPM contains scripts or images or other files.
b) The packages contains files that are dependent on a subset of processor architectures
c) The packages contains files that are NOT dependent on any processor architecture
d) The developer of the package does not eat at the golden arch.

A

a) The RPM contains scripts or images or other files.

c) The packages contains files that are NOT dependent on any processor architecture

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

Select ALL statements that are TRUE about yum and it’s use of repositories.

a) A repository can be located on the local network.
b) A repository can be located on a DVD
c) A repository can be located on the Internet.
d) The yum utility downloads packages from repositories.

A

a) A repository can be located on the local network.
b) A repository can be located on a DVD
c) A repository can be located on the Internet.
d) The yum utility downloads packages from

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

This was the first package manager to include dependencies.

a) GNU Package Manager
b) dpkg (Debian Package)
c) RPM (RPM Package Manager)
d) Yellow Dog Updater Modified

A

b) dpkg (Debian Package)

17
Q

You want to query all packages installed on your system.

a) ls –everything
b) find –query –all
c) rpm –everything
d) rpm –query –all

A

d) rpm –query –all

18
Q

You have downloaded a GNU source file named which.tar.gz. Match the step (Step 1, Step 2, etc.) to the command to unpack, build, and install the software.

a) make Step 1.
b) cd which Step 2.
c) tar xzf which.tar.gz Step 3.
d) ./configure Step 4.
e) su -c “make install” Step 5.

A
Step 1.   c) tar xzf which.tar.gz
Step 2.   b) cd which 
Step 3.   d) ./configure  
Step 4.   a) make        
Step 5.   e) su -c “make install"
19
Q

You need to query that /bin/more is part of a given package.

a) wget /bin/more
b) ls –package /bin/more
c) rpm –query –file /bin/more
d) query-file /bin/more

A

c) rpm –query –file /bin/more

20
Q

You need to install a package named tcsh.

a) yumdownloader tcsh
b) rpm install tcsh
c) yum install tcsh
d) wget tcsh

A

c) yum install tcsh