Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
Overall MCQs for Reference
- Which company originally developed the Network File System (NFS)?
a. Microsoft
b. IBM
c. Apple
d. Sun Microsystems
Answer: dwayground+2 - What protocol type does NFS primarily implement?
a. Encrypted protocol
b. Stateful protocol
c. Stateless protocol
d. Secure protocol
Answer: csanfoundry+1 - NFS uses what to uniquely identify a file or directory during operations?
a. File Identifier
b. Username
c. Host Address
d. Network Route
Answer: ageeksforgeeks+1 - What port is usually associated with the NFS server by default?
a. 22
b. 21
c. 2049
d. 8080
Answer: clinuxtechi+1 - On which layer of the OSI model does NFS primarily operate?
a. Data link
b. Network
c. Application
d. Transport
Answer: cgdcramban+1 - How does NFS allow data sharing?
a. Peer-to-peer transfer
b. Mounting remote file systems
c. Using cloud services
d. Only direct hardware access
Answer: blinux.amitmaheshwari+1 - What is the main advantage of using a distributed file system like NFS?
a. Local file storage
b. Easy data sharing among multiple clients
c. Enhanced GUI
d. Individual user access control only
Answer: bwayground+1 - A machine in Network File System (NFS) can act as:
a. Client
b. Server
c. Both client and server
d. Neither
Answer: csanfoundry+1 - Which NFS server version is most secure and adds support for Kerberos authentication?
a. NFSv1
b. NFSv2
c. NFSv3
d. NFSv4
Answer: dmytectra+1 - Which file is typically used to export directories on an NFS server in Linux?
a. /etc/nfs
b. /etc/exports
c. /etc/system
d. /etc/files
Answer: blinuxforfreshers+1 - Which NFS version introduced stateful operations?
a. NFSv2
b. NFSv3
c. NFSv4
d. NFSv1
Answer: cremoterocketship+1 - What is a file handle in NFS?
a. Username
b. A unique identifier for a file or directory
c. Physical disk address
d. Memory location
Answer: bgeeksforgeeks+1 - What does NFS rely on for granting client access to shared resources?
a. MAC address
b. IP address
c. BIOS settings
d. Username and password
Answer: btestbook - Which command displays mounted NFS shares in Linux?
a. nfs-show
b. mount
c. showmount
d. ls -nfs
Answer: clinuxtechi+1 - Which of these is not a typical NFS authentication mechanism?
a. Kerberos
b. Host-based
c. Password-based
d. SSH key-only
Answer: dlearn.microsoft+1 - What does the /etc/exports file control?
a. System startup
b. Logins
c. Shared directories and their permissions
d. Firewall rules
Answer: clinuxforfreshers+1 - Which type of access does NFS offer for files?
a. Block-level
b. File-level
c. Directory-level only
d. Application-level only
Answer: blearn.microsoft+1 - The client side communicates with the NFS server over:
a. HTTP
b. SSH
c. RPC (Remote Procedure Call)
d. FTP
Answer: cmytectra+1 - What version of NFS is the default on most modern Linux distributions?
a. NFSv1
b. NFSv2
c. NFSv3
d. NFSv4
Answer: dmytectra+1 - NFS servers are typically:
a. Stateless
b. Stateful
c. Hybrid
d. None
Answer: asanfoundry+1 - Which protocol is used to resolve hostnames in an NFS environment?
a. SMTP
b. DNS
c. HTTP
d. ICMP
Answer: bgdcramban - Which systems are commonly supported as NFS clients?
a. Only Linux
b. Only Windows
c. Both Windows and UNIX-like systems
d. Android only
Answer: clearn.microsoft - What does a stateless protocol like NFS mean for recovery after server crash?
a. Clients must restart sessions
b. All data is lost
c. Clients retry their requests
d. No effect on clients
Answer: csanfoundry+1 - What role can Windows play in an NFS environment?
a. NFS client
b. NFS server
c. Both
d. Windows is unsupported
Answer: clearn.microsoft - What is the primary file sharing mechanism provided by NFS?
a. FTP
b. SMB
c. CIFS
d. Mounting remote file systems
Answer: dlinux.amitmaheshwari+1 - What does the mount point refer to in NFS terminology?
a. Physical disk
b. Network bandwidth location
c. Directory where the remote file system appears
d. File itself
Answer: csanfoundry+1 - Which version of NFS introduced support for Access Control Lists (ACLs)?
a. NFSv2
b. NFSv3
c. NFSv4
d. None
Answer: cmytectra+1 - Which technology allows NFS shares to be accessed across a firewall more securely?
a. Kerberos authentication
b. Simple passwords
c. FTP tunnels
d. Port blocking
Answer: aremoterocketship+1 - Why should NFS generally not be allowed to pass through a firewall?
a. Hardware incompatibility
b. Lax request authentication
c. Slow network performance
d. No encryption
Answer: btestbook+1 - Which configuration file must be edited to allow sharing specific directories with NFS?
a. /etc/network
b. /etc/clients
c. /etc/exports
d. /etc/shares
Answer: clinuxtechi+1 - In an NFS environment, which process provides the unique file handle?
a. mountd
b. rpc.nfsd
c. smbd
d. sshd
Answer: bgeeksforgeeks - Which of these does NFSv4 NOT require, making it suitable for use over the Internet?
a. rpcbind
b. Kerberos
c. Authentication
d. File handles
Answer: amytectra+1 - NFS mainly provides which type of resource sharing?
a. Printer
b. Filesystem
c. Network bandwidth
d. CPU time
Answer: blinuxtechi+1 - What does mounting an NFS share allow the client to do?
a. Remotely install operating systems
b. Access directories as if they were local
c. Modify network topology
d. Change server configuration
Answer: blinux.amitmaheshwari+1 - The nfsstat command is used to:
a. Format NFS partitions
b. Display NFS statistics
c. Restart the NFS service
d. List hardware devices
Answer: blinuxforfreshers+1 - What is path name translation in NFS?
a. Translating file names to hex
b. Mapping remote drive names
c. Parsing a pathname into directory entries
d. Converting user IDs
Answer: csanfoundry - Which type of mounting allows a file system to be mounted over another remotely mounted file system?
a. Recursive
b. Cascading
c. Temporary
d. Shallow
Answer: bsanfoundry+1 - What must a server write all NFS data as, to ensure integrity?
a. Randomly
b. Synchronously
c. Sequentially
d. Asynchronously
Answer: bsanfoundry - How can available NFS shares on a remote machine be listed?
a. nfs-show
b. ls /nfs
c. showmount -e <servername>
d. shownfs -e
Answer: clinuxforfreshers+1 - What happens if a client tries to access a file not authorized for it via NFS?
a. It is given access
b. Server logs error
c. Access is denied
d. Server crashes
Answer: ctestbook+1 - What NFS feature allows diskless clients to operate as if they have local storage?
a. Secure RPC
b. Mounting remote file systems
c. Hard links
d. Data encryption
Answer: blinux.amitmaheshwari+1 - The NFS protocol was first specified in which RFC?
a. RFC 959
b. RFC 1094
c. RFC 7540
d. RFC 4251
Answer: blearn.microsoft - Which of the following is a key reason for using NFS in data centers?
a. High performance GUI
b. Centralized management
c. Proprietary protocols
d. Limited scalability
Answer: blinuxtechi+1 - In NFS, to export a directory as read-only, which option is used in /etc/exports?
a. -rw
b. -ro
c. -only
d. -rf
Answer: blinuxforfreshers+1 - Which of the following is not a supported client OS for NFS?
a. Linux
b. UNIX
c. Windows
d. DOS
Answer: dlearn.microsoft - To immediately apply changes made in /etc/exports, which command is typically used?
a. nfs-reload
b. exportfs -ra
c. exports-apply
d. mount -nfs
Answer: blinuxtechi+1 - Which NFS version supports file locking?
a. NFSv1
b. NFSv2
c. NFSv3
d. NFSv4
Answer: dremoterocketship+1 - For NFS, what does the acronym UID represent?
a. Universal Intrusion Detection
b. User Identifier
c. Unix Information Daemon
d. User Installation Directory
Answer: bmytectra+1 - Which NFS command provides detailed debugging output for client operations?
a. nfsstat -d
b. mount -debug
c. nfsdebug
d. exportfs -r
Answer: clinuxforfreshers+1 - What does the “sync” option ensure for NFS shares?
a. Asynchronous writes
b. Data is written to disk immediately
c. Faster performance
d. Remote mounting only
Answer: blinuxtechi+1
- https://wayground.com/admin/quiz/65cc4823d8417e0c19cc9d9d/network-file-system-nfs-quiz
- https://www.mytectra.com/interview-question/nfs-interview-questions-and-answers
- https://mcqmate.com/discussion/8943/network-file-systemnfs-is-developed-by
- https://www.sanfoundry.com/operating-system-mcqs-network-file-system-2/
- https://www.geeksforgeeks.org/operating-systems/network-file-system-nfs/
- https://www.linuxtechi.com/nfs-interview-questions-answers/
- https://www.linuxforfreshers.com/p/blog-page_29.html
- https://www.gdcramban.in/MCQ/networkmcq.pdf
- https://learn.microsoft.com/en-us/windows-server/storage/nfs/nfs-overview
- https://linux.amitmaheshwari.in/2015/01/nfs-interview-questions-and-answers.html
- https://www.sanfoundry.com/operating-system-mcqs-network-file-system-1/
- https://testbook.com/question-answer/a-machine-in-network-file-system-nfs-can-be-____–6288ae02709aef3317b0f193
- https://www.remoterocketship.com/advice/10-nfs-interview-questions-and-answers-in-2023
- https://www.includehelp.com/networking/nfs-aptitude-questions-and-answers.aspx
- https://wayground.com/admin/quiz/63f238fa21490c001d1cd9d9/protocole-nfs
- https://www.scribd.com/document/807140203/MCQ-MODULE-3
- https://www.bresink.com/osx/143439/Docs-en/pgs/0170-CheckServer.html
- https://www.scribd.com/document/881256294/Nfs-Toc-Mcqs-Questions
- https://www.interviewbit.com/linux-mcq/
- https://www.eginnovations.com/documentation/Unix-and-Windows-Servers/Nfs-Mounts-Test.htm