ExamGecko
Home Home / LPI / 102-500

LPI 102-500 Practice Test - Questions Answers, Page 6

Question list
Search
Search

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

A.
Year
A.
Year
Answers
B.
Minute
B.
Minute
Answers
C.
Username
C.
Username
Answers
D.
Command
D.
Command
Answers
Suggested answer: B, D

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

A.
groupdel
A.
groupdel
Answers
B.
groupmod
B.
groupmod
Answers
C.
groups
C.
groups
Answers
D.
groupedit
D.
groupedit
Answers
Suggested answer: A

What is the purpose of the iconv command?

A.
It converts bitmap images from one format to another such as PNG to JPEG.
A.
It converts bitmap images from one format to another such as PNG to JPEG.
Answers
B.
It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
B.
It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).
Answers
C.
It displays additional meta information from icon files ending in .ico.
C.
It displays additional meta information from icon files ending in .ico.
Answers
D.
It changes the mode of an inode in the ext4 file system.
D.
It changes the mode of an inode in the ext4 file system.
Answers
E.
It converts files from one character encoding to another.
E.
It converts files from one character encoding to another.
Answers
Suggested answer: E

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.
A.
Without additional configuration, no users may have user specific crontabs.
Answers
B.
Without additional configuration, all users may have user specific crontabs.
B.
Without additional configuration, all users may have user specific crontabs.
Answers
C.
The cron daemon will refuse to start and report missing files in the system's logfile.
C.
The cron daemon will refuse to start and report missing files in the system's logfile.
Answers
D.
When a user creates a user specific crontab the system administrator must approve it explicitly.
D.
When a user creates a user specific crontab the system administrator must approve it explicitly.
Answers
Suggested answer: A

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

A.
grouprm
A.
grouprm
Answers
B.
groupmod
B.
groupmod
Answers
C.
passwd
C.
passwd
Answers
D.
usergroups
D.
usergroups
Answers
E.
usermod
E.
usermod
Answers
Suggested answer: E

Where are user specific crontabs stored?

A.
In the database file /etc/crontab.db which is shared by all users.
A.
In the database file /etc/crontab.db which is shared by all users.
Answers
B.
As individual per-user files within /var/spool/cron.
B.
As individual per-user files within /var/spool/cron.
Answers
C.
As individual per-user files in /etc/cron.user.d.
C.
As individual per-user files in /etc/cron.user.d.
Answers
D.
In the .crontab file in the user's home directory.
D.
In the .crontab file in the user's home directory.
Answers
E.
In the file /var/cron/user-crontab which is shared by all users.
E.
In the file /var/cron/user-crontab which is shared by all users.
Answers
Suggested answer: B

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

A.
/etc/gshadow
A.
/etc/gshadow
Answers
B.
/etc/passwd
B.
/etc/passwd
Answers
C.
/etc/pwdlog
C.
/etc/pwdlog
Answers
D.
/etc/shadow
D.
/etc/shadow
Answers
E.
/var/log/shadow
E.
/var/log/shadow
Answers
Suggested answer: D

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

A.
TZ
A.
TZ
Answers
Suggested answer: A

Each entry in a crontab must end with what character?

A.
Tab
A.
Tab
Answers
B.
Space
B.
Space
Answers
C.
Backslash
C.
Backslash
Answers
D.
Newline
D.
Newline
Answers
Suggested answer: D

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.
A.
Add the specific user to /etc/at.allow file.
Answers
B.
Add the specific user to [deny] section in the /etc/atd.conf file.
B.
Add the specific user to [deny] section in the /etc/atd.conf file.
Answers
C.
Add the specific user to /etc/at.deny file.
C.
Add the specific user to /etc/at.deny file.
Answers
D.
Add the specific user to nojobs group.
D.
Add the specific user to nojobs group.
Answers
E.
Run the following: atd --deny [user].
E.
Run the following: atd --deny [user].
Answers
Suggested answer: C
Total 194 questions
Go to page: of 20