7.5.6

pdf

School

Phoenix College *

*We aren’t endorsed by this school

Course

270

Subject

Information Systems

Date

Dec 6, 2023

Type

pdf

Pages

11

Uploaded by MinisterOstrich3448

Report
12/4/23, 3:02 PM TestOut LabSim /.5.6 Practice Questions Candidate: Micah Galvan (MIC2315228@maricopa.edu) Date: 12/4/2023 2:53:47 pm * Time Spent: 01:39 Score: 100% Passing Score: 80% https://labsimapp.testout.com/v6_0_576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 1711
12/4/23, 3:02 PM TestOut LabSim ¥ Question 1: v/ Correct Which command would you use to display a simple list of all processes running on a Linux distribution that use either RPM or dpkg for package management? apt-get -e apt-get -ef yum -ef yum process info =) ps -e yum -e yum info ps -ef Explanation The ps utility displays running processes on a Linux system. Enter ps -e to display a simple list (without extended information) of all processes running on the system. ps -ef displays a list (with extended information) of all the processes running on the system. yum and apt-get are package management tools. They are not used for process management. References @ 4.3.1 Linux Operating Systems |E| 7.5.4 Linux Application Management Facts g_lin_apps_cmd_all_proc_use_rpm_or_dpkg_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 2/11
12/4/23, 3:02 PM TestOut LabSim ¥ Question 2: v/ Correct You use a Linux distribution that employs Debian Package Manager (dpkg) for package management. Which command would you use to install httpd (the Apache HTTP Server package) and all its dependencies? > apt-get install httpd dpkg install httpd ps -€ yum install httpd -dep ps -ef apt-get install httpd -dep yum install httpd Explanation On a Linux distribution that uses Debian Package Manager (dpkg) for package management, enter apt-get install httpd on the command line to install the Apache HTTP Server package and all its dependencies. The apt-get command can automatically locate and download Debian packages for you by searching one or more repositories on the internet. This command installs the package and all of its dependencies at the same time. References .—| 7.5.4 Linux Application Management Facts g_lin_apps_dpkg_cmd_install_httpd_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 3/11
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
12/4/23, 3:02 PM TestOut LabSim ¥ Question 3: v/ Correct You use a Linux distribution that uses RPM for package management. Which command would you use to install httpd (the Apache HTTP Server package) and all its dependencies? = yum install httpd apt-get install httpd apt-get update httpd yum update httpd yum install httpd -dep Explanation On a Linux distribution that uses RPM for package management, enter yum install httpd on the command line to install the Apache HTTP Server package and all its dependencies. yum automatically locates and downloads RPM packages for you by searching one or more repositories on the internet. This command can install a software package and all of its dependencies at the same time. References |E| 7.5.4 Linux Application Management Facts g_lin_apps_install_httpd_dep_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 4/11
12/4/23, 3:02 PM TestOut LabSim ¥ Question 4: v/ Correct On a Linux system using the Debian Package Manager, which of the following commands would you use to search online repositories for an installable Firefox package? rpm -s firefox apt-get search firefox yum search firefox = apt search firefox Explanation Since you are working with a Debian Package Manager system, the correct answer is the apt search firefox command. The rpm command only searches against installed packages. The yum search firefox command would work for an RPM Linux system. The apt-get search firefox command is incorrect in this scenario. References |E| 7.5.4 Linux Application Management Facts g_lin_apps_package_search_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 5/11
12/4/23, 3:02 PM TestOut LabSim ¥ Question 5: v/ Correct On a Linux system using RPM for package management, which of the following commands would you use to search online repositories for an available Firefox package? rpm -s firefox apt-get search firefox = yum search firefox apt search firefox Explanation The correct answer in this scenario is yum search firefox. The rpm command only searches the local system for previously installed files; the -s option IS not used for this purpose. The apt-get search firefox and apt search firefox commands are both utilized on Debian Package Management systems. The apt-get command does not have a search function. References .—| 7.5.4 Linux Application Management Facts g_lin_apps_package_search_rpm_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 6/11
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
12/4/23, 3:02 PM TestOut LabSim ¥ Question 6: v/ Correct While working on a Linux system that has been underperforming, you notice that there is one process that is utilizing a significant amount of CPU time. The name of the process is "hidden.sh". Which of the following ps commands would you use to ensure that you can see who owns that process? ps ax = ps aux ps -el ps -ef Explanation The correct answer is ps aux. The u option lists the user/owner field in the output. All of the other commands list the processes, but these commands do not include the user/owner, References [E] 4.3.1 Linux Operating Systems |E| 7.5.4 Linux Application Management Facts g_lin_apps_ps_owner_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 711
12/4/23, 3:02 PM TestOut LabSim ¥ Question 7: v/ Correct You use a Linux distribution that utilizes RPM for package management. Which command would you use to verify that the httpd package (the Apache HTTP Server package) is installed? = yum list installed httpd yum search httpd yum info httpd yum list installed Explanation On a Linux distribution that uses RPM for package management, enter yum list installed httpd in the command line to verify that the Apache HTTP Server package is installed. References |E| 7.5.4 Linux Application Management Facts g_lin_apps_rpm_cmd_package_installed_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 8/11
12/4/23, 3:02 PM TestOut LabSim ¥ Question 8: v/ Correct You use a Linux distribution that uses RPM for package management. Which command would you use to display a list of all packages available for installation within the internet repositories configured on the system? apt-get list yum list all yum show available apt-get list available - yum list available yum show all ps -ef ps -e Explanation On a Linux distribution that uses RPM for package management, enter yum list available in the command line to display a list of all packages available for installation within the internet repositories configured on the system. References .—| 7.5.4 Linux Application Management Facts g_lin_apps_rpm_cmd_pkgs_for_install_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 9/11
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
12/4/23, 3:02 PM TestOut LabSim ¥ Question 9: v/ Correct During a routine audit of a web server running on an RPM-based Linux system, you notice a package that is not installed from the standard server template. This is an error. Before you do anything, however, you need to find the package's dependencies. The package's name is orleans. Which of the following commands lists dependencies? apt search orleans apt info orleans = yum info orleans yum list orleans Explanation The correct answer is the yum info orleans command. This is the only command listed that provides a list of dependencies for an RPM system. The apt commands are specific to Debian Package Management systems. The yum list orleans command only gives information on the orleans package. This command does not provide dependencies. References IEl 7.5.4 Linux Application Management Facts g_lin_apps_rpm_dependencies_pp7.question.fex https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 10/11
12/4/23, 3:02 PM TestOut LabSim ¥ Question 10: v/ Correct Which of the following commands can you use to install updated packages (found in configured repositories) that are currently installed on a Debian Package Manager-based system? (Select two.) > apt-get dist-upgrade yum upgrade yum update apt update - apt dist-upgrade Explanation The correct answers are the apt dist-upgrade and apt-get dist-upgrade commands. Both perform a distribution upgrade of all packages available in the repositories. Both the yum update and yum upgrade commands apply to RPM-based systems. The apt update command refreshes repositories to look for new, updatable packages. However, the command itself does not upgrade them. References |E| 7.5.4 Linux Application Management Facts g_lin_apps_upgrade_dpkg_pp7.question.fex Copyright © 2023 TestOut Corporation All rights reserved. https://labsimapp.testout.com/v6_0 576/index.html/productviewer/1193/7.5.6/136e7614-8183-4027-a3d4-363d80d0f4aa 11/11