TEST OUT LINUX PRO EXAM | 103 QUESTIONS AND ANSWERS
ALREADY GRADED A+
•
6.1.5
There is a C debugger package installed on the server that
your organization is no longer using. The IT manager in your
organization has asked you to uninstall the ddd-C-Debug-
2.8.15-3.cd15 package. Complete this lab from the Terminal.
In this lab, your task is to:
- Uninstall the ddd-C-Debug-2.8.15-3.cd15 package.
- Verify that the ddd-C-Debug-2.8.15-3.cd15 package is
uninstalled.
rpm -e ddd-C-Debug-2.8.15-3.cd15
rpm -q ddd-C-Debug-2.8.15-3.cd15
2.9.6
You are experiencing a few issues on your Linux system that
you think are related to either your terminal's environment
settings or the shell being used. You need to view the files
that will tell you information about your terminal. Complete
this lab from the Terminal.
In this lab, your task is to:
,- View the contents of the file /root/.bash_profile.
- Answer Question 1.
- View the contents of the file /etc/shells.
- Answer Question 2.
cat /root/.bash_profile
cat /etc/shells
8.9.6
The CEO of the company wants to make sure that the
employees' personal information, as stored in the
/hr/personnel file, is protected. The CEO has asked that you
make sure that the human resources (HR) department is the
owner of that file. Complete this lab from the Terminal.
In this lab, your task is to:
- Find the current owner of the /hr/personnel file.
- Answer the question.
- Change the group ownership of the /hr/personnel file to the
hr group.
- Verify the ownership change.
ls -l /hr
chgrp hr /hr/personnel
,ls -l /hr
8.6.3
You recently installed and formatted a new hard drive in your
system. Its device file name is /dev/sdb1. Now you want to
mount the volume. Complete this lab from the Terminal.
In this lab, your task is to:
- Create the /mnt/disk directory.
- Mount /dev/sdb1 to the /mnt/disk directory with the ext3 file
system.
- Use the mount command to verify that the volume is
mounted correctly.
mkdir /mnt/disk
mount -t ext3 /dev/sdb1 /mnt/disk
mount
12.8.6
You are a network technician for a small corporate network,
which is connected to the internet. Several issues have
recently come up.
- The employee in the Support Office reports that their
workstation cannot communicate with any other computers
, on the network and cannot connect to the internet.
- The employee in Office 2 reports that their workstation can
communicate with some computers on the network, but
cannot access the internet.
- In addition to these two issues, you have just set up your
workstation in the IT Administration office, and the
workstation does not connect to any computers on the
network.
You need to diagnose and fix these problems.
In this lab, your task is to:
- Use troubleshooting tools such as ping, ip addr show, and
route to diagnose the problems in the network.
- Fix the problem at each workstation.
- Use the troubleshooting tools to confirm each problem's
resolution.
The following table lists what should be the correct IP
address for each computer:
Support Terminal -----
ping -c4 192.168.0.5
ping -c4 192.168.0.30
ip addr
nano /etc/sysconfig/network-scripts/ifcfg-enp2s0
ALREADY GRADED A+
•
6.1.5
There is a C debugger package installed on the server that
your organization is no longer using. The IT manager in your
organization has asked you to uninstall the ddd-C-Debug-
2.8.15-3.cd15 package. Complete this lab from the Terminal.
In this lab, your task is to:
- Uninstall the ddd-C-Debug-2.8.15-3.cd15 package.
- Verify that the ddd-C-Debug-2.8.15-3.cd15 package is
uninstalled.
rpm -e ddd-C-Debug-2.8.15-3.cd15
rpm -q ddd-C-Debug-2.8.15-3.cd15
2.9.6
You are experiencing a few issues on your Linux system that
you think are related to either your terminal's environment
settings or the shell being used. You need to view the files
that will tell you information about your terminal. Complete
this lab from the Terminal.
In this lab, your task is to:
,- View the contents of the file /root/.bash_profile.
- Answer Question 1.
- View the contents of the file /etc/shells.
- Answer Question 2.
cat /root/.bash_profile
cat /etc/shells
8.9.6
The CEO of the company wants to make sure that the
employees' personal information, as stored in the
/hr/personnel file, is protected. The CEO has asked that you
make sure that the human resources (HR) department is the
owner of that file. Complete this lab from the Terminal.
In this lab, your task is to:
- Find the current owner of the /hr/personnel file.
- Answer the question.
- Change the group ownership of the /hr/personnel file to the
hr group.
- Verify the ownership change.
ls -l /hr
chgrp hr /hr/personnel
,ls -l /hr
8.6.3
You recently installed and formatted a new hard drive in your
system. Its device file name is /dev/sdb1. Now you want to
mount the volume. Complete this lab from the Terminal.
In this lab, your task is to:
- Create the /mnt/disk directory.
- Mount /dev/sdb1 to the /mnt/disk directory with the ext3 file
system.
- Use the mount command to verify that the volume is
mounted correctly.
mkdir /mnt/disk
mount -t ext3 /dev/sdb1 /mnt/disk
mount
12.8.6
You are a network technician for a small corporate network,
which is connected to the internet. Several issues have
recently come up.
- The employee in the Support Office reports that their
workstation cannot communicate with any other computers
, on the network and cannot connect to the internet.
- The employee in Office 2 reports that their workstation can
communicate with some computers on the network, but
cannot access the internet.
- In addition to these two issues, you have just set up your
workstation in the IT Administration office, and the
workstation does not connect to any computers on the
network.
You need to diagnose and fix these problems.
In this lab, your task is to:
- Use troubleshooting tools such as ping, ip addr show, and
route to diagnose the problems in the network.
- Fix the problem at each workstation.
- Use the troubleshooting tools to confirm each problem's
resolution.
The following table lists what should be the correct IP
address for each computer:
Support Terminal -----
ping -c4 192.168.0.5
ping -c4 192.168.0.30
ip addr
nano /etc/sysconfig/network-scripts/ifcfg-enp2s0