[Free] Download New Latest (November) CompTIA LX0-104 Actual Tests 41-50

Ensurepass

QUESTION 41

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

 

A.

/etc/pgroup

B.

/etc/shadow

C.

/etc/group

D.

/etc/passwd

E.

/etc/gshadow

 

Correct Answer: D

 

 

QUESTION 42

What is the purpose of the iconv command?

 

A.

It converts bitmap images from one format to another such as PNG to JPEG.

B.

It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).

C.

It displays additional meta information from icon files ending in .ico.

D.

It changes the mode of an inode in the ext4 file system.

E.

It converts files from one character encoding to another.

 

Correct Answer: E

 

 

QUESTION 43

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

 

A.

export LANGUAGE=”pt”

B.

export MESSAGE=”pt”

C.

export UI_MESSAGES=”pt”

D.

export LC_MESSAGES=”pt”

E.

export ALL_MESSAGES=”pt”

 

Correct Answer: D

 

 

QUESTION 44

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.

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

 

Correct Answer: C

 

 

QUESTION 45

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

 

A.

*

B.

C.

s

D.

x

 

Correct Answer: D

 

 

QUESTION 46

Each entry in a crontab must end with what character?

 

A.

Tab

B.

Space

C.

Backslash

D.

Newline

 

Correct Answer: D

 

 

QUESTION 47

Where are user specific crontabs stored?

 

A.

In the database file /etc/crontab.db which is shared by all users.

B.

As individual per-user files within /var/spool/cron.

C.

As individual per-user files in /etc/cron.user.d.

D.

In the .crontab file in the user’s home directory.

E.

In the file /var/cron/user-crontab which is shared by all users.

 

Correct Answer: B

 

 

QUESTION 48

What is true about the file /etc/localtime?

 

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 geolocation of the system’s IP address.

C.

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

D.

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

 

Correct Answer: D

 

 

QUESTION 49

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

 

Correct Answer: TZ

 

 

 

 

 

 

QUESTION 50

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

 

Correct Answer: /etc/at.deny

 

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.