Which of the following ls command options will list hidden files and folders?
A. ls -lh
B. ls -la
C. ls -lr
D. ls -lt
Which of the following statements BEST describes what the command cat /proc/meminfo will display?
A. Hardware-specific CPU information
B. Hardware-specific motherboard information
C. Hardware-specific RAM information
D. Hardware-specific NIC information
A systems administrator wants to ensure users are greeted with a warning message when they log in to deter fraudulent activity. The systems administrator should:
A. enforce the use of PKI.
B. implement multifactor authentication.
C. configure disk encryption.
D. create a MOTD or banner.
A Linux server is providing time services to several VMs. Which of the following hardening techniques will BEST reduce the risk of the time server being targeted for an attack?
A. Add a warning banner.
B. Change the default port.
C. Block time services.
D. Stop time services.
A datacenter administrator assigns a ticket to a junior Linux administrator regarding a Linux server that is presenting issues with excessive CPU consumption and causing instability in a specific application. The junior Linux administrator troubleshoots the Linux server and finds several zombie processes running on it. Which of the following commands would effectively fix the issue?
A. kill -9 pid
B. kill -s SIGCHLD pid
C. kill -9 all
D. kill -9 SIG pid
A systems administrator wants to load custom modules. Which of the following directories is most appropriate to keep load module settings persistent?
A Linux server has been experiencing performance spikes over the course of two weeks. The administrator needs to create a report and determine the cause of the performance spikes. Which of the following commands, along with information in /var/log/messages, will help troubleshoot the issue?
A Linux administrator is confirming information on a system. The administrator issues a series of commands and views the following output:
search homebizbook.com nameserver 184.108.40.206 nameserver 220.127.116.11
Which of the following commands did the administrator issue?
A. cat /etc/hosts
B. cat /etc/nsswitch.conf
C. cat /etc/resolv.conf
D. cat /etc/networks
A Linux administrator issues the following command with root or sudo privileges:
rpm -i installpackage.rpm
Once the command is issued, the console outputs the following error message: failed dependency. The administrator confirmed in a previous step that all dependencies have already been installed. Which of the following commands should the administrator issue to bypass this error message?
A. rpm -e installpackage.rpm
B. rpm -i installpackage.rpm
C. rpm -i installpackage.rpm --nodeps
D. rpm -qa installpackage.rpm
A Linux administrator is investigating an unscheduled restart of an application server and wants to check for successful logins prior to the restart. Which of the following commands would display this information?
Question 1) B. ls -la
Question 2) C. Hardware-specific RAM information
Question 3) D. create a MOTD or banner
Question 4) B. Change the default port
Question 5) B. Kill -s SIGCHLD pid
Question 6) B. /etc/modprobe.d
Question 7) B. sar
Question 8) C. cat /etc/resolv.conf
Question 9) C. rpm -i installpackage.rpm --nodeps
Question 10) B. last