Linux Networking Quiz 5

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 Svolore
S
Svolore
Community Contributor
Quizzes Created: 12 | Total Attempts: 11,100
Questions: 32 | Attempts: 1,087

SettingsSettingsSettings
Linux Networking Quiz 5 - Quiz

Linux Networking quiz 5 from class.


Questions and Answers
  • 1. 

    The all_squash option in the line /pub (ro,all_squash) causes all users on client systems to be mapped to a(n) “____” user on the NFS server.

    • A.

      Anonymous

    • B.

      Local

    • C.

      Remote

    • D.

      Nobody

    Correct Answer
    D. Nobody
    Explanation
    The all_squash option in the line /pub (ro,all_squash) causes all users on client systems to be mapped to the "nobody" user on the NFS server. This means that regardless of the user accessing the NFS server from the client systems, they will be treated as the "nobody" user on the server side. This is a security measure to restrict access and prevent unauthorized users from gaining privileged access to the server.

    Rate this question:

  • 2. 

    The ____ section of a samba.conf file defines the overall operation of the Samba server.

    • A.

      [home]

    • B.

      [printers]

    • C.

      [tmp]

    • D.

      [global]

    Correct Answer
    D. [global]
    Explanation
    The [global] section of a samba.conf file defines the overall operation of the Samba server. This section includes global settings and options that apply to the entire server, such as workgroup name, server name, security settings, and file sharing settings. It allows administrators to configure the general behavior and functionality of the Samba server.

    Rate this question:

  • 3. 

    _____ allows you to transfer files with either FTP, HTTP, or SSH.

    • A.

      Smb.conf

    • B.

      Chkconfig

    • C.

      GFTP program

    • D.

      Smbprint command

    • E.

      Windows Internet Naming Service (WINS)

    Correct Answer
    C. GFTP program
    Explanation
    The gFTP program allows you to transfer files with either FTP, HTTP, or SSH. It is a versatile program that supports multiple file transfer protocols, making it convenient for users to transfer files using their preferred method.

    Rate this question:

  • 4. 

    _____ is a filesystem (Application layer) protocol that was designed to operate using an application programming interface or API called NetBIOS.

    • A.

      Smbprint command

    • B.

      Smb.conf

    • C.

      Chkconfig

    • D.

      Server Message Block (SMB)

    • E.

      Windows Internet Naming Service (WINS)

    Correct Answer
    D. Server Message Block (SMB)
    Explanation
    Server Message Block (SMB) is a filesystem protocol that operates using an API called NetBIOS. It is used for sharing files, printers, and other resources between computers on a network. SMB allows for the communication and transfer of data between different operating systems, making it an essential protocol for network file sharing.

    Rate this question:

  • 5. 

    _____ allows a Linux computer running Samba to print to a Windows printer.

    • A.

      GFTP program

    • B.

      Windows Internet Naming Service (WINS)

    • C.

      Smbprint command

    • D.

      Smb.conf

    • E.

      Chkconfig

    Correct Answer
    C. Smbprint command
    Explanation
    The smbprint command allows a Linux computer running Samba to print to a Windows printer. This command is specifically designed to facilitate printing from Linux to Windows printers through Samba, which is a software suite that enables interoperability between Linux/Unix servers and Windows-based clients. By using the smbprint command, users can send print jobs from their Linux machines to Windows printers connected to the network, ensuring seamless printing capabilities across different operating systems.

    Rate this question:

  • 6. 

    _____ developed by Sun Microsystems in the 1980s to make multiple UNIX systems appear as a single large system.

    • A.

      Windows Internet Naming Service (WINS)

    • B.

      Network File System (NFS)

    • C.

      Smbprint command

    • D.

      Chkconfig

    • E.

      Smb.conf

    Correct Answer
    B. Network File System (NFS)
    Explanation
    Network File System (NFS) is the correct answer because it was developed by Sun Microsystems in the 1980s to make multiple UNIX systems appear as a single large system. NFS allows users to access files and directories on remote systems as if they were local, providing a transparent and efficient way to share files between different machines in a network. It is widely used in UNIX and Linux environments for distributed file sharing and is an important component in many networked systems.

    Rate this question:

  • 7. 

    _____ used with a reference to an smb or samba script to automatically start a Samba server whenever you boot Linux.

    • A.

      In.ftpd

    • B.

      Ftpaccess

    • C.

      Windows Internet Naming Service (WINS)

    • D.

      Smbprint command

    • E.

      Chkconfig

    Correct Answer
    E. Chkconfig
    Explanation
    The correct answer is "chkconfig". The chkconfig command is used with a reference to an smb or samba script to automatically start a Samba server whenever you boot Linux. It is a command-line tool that allows you to enable or disable services to start automatically during the system startup. By using chkconfig with the appropriate script, you can ensure that the Samba server starts automatically whenever the Linux system boots up.

    Rate this question:

  • 8. 

    _____ centralized naming service developed to map NetBIOS names to IP addresses.

    • A.

      Server Message Block (SMB)

    • B.

      Windows Internet Naming Service (WINS)

    • C.

      Chkconfig

    • D.

      Network File System (NFS)

    • E.

      GFTP program

    Correct Answer
    B. Windows Internet Naming Service (WINS)
    Explanation
    WINS is a centralized naming service developed to map NetBIOS names to IP addresses. It is commonly used in Windows networks to resolve NetBIOS names, which are used to identify network resources such as computers and printers, to their corresponding IP addresses. WINS allows for easier network administration and improves network performance by providing a dynamic and efficient name resolution system.

    Rate this question:

  • 9. 

    _____ the name of the wu-ftp server daemon.

    • A.

      Server Message Block (SMB)

    • B.

      In.ftpd

    • C.

      GFTP program

    • D.

      Chkconfig

    • E.

      Network File System (NFS)

    Correct Answer
    B. In.ftpd
    Explanation
    The correct answer is "in.ftpd". This is the name of the wu-ftp server daemon. A server daemon is a program that runs in the background on a server and handles incoming requests. In this case, in.ftpd is specifically the daemon for the wu-ftp server, which is a popular FTP (File Transfer Protocol) server software.

    Rate this question:

  • 10. 

    Which of the following Samba client programs queries the network for NETBIOS names and displays the results?

    • A.

      Smbcontrol

    • B.

      Findsmb

    • C.

      Nmblookup

    • D.

      Rpcclient

    Correct Answer
    C. Nmblookup
    Explanation
    nmblookup is the correct answer because it is a Samba client program that is specifically designed to query the network for NETBIOS names and display the results. It is used to look up NetBIOS names and their IP addresses, as well as to query the status of a NetBIOS name server. The other options listed are not specifically designed for this purpose.

    Rate this question:

  • 11. 

    In the syntax template host:directory mountpoint nfs options 0 0, the mountpoint is a directory on your local Linux system.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The given statement is true because in the syntax template, the mountpoint is specified as a directory on the local Linux system. This means that when mounting an NFS (Network File System) share, the mountpoint should be a valid directory on the local system where the shared files will be accessed.

    Rate this question:

  • 12. 

    As soon as a superserver is watching for FTP connections, you can stop allowing connections using the command ____.

    • A.

      Ftpshut

    • B.

      Shutmsg

    • C.

      Chroot

    • D.

      Ftpclose

    Correct Answer
    A. Ftpshut
    Explanation
    The correct answer is "ftpshut" because ftpshut is a command used to stop allowing FTP connections. It is specifically designed to shut down an FTP server and prevent any further connections. By running the ftpshut command, the superserver that is monitoring FTP connections will stop accepting new connections.

    Rate this question:

  • 13. 

    Which of the following lines in an smb.conf file defines where Linux printers are defined?

    • A.

      Printing = cups

    • B.

      Load printers = yes

    • C.

      Printcap name = /etc/printcap

    • D.

      Comment = All Printers

    Correct Answer
    C. Printcap name = /etc/printcap
    Explanation
    The line "printcap name = /etc/printcap" in the smb.conf file defines the location of the printcap file, which contains information about the printers configured on the Linux system. This line specifies that the printcap file is located at "/etc/printcap".

    Rate this question:

  • 14. 

    The primary use for FTP today is anonymous FTP.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    FTP (File Transfer Protocol) is a standard network protocol used to transfer files between a client and a server on a computer network. Anonymous FTP is a feature of FTP that allows users to access and download files from a server without the need for a username or password. This feature is commonly used for public file repositories or software distributions. Therefore, the statement that the primary use for FTP today is anonymous FTP is true, as anonymous FTP remains a popular and widely used feature of the protocol.

    Rate this question:

  • 15. 

    The optional ____ protocol implements NetBIOS functionality on Windows systems.

    • A.

      SPX

    • B.

      NLSP

    • C.

      NetBEUI

    • D.

      TCP/IP

    Correct Answer
    C. NetBEUI
    Explanation
    NetBEUI is the correct answer because it is an optional protocol that implements NetBIOS functionality on Windows systems. NetBIOS is a networking protocol used for file sharing, printer sharing, and other network services in older versions of Windows. NetBEUI stands for NetBIOS Extended User Interface and is specifically designed for small local area networks. It provides fast and efficient communication between Windows computers but is not routable, meaning it cannot be used over larger networks or the internet.

    Rate this question:

  • 16. 

    Although Windows networking can use various low-level networking protocols, Samba only uses ____.

    • A.

      NWLink

    • B.

      NBF

    • C.

      IPX

    • D.

      TCP/IP

    Correct Answer
    D. TCP/IP
    Explanation
    Samba is an open-source software suite that allows file and print sharing between Windows and Linux/UNIX systems. It is designed to work with the TCP/IP networking protocol, which is the most commonly used protocol for communication over the internet and local networks. Therefore, Samba only uses TCP/IP as its networking protocol, making it compatible with a wide range of systems.

    Rate this question:

  • 17. 

    To limit the number of bytes a user can transfer in a single session, use the ____ directive.

    • A.

      File-limit

    • B.

      Data-limit

    • C.

      Limit

    • D.

      Limit-time

    Correct Answer
    B. Data-limit
    Explanation
    To limit the number of bytes a user can transfer in a single session, the "data-limit" directive should be used. This directive allows for setting a specific limit on the amount of data that can be transferred during a session.

    Rate this question:

  • 18. 

    After creating ____ of users, you may assign permissions within FTP based on a grouping that you define.

    • A.

      Groups

    • B.

      Classes

    • C.

      Collections

    • D.

      Clusters

    Correct Answer
    B. Classes
    Explanation
    After creating classes of users, you may assign permissions within FTP based on a grouping that you define. This means that you can categorize users into different classes and then assign specific permissions to each class within the FTP system. This allows for easier management and control of user access and permissions.

    Rate this question:

  • 19. 

    If you point your Web browser to ftp://ftp.hq.nasa.gov, the browser uses the name ____ and your e-mail address to log on to the server.

    • A.

      Remote

    • B.

      Public

    • C.

      Anonymous

    • D.

      Authenticated

    Correct Answer
    C. Anonymous
    Explanation
    When pointing a web browser to ftp://ftp.hq.nasa.gov, the browser uses the name "anonymous" and your e-mail address to log on to the server. This is because anonymous FTP allows users to log in to a server without providing a username or password. Instead, the user is identified as "anonymous" and is typically asked to enter their e-mail address as a form of identification. This allows users to access publicly available files on the server without the need for authentication.

    Rate this question:

  • 20. 

    You can use your browser from any system to reach SWAT and manage your Samba server.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The statement implies that SWAT can be accessed and used to manage a Samba server from any system using a web browser. Therefore, the correct answer is true.

    Rate this question:

  • 21. 

    The ____ page within SWAT shows you the state of the smbd, nmbd, and winbindd servers and lets you start or restart them using buttons on the Web page.

    • A.

      Globals

    • B.

      Status

    • C.

      Home http://www.proprofs.com/quiz-school/submit2.php

    • D.

      View

    Correct Answer
    B. Status
    Explanation
    The correct answer is "Status". In SWAT, the Status page displays the current state of the smbd, nmbd, and winbindd servers. It also provides buttons on the web page that allow users to start or restart these servers.

    Rate this question:

  • 22. 

    A user does not need permission from the Linux filesystem to complete an FTP-related task.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    In Linux, permissions are essential for accessing files and performing tasks. When it comes to FTP-related tasks, such as uploading or downloading files, the user needs permission from the Linux filesystem. Without the necessary permissions, the user will not be able to complete the FTP-related task successfully. Therefore, the statement that a user does not need permission from the Linux filesystem to complete an FTP-related task is false.

    Rate this question:

  • 23. 

    When using a mount command to mount a Windows share, you include a username as an option with the ____ parameter.

    • A.

      F

    • B.

      O

    • C.

      P

    • D.

      R

    Correct Answer
    B. O
    Explanation
    When using a mount command to mount a Windows share, you include a username as an option with the "o" parameter. This allows you to specify the username to use for authentication when accessing the Windows share. By including the username with the "o" parameter, you can ensure that the mount command uses the correct credentials to access the shared resources on the Windows system.

    Rate this question:

  • 24. 

    NFS itself uses the ____ daemon to make new connections—that is, to mount a remote filesystem.

    • A.

      Nfsd

    • B.

      Rpc.rquotad

    • C.

      Rpc.mountd

    • D.

      Portmap

    Correct Answer
    C. Rpc.mountd
    Explanation
    NFS uses the rpc.mountd daemon to make new connections and mount a remote filesystem. The rpc.mountd daemon is responsible for handling mount requests from NFS clients and managing the mounting and unmounting of remote filesystems.

    Rate this question:

  • 25. 

    Which of the following lines in an smb.conf file defines the host name of your Samba server?

    • A.

      Workgroup = MYPLACE

    • B.

      Netbios name = sundance

    • C.

      Hosts allow = 192.168.100

    • D.

      Server string = Samba on Linux posing as Windows 2000

    Correct Answer
    B. Netbios name = sundance
    Explanation
    The correct answer is "netbios name = sundance". In an smb.conf file, the "netbios name" parameter is used to define the host name of the Samba server. In this case, the host name is set to "sundance".

    Rate this question:

  • 26. 

    Windows-based computers can determine whether a client is running Linux.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Windows-based computers cannot determine whether a client is running Linux. This is because Linux and Windows are different operating systems and have different ways of identifying and communicating with each other. Windows-based computers can only determine the operating system of a client if it is running a Windows operating system, but they cannot specifically identify if it is running Linux. Therefore, the statement is false.

    Rate this question:

  • 27. 

    In smb.conf, the security = ____ directive means that all users who log on to your Samba server have the same access, which you define in your configuration.

    • A.

      Share

    • B.

      Server

    • C.

      User

    • D.

      Domain

    Correct Answer
    A. Share
    Explanation
    The correct answer is "share". In smb.conf, the security = share directive means that all users who log on to your Samba server have the same access, which you define in your configuration. This means that all users will have the same level of access to the shared resources on the server, regardless of their individual user credentials or permissions.

    Rate this question:

  • 28. 

    NFS uses a security concept called ____ to prevent a user from gaining access to a user account on the NFS server simply because the user has the same ID on the NFS client.

    • A.

      Screening

    • B.

      Filtering

    • C.

      Squashing

    • D.

      Mapping

    Correct Answer
    C. Squashing
    Explanation
    NFS uses a security concept called "squashing" to prevent a user from gaining access to a user account on the NFS server simply because the user has the same ID on the NFS client. Squashing involves mapping the client's root user and other privileged users to a non-privileged user on the server, ensuring that they do not have unrestricted access to the server's resources. This helps to maintain security and prevent unauthorized access to sensitive data on the server.

    Rate this question:

  • 29. 

    Windows resources that are available over the network are called ____.

    • A.

      Reserves

    • B.

      Shares

    • C.

      Packets

    • D.

      Frames

    Correct Answer
    B. Shares
    Explanation
    Windows resources that are available over the network are commonly referred to as "shares". These shares can include files, folders, printers, and other resources that can be accessed by other users or devices on the network. Sharing allows multiple users to access and collaborate on the same resources, making it easier to share information and work together.

    Rate this question:

  • 30. 

    You can see a list of shares for any of the SMB servers running on your network by using the ____ program.

    • A.

      Smbclient

    • B.

      Smbtar

    • C.

      Smbstatus

    • D.

      Smbcacls

    Correct Answer
    A. Smbclient
    Explanation
    The correct answer is smbclient. This program allows you to view a list of shares for any SMB servers running on your network. It provides a command-line interface for interacting with SMB servers and can be used to access files, directories, and other resources shared on the network.

    Rate this question:

  • 31. 

    ____ users can work in any directory of the filesystem they could access when logging on normally to Linux.

    • A.

      Anonymous

    • B.

      Guest

    • C.

      Virtual

    • D.

      Real

    Correct Answer
    D. Real
    Explanation
    Real users can work in any directory of the filesystem they could access when logging on normally to Linux. This means that real users have the ability to navigate and perform actions in any directory that they have permission to access. They are not restricted to a specific directory and have full control over the files and directories within the filesystem.

    Rate this question:

  • 32. 

    When you ____ mount an NFS filesystem, your programs wait—without limit—for the NFS server to respond.

    • A.

      Auto

    • B.

      Noauto

    • C.

      Soft

    • D.

      Hard

    Correct Answer
    D. Hard
    Explanation
    When you use the "hard" option to mount an NFS filesystem, your programs will wait indefinitely for the NFS server to respond. This means that if the server is not available or experiencing issues, your programs will hang until the server becomes accessible again. Using the "hard" option ensures that the program will keep trying to access the NFS server, even in the face of errors or timeouts.

    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
  • Aug 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 09, 2009
    Quiz Created by
    Svolore
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.