click below
click below
Normal Size Small Size show me how
LINUX+ module 6
module 6 quiz reveiw
| Question | Answer |
|---|---|
| When a Linux administrator installs software on a Red Hat–based system, they often rely on a package manager that can track installed packages, verify their integrity, and manage updates. According to your training module, which file does RPM use to store | /var/lib/rpm |
| A student is comparing two RPM packages with almost identical names, but one ends with fc21.x86_64.rpm and the other ends with fc21.i386.rpm. Based on the RPM naming convention explained in the module, what does the architecture field in the RPM filename | Which CPU architecture the software was compiled for |
| A technician wants to verify that a recently downloaded RPM package was not corrupted or altered during transfer. They need to use a command that checks the digital signature and confirms whether the package is authentic. Which RPM option should they use? | rpm --checksig |
| During installation of an RPM package, the process stops and reports that several prerequisite packages are missing. The administrator wants a way to test dependencies without actually installing anything yet. Which command accomplishes this? | rpm -i --test package.rpm |
| An administrator suspects that an RPM database has become corrupted after a system crash. The module explains that although rare, there is a command designed to rebuild the RPM database so that package information becomes readable again. Which command sho | rpm --rebuilddb |
| A student downloads acroread-8.1.3-51.6.i586.rpm. They want to understand what “i586” means at the end of the filename. Which statement matches the module’s description? | It is compiled for a Pentium-class processor (Intel 586 or newer) |
| A Linux system administrator needs to install an RPM package and wants visual progress indicators as the file unpacks. Which combination of options should they include when using rpm? | rpm -ivh |
| A user attempts to remove a package with rpm -e, but the command refuses because another installed program depends on it. According to the module, what must the administrator do? | Remove all dependent packages before uninstalling |
| A technician wants to extract only one file from inside an RPM package without installing the entire package on the system. According to the module, which utility should they use first to convert an RPM file into an extractable archive format? | rpm2cpio |
| YUM provides significant advantages over the rpm command alone. One benefit is that YUM automatically resolves long dependency chains. In practice, what does this mean for technicians installing software? | YUM finds, downloads, and installs all required dependency packages automatically |
| When configuring YUM, administrators can define where repositories are located using configuration files. According to the module, where are individual .repo files stored? | /etc/yum.repos.d/ |
| A student wants to download a package from an online repository without installing it. Which command performs this task? | yumdownloader packagename |
| Modern Linux systems increasingly rely on DNF instead of YUM. According to the module, what happens when a user runs a YUM command on a system that now uses DNF? | DNF performs the operation automatically using YUM-compatible syntax |
| A technician wants to uninstall a package using DNF and ensure that any unneeded dependency files installed alongside it are removed. According to the module, what will DNF do by default? | Remove dependent packages that are no longer required by other programs |
| A Debian-based system administrator is reviewing file extensions to determine which packages belong to the Debian package manager. Based on the module, how can they immediately identify a Debian package? | It ends with .deb |
| A user attempts to install a Debian package using dpkg but receives error messages about missing dependencies. According to the module, what is the main limitation of dpkg in this scenario? | It cannot automatically resolve or install dependency packages |
| After installing a Debian package, an administrator wants to view detailed information about it such as version, description, and dependencies. Which dpkg option should they use? | pkg -p |
| A technician tries to remove the zip package using dpkg -r zip, but the system warns that this will break other programs. According to the module, which tool is safer because it warns and resolves dependencies automatically? | apt-ge |
| APT tools rely on repository configuration files to know where to find packages. According to the module, which file lists the repositories that apt-get pulls from by default? | /etc/apt/sources.list |
| A Debian administrator wants to find out which package installed a specific file on the system, such as sshd_config. Which dpkg option should they use based on the lesson? | dpkg -S |
| A student needs to examine dependency information for a Debian package using a tool comparable to RPM's query functions. Which APT command displays dependency information for a given package | apt-cache depends packagename |
| A Linux user wants to update all packages on a Debian-based system at once using APT. Which command performs this system-wide update? | apt-get dist-upgrade |
| A technician wants to completely remove a Debian package and its configuration files, not just uninstall it. Which aptitude action accomplishes this? | aptitude purge |
| A system administrator uses DNF to install GCC. They notice that DNF lists several packages that will also be installed or upgraded. According to the module, what is DNF doing? | Resolving and installing required dependencies automatically |
| A student wants to use a command similar to YUM, but their system is running openSUSE. According to the module, what is the equivalent package management tool used on SUSE systems? | zypper |