NFS and RPC - Quiz Explanation
The answers you selected are indicated below, along with text that explains the correct answers.
1.
What role does
rpc.nfsd
play in the RPC/NFS model?
Please select the best answer.
A.
rpc.nfsd
sends NFS requests from computer to computer.
B.
rpc.nfsd
services NFS access requests.
C.
rpc.nfsd
mounts remote filesystems.
D.
rpc.nfsd
handles all client-side NFS requests.
The correct answer is B.
rpc.nfsd
services NFS access requests.
A is incorrect because it's the
portmap
program, not
rpc.nfsd
, that sends NFS requests from computer to computer. C is incorrect because it's
rpc.mountd
, not
rpc.nfsd
, that mounts remote filesystems. D is incorrect because
rpc.nfsd
doesn't need to run on the client side.
2.
What role does the portmapper play in the NFS system?
Please select the best answer.
A.
Portmapper mounts network filesystems for client use.
B.
Portmapper transfers RPCs across the network to the correct services.
C.
Portmapper is fundamental to NFS, because it restricts client access.
D.
Portmapper services NFS requests.
The correct answer is B.
Portmapper transfers RPCs across the network to the correct services. NFS is based on RPCs and without the RPC-to-network translation, NFS wouldn't work.
A is incorrect because it's
rpc.mountd
, not portmapper, that mounts filesystems for client use. C is incorrect because portmapper isn't fundamental to NFS; it's fundamental to RPCs. D is incorrect because it's
rpc.nfsd
, not portmapper, that services NFS requests.
3.
What purpose does the
rpcinfo
command serve?
Please select the best answer.
A.
To register an RPC program, such as
rpc.nfsd
B.
To mount NFS requests via RPCs
C.
To handle general RPC requests
D.
To list currently registered RPC programs
The correct answer is D.
The
rpcinfo
command lists currently registered RPC programs.
A and C are incorrect because that is the job of
portmap
. B is incorrect because
rpc.mountd
handles NFS mount requests.