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.
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.
2.
The ____ section of a samba.conf file defines the overall operation of the Samba server.
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.
3.
_____ allows you to transfer files with either FTP, HTTP, or SSH.
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.
4.
_____ is a
filesystem (Application layer) protocol that was designed to operate
using an application programming interface or API called NetBIOS.
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.
5.
_____ allows a Linux computer running Samba to print to a Windows printer.
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.
6.
_____ developed by Sun Microsystems in the 1980s to make multiple UNIX systems appear as a single large system.
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.
7.
_____ used with a reference to an smb or samba script to automatically start a Samba server whenever you boot Linux.
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.
8.
_____ centralized naming service developed to map NetBIOS names to IP addresses.
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.
9.
_____ the name of the wu-ftp server daemon.
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.
10.
Which of the following Samba client programs queries the network for NETBIOS names and displays the results?
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.
11.
In the syntax template host:directory mountpoint nfs options 0 0, the mountpoint is a directory on your local Linux system.
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.
12.
As soon as a superserver is watching for FTP connections, you can stop allowing connections using the command ____.
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.
13.
Which of the following lines in an smb.conf file defines where Linux printers are defined?
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".
14.
The primary use for FTP today is anonymous FTP.
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.
15.
The optional ____ protocol implements NetBIOS functionality on Windows systems.
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.
16.
Although Windows networking can use various low-level networking protocols, Samba only uses ____.
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.
17.
To limit the number of bytes a user can transfer in a single session, use the ____ directive.
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.
18.
After creating ____ of users, you may assign permissions within FTP based on a grouping that you define.
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.
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.
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.
20.
You can use your browser from any system to reach SWAT and manage your Samba server.
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.
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.
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.
22.
A user does not need permission from the Linux filesystem to complete an FTP-related task.
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.
23.
When using a mount command to mount a Windows share, you include a username as an option with the ____ parameter.
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.
24.
NFS itself uses the ____ daemon to make new connections—that is, to mount a remote filesystem.
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.
25.
Which of the following lines in an smb.conf file defines the host name of your Samba server?
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".
26.
Windows-based computers can determine whether a client is running Linux.
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.
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.
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.
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.
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.
29.
Windows resources that are available over the network are called ____.
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.
30.
You can see a list of shares for any of the SMB servers running on your network by using the ____ program.
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.
31.
____ users can work in any directory of the filesystem they could access when logging on normally to Linux.
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.
32.
When you ____ mount an NFS filesystem, your programs wait—without limit—for the NFS server to respond.
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.