nerdexam
Oracle

1Z0-100 · Question #35

Which three statements are true about the shared directories defined in the /etc/exports file?

The correct answer is C. By default, a directory is shared with root squashed. D. By default, a directory is shared read only. E. By default, a directory is shared sync. C (not A): Very often, it is not desirable that the root user on a client machine is also treated as root when accessing files on the NFS server. To this end, uid 0 is normally mapped to a different id: the so-called anonymous or nobody uid. This mode of operation (called 'root…

Manage Networking

Question

Which three statements are true about the shared directories defined in the /etc/exports file?

Options

  • ABy default, a directory is shared with no root squashed.
  • BBy default, a directory is shared read write.
  • CBy default, a directory is shared with root squashed.
  • DBy default, a directory is shared read only.
  • EBy default, a directory is shared sync.

How the community answered

(41 responses)
  • A
    17% (7)
  • B
    12% (5)
  • C
    71% (29)

Explanation

C (not A): Very often, it is not desirable that the root user on a client machine is also treated as root when accessing files on the NFS server. To this end, uid 0 is normally mapped to a different id: the so-called anonymous or nobody uid. This mode of operation (called 'root squashing') is the default, and can be turned off with no_root_squash. E: In releases of nfs-utils up to and including 1.0.0, the async option was the default. In all releases after 1.0.0, sync is the default, and async must be explicitly requested if needed.

Topics

#NFS#exports#root squash#default options

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice