Free Practice Quiz Question List

7 File Systems and Storage Online Quiz Questions

Use this free practice quiz with 20 questions to review 7 File Systems and Storage, test your knowledge, and prepare for your next test or exam.

20 questions
01
Choose one
1 point

A process has /home/lee as its current working directory and opens notes.txt. How should this path be classified?

  1. A

    It is absolute because it names a file.

  2. B

    It is relative because it is interpreted from the process’s current working directory.

  3. C

    It is absolute because it has multiple components.

  4. D

    It is relative only if the file is in the same directory as the process.

02
Choose one
1 point

A user wants a second directory name for a file, with both names referring to the same inode. Which should they create?

  1. A

    Create a hard link, which adds a directory entry referring to the same inode.

  2. B

    Create a symbolic link, which adds another name to the same inode.

  3. C

    Create a hard link, which stores the target file’s path.

  4. D

    Create a symbolic link, which copies the target’s metadata and data blocks.

03
Choose one
1 point

A process needs to access a known file by name inside a directory. Which directory permission is specifically needed to look up that name?

  1. A

    Read permission, because it lists names in the directory.

  2. B

    Write permission, because it allows modification of file contents.

  3. C

    Search permission, because it allows lookup of a known name in the directory.

  4. D

    Execute permission on the file, because it provides access through the directory.

04
Choose all
1 point

Select all statements that correctly describe contiguous allocation.

  1. A

    A file occupies consecutive blocks.

  2. B

    Each block points to the next block in the file.

  3. C

    Sequential access can be fast, but growing the file may be difficult if following blocks are occupied.

  4. D

    An index structure identifies the file’s blocks without following earlier blocks.

05
Choose all
1 point

Select all statements that correctly distinguish read and search permissions on a directory.

  1. A

    Read permission on a directory allows listing its names.

  2. B

    Search permission on a directory allows looking up known names within it.

  3. C

    Read permission on a directory always allows accessing every named file, regardless of other permissions.

  4. D

    Search permission on a directory means its names can be listed.

06
True or false
1 point

On many Unix-like file systems, two hard links can refer to the same inode.

  1. A

    True

  2. B

    False

07
True or false
1 point

A symbolic link stores a copy of the target file’s data blocks.

  1. A

    True

  2. B

    False

08
Written response
1 point

Which allocation method uses an index structure to record a file’s blocks, so the system can locate a later block without following every earlier block?

09
Written response
1 point

On many Unix-like file systems, what structure stores a file’s metadata and identifies its data blocks, while the filename is usually stored separately in a directory entry?

10
Fill in the blank
1 point

For a directory, execute permission provides permission to access named entries.

11
Fill in the blank
1 point

In extent-based allocation, a file is represented by ranges of consecutive blocks called .

12
Open ended
1 point

A user has read permission on a file but receives an access error when trying to open it by path. Explain how this can happen and identify what directory permission should be checked along the path.

13
Choose one
1 point

What operation makes a file system available by attaching it into the directory hierarchy?

  1. A

    Formatting

  2. B

    Mounting

  3. C

    Indexing

  4. D

    Linking

14
Choose one
1 point

Which statement describes an ext4-specific aspect of file-system structure?

  1. A

    It divides storage into block groups and uses structures such as inode tables and block and inode bitmaps.

  2. B

    It stores every file as one uninterrupted run of blocks.

  3. C

    It uses only symbolic links to map names to data.

  4. D

    It records free space exclusively as a linked chain of data blocks.

15
True or false
1 point

True or false: A relative path begins at the process's current working directory.

  1. A

    True

  2. B

    False

16
Choose one
1 point

An operating system makes a separate file system accessible as part of the existing directory hierarchy. What operation does this describe?

  1. A

    Converting its free-space bitmap into directory entries

  2. B

    Attaching it into the directory hierarchy

  3. C

    Combining its inodes with those of the root file system

  4. D

    Copying its files into the current working directory

17
Written response
1 point

A file system allocates storage in units that are usually larger than device sectors. What is one such allocation unit called?

18
Choose one
1 point

A file has permissions rw-r--r--. What can members of its group do to the file?

  1. A

    Group members can read and write the file.

  2. B

    Group members can execute the file but cannot read it.

  3. C

    Group members can read the file but cannot write or execute it.

  4. D

    Group members have no access to the file.

19
Choose one
1 point

A file system uses a bitmap to track free space. What does each bit represent?

  1. A

    Each bit represents whether a block is free or allocated.

  2. B

    Each bit stores a file's owner and permissions.

  3. C

    Each bit points to the next block in a file.

  4. D

    Each bit maps a directory name to an inode number.

20
Written response
1 point

An administrator needs to inspect the structure that describes an entire file system, including its size and layout. What is this structure commonly called?