
1. On which port does the ping command operate for Internet Control Message Protocol (ICMP) echo requests?
2. Which of the following commands shows various statistics for a network interface such as packets and bytes received and transmitted along with errors and other such conditions?
3. Which of the following configuration lines in /etc/hosts.deny creates a deny-by-default policy where clients will need to be specifically allowed in /etc/hosts.allow?
4. Which option to the ip command displays DNS names rather than merely IP addresses?
5. Which option to date changes the output to Coordinated Universal Time (UTC) regardless of the current time zone?
1. Which file in the sysfs filesystem could you view in order to see the MAC address of eth0?
2. Which options to du will print a summary of information in a human-readable format?
3. When running the lsblk command, there is no separate partition listed for /boot. From which partition is the system likely booted?
4. When using systemcti to kill a process, what is the default signal sent to a process?
5. When running fsck on an EXT3 filesystem, which option to fsck causes the operation to prompt when attempting a repair action?
1. You are defining a service in /etc/xinetd.conf. Which option is used to configure the times that access to the service is allowed?
2. Which of the following best describes the method to use with ssh in order to execute a single command on a remote server?
3. Which of the following commands generates an RSA key for use with ssh?
4. When you’re using ssh-agent, which command and option lists the currently loaded keys?
5. Which of the following commands searches the entire filesystem for files with the setuid bit set?
1. Which of the following commands queries for the mail servers for the domain example.com?
2. Which of the following netmasks is used for a subnet described with a /25 in CIDR notation?
3. Which option to the traceroute command will use TCP SYN packets for the path trace?
4. Which of the following commands displays information about addresses, specifically only IPv6 addresses, currently in use on the computer?
5. When examining open ports on the server, you see that TCP port 3000 is listed with no corresponding protocol name, such as SMTP, IMAP over SSL (IMAPS), and so on. In which file would you find a list of port-to-protocol translations that could be customized to add this new port?
Read more: Linux Certification Practice Quiz - Questions & Answers
1. You are working with journalctl and need to see only messages that are at a debug priority. Which of the following options enables this scenario?
2. Which of the following commands views the contents of a message that exists in the Postfix queue?
3. You are deploying an Exim server and need to work with the firewall to ensure the proper incoming ports are open. Which protocol and port should you allow inbound for normal Simple Mail Transfer Protocol (SMTP) traffic?
4. Which of the following commands places a file into the print queue?
5. Which function of the hwclock command will set the hardware clock to the current system time?
Page 1 of 3