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

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

List of questions

Question 81

Report Export Collapse

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

cat UTC > /etc/timezone
cat UTC > /etc/timezone
ln -s /usr/share/zoneinfo/UTC /etc/localtime
ln -s /usr/share/zoneinfo/UTC /etc/localtime
date --timezone=UTC
date --timezone=UTC
mv /usr/timezone/UTC /etc
mv /usr/timezone/UTC /etc
Suggested answer: B
asked 18/09/2024
Arthur Khaha
46 questions

Question 82

Report Export Collapse

Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)

export LANGUAGE="pt"
export LANGUAGE="pt"
export MESSAGE="pt"
export MESSAGE="pt"
export LANG="pt"
export LANG="pt"
export LC_MESSAGES="pt"
export LC_MESSAGES="pt"
export ALL_MESSAGES="pt"
export ALL_MESSAGES="pt"
Suggested answer: C, D
asked 18/09/2024
Kevin Intriago
38 questions

Question 83

Report Export Collapse

A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specify the full path to the file)

/etc/cron.allow
/etc/cron.allow
Suggested answer: A
asked 18/09/2024
Mohamed Mohamed
53 questions

Question 84

Report Export Collapse

Which commands can you use 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
Antoine CHEA
29 questions

Question 85

Report Export Collapse

Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

The encrypted passwords are still subject to brute force attacks.
The encrypted passwords are still subject to brute force attacks.
This is just for historical reasons.
This is just for historical reasons.
There is other information in the file that needs to be kept secret.
There is other information in the file that needs to be kept secret.
The passwords can be decrypted by anyone with root access.
The passwords can be decrypted by anyone with root access.
Suggested answer: A
asked 18/09/2024
Fabio Todeschin
42 questions

Question 86

Report Export Collapse

Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?

Add the user name to /etc/nologin.
Add the user name to /etc/nologin.
Change the user's password.
Change the user's password.
Change the user name in /etc/passwd.
Change the user name in /etc/passwd.
Use change to expire the user account.
Use change to expire the user account.
Place the command logout in the user's profile.
Place the command logout in the user's profile.
Suggested answer: D
asked 18/09/2024
Ramesh Kumar Patel
38 questions

Question 87

Report Export Collapse

Which TWO statements about crontab are true?

Every user may have their own crontab.
Every user may have their own crontab.
Changing a crontab requires a reload/restart of the cron daemon.
Changing a crontab requires a reload/restart of the cron daemon.
The cron daemon reloads crontab files automatically when necessary.
The cron daemon reloads crontab files automatically when necessary.
hourly is the same as "0 * * * *".
hourly is the same as "0 * * * *".
A cron daemon must run for each existing crontab.
A cron daemon must run for each existing crontab.
Suggested answer: A, C
asked 18/09/2024
Tural Pashayev
33 questions

Question 88

Report Export Collapse

Which crontab entry could be used to set the system time at regular intervals?

1 0 * * * date $d $t $24
1 0 * * * date $d $t $24
1 0 * * * ntpdate ntp1.digex.net
1 0 * * * ntpdate ntp1.digex.net
1 0 * * * date ntp1.digex.net
1 0 * * * date ntp1.digex.net
1 0 * * * runcron date ntp1.digex.net
1 0 * * * runcron date ntp1.digex.net
1 0 * * * settime $d $t $24
1 0 * * * settime $d $t $24
Suggested answer: B
asked 18/09/2024
Son Pham Hong
52 questions

Question 89

Report Export Collapse

Which of the following commands can be used to convert text files in one character encoding to another character encoding?

cat
cat
convert
convert
dd
dd
iconv
iconv
utf2utf
utf2utf
Suggested answer: D
Explanation:

Topic 4, Essential System Services

asked 18/09/2024
Joe Pardee
54 questions

Question 90

Report Export Collapse

Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)

server
server
Suggested answer: A
asked 18/09/2024
jonathan siu
46 questions
Total 235 questions
Go to page: of 24