Chapter 4 - Managing File Systems

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Ipador
I
Ipador
Community Contributor
Quizzes Created: 2 | Total Attempts: 332
Questions: 12 | Attempts: 150

SettingsSettingsSettings
Chapter 4 - Managing File Systems - Quiz


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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 7. 

    The files under the /devices directory are controlled by which file system?

    • A.

      MNTFS

    • B.

      Devicefs

    • C.

      Devfs

    • D.

      HSFS

    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.

    Rate this question:

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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

  • 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

    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.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jun 05, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • May 29, 2010
    Quiz Created by
    Ipador
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.