Docsity

TestOut Linux Pro Exam 2025.pdf, Exams of Linux skills

Toggle sidebar
bg1
TestOut Linux Pro Exam 2025–2026 Linux
command-line Accurate Real Exam Questions
and Verified Correct answers
This document provides real, verified exam questions with correct answers for
the TestOut Linux Pro certification exam, updated for the 2025–2026 cycle. It
covers essential Linux administration topics such as command-line operations,
file system management, user and group administration, networking
configuration, security practices, and shell scripting. Perfect for IT
professionals and students preparing for Linux Pro certification with authentic,
exam-focused practice.
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.153.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. - <<answer>>>..rpm -e ddd-C-Debug-
2.8.153.cd15
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download TestOut Linux Pro Exam 2025.pdf and more Exams Linux skills in PDF only on Docsity!

TestOut Linux Pro Exam 2025–2026 Linux

command-line Accurate Real Exam Questions

and Verified Correct answers

This document provides real, verified exam questions with correct answers for the TestOut Linux Pro certification exam, updated for the 2025–2026 cycle. It covers essential Linux administration topics such as command-line operations, file system management, user and group administration, networking configuration, security practices, and shell scripting. Perfect for IT professionals and students preparing for Linux Pro certification with authentic, exam-focused practice. 6.1. 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.153.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.153.cd

rpm - q ddd-C-Debug-2.8.15-3.cd 2.9. 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. 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
  • 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 ta - <>> ..Support Terminal ----- ping - c4 192.168.0. ping - c4 192.168.0. ip addr nano /etc/sysconfig/network- scripts/ifcfg-enp2s IPADDR: 192.168.0. BROADCAST: 192.168.0. GATEWAY: 192.168.0.5 Ctrl-X ip link set enp2s0 down ip link set enp2s0 up ip addr ping - c 192.168.0.5 ping - c 163.128.80.93 Office 2 Terminal ----- ping - c4 192.168.0.5 ping - c4 192.168.0.30 ping - c 163.128.80. route nano /etc/sysconfig/network-scripts/ifcfg- enp2s

GATEWAY: 192.168.0.

ip link set enp2s0 down ip link set enp2s0 up ping - c4 163.128.80. ITAdmin Terminal ----- ping - c4 192.168.0.5 ping

  • c4 192.168.0. ip addr nano /etc/sysconfig/network- scripts/ifcfg-enp2s NETMASK: 255.255.255. ip link set enp2s0 down ip link set enp2s0 up ping - c4 192.168.0. 8.5. You've installed a new hard drive and created a partition on the drive. You now need to format the partition before you can save data on the new hard drive. Complete this lab from the Terminal. In this lab, your task is to:
  • Format the /dev/sdb1 partition with the ext3 file system. - <>> ..mkfs - t ext3 /dev/sdb 10.1. You are troubleshooting your Linux system and need to know some information about some of the currently running processes. Complete this lab from the Terminal. In this lab, your task is to:
  • Start the network interface from the command line. - <>> ..ip addr ip link set enp2s1 up ip addr show enp2s 8.8. You are concerned that you may be getting low on disk space. You want to check and see if that assumption is correct. Complete this lab from the Terminal. In this lab, your task is to:
  • Use the applicable command to view the current disk space in human readable form.
  • To find the correct option, use man command.
  • Answer the questions. - <>> ..df - h 11.1. You are an IT manager. One of your job duties is monitoring system logs for the Linux systems on your network. The Journald service is collecting and storing system log data. Complete this lab from the Terminal. In this lab, your task is to:
  • Display the kernel message log from the current boot. - Display the system log in reverse order with the newest entries first. - <>> ..journalctl - k q journalctl - r q

You are thinking about adding another disk to your system. To help you make your decision, you want to view the current setup. Complete this lab from the Terminal. In this lab, your task is to:

  • View the disk information for your system.
  • Answer the questions. - <>> ..fdisk - l 9.2. Your manager has asked you to remove the gameport module from the Linux print server. Complete this lab from the Terminal. In this lab, your task is to:
  • Verify that the gameport module has been inserted into the kernel.
  • Remove the gameport driver module from the kernel. - <>> ..lsmod rmmod gameport lsmod 11.2. You have been tasked with checking the status of a recently repaired system that had chronic high utilization. You must determine whether the machine is under a heavy load. Complete this lab from the Terminal. In this lab, your task is to:
  • Run the applicable command to view which processes are consuming the most CPU time.
  • Answer the questions. - <>> ..top
  • Use the ls command to verify the deletion of the directories. - <>> ..cd /projects rmdir heartbt heartmon heartstrng ls - l /projects 8.12. You have a Linux workstation that you use at home. You are the only person that uses this computer. You want to improve security by removing the SUID and SGID from some files. Complete this lab from the Terminal. In this lab, your task is to:
  • Remove the SUID from the following files: /usr/bin/gpasswd/ usr/bin/newgrp
  • Remove the SGID from the following files: /usr/bin/wall /usr/bin/write
  • Leave permissions on the files as they are. - <>> ..chmod u-s /usr/bin/gpasswd chmod u-s /usr/bin/newgrp chmod g-s /usr/bin/wall chmod g-s /usr/bin/write 7.2. Terry Haslam (thaslam) was dismissed from the organization. His colleagues have harvested the files they need from his home directory and other directories. Your company's Security Policy states that upon dismissal, users accounts should be removed in their entirety. In this lab, your task is to:
  • Remove the thaslam user account and home directory from the system.
  • View the /etc/passwd file and /home directory to verify the account's removal. - <>> ..userdel - r thaslam cat /etc/passwd ls /home 8.11. You want to change your default umask to give yourself and members of the groups to which you belong full permissions to the files and directories you create. You want to deny permissions for everyone else. You are logged on as wadams. Complete this lab from the Terminal. In this lab, your task is to:
  • Change your default umask value to give yourself and members of the groups to which you belong full permissions to the files and directories that you create. - <>> ..umask umask 007 umask 4.3. You're working on your Linux server and need to change to single user mode. You can change to single user mode with the systemctl command and rescue.target, which is a special target

The company Security Policy mandates that user accounts for employees gone for longer than two weeks be disabled. In this lab, your task is to: - Lock the following user accounts: vedwards cflynn bkahn

  • Unlock the following user accounts: mbrown bcassini aespinoza
  • View the /etc/shadow file to verify the changes. - <>> ..usermod - L vedwards usermod - L cflynn usermod - L bkahn usermod - U mbrown usermod
  • U bcassini usermod - U aespinoza cat /etc/shadow 12.2. In this lab, you will discover important facts about network communications by using the ping and traceroute commands. IT-Laptop has a configured IP address, but no default gateway address. Use the Exhibits link at the top right to view the location and IP information of the routers in your network. The following local network IP addresses are used in this lab: - <>> ..IT Laptop ---------- ping - c4 192.168.0.30 ping - c 199.92.0. ping - c4 192.168.0.

ping - c4 163.128.78. cd /etc/sysconfig/network-scripts ls cat ifcfg-enp2s Office 2 ----------- traceroute 198.28.56. traceroute 163.128.78. 7.2. The VP of Marketing has told you that Paul Denunzio will join the company as a market analyst in two weeks. You need to create a new user account for him. In this lab, your task is to:

  • Create the pdenunzio user account.Include the full name (Paul Denunzio) as a comment for the user account.
  • Set eye8cereal as the password for the user account. When you're finished, view the /etc/passwd file to verify the creation of the account.
  • Answer the question. - <>> ..useradd - c "Paul Denunzio" pdenunzio passwd pdenunzio
  • eye8cereal
  • eye8cereal cat /etc/passwd 6.1.

groups schawla 7.1. 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. - <>> ..cat /etc/passwd 12.6. 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). - <>> ..nslookup corpnet.xyz nslookup - type=mx corpnet.xyz nslookup corpnet-www3.corpnet.xyz nslookup - type=mx corpnet.xyz ns1.nethost.net

An employee in another department recently provided several important files for your current assignment. The files are compressed in a tar file. You need to extract each file so you can begin to use them. Complete this lab from the Terminal. In this lab, your task is to:

  • Extract the files in /proj_files.tar.gz into the /projects directory.
  • Answer the question. - <>> ..tar - xzf /proj_files.tar.gz
  • C /projects ls - l /projects 2.8. You are working with the files and directories on your Linux system. Complete this lab from the Terminal. In this lab, your task is to:
  • Locate your current working directory.
  • Answer Question 1.
  • View the detailed information for the /hr directory.
  • Answer Questions 2 and 3.
  • See if there are any hidden files in the /hr directory.
  • Answer Question 4. - <>> ..pwd ls - l / ls - a /hr 2.3.

machine. - <>> ..apt update apt install htdig Y 2.3. In this lab, you will explore the nano editor by configuring DNS name resolution on the IT-Laptop computer. In this lab, your task is to:

  • Use nano to open the /etc/resolv.conf file.
  • Modify the file by replacing the existing nameserver information with the following information: nameserver 163.128.78.93 nameserver 163.128.80.
  • Save the changes made to the file. - <>> ..nano /etc/resolv.conf nameserver 163.128.78.93 nameserver 163.128.80. Ctrl + O Ctrl + X 8.8. The system is running hard disk quotas for users and groups. Complete this lab from the Terminal. In this lab, your task is to:
  • Disable the quotas on the root directory (/). - <>> ..quotaoff / 7.3.

Linda Blaine (lblaine) and Rhonda Conger (rconger) are temporary employees who were auditing your organization's financial documents. Their user accounts are members of the auditors group. They have completed their work and have moved on to new assignments. You need to remove their user accounts, home directories, and the auditors group from the system. Complete this lab from the terminal. In this lab, your task is to:

  • Delete the following user accounts and their corresponding home directories: lblaine rconger
  • Delete the auditors group.
  • View the /etc/group file to verify the changes. - <>> ..userdel - r lblaine userdel - r rconger groupdel auditors cat /etc/group ls /home 2.2. You are a student learning how to use Linux. Your teacher has given you the assignment to learn how to use a few basic commands. Complete this lab from the Terminal. In this lab, your task is to:
  • Learn the options available for the killall command.
  • Answer Question 1.
  • Learn the options available for the useradd command.
  • Answer Question 2.