LX0-104 Real Exam Dumps Questions and answers 31-40

Get Full Version of the Exam

Question No.31

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

Correct Answer: groupadd, /usr/sbin/groupadd

Question No.32

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

  1. grouprm

  2. groupmod

  3. passwd

  4. usergroups

  5. usermod

Correct Answer: E

Question No.33

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

  1. Run the command chsh -s /bin/false with the user name.

  2. Set the UID for the user to 0.

  3. Remove the user from the group staff.

  4. Add the user to /etc/noaccess.

  5. Create a .nologin file in the user#39;s home directory.

Correct Answer: A

Question No.34

Which file contains the date of the last change of a user#39;s password?

  1. /etc/gshadow

  2. /etc/passwd

  3. /etc/pwdlog

  4. /etc/shadow

  5. /var/log/shadow

Correct Answer: D

Question No.35

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

  1. groupdel

  2. groupmod

  3. groups

  4. groupedit

Correct Answer: A

Question No.36

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

  1. currency symbol

  2. language

  3. timezone

  4. thousands separator

Correct Answer: C

Question No.37

The system#39;s timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

Correct Answer: /usr/share/zoneinfo/

Question No.38

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

  1. usermod

  2. passwd

  3. chattr

  4. chage

  5. chsh

Correct Answer: ABD

Question No.39

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)

  1. Year

  2. Minute

  3. Username

  4. Command

Correct Answer: BD

Question No.40

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

  1. Without additional configuration, no users may have user specific crontabs.

  2. Without additional configuration, all users may have user specific crontabs.

  3. The cron daemon will refuse to start and report missing files in the system#39;s logfile.

  4. When a user creates a user specific crontab the system administrator must approve it explicitly.

Correct Answer: A


Get Full Version of LX0-104 Dumps