LCP-001 Practice Test & Exam Dumps
Linux Certified Professional (LCP) Powered by LPI Questions 66–70 (page: 15)

Updated On: 19-Feb-2026

You are experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. You don't want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead.
Which command would accomplish that?

  1. ln -s /tmp/foo.d/foo.conf /etc/foo.conf
  2. ln /tmp/foo.d/foo.conf /etc/foo.conf
  3. ln -s /etc/foo.conf /tmp/foo.d/foo.conf
  4. ln /etc/foo.conf /tmp/foo.d/foo.conf

Answer(s): A

Explanation:

There are two types of link a. Soft link b. Hard link. b. Soft link à Can create for directory also, can span multiple partitions but available until and unless Original Files remain. Syntax for Soft link ln -s originalfile linkfile b. Hard link à One separate Physical File, can't create for directory, can't span multiple file but remains the link file if original file removed.
Syntax for Hard link ln originalfile linkfile



Which of the following Linux filesystems pre-allocates a fixed number of inodes at the filesystem's make/creation time, and does NOT generate them as needed?

  1. ext3
  2. jfs
  3. reiserfs
  4. xfs

Answer(s): A



You have just added a CD-ROM drive (/dev/hdd) to your system and have added it to your fstab. Typically you can use which of the following commands to mount media in that drive to /mnt/cdrom?

  1. mount/dev/cdrom/mnt/cdrom
  2. mount/dev/cdrom
  3. mount -t cdrom/dev/cdrom/mnt/cdrom
  4. mount/mnt/cdrom
  5. automount/mnt/hdd/mnt/cdrom

Answer(s): D



You have written a custom tool on your local system. Following the Filesystem Hierarchy Standard (FHS), where should you install the binaries to be available to all users on your system?

  1. /usr/local/bin

Answer(s): A

Explanation:

/usr/local/bin/



What does the command mount -a do?

  1. It mounts the floppy disk for all users.
  2. It shows all mounted file systems.
  3. It opens /etc/fstab to edit.
  4. It mounts all file systems listed in /etc/fstab.

Answer(s): D



Viewing page 15 of 60
Viewing questions 71 - 75 out of 289 questions


Post your Comments and Discuss GAQM LCP-001 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!