Pass the Linux Foundation Linux Foundation Certified SYSADMIN LFCS Questions and answers with CertsForce

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

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)


Expert Solution
Questions # 62:

What is the purpose of the iconv command?

Options:

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.


Expert Solution
Questions # 63:

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


Expert Solution
Questions # 64:

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

Options:

A.

export LANGUAGE="pt"


B.

export MESSAGE="pt"


C.

export UI_MESSAGES="pt"


D.

export LC_MESSAGES="pt"


E.

export ALL_MESSAGES="pt"


Expert Solution
Questions # 65:

Which of the following commands can be used to extract content from a tar file?

Options:

A.

tar -xvf


B.

tar -vf


C.

tar -e


D.

tar -c


E.

tar–v


Expert Solution
Questions # 66:

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

Options:

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.


Expert Solution
Questions # 67:

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

Options:

A.

startd


B.

systemd


C.

Upstart


D.

SysInit


E.

SysV init


Expert Solution
Questions # 68:

What happens after issuing the command vi without any additional parameters?

Options:

A.

vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited.


B.

vi starts and requires the user to explicitly either create a new or load an existing file.


C.

vi exits with an error message as it cannot be invoked without a file name to operate on.


D.

vi starts in command mode and opens a new empty file.


E.

vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.


Expert Solution
Questions # 69:

What is the effect of the egrep command when the -v option is used?

Options:

A.

It enables color to highlight matching parts.


B.

It only outputs non-matching lines.


C.

It shows the command's version information.


D.

It changes theoutput order showing the last matching line first.


Expert Solution
Questions # 70:

What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Options:

A.

route del default


B.

ifconfig unset default


C.

netstat -r default


D.

ip route del default


E.

sysctl ipv4.default_gw=0


Expert Solution
Viewing page 7 out of 8 pages
Viewing questions 61-70 out of questions