Chapter 4 - Managing File Systems

12 Questions

Settings
Please wait...
File Management Quizzes & Trivia

The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully because there might be more than one correct answer. Choose all correct answers for each question.


Questions and Answers
  • 1. 
     Which of the following commands are used to obtain disk space information? (Choose all that apply.)
    • A. 

      Df

    • B. 

      Du

    • C. 

      Quot

    • D. 

      Ls

    • E. 

      Ds

  • 2. 
    Which of the following file systems are (memory-based) virtual file systems? (Choose all that apply.)
    • A. 

      NFS

    • B. 

      CacheFS

    • C. 

      ProceFS

    • D. 

      UFS or TEMPFS

    • E. 

      UDF

  • 3. 
    Which of the following directories on Solaris 10 contain the files related to the physical devices?
    • A. 

      /drivers

    • B. 

      /dev

    • C. 

      /devices

    • D. 

      /etc

    • E. 

      /drv

  • 4. 
    Which of the following directories on Solaris 10 contain the configuration files? (Choose all that apply.)
    • A. 

      /drivers

    • B. 

      /mnt

    • C. 

      /export

    • D. 

      /etc

    • E. 

      /bin

  • 5. 
    Which of the following types of links can span across the file systems? (Choose all that apply.)
    • A. 

      Symbolic links

    • B. 

      Hard links

    • C. 

      Loop links

    • D. 

      Directory links

  • 6. 
    Which of the following commands can you use on a mounted file system? (Choose all that apply.)
    • A. 

      Fsck

    • B. 

      Ls

    • C. 

      Quot

    • D. 

      Du

  • 7. 
    The files under the /devices directory are controlled by which file system?
    • A. 

      MNTFS

    • B. 

      Devicefs

    • C. 

      Devfs

    • D. 

      HSFS

  • 8. 
    Which of the following statements are not true? (Choose all that apply.)
    • A. 

      Add a Note HereA hard link can only point to a file that is not a directory.

    • B. 

      A hard link has a different inode number from that of the file that it points to.

    • C. 

      You cannot create a hard link to a file that does not exist.

    • D. 

      You cannot create a symbolic link to a file that does not exist.

  • 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.)
    • A. 

      Df

    • B. 

      Du

    • C. 

      Quot

    • D. 

      Ls

  • 10. 
    What can be the maximum size of a large UFS file system?
    • A. 

      1 terabyte

    • B. 

      1 gigabyte

    • C. 

      10 terabytes

    • D. 

      2 gigabytes

  • 11. 
    You have just installed Solaris 10 on your system. Underneath which directory can you locate the SMF components?
    • A. 

      /smf

    • B. 

      /etc

    • C. 

      /lib

    • D. 

      /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?
    • A. 

      /lost+found

    • B. 

      /unreferenced

    • C. 

      /var/tmp/lost+found

    • D. 

      /var/lost+found

    • E. 

      /tmp