Pass the LPI LPIC Level 1 102-500 Questions and answers with CertsForce

Viewing page 7 out of 7 pages
Viewing questions 61-70 out of questions
Questions # 61:

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

Options:

A.

The user bob is removed from the system's user database.


B.

The user bob's home directory is removed.


C.

The locate database is updated to drop files owned by bob.


D.

All files owned by bob are remove from all mounted filesystems.


E.

In case bob was the last member of a group, that group is deleted.


Questions # 62:

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)

Options:

A.

Year


B.

Minute


C.

Username


D.

Command


Questions # 63:

Which of the following can the chage command NOT change?

Options:

A.

The number of days since January 1, 1970 after which the user's account will no longer be accessible.


B.

The number of days since January 1, 1970 after which the password can change.


C.

The number of days since January 1, 1970 since the password was last changed.


D.

The maximum number of days during which a password is valid.


E.

The number of days of inactivity after a password has expired before the account is locked.


Questions # 64:

What is the conventional purpose of Linux UIDs that are lower than 100?

Options:

A.

They are reserved for super user accounts.


B.

They are reserved for the system admin accounts.


C.

They are reserved for system accounts.


D.

They are unused, aside from 0, because they are targets of exploits.


E.

They are used to match with GIDs in grouping users.


Questions # 65:

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

Options:

A.

currency symbol


B.

language


C.

timezone


D.

thousands separator


Questions # 66:

What is the main difference between the batch and at commands?

Options:

A.

The batch command will run multiple times.The at command will only run once.


B.

The batch command will run when system load is low. The at command runs at a specific time.


C.

The at command reads commands from standard input. The batch command requires a command line argument.


D.

The at command e-mails results to the user. The batch command logs results to syslog.


Questions # 67:

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

Options:

A.

Add the specific user to /etc/at.allow file.


B.

Add the specific user to [deny] section in the /etc/atd.conf file.


C.

Add the specific user to /etc/at.deny file.


D.

Add the specific user to nojobs group.


E.

Run the following: atd --deny [user].


Questions # 68:

What is true about the file /etc/localtime?

Options:

A.

It is a plain text file containing a string such as Europe/Berlin


B.

It is created and maintained by the NTP service based on the location of the system’s IP address.


C.

It is a symlink to /sys/device/clock/ltime and always contains the current local time.


D.

After changing this file, newtzconfig has to be run to make the changes effective.


E.

It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.


Questions # 69:

The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:

Options:

A.

* 3,4,5 1 * * chklog


B.

3 3,4,5 1 * * chklog


C.

3 15,16,17 * * * chklog


D.

0 15,16,17 1 * * chklog


E.

* 15,16,17 1 * * chklog


Questions # 70:

How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)

Options:

A.

The /etc/crontab file can specify a year field.


B.

A normal crontab file must be installed with the crontab command.


C.

A normal crontab file allows for environment variable substitution.


D.

The /etc/crontab file has a user field for commands.


Viewing page 7 out of 7 pages
Viewing questions 61-70 out of questions