Help shape GoConqr. What should we add next?

Quiz

Examen 101 - LPI Chapter 2:Managing Software

Carlos Alberto Jara Alva 20 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (20)

  1. 1What is the correct syntax to remove mypkg entirely from a Debian GNU/Linux system, including configuration file? Select one.
    1. Adpkg -r mypkg
    2. Bdpkg --remove mypkg
    3. Cdpkg --kill mypkg
    4. Ddpkh -R mypkg
    5. Edpkg --purge mypkg
  2. 2How can you query the RPM database for a list of all installed RPM packages? Select one
    1. Arpm -q
    2. Brpm -qa
    3. Crpm -a
    4. Drpm -al
    5. Erpm -qal
  3. 3What will happen when rpm is launched as follows?
    #rpm -Uvh file
    1. AThe RPM file will be verified
    2. BAn installed package may be upgraded with the version in file, with verbose output.
    3. CAn installed package may be upgraded with the version in file, with verbose output and hash marks indicating progress.
    4. DAn error will occur because a major mode is not specified
    5. EAn error will occur because no file options were specified.
  4. 4Which is not a valid dkpg installation command? Select one
    1. Adpkg -i package_file
    2. Bdpkg -iL package_file
    3. Cdpkg -iR packge_dir
    4. Ddpkg -iG package_file
    5. Edpkg -iE package_file
  5. 5Which of the following is not an advantage of a source package over a binary package?
    1. AA single source package can be used on multiple CPU architectures.
    2. BBy recompiling a source package, you can sometimes work around library incompat-
      ibilities.
    3. CYou can modify the code in a source package, thus altering the behavior of a program.
    4. DSource packages can be installed more quickly than binary packages.
    5. EYou may be able to recompile source code for a non-Linux Unix program on Linux.
  6. 6Which is true of using both RPM and Debian package management systems on one
    computer?
    1. AIt’s generally inadvisable because the two systems don’t share installed-file database
      information.
    2. BIt’s impossible because their installed-file databases conflict with one another.
    3. CIt causes no problems if you install important libraries once in each format.
    4. DIt’s a common practice on Red Hat and Debian systems.
    5. EUsing both systems simultaneously requires installing the alien program.
  7. 7Which of the following statements is true about binary RPM packages that are built for a
    particular distribution?
    1. ALicense requirements forbid using the package on any other distribution.
    2. BThey may be used in another RPM-based distribution only when you set the
      -- convert-distrib parameter to rpm.
    3. CThey may be used in another RPM-based distribution only after you recompile the
      package’s source RPM
    4. DThey can be recompiled for an RPM-based distribution running on another type of
      CPU.
    5. EThey can often be used on another RPM-based distribution for the same CPU
      architecture, but this isn’t guaranteed.
  8. 8An administrator types the following command on an RPM-based Linux distribution:
    # rpm -ivh megaprog.rpm
    What is the effect of this command?
    1. AIf the megaprog package is installed on the computer, it is uninstalled.
    2. BIf the megaprog.rpm package exists, is valid, and isn’t already installed on the
      computer, it is installed.
    3. CThe megaprog.rpm source RPM package is compiled into a binary RPM for the
      computer.
    4. DNothing; megaprog.rpm isn’t a valid RPM filename, so rpm will refuse to operate on
      this file.
    5. EThe megaprog.rpm package replaces any earlier version of the package that’s already
      installed on the computer.
  9. 9Which of the following commands will extract the contents of the myfonts.rpm file into
    the current directory?
    1. Arpm2cpio myfonts.rpm | cpio -i --make-directories
    2. Brpm2cpio myfonts.rpm > make-directories
    3. Crpm -e myfonts.rpm
    4. Dalien --to-extract myfonts.rpm
    5. Erpmbuild --rebuild myfonts.rpm
  10. 10Which of the following commands would you type to update the unzip program on a
    Fedora system to the latest version? (Select all that apply.)
    1. Ayum update unzip
    2. Byum upgrade unzip
    3. Cyum -u unzip
    4. Dyum -U unzip
    5. Eyum check-update unzip

Information

Description
Quiz on Examen 101 - LPI Chapter 2:Managing Software, created by Carlos Alberto Jara Alva on 08/01/2018.
Language
Español
Views
172
Rating
No ratings yet
Rate this quiz
Rate this quiz

More on Linux System Management

Feedback

What is it about?

What should we add next?