1. What does dnf install X do? Junior A. roll back a previous dnf transaction B. update all installed packages on RHEL/Fedora C. install available package upgrades on Debian/Ubuntu D. install a package and its dependencies on RHEL/Fedora Reveal the answer + AI explanation — free account
2. Which command will install a package and its dependencies on RHEL/Fedora? Junior A. apt upgrade B. dnf install X C. dnf groupinstall 'Development Tools' D. rpm -qf /path/to/file Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. dnf install X — install a package and its dependencies on RHEL/Fedora B. dnf install X — list all installed RPM packages C. dnf install X — list installed Debian packages D. dnf install X — roll back a previous dnf transaction Reveal the answer + AI explanation — free account
4. What does apt install X do? Junior A. refresh the package index on Debian/Ubuntu B. install a package and its dependencies on Debian/Ubuntu C. install a package and its dependencies on RHEL/Fedora D. roll back a previous dnf transaction Reveal the answer + AI explanation — free account
5. Which command will install a package and its dependencies on Debian/Ubuntu? Junior A. rpm -qa B. dnf history undo N C. apt install X D. apt update Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. apt install X — install a package and its dependencies on RHEL/Fedora B. apt install X — install a package and its dependencies on Debian/Ubuntu C. apt install X — update all installed packages on RHEL/Fedora D. apt install X — list installed Debian packages Reveal the answer + AI explanation — free account
7. What does rpm -qa do? Junior A. list installed Debian packages B. find which package provides a given file/path C. list all installed RPM packages D. update all installed packages on RHEL/Fedora Reveal the answer + AI explanation — free account
8. Which command will list all installed RPM packages? Junior A. dnf groupinstall 'Development Tools' B. rpm -qa C. apt upgrade D. dnf install X Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. rpm -qa — list all installed RPM packages B. rpm -qa — show which package owns a given file C. rpm -qa — install a package and its dependencies on Debian/Ubuntu D. rpm -qa — update all installed packages on RHEL/Fedora Reveal the answer + AI explanation — free account
10. What does rpm -qf /path/to/file do? Mid A. show which package owns a given file B. update all installed packages on RHEL/Fedora C. find which package provides a given file/path D. install a package and its dependencies on RHEL/Fedora Reveal the answer + AI explanation — free account
11. Which command will show which package owns a given file? Mid A. apt update B. dnf update C. rpm -qf /path/to/file D. apt install X Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. rpm -qf /path/to/file — list installed Debian packages B. rpm -qf /path/to/file — roll back a previous dnf transaction C. rpm -qf /path/to/file — show which package owns a given file D. rpm -qf /path/to/file — install a package and its dependencies on Debian/Ubuntu Reveal the answer + AI explanation — free account
13. What does dnf history undo N do? Mid A. install a predefined package group B. list all installed RPM packages C. refresh the package index on Debian/Ubuntu D. roll back a previous dnf transaction Reveal the answer + AI explanation — free account
14. Which command will roll back a previous dnf transaction? Mid A. apt upgrade B. apt install X C. dnf history undo N D. apt update Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. dnf history undo N — install available package upgrades on Debian/Ubuntu B. dnf history undo N — list all installed RPM packages C. dnf history undo N — roll back a previous dnf transaction D. dnf history undo N — install a package and its dependencies on RHEL/Fedora Reveal the answer + AI explanation — free account
16. What does dnf update do? Junior A. install a predefined package group B. update all installed packages on RHEL/Fedora C. roll back a previous dnf transaction D. refresh the package index on Debian/Ubuntu Reveal the answer + AI explanation — free account
17. Which command will update all installed packages on RHEL/Fedora? Junior A. rpm -qf /path/to/file B. apt install X C. rpm -qa D. dnf update Reveal the answer + AI explanation — free account
18. Which statement is correct? Junior A. dnf update — install a package and its dependencies on Debian/Ubuntu B. dnf update — update all installed packages on RHEL/Fedora C. dnf update — roll back a previous dnf transaction D. dnf update — install a package and its dependencies on RHEL/Fedora Reveal the answer + AI explanation — free account
19. What does apt update do? Junior A. install a package and its dependencies on RHEL/Fedora B. install available package upgrades on Debian/Ubuntu C. refresh the package index on Debian/Ubuntu D. list installed Debian packages Reveal the answer + AI explanation — free account
20. Which command will refresh the package index on Debian/Ubuntu? Junior A. dnf history undo N B. dnf update C. apt update D. apt upgrade Reveal the answer + AI explanation — free account
21. Which statement is correct? Junior A. apt update — find which package provides a given file/path B. apt update — refresh the package index on Debian/Ubuntu C. apt update — install a predefined package group D. apt update — install a package and its dependencies on Debian/Ubuntu Reveal the answer + AI explanation — free account
22. What does apt upgrade do? Junior A. list installed Debian packages B. refresh the package index on Debian/Ubuntu C. install available package upgrades on Debian/Ubuntu D. list all installed RPM packages Reveal the answer + AI explanation — free account
23. Which command will install available package upgrades on Debian/Ubuntu? Junior A. dnf provides */httpd B. apt upgrade C. apt install X D. dnf update Reveal the answer + AI explanation — free account
24. Which statement is correct? Junior A. apt upgrade — list installed Debian packages B. apt upgrade — install available package upgrades on Debian/Ubuntu C. apt upgrade — roll back a previous dnf transaction D. apt upgrade — install a predefined package group Reveal the answer + AI explanation — free account
25. What does dnf provides */httpd do? Mid A. find which package provides a given file/path B. list all installed RPM packages C. show which package owns a given file D. install a package and its dependencies on RHEL/Fedora Reveal the answer + AI explanation — free account
26. Which command will find which package provides a given file/path? Mid A. apt update B. apt install X C. dnf provides */httpd D. dnf install X Reveal the answer + AI explanation — free account
27. Which statement is correct? Mid A. dnf provides */httpd — find which package provides a given file/path B. dnf provides */httpd — install a predefined package group C. dnf provides */httpd — install available package upgrades on Debian/Ubuntu D. dnf provides */httpd — update all installed packages on RHEL/Fedora Reveal the answer + AI explanation — free account
28. What does dpkg -l do? Mid A. list all installed RPM packages B. install available package upgrades on Debian/Ubuntu C. list installed Debian packages D. find which package provides a given file/path Reveal the answer + AI explanation — free account
29. Which command will list installed Debian packages? Mid A. dnf groupinstall 'Development Tools' B. dnf history undo N C. dpkg -l D. rpm -qa Reveal the answer + AI explanation — free account
30. Which statement is correct? Mid A. dpkg -l — refresh the package index on Debian/Ubuntu B. dpkg -l — install a package and its dependencies on Debian/Ubuntu C. dpkg -l — list installed Debian packages D. dpkg -l — install a predefined package group Reveal the answer + AI explanation — free accountShowing 30 of 33 Linux · Packages questions — the full set, with answers, explanations and an AI tutor on every question, is inside.