What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
A. select
Which of the following configuration files should be modified to globally set shell variables for all users?
A. /etc/bashrc
B. /etc/profile
C. ~/.bash_profile
D. /etc/.bashrc
What of the following statements is true regarding a display manager?
A. A display manager handles remote X11 logins only and has no purpose on a system that is not attached to a network.
B. The display manager is configured in the X11 configuration file xorg.conf.
C. There is only one display manager X11Dm that must be started on all systems running X11.
D. After system startup, the display manager handles the login of a user.
E. Without a display manager, no graphical programs can be run.
Which of the following statements is true regarding the /etc/shadow file?
A. /etc/shadow may not be readable or writable by user root.
B. Only root is allowed to read and write /etc/shadow.
C. All users have full read and write access to /etc/shadow.
D. All users have full read access to /etc/shadow.
Which of the following steps prevents a user from obtaining an interactive login session?
A. Run the command chsh -s /bin/false with the user name.
B. Set the UID for the user to 0.
C. Remove the user from the group staff.
D. Add the user to /etc/noaccess.
E. Create a .nologin file in the user's home directory.
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.)
A. /etc/cron.allow
Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?
A. Because user specific crontab entries are stored in a common database and must be extracted before editing.
B. Because crontab starts the cron daemon in case it is not running due to no other crontab entries existing.
C. Because user specific crontab entries are stored in a special directory which is maintained by the cron daemon and not writable for regular users.
D. Because crontab collects information about all users crontabs and recommends similar commands used by other users of the system.
What is the purpose of the command mailq?
A. It fetches new emails from a remote server using POP3 or IMAP.
B. It is a multi-user mailing list manager.
C. It is a proprietary tool contained only in the qmail MTA.
D. It queries the mail queue of the local MTA.
E. It is a command-line based tool for reading and writing emails.
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)
A. mailq -or- /usr/bin/mailq -or- sendmail -bp -or- /usr/sbin/sendmail -bp -or- /usr/lib/sendmail -bp -or- sendmail -or- /usr/sbin/sendmail -or- /usr/lib/sendmail
Which command will set the local machine's timezone to UTC?
A. cat UTC > /etc/timezone
B. ln -s /usr/share/zoneinfo/UTC /etc/localtime
C. date --timezone=UTC
D. mv /usr/timezone/UTC /etc
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)
A. 64
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.)
A. resolv
B. dns
C. remote
D. files
E. hosts
Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?
A. sshd
B. ssh-agent
C. ssh-keygen
D. ssh-add
What is a purpose of an SSH host key?
A. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
B. It provides the server's identity information to connecting SSH clients.
C. It is the root key by which all user SSH keys must be signed.
D. It authenticates any user that logs into a remote machine from the key's host.
E. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
Which of the following commands gets the GnuPG public key with the id 63B4835B from the keyserver example.com?
A. gpg