Question 6
101-500 Practice Test
101-500 Practice Test practice questions, page 2 of 5, with answer review and explanations.
Question 7
What does the command mount --bind do?
- It makes the contents of one directory available in another directory
- It mounts all available filesystems to the current directory
- It mounts all user mountable filesystems to the user's home directory
- It mounts all file systems listed in /etc/fstab which have the option userbind set
- It permanently mounts a regular file to a directory
Question 8
Consider the following output from the command ls -i: How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?
- ln -h a.txt c.txt
- ln c.txt a.txt
- ln a.txt c.txt
- ln -f c.txt a.txt
- ln -i 525385 c.txt
Question 9
Consider the following directory: drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
- chmod g+s sales
- setpol -R newgroup=sales sales
- chgrp -p sales sales
- chown --persistent *.sales sales
- chmod 2775 sales
Question 10
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.)
- cat /proc/self/mounts
- free
- lsmounts
- mount
- cat /proc/filesystems