EnsurepassQUESTION 531 CORRECT TEXT A. administrator has added the following line to /etc/inittab in order to disable the ability to reboot a Debian system by pressing the Control + Alt + Delete keys simultaneously: ca:12345:_________:/bin/echo "Rebooting disabled" Answer: ctrlaltdel QUESTION 532 CORRECT TEXT In an xinetd config file, which attribute specifies the network address that will be used to offer the service? Answer: bind interface QUESTION 533 While performing a security audit, Read more [...]
EnsurepassQUESTION 521 CORRECT TEXT Which file specifies the user accounts can NOT submit jobs via at or batch? (Provide the full path and filename) Answer: /etc/at.deny QUESTION 522 What is NOT contained in the locale setting of the operating system? A. currency symbol B. language C. timezone D. thousands separator Answer: C QUESTION 523 To prevent a specific user from scheduling tasks with at, what should the administrator do? A. Add the specific user to /etc/at.allow file. B. Add the Read more [...]
EnsurepassQUESTION 511 X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X? A. xcd B. xcdepth C. xwininfo D. xcolordepth E. cat /etc/X11 Answer: C QUESTION 512 What is the purpose of the Sticky Keys feature in X? A. To assist users who have difficulty holding down multiple keys at once B. To prevent repeated input of a single character if the key is held down C. To ignore brief keystrokes Read more [...]
EnsurepassQUESTION 501 Which bash option will prevent you from overwriting a file with a ">"? A. set -o safe B. set -o noglob C. set -o noclobber D. set -o append E. set -o nooverwrite Answer: C QUESTION 502 CORRECT TEXT Given the following line from /etc/nsswitch.conf: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 By default, which file will be queried first for hostname lookups? (Provide the full path and filename) Answer: /etc/hosts QUESTION 503 CORRECT TEXT The _________ Read more [...]
EnsurepassQUESTION 491 CORRECT TEXT To enable restricted shell mode in BASH, how must bash be called? (Please include the command only without the path.) Answer: bash-r QUESTION 492 Which configuration file would you edit to change default options for outbound ssh sessions? A. /etc/ssh/sshd_config B. /etc/ssh/ssh C. /etc/ssh/client D. /etc/ssh/ssh_config E. /etc/ssh/ssh_client Answer: D QUESTION 493 You are a junior administrator of a high-traffic production web server. Which of the following Read more [...]
EnsurepassQUESTION 481 CORRECT TEXT The _________ command is used to send ICMP ECHO_REQUEST packets to other hosts over the network. Answer: ping /bin/ping QUESTION 482 Which of the following lines would you find in the file /etc/nsswitch.conf? A. order hosts,bind B. dns-server C. hosts: files dns D. domain mycompany.com Answer: C QUESTION 483 Which of the following lines would you expect to see in the file /etc/protocols? A. in.tftpd: LOCAL B. tftp dgram udp wait root Read more [...]
EnsurepassQUESTION 471 Which of the following configuration files should be modified to set default shell variables for all users? A. /etc/bashrc B. /etc/profile C. ~default/.bash_profile D. /etc/skel/.bashrc E. /etc/skel/.bash_profile Answer: B QUESTION 472 You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a path to a binary. Linux will: A. Ignore the script B. Use that binary to interpret the script. C. Read more [...]
EnsurepassQUESTION 461 CORRECT TEXT Machines with IPs `on the 131.230.55 and 131.230.56 networks need to be allowed to connect to a service protected with TCP wrappers. How would the network and netmask pair be expressed in /etc/hosts.allow? Answer: QUESTION 462 CORRECT TEXT In what section of the man pages would you expect to find the man page that documents /dev/null? Answer: four QUESTION 463 The correct command to view "verbose" line printer queue information is: Read more [...]
EnsurepassQUESTION 451 What can you do to recover a lost passphrase for a DSA or RSA authentication key? A. Run the ssh-keygen command. B. Run the ssh -recover command. C. A lost passphrase cannot be recovered. D. Decrypt the authentication key with gpg. E. Decrypt the authentication key with ssh -decrypt. Answer: C QUESTION 452 CORRECT TEXT The local domain name has changed from test.example.org to lpic1.example.org. What directive in /etc/resolv.conf needs to be changed so that you don't Read more [...]
EnsurepassQUESTION 441 Which of the following commands will lock the user foobar's account? A. userdel -r foobar B. moduser -l foobar C. usermod -L foobar D. userconf -l foobar Answer: C QUESTION 442 You are using iptables to protect your private network but allow it to access the Internet. What command do you run to view the current list of rules for masquerading? A. iptables -L masquerade B. iptables -t filter -L C. iptables -t block -L D. iptables -t nat -L Answer: D QUESTION 443 Read more [...]
EnsurepassQUESTION 431 Which file would be used to configure a user's interactive bash shell? A. ~/.int_bash B. .bashrc C. .profile D. .bash Answer: B QUESTION 432 Which of the following commands is used to restore files from backups made with dump? A. extract B. cpio -d C. restore D. udump Answer: C QUESTION 433 CORRECT TEXT You are logged in as root. What command do you run to find out what groups User Company belongs to? Answer: groups company QUESTION 434 CORRECT TEXT What command Read more [...]