Go Back on 101-500 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

101-500 Practice Test


Page 9 out of 49 Pages

Topic 2, Linux Installation and Package Management

In which directory must definition files be placed to add additional repositories to yum?






Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

Which world-writable directory should be placed on a separate partition in order to prevent
users from being able to fill up the / filesystem? (Specify the full path to the directory.)






Answer: /tmp, tmp,/var/tmp, /tmp/, /var/tmp/

Which of the following commands lists all currently installed packages when using RPM package management?


A.

yum --query --all


B.

yum --list --installed


C.

rpm --query --all


D.

rpm --list –installed





C.
  

rpm --query --all



Which file should be edited to select the network locations from which Debian installation
package files are loaded?


A.

/etc/dpkg/dpkg.cfg


B.

/etc/apt/apt.conf


C.

/etc/apt/apt.conf.d


D.

/etc/apt/sources.list


E.

/etc/dpkg/dselect.cfg





D.
  

/etc/apt/sources.list



Which of the following apt-get commands will install the newest versions of all currently
installed packages without removing any packages or installing new packages that are not
already installed?


A.

auto-update


B.

upgrade


C.

dist-upgrade


D.

install


E.

update





B.
  

upgrade




Page 9 out of 49 Pages
Previous