CompTIA Certified Technical Trainer (CTT+) Quiz Questions and Answers

For which of the following protocols will an administrator configure a trap to collect system state data?

Answer :
  • SNMP

What information about print jobs does the lpq command display? (Select two.)

Answer :
  • A numerical job ID that can be used to manipulate the job
  • The username of the person who submitted the job

What tool might you use to print a four-page PostScript file on a single sheet of paper?

Answer :
  • mpage

Which of the following programs is conventionally used to perform a DNS lookup?

Answer :
  • host

Where is the best location for the current directory indicator (.) to reside in root’s PATH environment variable?

Answer :
  • Nowhere; it shouldn’t be in root’s path

Which of the following commands, if typed in a bash shell, will create an environment variable called MYVAR with the contents mystuff that will be accessible to subsequently launched programs?

Answer :
  • export MYVAR=’mystuff’

Your SMTP email server, mail.luna.edu, receives a message addressed to postmaster@ mail.luna.edu. There is no postmaster account on this computer. Assuming the system is properly configured, how should the email server respond?

Answer :
  • Deliver the email to another account, either locally or on another computer.

Typing lsof -i | grep LISTEN as root produces three lines of output, corresponding to the sendmail, sshd, and proftpd servers. What can you conclude about the security of this system?

Answer :
  • No conclusion can be drawn without further information; the listed servers may or may not be appropriate or authentic.

Which command would you type, as root, to discover all the open network connections on a Linux computer?

Answer :
  • netstat -ap

When is the bind option of xinetd most useful?

Answer :
  • When xinetd is running on a system with two network interfaces