exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 7 discussion

Actual exam question from LPI's 101-500
Question #: 7
Topic #: 1
[All 101-500 Questions]

What does the command mount --bind do?

  • A. It makes the contents of one directory available in another directory
  • B. It mounts all available filesystems to the current directory
  • C. It mounts all user mountable filesystems to the user's home directory
  • D. It mounts all file systems listed in /etc/fstab which have the option userbind set
  • E. It permanently mounts a regular file to a directory
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Easyman
Highly Voted 3 years, 7 months ago
A is correct. df -hT | grep sdb1 /dev/sdb1 ext4 991M 2.6M 922M 1% /mnt root@ubuntu1804:~# mount --bind /mnt /run/media/system/Virtual_disk/ root@ubuntu1804:~# ls /mnt/ lost+found root@ubuntu1804:~# touch /mnt/file1 root@ubuntu1804:~# ls /mnt/ file1 lost+found root@ubuntu1804:~# ls /run/media/system/Virtual_disk/ file1 lost+found
upvoted 14 times
...
Ninymo
Most Recent 3 months, 3 weeks ago
It makes the contents of one directory available in another directory
upvoted 1 times
...
Blindspot205
6 months, 2 weeks ago
Selected Answer: A
The answer is A
upvoted 1 times
...
NeoSam999
1 year, 6 months ago
Correct Answer: A https://www.baeldung.com/linux/bind-mounts
upvoted 3 times
...
techalik
3 years, 7 months ago
Is it B?
upvoted 1 times
iwkno6
2 years, 11 months ago
A is the right choice according the man page on mount
upvoted 7 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago