117-102 Exam Questions
448 real 117-102 exam questions with expert-verified answers and explanations. Page 4 of 9.
- Question #197
The files /etc/hosts.allow, /etc/hosts.deny and /etc/nologin all exist on your computer and the sshd daemon is running. What will happen when users try to connect with ssh?
- Question #198
You want to change the aging information in the /etc/shadow file. What is the best utility to use to do this?
- Question #199
You've been reviewing your security checklist and one of the items calls for reviewing the /etc/passwd file. You cat the file and notice that, while most users have an x in the sec...
- Question #200
What is a well-known service that binds port 25 and is it required on all hosts?
- Question #201
How many cron fields are there for specifying the time to execute a cron job?
- Question #202
What program do you use to suspend a printer queue?
- Question #203
What would the following command do? $ cat hosts | lpr -#2
- Question #204
The hosts.lpd file provides:
- Question #205
What file is displayed BEFORE users log in to the machine locally?
- Question #206
Which two files in a user's home directory are used to customize the bash environment?
- Question #207
Which of the following files has the correct permissions?
- Question #208
You are working in a graphical environment and trying to configure PPP, but you are having problems. You know that PPP uses the local2 facility for logging. To better watch what's...
- Question #209
What command do you use to create an OpenSSH authentication key?
- Question #210
Which of the following will flush all print jobs on all configured queues of the system?
- Question #211
What is the purpose of the bash built-in export command
- Question #212
Your /etc/passwd file appears to have approximately half shadow passwords and half standard unix excrypted passwords. What utility would you most likely run to fix this?
- Question #213
Where are the default settings for the useradd command kept?
- Question #214
You find you execute a series of commands on a recurring basis. You want this series of commands available from your login to run in the current shell. Choose the best solution:
- Question #215
Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?
- Question #216
Which of the following services would least be likely to be governed over by the Internet Super Server?
- Question #217
You are running an email server configured with the default settings. In which directory will you find the delivered mail for the user foo?
- Question #218
Which directory in a user's home contains configuration files and key rings for GPG?
- Question #221
Which of the following services is NOT usually protected via TCP wrappers?
- Question #222
Your server was rebooted. Users have complained that the server refuses secured connections. What is the mostly likely cause?
- Question #223
A cronjob must run at least every 11 minutes. The job may take up to 7 minutes to complete, and there mustn't be two jobs at the same time. Which crontab line solves the problem?
- Question #224
To see the current time set by a NTP clock, you use the command:
- Question #225
The file /etc/ssh/ssh_host_key should be:
- Question #226
You've decided to convert from standard shadow passwords to MD5 passwords. You make the appropriate changes to the /etc/pam.d/ files. What do you do next?
- Question #227
Which of the following commands can be used to view kernel messages?
- Question #228
Which of the following commands will print the file putty on the printer hplaserj? (Choose Two)
- Question #229
Your server has two fully functional NICs with correct IP configuration. The server is not forwarding traffic between the NICs. Which command will enable forwarding properly?
- Question #230
Which port is used for DNS?
- Question #231
Which parameters should appear in a valid /etc/printcap file to allow a local printer queue to point to another machines print queue?(Choose Two)
- Question #232
While performing a security audit, you discover that a machine is accepting connections on TCP port 184, but it is not obvious which process has the port open. Which of the followi...
- Question #235
Your server logfile shows repeated connections to TCP port 143. What service is being accessed?
- Question #236
To learn more about the management or ownership of a website, what's the best utility to use?
- Question #237
What command would cause a print job to be printed next regardless of its current position in the queue.
- Question #238
Which two files are responsible for allowing users to execute cron jobs?
- Question #239
What file must you create in your home directory in order to enable mail forwarding?
- Question #240
The _____ is used by the local host to determine which hosts are on the local subnet, and which hosts are on remote networks.
- Question #241
To disable telnet service on a system, which action should you take?
- Question #242
In what file are the mail aliases kept for Sendmail? (Provide the complete path)
- Question #243
What are reverse DNS entries used for?
- Question #244
What file determines the DNS servers used by your computer?
- Question #245
To create a user account, keep in mind that the username is at most __ characters long.
- Question #246
When you use DNS to find a hostname using a particular IP address, which kind of DNS entry is involved?
- Question #247
Your senior system administrator asked you to edit the /etc/inetd.conf file in order to disable the time service. After doing so, what would be the next thing to do?
- Question #248
You have a Linux system routing 3 networks through 3 separate NICs and are having trouble with your IP forwarding. What file would you check to ensure that IP forwarding is enabled...
- Question #249
Which command will delete the environment variable FOOBAR?
- Question #250
Your network email server's address has changed. Which DNS record do you have to edit?