TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103
QUESTIONS WITH ANSWERS
7.1.5
Your manager wants to verify information regarding the users on
| | | | | | | | |
this system. Complete this lab from the Terminal.
| | | | | | | |
In this lab, your task is to:
| | | | | |
- View the contents of the file that contains the user
| | | | | | | | |
information.
|
- Answer the questions. - <<<Answers>>>cat /etc/passwd
| | | | |
12.6.5
You need to ensure that email is routed from the internet to
| | | | | | | | | | |
your mail server. You want to know the mail server address for
| | | | | | | | | | | |
corpnet.xyz. Complete this lab from the Terminal.
| | | | | | |
In this lab, your task is to:
| | | | | |
- Query the default DNS server for the primary IP address of the
| | | | | | | | | | |
corpnet.xyz domain.
| |
- Query the default DNS server for the corpnet.xyz mail
| | | | | | | |
server and determine its IP address.
| | | | | |
- Confirm the corpnet.xyz mail server information by
| | | | | |
querying the external DNS server (ns1.nethost.net). -
| | | | | | |
<<<Answers>>>nslookup corpnet.xyz |
nslookup -type=mx corpnet.xyz | |
nslookupcorpnet-www3.corpnet.xyz
| |
, TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103 | | | | | |
QUESTIONS WITH ANSWERS | | |
nslookup -type=mx corpnet.xyz ns1.nethost.net | | |
12.7.5
|
You are the IT administrator for a small corporate network. You
| | | | | | | | | |
have set up an internal web server to do some testing. You
| | | | | | | | | | | |
would like to obscure the server some by changing the default
| | | | | | | | | | |
ports. Complete this lab from the Terminal.
| | | | | | |
In this lab, your task is to:
| | | | | |
- Use ss -lt and netstat -a to determine which ports the web
| | | | | | | | | | |
server is running on.
| | | |
- Modify the ports.conf file to change port 80 to 81 and port | | | | | | | | | | |
8080 to 8081.
| | |
- Restart the web server to implement the port change. | | | | | | | |
- Use netstat -a and ss -lt to verify that the server is listening on
| | | | | | | | | | | | |
the new ports. - <<<Answers>>>ss -lt
| | | | | |
netstat -a |
nano/etc/apache2/ports.conf
|
(80 - 81, 8080 - 8081)
| | | | | |
Ctrl + X | |
systemctlrestartapache2 | |
ss -lt
| |
netstat-a |
11.2.4
|
, TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103 | | | | | |
QUESTIONS WITH ANSWERS | | |
You have been doing some testing on your Linux system and now
| | | | | | | | | | |
need to know how long the system has been running.
| | | | | | | | | |
Complete this lab from the Terminal. In | | | | | |
this lab, your task is to:
| | | | | |
- Use the applicable command to determine:
| | | | |
- The date on which the server was last started.
| | | | | | | |
- The time the server was last started.
| | | | | |
- Answer the questions. - <<<Answers>>>uptime -s
| | | | |
9.1.6
You are an IT administrator for a Linux system. Your
| | | | | | | | |
supervisor has asked you to collect some information about the
| | | | | | | | | |
system. Complete this lab from the Terminal.
| | | | | | |
In this lab, use the files in the /proc directory to:
| | | | | | | | | |
- Determine how many CPUs are installed. | | | | |
- Find the system's CPU speed.
| | | |
- Answer Questions 1 and 2. | | | |
- Find the total physical memory.
| | | |
- Answer Question 3. | |
- Find the Linux kernel version.
| | | |
- Answer Question 4. - <<<Answers>>>cd /proc ls
| | | | | |
cat cpuinfo
|
catmeminfo
| |
, TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103 | | | | | |
QUESTIONS WITH ANSWERS | | |
cat version |
8.13.4
The wadams user needs access to a file in the /sales folder on your
| | | | | | | | | | | | |
system, but does not belong to the sales group.
| | | | | | | | |
In this lab, your task is to use ACL utilities to:
| | | | | | | | | |
- Check the permissions on the /sales/forecast.txt file.
| | | | | |
- Grant full rights for the /sales/forecast.txt file to wadams. -
| | | | | | | | |
<<<Answers>>>getfacl /sales/forecast.txt |
setfacl -m u:wadams:rwx /sales/forecast.txt
| | | |
getfacl /sales/forecast.txt
| |
8.10.7
The Sales team uses the /sales directory to store documents
| | | | | | | | |
related to sales, contacts, and orders. Currently, permissions on
| | | | | | | | |
the directory only allow the user and group owners to view the
| | | | | | | | | | | |
contents of the directory. Users who are not part of the group
| | | | | | | | | | | |
owner are unable to list the contents of the directory.
| | | | | | | | | |
As part of a new company policy to increase teamwork, you
| | | | | | | | | |
want to allow all users to be able to see the /sales directory and
| | | | | | | | | | | | | |
list its contents. You also want to let all users open any
| | | | | | | | | | | |
document inside that directory, but you do not want them to
| | | | | | | | | | |
make changes to the documents. Complete this lab from the
| | | | | | | | | |
Terminal.
|
In this lab, your task is to:
| | | | | |
QUESTIONS WITH ANSWERS
7.1.5
Your manager wants to verify information regarding the users on
| | | | | | | | |
this system. Complete this lab from the Terminal.
| | | | | | | |
In this lab, your task is to:
| | | | | |
- View the contents of the file that contains the user
| | | | | | | | |
information.
|
- Answer the questions. - <<<Answers>>>cat /etc/passwd
| | | | |
12.6.5
You need to ensure that email is routed from the internet to
| | | | | | | | | | |
your mail server. You want to know the mail server address for
| | | | | | | | | | | |
corpnet.xyz. Complete this lab from the Terminal.
| | | | | | |
In this lab, your task is to:
| | | | | |
- Query the default DNS server for the primary IP address of the
| | | | | | | | | | |
corpnet.xyz domain.
| |
- Query the default DNS server for the corpnet.xyz mail
| | | | | | | |
server and determine its IP address.
| | | | | |
- Confirm the corpnet.xyz mail server information by
| | | | | |
querying the external DNS server (ns1.nethost.net). -
| | | | | | |
<<<Answers>>>nslookup corpnet.xyz |
nslookup -type=mx corpnet.xyz | |
nslookupcorpnet-www3.corpnet.xyz
| |
, TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103 | | | | | |
QUESTIONS WITH ANSWERS | | |
nslookup -type=mx corpnet.xyz ns1.nethost.net | | |
12.7.5
|
You are the IT administrator for a small corporate network. You
| | | | | | | | | |
have set up an internal web server to do some testing. You
| | | | | | | | | | | |
would like to obscure the server some by changing the default
| | | | | | | | | | |
ports. Complete this lab from the Terminal.
| | | | | | |
In this lab, your task is to:
| | | | | |
- Use ss -lt and netstat -a to determine which ports the web
| | | | | | | | | | |
server is running on.
| | | |
- Modify the ports.conf file to change port 80 to 81 and port | | | | | | | | | | |
8080 to 8081.
| | |
- Restart the web server to implement the port change. | | | | | | | |
- Use netstat -a and ss -lt to verify that the server is listening on
| | | | | | | | | | | | |
the new ports. - <<<Answers>>>ss -lt
| | | | | |
netstat -a |
nano/etc/apache2/ports.conf
|
(80 - 81, 8080 - 8081)
| | | | | |
Ctrl + X | |
systemctlrestartapache2 | |
ss -lt
| |
netstat-a |
11.2.4
|
, TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103 | | | | | |
QUESTIONS WITH ANSWERS | | |
You have been doing some testing on your Linux system and now
| | | | | | | | | | |
need to know how long the system has been running.
| | | | | | | | | |
Complete this lab from the Terminal. In | | | | | |
this lab, your task is to:
| | | | | |
- Use the applicable command to determine:
| | | | |
- The date on which the server was last started.
| | | | | | | |
- The time the server was last started.
| | | | | |
- Answer the questions. - <<<Answers>>>uptime -s
| | | | |
9.1.6
You are an IT administrator for a Linux system. Your
| | | | | | | | |
supervisor has asked you to collect some information about the
| | | | | | | | | |
system. Complete this lab from the Terminal.
| | | | | | |
In this lab, use the files in the /proc directory to:
| | | | | | | | | |
- Determine how many CPUs are installed. | | | | |
- Find the system's CPU speed.
| | | |
- Answer Questions 1 and 2. | | | |
- Find the total physical memory.
| | | |
- Answer Question 3. | |
- Find the Linux kernel version.
| | | |
- Answer Question 4. - <<<Answers>>>cd /proc ls
| | | | | |
cat cpuinfo
|
catmeminfo
| |
, TESTOUT LINUX PRO EXAM (ACTUAL 2025) 103 | | | | | |
QUESTIONS WITH ANSWERS | | |
cat version |
8.13.4
The wadams user needs access to a file in the /sales folder on your
| | | | | | | | | | | | |
system, but does not belong to the sales group.
| | | | | | | | |
In this lab, your task is to use ACL utilities to:
| | | | | | | | | |
- Check the permissions on the /sales/forecast.txt file.
| | | | | |
- Grant full rights for the /sales/forecast.txt file to wadams. -
| | | | | | | | |
<<<Answers>>>getfacl /sales/forecast.txt |
setfacl -m u:wadams:rwx /sales/forecast.txt
| | | |
getfacl /sales/forecast.txt
| |
8.10.7
The Sales team uses the /sales directory to store documents
| | | | | | | | |
related to sales, contacts, and orders. Currently, permissions on
| | | | | | | | |
the directory only allow the user and group owners to view the
| | | | | | | | | | | |
contents of the directory. Users who are not part of the group
| | | | | | | | | | | |
owner are unable to list the contents of the directory.
| | | | | | | | | |
As part of a new company policy to increase teamwork, you
| | | | | | | | | |
want to allow all users to be able to see the /sales directory and
| | | | | | | | | | | | | |
list its contents. You also want to let all users open any
| | | | | | | | | | | |
document inside that directory, but you do not want them to
| | | | | | | | | | |
make changes to the documents. Complete this lab from the
| | | | | | | | | |
Terminal.
|
In this lab, your task is to:
| | | | | |