EMT Practice Test

1. Question Content...


Question List

Question1: On a system using systemd-journald, which of the following commands add the message Howdy to the system log? (Choose two.)

Question2: What is true regarding the file ~/.forward?

Question3: Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)

Question4: Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

Question5: Which standardized TCP port is used by HTTPS services?

Question6: FILL BLANK
What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)

Question7: What is the purpose of TCP wrapper?

Question8: Which configuration file contains the default options for SSH clients?

Question9: On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.

Question10: Which of the following files is not read directly by a Bash login shell?

Question11: Which file contains the date of the last change of a user's password?

Question12: What is the purpose of the iconv command?

Question13: What information is provided by the echo $$ command?

Question14: Which of the following commands lists all defined variables and functions within Bash?

Question15: Which of the following configuration files should be modified to set default shell variables for all users?

Question16: Which of the following getent invocations lists all existing users?

Question17: Which of the following statements is valid in the file /etc/nsswitch.conf?

Question18: Which of the following are syslog facilities? (Choose two.)

Question19: Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)

Question20: FILL BLANK
What command is used to add OpenSSH private keys to a running ssh-agent instance? (Specify the command name only without any path.)

Question21: Which of the following commands lists all defines variables and functions within Bash?

Question22: What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

Question23: Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Question24: What is true regarding public and private SSH keys? (Choose two.)

Question25: If neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Question26: Which of the following commands can identify the PID od a process which opened a TCP port?

Question27: FILL BLANK
The presence of what file will temporarily prevent all users except root from logging into a system? (Specify the full name of the file, including path.)

Question28: Which if the following tools, used for DNS debugging, reports not only the response from the name sever but also details about the query?

Question29: Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

Question30: On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

Question31: Which of the following entries in /etc/syslog.conf writes all mail related events to the file /var/log/maillog and sends all critical events to the remote server logger.example.com?

Question32: Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

Question33: Why is the xhost program considered dangerous to use?

Question34: Which of the following is the best way to list all defined shell variables?

Question35: Which of the following commands finds all files owned by root that have the SetUID bit set?

Question36: On a machine running several X servers, how do programs identify the different instances of the X11 server?

Question37: With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Question38: Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose two.)

Question39: The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:

Question40: Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Question41: Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Question42: What the echo $$ command?

Question43: Which of the following tasks can the date command accomplish? (Choose two.)

Question44: Which mechanism does ssh use to interact with the SSH agent?

Question45: Which of the following commands shows the current color depth of the X Server?

Question46: Which of the following commands display the number of bytes transmitted and received via the eth0 network interface? (Choose two.)

Question47: A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file)

Question48: What is true regarding the file ~/.forward?

Question49: With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Question50: What word is missing from the following SQL statement?
insert into tablename ________(909, 'text');
(Please specify the missing word using lower-case letters only.)

Question51: For accessibility assistance, which of the following programs is an on-screen keyboard?

Question52: When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

Question53: What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Question54: Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

Question55: Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Question56: What is true regarding a default route?

Question57: Given the following user's crontab entry:
15 14 * * 1-5 /usr/local/bin/example.sh
When will the script /usr/local/bin/example.sh be executed?

Question58: What is true regarding public and private SSH keys? (Choose two.)

Question59: Which of the following connection types, as seen in nmcli connection show, may exist in NetworkManager? (Choose three.)

Question60: On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

Question61: After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Question62: Which of the following getentinvocations lists all existing users?

Question63: What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

Question64: Which of the following is a valid IPv6 address?

Question65: On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?

Question66: Which TWO statements about crontab are true?

Question67: Which of the following commands can remove a user from a group?

Question68: How can a specific user be prevented from scheduling tasks with at?

Question69: What does the term Braille Display refer to?

Question70: What is the conventional purpose of Linux UIDs that are lower than 100?

Question71: Which of the following are syslog facilities? (Choose TWO correct answers.)

Question72: How do shadow passwords improve the password security in comparison to standard no-shadow password?

Question73: Which of the following configuration files should be modified to globally set shell variables for all users?

Question74: How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?

Question75: After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?

Question76: Which of the following details is NOT provided in any output from the netstat utility?

Question77: FILL BLANK
Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)

Question78: Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?

Question79: Which command will set the local machine's timezone to UTC?

Question80: Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Question81: Which file contains the data of the last change of a user's password?

Question82: Which of the following commands will delete the default gateway from the system's IP routing table? (Choose two.)

Question83: Which of the following features are provided by SPICE? (Choose two.)

Question84: Which of the following commands can be used to convert text files in one character encoding to another character encoding?

Question85: Which of the following is a valid IPv6 address?

Question86: FILL BLANK
Which command is used to sync the hardware clock to the system clock? (Specify only the command without any path or parameters.)

Question87: Which configuration file would be edited to change the default options for outbound SSH sessions?

Question88: Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?

Question89: Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?

Question90: Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

Question91: What output is produced by the following command sequence?
echo '1 2 3 4 5 6' | while read a b c; do
echo result $c $b $a;
done

Question92: Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)

Question93: Which file inside the CUPS configuration directory contains the definition of the printers?

Question94: What output does the command seq 1 5 20 produce?

Question95: Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontabfiles? (Choose two.)

Question96: The ________ command is used to add a group to the system.

Question97: What output will the command seq 10 produce?

Question98: What is the purpose of the file /etc/profile?

Question99: Which of the following is true regarding the command sendmail?

Question100: Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

Question101: What is true about the file /etc/localtime?

Question102: What is true about the following command?
nmcli device wifi connect WIFIoI

Question103: Which of the following commands shows all active systemd timers?

Question104: To prevent a specific user from scheduling tasks with at, what should the administrator do?

Question105: What is the purpose of the iconv command?

Question106: Which of the following protocols is related to the term open relay?

Question107: Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

Question108: What output does the command seq 10 produce?

Question109: Which of the following states can NetworkManager show regarding the system's network connectivity?
(Choose two.)

Question110: What is the purpose of the Sticky Keys feature in X?

Question111: What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Question112: What is true about the file /etc/localtime?