ExamGecko
Home / LPI / 102-500 / List of questions
Ask Question

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

List of questions

Question 61

Report Export Collapse

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

0 * * * 30 myscript
0 * * * 30 myscript
30 * * * 6 myscript
30 * * * 6 myscript
30 0 * * 0 myscript
30 0 * * 0 myscript
30 0-23 * * 0 myscript
30 0-23 * * 0 myscript
0 0-23 * * 30 myscript
0 0-23 * * 30 myscript
Suggested answer: D
asked 18/09/2024
Pablo Magallanes
43 questions

Question 62

Report Export Collapse

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

/etc/pgroup
/etc/pgroup
/etc/shadow
/etc/shadow
/etc/group
/etc/group
/etc/passwd
/etc/passwd
/etc/gshadow
/etc/gshadow
Suggested answer: D
asked 18/09/2024
Julius Nammeh
34 questions

Question 63

Report Export Collapse

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

export LANGUAGE="pt"
export LANGUAGE="pt"
export MESSAGE="pt"
export MESSAGE="pt"
export UI_MESSAGES="pt"
export UI_MESSAGES="pt"
export LC_MESSAGES="pt"
export LC_MESSAGES="pt"
export ALL_MESSAGES="pt"
export ALL_MESSAGES="pt"
Suggested answer: D
asked 18/09/2024
Donn Policarpio
48 questions

Question 64

Report Export Collapse

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

/etc/cron.allow
/etc/cron.allow
Suggested answer: A
asked 18/09/2024
Ray Hato
42 questions

Question 65

Report Export Collapse

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

usermod
usermod
passwd
passwd
chattr
chattr
chage
chage
chsh
chsh
Suggested answer: A, B, D
asked 18/09/2024
Tiago Carvalho
49 questions

Question 66

Report Export Collapse

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

groupadd,/usr/sbin/groupadd
groupadd,/usr/sbin/groupadd
Suggested answer: A
asked 18/09/2024
Test Test
30 questions

Question 67

Report Export Collapse

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

currency symbol
currency symbol
language
language
timezone
timezone
thousands separator
thousands separator
Suggested answer: C
asked 18/09/2024
Susan Brady
51 questions

Question 68

Report Export Collapse

What is true about the file /etc/localtime?

It is a plain text file containing a string such as Europe/Berlin
It is a plain text file containing a string such as Europe/Berlin
It is created and maintained by the NTP service based on the location of the system's IP address.
It is created and maintained by the NTP service based on the location of the system's IP address.
It is a symlink to /sys/device/clock/ltime and always contains the current local time.
It is a symlink to /sys/device/clock/ltime and always contains the current local time.
After changing this file, newtzconfig has to be run to make the changes effective.
After changing this file, newtzconfig has to be run to make the changes effective.
It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.
It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.
Suggested answer: E
asked 18/09/2024
Stephen DeWhite
38 questions

Question 69

Report Export Collapse

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

The user bob is removed from the system's user database.
The user bob is removed from the system's user database.
The user bob's home directory is removed.
The user bob's home directory is removed.
The locate database is updated to drop files owned by bob.
The locate database is updated to drop files owned by bob.
All files owned by bob are remove from all mounted filesystems.
All files owned by bob are remove from all mounted filesystems.
In case bob was the last member of a group, that group is deleted.
In case bob was the last member of a group, that group is deleted.
Suggested answer: A, B
asked 18/09/2024
Clive Roberts
50 questions

Question 70

Report Export Collapse

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

The list of users that belong to the group.
The list of users that belong to the group.
The home directory of the group.
The home directory of the group.
The name of the group.
The name of the group.
The description of the group.
The description of the group.
The password of the group.
The password of the group.
Suggested answer: A, C, E
asked 18/09/2024
Robert Pila
42 questions
Total 235 questions
Go to page: of 24