CNIT 340 PRACTICE EXAM QUESTIONS AND SOLUTIONS
RATED A+
✔✔What command is used to assign a user password? - ✔✔passwd <username>.
✔✔What are some of the standard users by default in UNIX? - ✔✔root, daemon, bin,
sys, adm, uucp, cron, mail, news, nobody.
✔✔Where are user group names kept? - ✔✔In the /etc/group file.
✔✔What are some of the standard groups in UNIX? - ✔✔system, root, wheel, sys,
daemon, user, users.
✔✔What is BSD style printing? - ✔✔LPR printing, supported by many printer Ethernet
adapters.
✔✔What is SysV style printing? - ✔✔Used in some true SysV implementations.
✔✔What is CUPS? - ✔✔Common Unix Printing System, a modular printing system for
UNIX-like operating systems.
✔✔What is the purpose of CUPS? - ✔✔Rapidly becoming a standard for UNIX printing
✔✔Is CUPS free? - ✔✔Yes, it was purchased by Apple in February 2007
✔✔What is the default TCP port for CUPS? - ✔✔TCP 631
✔✔What does CUPS support? - ✔✔USB printers on Intel-based UNIX systems
✔✔What is the function of the BSD command 'lpd'? - ✔✔Printer daemon that moves
data from queue to actual printer
✔✔What command adds a job to the print queue? - ✔✔lpr
✔✔Where are the BSD printing configurations stored? - ✔✔/etc/printcap
✔✔What is the default printer label in BSD printing? - ✔✔'lp'
✔✔What is the CUPS server configuration file location? - ✔✔/etc/cups/cupsd.conf
✔✔What is the CUPS client configuration file location? - ✔✔/etc/cups/client.conf
✔✔What is NFS? - ✔✔Network File System
, ✔✔What is the purpose of NFS? - ✔✔Method to share filesystems across a network
✔✔What are the different versions of NFS? - ✔✔NFSv2, NFSv3, NFSv4
✔✔What is a characteristic of NFSv2? - ✔✔Stateless with a 2GB file size limit
✔✔What is the primary function of 'nfsd'? - ✔✔Handles actual redirection in NFS
✔✔What are NFS soft mounts? - ✔✔System notifies application of NFS errors
✔✔What are NFS hard mounts? - ✔✔System keeps retrying connection if it fails
✔✔Where are NFS configuration settings stored? - ✔✔/etc/exports
✔✔How are NFS exports manually mounted? - ✔✔mount -t nfs /LocalMountPoint
Host:Export
✔✔Where can automatic NFS mounts be configured? - ✔✔/etc/fstab
✔✔What command shows remote file systems available for mounting? - ✔✔showmount
✔✔What is the role of 'smbd' in SAMBA? - ✔✔Handles SMB (Server Message Block)
protocol
✔✔Where is the SAMBA configuration usually stored? - ✔✔/etc or /etc/samba
✔✔What is the function of a transport agent? - ✔✔Runs as a daemon to receive and
send mail via SMTP
✔✔What is the incoming mail queue? - ✔✔Where incoming messages are placed
pending parsing and delivery
✔✔What is the outgoing mail queue? - ✔✔Where local applications place messages
that need to be sent
✔✔What is a mail alias? - ✔✔Incoming mail can be automatically sent to another
address (local or remote).
✔✔What must be read for all machines? - ✔✔Mail addressed to root.
✔✔What is mail relaying? - ✔✔Accepting non-local mail and forwarding it.
✔✔What is SendMail? - ✔✔A common MTA with monolithic architecture.
RATED A+
✔✔What command is used to assign a user password? - ✔✔passwd <username>.
✔✔What are some of the standard users by default in UNIX? - ✔✔root, daemon, bin,
sys, adm, uucp, cron, mail, news, nobody.
✔✔Where are user group names kept? - ✔✔In the /etc/group file.
✔✔What are some of the standard groups in UNIX? - ✔✔system, root, wheel, sys,
daemon, user, users.
✔✔What is BSD style printing? - ✔✔LPR printing, supported by many printer Ethernet
adapters.
✔✔What is SysV style printing? - ✔✔Used in some true SysV implementations.
✔✔What is CUPS? - ✔✔Common Unix Printing System, a modular printing system for
UNIX-like operating systems.
✔✔What is the purpose of CUPS? - ✔✔Rapidly becoming a standard for UNIX printing
✔✔Is CUPS free? - ✔✔Yes, it was purchased by Apple in February 2007
✔✔What is the default TCP port for CUPS? - ✔✔TCP 631
✔✔What does CUPS support? - ✔✔USB printers on Intel-based UNIX systems
✔✔What is the function of the BSD command 'lpd'? - ✔✔Printer daemon that moves
data from queue to actual printer
✔✔What command adds a job to the print queue? - ✔✔lpr
✔✔Where are the BSD printing configurations stored? - ✔✔/etc/printcap
✔✔What is the default printer label in BSD printing? - ✔✔'lp'
✔✔What is the CUPS server configuration file location? - ✔✔/etc/cups/cupsd.conf
✔✔What is the CUPS client configuration file location? - ✔✔/etc/cups/client.conf
✔✔What is NFS? - ✔✔Network File System
, ✔✔What is the purpose of NFS? - ✔✔Method to share filesystems across a network
✔✔What are the different versions of NFS? - ✔✔NFSv2, NFSv3, NFSv4
✔✔What is a characteristic of NFSv2? - ✔✔Stateless with a 2GB file size limit
✔✔What is the primary function of 'nfsd'? - ✔✔Handles actual redirection in NFS
✔✔What are NFS soft mounts? - ✔✔System notifies application of NFS errors
✔✔What are NFS hard mounts? - ✔✔System keeps retrying connection if it fails
✔✔Where are NFS configuration settings stored? - ✔✔/etc/exports
✔✔How are NFS exports manually mounted? - ✔✔mount -t nfs /LocalMountPoint
Host:Export
✔✔Where can automatic NFS mounts be configured? - ✔✔/etc/fstab
✔✔What command shows remote file systems available for mounting? - ✔✔showmount
✔✔What is the role of 'smbd' in SAMBA? - ✔✔Handles SMB (Server Message Block)
protocol
✔✔Where is the SAMBA configuration usually stored? - ✔✔/etc or /etc/samba
✔✔What is the function of a transport agent? - ✔✔Runs as a daemon to receive and
send mail via SMTP
✔✔What is the incoming mail queue? - ✔✔Where incoming messages are placed
pending parsing and delivery
✔✔What is the outgoing mail queue? - ✔✔Where local applications place messages
that need to be sent
✔✔What is a mail alias? - ✔✔Incoming mail can be automatically sent to another
address (local or remote).
✔✔What must be read for all machines? - ✔✔Mail addressed to root.
✔✔What is mail relaying? - ✔✔Accepting non-local mail and forwarding it.
✔✔What is SendMail? - ✔✔A common MTA with monolithic architecture.