web analytics

Which command will set the local machine’s timezone to UTC?

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 Answer: B

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

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

Which of the following commands pauses the Cups printer LaserPrinter?

Which of the following commands pauses the Cups printer LaserPrinter? A. cupsreject LaserPrinter B. cupsreject ­d LaserPrinter C. cupsdisable ­d LaserPrinter D. cupsdisable LaserPrinter Answer: D

Which of the following commands is used to rotate, compress, and mail system logs?

Which of the following commands is used to rotate, compress, and mail system logs? A. rotatelog B. striplog C. syslogd –rotate D. logrotate E. logger Answer: D

What is true regarding the file ~/.forward?

What is true regarding the file ~/.forward? A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command. B.

What is true about the ntpdate command?

What is true about the ntpdate command? A. It is the primary management command for the NTP time server. B. It updates the local system’s date (i.e. day, month and

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

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12? A. *.* /dev/tty12 B. /var/log/messages | /dev/tty12 C.

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

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line? A. lpd B. lpp C. lpq D. lpr

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

Which of the following is observed and corrected by a NTP client? A. The skew in time between the system clock and the hardware clock. B. The skew in time

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

Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.) A. Postfix B. Procmail C. Sendmail D. Exim E. SMTPd Answer: ACD

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

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.) A. –from= B. –since= C. –until= D. –upto= E.

Why is the correct configuration of a system’s time zone important?

Why is the correct configuration of a system’s time zone important? A. Because the conversion of Unix timestamps to local time relies on the time zone configuration. B. Because the

What is true regarding the command sendmail?

What is true regarding the command sendmail? A. With any MTA, the sendmail command must be run periodically by the cron daemon. B. All MTAs, including Postfix and Exim, provide

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

Which file inside the CUPS configuration directory contains the definition of the printers? A. cups-devices.conf B. snmp.conf C. printcap.conf D. printers.conf E. cupsd.conf Answer: D

What is the purpose of the command mailq?

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.

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

Which of the following are syslog facilities? (Choose TWO correct answers.) A. local7 B. mail C. advanced D. postmaster E. remote Answer: AB

Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.) A. Synchronize the hardware and system clocks. B. Output date and time in different

What is true about UIDs and GIDs?

What is true about UIDs and GIDs? A. UIDs and GIDs share a common number space. Each time a new user or group is created, the next free ID is

Which environment variable will override all LC_* variables?

Which environment variable will override all LC_* variables? A. LANG B. LC_ALL C. LC_COLLATE D. LOCALE Answer: B

Which of the following commands will convert files from one character encoding to another?

Which of the following commands will convert files from one character encoding to another? A. convert B. enc2utf C. iconv D. transcode Answer: C

Which of the following details can be found in an entry of a user specific crontab? (Choose two correct answers.)

Which of the following details can be found in an entry of a user specific crontab? (Choose two correct answers.) A. The verbal description of the job. B. The syslog

Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?

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

What is true about groups in a Linux system? (Choose two correct answers.)

What is true about groups in a Linux system? (Choose two correct answers.) A. Each user may be a member of several groups. However, only one group is the user’s

Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.) A. The list of users that belong to the group. B. The home directory

What is true regarding the command userdel –force –remove bob? (Choose TWO correct answers.)

What is true regarding the command userdel –force –remove bob? (Choose TWO correct answers.) A. The user bob is removed from the system’s user database. B. The user bob’s home

What is true about the file /etc/localtime?

What is true about the file /etc/localtime? A. It is a plain text file containing a string such as Europe/Berlin. B. It is created and maintained by the NTP service

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

What is NOT contained in the locale setting of the operating system? A. currency symbol B. language C. timezone D. thousands separator Answer: C

Which commands can be used to change a user’s account aging information? (Choose THREE correct answers.)

Which commands can be used to change a user’s account aging information? (Choose THREE correct answers.) A. usermod B. passwd C. chattr D. chage E. chsh Answer: ABD

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)?

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)? A. export LANGUAGE=”pt” B. export

Which of the following files assigns a user to its primary group?

Which of the following files assigns a user to its primary group? A. /etc/pgroup B. /etc/shadow C. /etc/group D. /etc/passwd E. /etc/gshadow Answer: D

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

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays? A. 0 * * * 30 myscript B. 30 * * * 6

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

To prevent a specific user from scheduling tasks with at, what should the administrator do? A. Add the specific user to /etc/at.allow file. B. Add the specific user to [deny]

Each entry in a crontab must end with what character?

Each entry in a crontab must end with what character? A. Tab B. Space C. Backslash D. Newline Answer: D

Which file contains the date of the last change of a user’s password?

Which file contains the date of the last change of a user’s password? A. /etc/gshadow B. /etc/passwd C. /etc/pwdlog D. /etc/shadow E. /var/log/shadow Answer: D

Where are user specific crontabs stored?

Where are user specific crontabs stored? A. In the database file /etc/crontab.db which is shared by all users. B. As individual per-user files within /var/spool/cron. C. As individual per-user files

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

Which of the following commands can remove a user from a group? A. grouprm B. groupmod C. passwd D. usergroups E. usermod Answer: E

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

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true? A. Without additional configuration, no users may have user specific crontabs. B. Without additional configuration,

What is the purpose of the iconv command?

What is the purpose of the iconv command? A. It converts bitmap images from one format to another such as PNG to JPEG. B. It verifies that the root directory

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

Which command can be used to delete a group from a Linux system? A. groupdel B. groupmod C. groups D. groupedit Answer: A

Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers) A. Year B. Minute C. Username

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow? A. * B. – C. s D. x Answer: D

Which of the following steps prevents a user from obtaining an interactive login session?

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

What is the purpose of the sticky keys feature in X?

What is the purpose of the sticky keys feature in X? A. To assist users who have difficulty holding down multiple keys at once. B. To prevent repeated input of

Which of the following statements is true regarding the /etc/shadow file?

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

What of the following statements is true regarding a display manager?

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

What is the purpose of the xhost program?

What is the purpose of the xhost program? A. Grant or revoke access to a X11 session. B. Install all packages and video drivers required to run X11 on a

On a machine running several X servers, how are the different instances of the X11 server identified?

On a machine running several X servers, how are the different instances of the X11 server identified? A. By a fixed UUID that is defined in the X11 configuration file.

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

Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.) A. Start and prepare the desktop environment for the user. B.

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

For accessibility assistance, which of the following programs is an on-screen keyboard? A. xkb B. atkb C. GOK D. xOSK Answer: C

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

Which of the following commands shows the current color depth of the X Server? A. xcd B. xcdepth C. xwininfo D. xcolordepth E. cat /etc/X11 Answer: C