Linux Exam B EXAM LATEST 2026-2027 100
QUESTIONS AND 100% Verified ANSWERS
Which of the following commands allows you to sync the Linux system time with the hardware clock on the
system, or vice versa? - answer>>hwclock
Your system seems to be accessing disk a lot, but you are not using much swap memory. Which tool will give you
accurate information about your storage input and output statistics? - answer>>iostat
Which configuration file/directory holds the system mapping of daemons to access ports? - answer>>/etc/services
You are concerned that a particular host is getting or keeping in a cache the incorrect MAC (Media Access
Controller) addresses for other hosts. On the suspect host, what command will show you the list of known MAC
addresses? - answer>>arp
You are interviewing security managers and ask them some questions, including what firewall they recommend
that allows a separation of the runtime and permanent configuration, no need to restart the daemon when
changes are made and were most recently introduced through various distributions. Choose the answer that
meets all of the question's criteria. - answer>>firewalld
Red Hat-based systems have been setup in an automated fashion by using which of the following tool? -
answer>>Kickstart
You have a comprehensive and active sudo environment on your system but are suffering from having multiple
active editors of the /etc/sudoers file, with some sysadmins overwriting other's changes accidentally. Which of the
following, when used by all editors of the file would ensure the file is edited properly? - answer>>visudo
While using a custom-compiled kernel, which of the following is the most likely log file to watch for any
troubleshooting messages? - answer>>/var/log/kern.log
Which of the following commands will restart or reload a systemd service named tuned without interrupting
existing user connections to the service? - answer>>systemctl daemon-reload tuned
, What option to the useradd command causes the user's home directory to be created during the user creation
process? - answer>>-m
One of your servers reboots unexpectedly and during the boot cycle, a number of error messages are shown, but
you can't write them all down fast enough. Which command would show you the messages that have been logged
in the last boot cycle? - answer>>dmesg
Modules for the kernel are kept in what directory structure? - answer>>/usr/lib/modules
When attempting to access a shared directory owned by another user, a user reports they can see the directory,
but cannot enter the directory. Which of the following would prevent the user from entering the directory
properly? - answer>>The user does not have execute for the directory
AppArmor profiles are stored and read from which of the following directories? - answer>>/etc/apparmor.d
Modern package management schemes depend on sets of software in local or remotely-accessible locations that
are used to provide the packages, updates, and security fixes that affect a given set of packages. Which of the
following describe these sets of software? - answer>>Repositories
Which utility, when run with a search term, will return back only the Process ID (PID) of that process so, you can
use it as the standard input to a command such as kill? - answer>>pgrep
When connecting to a VNC server, which of the following ports should be used through the web browser client
method? - answer>>5800
On your newly-installed systemd-based server, you want to view log files that pertain to the systems booting and
any error messages. Which command would you use on this system to view the desired information? -
answer>>journalctl
As a busy Apache application services manager, you need to automate the detection of entries in your access logs
that indicate users that are likely bots, trying to sign in inappropriately or attempting to exploit your system. What
utility would you likely use on your Apache error logs to accomplish this most efficiently? - answer>>Fail2ban
QUESTIONS AND 100% Verified ANSWERS
Which of the following commands allows you to sync the Linux system time with the hardware clock on the
system, or vice versa? - answer>>hwclock
Your system seems to be accessing disk a lot, but you are not using much swap memory. Which tool will give you
accurate information about your storage input and output statistics? - answer>>iostat
Which configuration file/directory holds the system mapping of daemons to access ports? - answer>>/etc/services
You are concerned that a particular host is getting or keeping in a cache the incorrect MAC (Media Access
Controller) addresses for other hosts. On the suspect host, what command will show you the list of known MAC
addresses? - answer>>arp
You are interviewing security managers and ask them some questions, including what firewall they recommend
that allows a separation of the runtime and permanent configuration, no need to restart the daemon when
changes are made and were most recently introduced through various distributions. Choose the answer that
meets all of the question's criteria. - answer>>firewalld
Red Hat-based systems have been setup in an automated fashion by using which of the following tool? -
answer>>Kickstart
You have a comprehensive and active sudo environment on your system but are suffering from having multiple
active editors of the /etc/sudoers file, with some sysadmins overwriting other's changes accidentally. Which of the
following, when used by all editors of the file would ensure the file is edited properly? - answer>>visudo
While using a custom-compiled kernel, which of the following is the most likely log file to watch for any
troubleshooting messages? - answer>>/var/log/kern.log
Which of the following commands will restart or reload a systemd service named tuned without interrupting
existing user connections to the service? - answer>>systemctl daemon-reload tuned
, What option to the useradd command causes the user's home directory to be created during the user creation
process? - answer>>-m
One of your servers reboots unexpectedly and during the boot cycle, a number of error messages are shown, but
you can't write them all down fast enough. Which command would show you the messages that have been logged
in the last boot cycle? - answer>>dmesg
Modules for the kernel are kept in what directory structure? - answer>>/usr/lib/modules
When attempting to access a shared directory owned by another user, a user reports they can see the directory,
but cannot enter the directory. Which of the following would prevent the user from entering the directory
properly? - answer>>The user does not have execute for the directory
AppArmor profiles are stored and read from which of the following directories? - answer>>/etc/apparmor.d
Modern package management schemes depend on sets of software in local or remotely-accessible locations that
are used to provide the packages, updates, and security fixes that affect a given set of packages. Which of the
following describe these sets of software? - answer>>Repositories
Which utility, when run with a search term, will return back only the Process ID (PID) of that process so, you can
use it as the standard input to a command such as kill? - answer>>pgrep
When connecting to a VNC server, which of the following ports should be used through the web browser client
method? - answer>>5800
On your newly-installed systemd-based server, you want to view log files that pertain to the systems booting and
any error messages. Which command would you use on this system to view the desired information? -
answer>>journalctl
As a busy Apache application services manager, you need to automate the detection of entries in your access logs
that indicate users that are likely bots, trying to sign in inappropriately or attempting to exploit your system. What
utility would you likely use on your Apache error logs to accomplish this most efficiently? - answer>>Fail2ban