1.
Which of the following commands are used to obtain disk space information? (Choose all that apply.)
Correct Answer(s)
A. Df
B. Du
C. Quot
Explanation
A, B, and C. The df command is used to get. a report on disk usage by the file systems, the du command to get a report on disk usage by directories and files, and the quot command to get a report on disk usage by users.
D is incorrect because the ls command displays information about files and not about the disk space. E is incorrect because there is no such command as ds to display disk space information.
2.
Which of the following file systems are (memory-based) virtual file systems? (Choose all that apply.)
Correct Answer(s)
B. CacheFS
C. ProceFS
E. UDF
Explanation
B, C, and E. The file systems CacheFS, ProcFS, and TEMPFS are memory-based virtual file systems.
A is incorrect because NFS is a network file system that resides on a disk and is accessible from systems across the network. D is incorrect because the UNIX file system, the default file system for Solaris, is a disk-based system. F is incorrect because universal disk format is used to store information on DVDs.
3.
Which of the following directories on Solaris 10 contain the files related to the physical devices?
Correct Answer(s)
A. /drivers
E. /drv
Explanation
A and E are incorrect because there are no such directories as /drivers and /drv. D is incorrect because the /etc directory contains configuration files and not device files.
4.
Which of the following directories on Solaris 10 contain the configuration files? (Choose all that apply.)
Correct Answer
D. /etc
Explanation
D The /etc directory contains administrative and configuration files.
A is incorrect because there is no such directory as /devices. B is incorrect because the /mnt directory is the default mount point for fault systems. C is incorrect because the /export directory is used for creating home directories. E is incorrect because the /bin directory contains links to standard system commands.
5.
Which of the following types of links can span across the file systems? (Choose all that apply.)
Correct Answer
A. Symbolic links
Explanation
A Symbolic links span across the file systems.
B is incorrect because hard links can point only to the files on the same file system. C and D are incorrect because there are no such links.
6.
Which of the following commands can you use on a mounted file system? (Choose all that apply.)
Correct Answer(s)
A. Fsck
C. Quot
D. Du
Explanation
B, C, and D. The ls command is used to obtain information about files, and the quot and du commands are used to obtain disk space information.
A is incorrect because the fsck command is used only while the file system is unmounted; otherwise you could create data inconsistencies.
7.
The files under the /devices directory are controlled by which file system?
Correct Answer
C. Devfs
Explanation
C. The files in the /devices directory represent the physical devices and are entirely controlled by the devfs file system
A is incorrect because the MNTFS is a virtual file system that contains information about the mounted file systems. B is incorrect because there is no such file system as devicefs. D is incorrect because HSFS is the file system that is used to write on the CD-ROMs.
8.
Which of the following statements are not true? (Choose all that apply.)
Correct Answer(s)
B. A hard link has a different inode number from that of the file that it points to.
D. You cannot create a symbolic link to a file that does not exist.
Explanation
B and D. All the hard links that point to a file share the inode with the file. You can create symbolic links to a file that does not yet exist.
A and C are incorrect because both are true statements.
9.
You want to find out how each user on
a file system is using disk space? Which of the following commands can
you use? (Choose all that apply.)
Correct Answer
C. Quot
Explanation
C. The quot command drills down the disk usage by user name.
A is incorrect because the df command is used to get information about disk space usage by file system. B is incorrect because the du command is used to determine the disk space allocated to files and directories. D is incorrect because the ls command is used to get information about files, not about disk usage.
10.
What can be the maximum size of a large UFS file system?
Correct Answer
A. 1 terabyte
Explanation
A. The maximum size of a large file system is 1 terabyte.
B, C, and D are incorrect because they do not represent the maximum size of a large file system, which is 1 terabyte.
11.
You have just installed Solaris 10 on your system. Underneath which directory can you locate the SMF components?
Correct Answer
C. /lib
Explanation
C. The shared libraries including the SMF components are in the directories underneath /lib.
A is incorrect because there is no automatically created /smf directory in Solaris 10. B is incorrect because the /etc directory contains mostly the configuration files, and D is incorrect because /bin is a symbolic link to the directory /usr/bin.
12.
There have been problems in mounting the /var file system? You reboot the system into a single-user mode and issue the fsck command on /var.
The system reports an allocated but unreferenced file, and you say yes
when asked whether the file should be reconnected. After the system has
been booted, in which directory can you find this reconnected file?
Correct Answer
D. /var/lost+found
Explanation
D. The fsck command places the unreferenced files in the lost+found directory at the top of the file system on which the command is run.
A and C are incorrect because the fsck command places the unreferenced files in the lost+found directory at the top of the file system on which the command is run, and B is incorrect because no directory named /unreferenced is automatically created during Solaris installation.