EMT Practice Test

1. Question Content...


Question List

Question1: Which command makes the shell variable named VARIABLE visible to subshells?

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

Question3: Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

Question4: What is the purpose of the nsswitch.conf file?

Question5: Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Question6: What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

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

Question8: Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

Question9: What command displays all aliases defined in the current shell? (Specify the command without any path information)

Question10: Which of the following information is stored in /etc/shadow for each user?

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

Question12: Each entry in a crontab must end with what character?

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

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

Question15: Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

Question16: On a system using system-journald, which of the following command add the message Howdy to the system log? (Choose two correct answers.)

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

Question18: What is the purpose of TCP wrapper?

Question19: Which configuration file would be edited to change default options for the OpenSSH server?

Question20: How can a specific user be prevented from scheduling tasks with a i.?

Question21: What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?

Question22: After editing the TCP wrapper configuration to grant specific hosts access to a service, when do these changes become effective?

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

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

Question25: Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

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

Question27: What command enables a network interface according to distribution-specific configuration, such as /etc/network/interfaces or /etc/sysconflg/network-scripts/ifcfg-etho?(Specify ONLY the command without any path or parameters.)

Question28: On a machine running serval X servers. how do programs identify the different instances of theX11 server?

Question29: 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.)

Question30: Which of the following statements about sytemd-journald are true? (Choose three.)

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

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

Question33: Which of the following programs can be used to determine the routing path to a given destination?

Question34: Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

Question35: Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

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

Question37: Which directory holds configuration files for xinetd services? (Specify the full path to the directory

Question38: What is a purpose of an SSH host key?

Question39: How does the ping command work by default?

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

Question41: Which of the following commands will help identify a broken router between the local and the remote machine?

Question42: Fill in Blanks
The ________ command is used to add a group to the system.

Question43: Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?

Question44: What does the term Braille Display refer to?

Question45: 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?

Question46: Which command makes the shell variable named VARIABLE visible to subshells?

Question47: Fill in Blanks
To exclude all log messages of a given logging facility, you should use a logging priority of _____ .

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

Question49: What information related to a user account is modified using the change command?

Question50: Which of Ihe following commands will delete Ihe defaull gateway from the system's IP touting table? (Choose TWO correct answers.)

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

Question52: Which of the following commands puts the output of the command date into the shell variable mydate?

Question53: 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

Question54: Which of the following comparison operators for test work on elements in the file system? (Choose two.)

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

Question56: Which of the following statements is true regarding systemd timer units?

Question57: Which of the following changes may occur as a consequence of using the command ip? (Choose three.)

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

Question59: Which of the following environment variables can be defined in locale. conf ? (Choose TWO correct answers.)

Question60: What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done

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

Question62: Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?

Question63: Which of the following is observed and corrected by a NTP client?

Question64: Which command can be used to delete a group from a Linux system?

Question65: What is the purpose of the command mailq?

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

Question67: You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:

Question68: Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

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

Question70: Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

Question71: Which file used by XDM specifies the default wallpaper?

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

Question73: X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?

Question74: 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.)

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

Question76: Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)

Question77: You need to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, "hello". Which command will do this?

Question78: Which of the following is true about IPv6?

Question79: What command should be used to print a listing of email in the system's mail queue?

Question80: What is Irue regarding the statement beginning with #. that is found in the first line of a script? (Choose TWO correct answers.)

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

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

Question83: In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Question84: Which commands can you use to change a user's account aging information? (Choose THREE correct answers.)

Question85: Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg

Question86: In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Question87: Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

Question88: Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Question89: What is the purpose of a screen reader?

Question90: The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

Question91: Given the following routing table:

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

Question92: What is NOT contained in the locale setting of the operating system?

Question93: Which mechanism does ggfe use to interact with the SSH agent?

Question94: 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?

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