New Year Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Linux Foundation LFCS Exam Success: Linux Foundation Certified System Administrator Complete Study and Preparation Tips

Questions 21

Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

Options:
Linux Foundation LFCS Premium Access
Questions 22

Which of the following commands will print the last 10 lines of a text file to the standard output?

Options:
A.

cat -n 10 filename

B.

dump -n 10 filename

C.

head -n 10 filename

D.

tail -n 10 filename

Questions 23

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

Options:
A.

rmdir '~/\dir'

B.

rmdir "~/\dir"

C.

rmdir ~/'dir'

D.

rmdir ~/\dir

E.

rmdir ~/\\dir

Questions 24

When using rpm --verify to check files created during the installation of RPM packages, which ofthe following information is taken into consideration? (Choose THREE correct answers.)

Options:
A.

Timestamps

B.

MD5 checksums

C.

Inodes

D.

File sizes

E.

GnuPG signatures

Questions 25

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.

Questions 26

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

Options:
A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Questions 27

Which of the following is the device file name for the second partition on the only SCSI drive?

Options:
A.

/dev/hda1

B.

/dev/sda2

C.

/dev/sd0a2

D.

/dev/sd1p2

Questions 28

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

Options:
A.

magic

B.

type

C.

file

D.

pmagic

E.

hash

Questions 29

Whichof the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

Options:
A.

shutdown -R 1 now

B.

shutdown -single now

C.

init 1

D.

telinit 1

E.

runlevel 1

Questions 30

Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Options:
A.

Start and prepare the desktop environment for the user.

B.

Configure additional devices like new monitors or projectors when they are attached.

C.

Handle the login of a user.

D.

Lock the screen when the user was inactive for a configurable amount of time.

E.

Create an X11 configuration file for the current graphic devices and monitors.