[Free] Download New Latest (November) CompTIA LX0-104 Actual Tests 31-40

Ensurepass

QUESTION 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 32

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

 

A.

grouprm

B.

groupmod

C.

passwd

D.

usergroups

E.

usermod

 

Correct Answer: E

 

 

QUESTION 33

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

 

A.

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

B.

Set the UID for the user to 0.

C.

Remove the user from the group staff.

D.

Add the user to /etc/noaccess.

E.

Create a .nologin file in the user’s home directory.

 

Correct Answer: A

 

 

QUESTION 34

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

 

A.

/etc/gshadow

B.

/etc/passwd

C.

/etc/pwdlog

D.

/etc/shadow

E.

/var/log/shadow

 

Correct Answer: D

 

 

QUESTION 35

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

 

A.

groupdel

B.

groupmod

C.

groups

D.

groupedit

 

Correct Answer: A

 

 

QUESTION 36

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

 

A.

currency symbol

B.

language

C.

timezone

D.

thousands separator

 

Correct Answer: C

 

 

QUESTION 37

The system’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 38

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

 

A.

usermod

B.

passwd

C.

chattr

D.

chage

E.

chsh

 

Correct Answer: ABD

 

 

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

 

A.

Year

B.

Minute

C.

Username

D.

Command

 

Correct Answer: BD

 

 

QUESTION 40

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.

B.

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

C.

The cron daemon will refuse to start and report missing files in the system’s logfile.

D.

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

 

Correct Answer: A

 

Free VCE & PDF File for CompTIA LX0-104 Actual Tests

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

This entry was posted in LX0-104 Actual Tests (November) and tagged , , , , , , . Bookmark the permalink.