Quiz
103-Part 4
This quiz has question types that open in the usual player.
Questions in this quiz (25)
1Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
- A<<
- B<|
- C!<
- D&<
2Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
- ASIGTERM
- BSIGINT
- CSIGSTOP
- DSIGKILL
3Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?
- Aext2
- Bext3
- Cext4
- DXFS
- EVFAT
4How many fields are in a syntactically correct line of /etc/fstab?
- A3
- B4
- C5
- D6
- E7
5Which command is used to create and initialize the files used to store quota information? (Specify ONLY the command without any path or parameters.) --> [blank_start]quotacheck[blank_end]
- Aquotacheck
6Which of the following file permissions belong to a symbolic link?
- A-rwxrwxrwx
- B+rwxrwxrwx
- Clrwxrwxrwx
- Dsrwxrwxrwx
7Creating a hard link to an ordinary file returns an error. What could be the reason for this?
- AThe source file is hidden.
- BThe source file is read-only.
- CThe source file is a shell script.
- DThe source file is already a hard link.
- EThe source and the target are on different filesystems.
8Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
- A/sbin/mke2fs -j /dev/sdb1
- B/sbin/mkfs -t ext3 /dev/sdb1
- C/sbin/mkfs -c ext3 /dev/sdb1
- D/sbin/mke3fs -j /dev/sdb1
9Which of the following commands will change the quota for a specific user?
- Aedquota
- Brepquota
- Cquota -e
- Dquota
10Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
- Amod2fs
- Bfsck
- Ctune2fs
- Dmke2fs
- Efixe2fs
11Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)
- Aext3
- BJFS
- Cext2
- DXFS
- Eprocfs
12What is the purpose of the Filesystem Hierarchy Standard?
- AIt is a security model used to ensure files are organized according to their permissions and accessibility.
- BIt provides unified tools to create, maintain and manage multiple filesystems in a common way.
- CIt defines a common internal structure of inodes for all compliant filesystems.
- DIt is a distribution neutral description of locations of files and directories.
13Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.) --> [blank_start]0077[blank_end]
- A0077
14Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
- AFIND
- BID
- CLABEL
- DNAME
- EUUID
15After running the command umount /mnt, the following error message is displayed:
umount: /mnt: device is busy.
What is a common reason for this message?- AThe kernel has not finished flushing disk writes to the mounted device.
- BA user has a file open in the /mnt directory.
- CAnother file system still contains a symlink to a file inside /mnt.
- DThe files in /mnt have been scanned and added to the locate database.
- EThe kernel thinks that a process is about to open a file in /mnt for reading.
16Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
- Achmod +s /tmp
- Bchmod +t /tmp
- Cchmod 1775 /tmp
- Dchmod 4775 /tmp
- Echmod 2775 /tmp
17Which of the following commands can be used to display the inode number of a given file?
- Ainode
- Bls
- Cln
- Dcp
18Which of the following commands shows the definition of a given shell command?
- Awhere
- Bstat
- Ctype
- Dcase
19What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
- AThe command is SetUID and it will be executed with the effective rights of the owner.
- BThe command will be executed with the effective rights of the group instead of the owner.
- CThe execute flag is not set for the owner. Therefore the SetUID flag is ignored.
- DThe command will be executed with the effective rights of the owner and group.
20Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
- AFile size
- BModify timestamp
- CLink count
- DInode number
- EPermissions
21Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?
(Specify the file name only without any path.) --> [blank_start]cmdline[blank_end]- Acmdline
22Which of the following options for the kernel\'s command line changes the systemd boot target to rescue.target instead of the default target?
- Asystemd.target=rescue.target
- Bsystemd.runlevel=rescue.target
- Csystemd.service=rescue.target
- Dsystemd.default=rescue.target
- Esystemd.unit=rescue.target
23Which of the following commands will write a message to the terminals of all logged in users?
- Abcast
- Bmesg
- Cprint
- Dwall
- Eyell
24Which of 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.)
- Ashutdown -R 1 now
- Bshutdown -single now
- Cinit 1
- Dtelinit 1
- Erunlevel 1
25Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
- A/etc/keys
- B/proc/keys
- C/etc/inittab
- Dproc/inittab
- E/etc/reboot
Information
- Description
- Linux 1 Quiz on 103-Part 4, created by Jakub Sabacinski on 16/01/2019.
- Author
- Jakub Sabacinski
- Language
- English
- Views
- 6
- History
- Created on 16 Jan 2019 · updated on 17 Jan 2019
- Tags
- Rating
- No ratings yet Rate this quiz
More on Linux File Management and Permissions