1. Which of the following daemons is started on a NIS server?
a. ypbind
c. ypserv
d. RPC portmapper
2. What comand may be used to generate NIS maps on the command line using entries on the /var/yp/Makefile?
make
3. You have configured your system to authenticate to a NIS server. When you use the passwd command to change your password, it does not change as expected. What command must you use to change your NIS password for it to take effect on the NIS server?
rcypserv restart
4. Which of the following is a valid DN for an LDAP object?
d. cn=joe,ou=acctg.dc=suse.dc=com
5. What package is used to implement LDAP is SLES 9?
OpenLDAP
6. Which of the following are common MTA's in Linux?
a. postfix
d. Sendmail
7. What two protocols do MUA's typically use to retrieve e-mails from across the network?
IMAP, POP
8. What protocol does an MUA typically use to send e-mails to an MTA?
IMAP
9. You have recently modified the /etc/aliases file. What command can you run to update your MTA with the changes?
newaliases
10. What file can you place in your home directory to create Procmail filters for your e-mails?
~/.procmailrc
11. What xinetd file could you edit to configure the telnet daemon?
12. What lines could you add to the /etc/hosts.allow and /etc/hosts.deny files to allow only the host arfa the ability to use the telnet utility when connecting to your server?
who cares
13. What command could you use to check the syntax of your TCP wrappers?
tcpdchk
14. What option to the ssh command can be used to start graphical programs on the remote computer?
-X
15. Where can you find a sample DHCP server configuration file to copy and modify for your own DHCP sercer?
/usr/share/doc/packages/dhcp-server/examples/simple_dhcpd
16. What directory on an SLES system contains the default Web page for the Apache Web server?
/srv/www/htdocs/
Sunday, April 27, 2008
Sunday, April 20, 2008
Chapter 10
1. What is the TLD for www.sample.domain.com?
.com
2. What determines the default length of time that a name resolution result is cached on your computer?
b. the search line in /etc/resolv.conf
3. Which two packages must you have installed for your computer to function as a DNS server?
a. bind
c. bind-utils
4. What line in the /etc/named.conf file can be used to forward name resolution requests that cannot be resolved locally to a DNS server with an IP address of 192.168.1.242?
the options block
5. What record in a DNS zone file is used to map names to IP addresses for hosts on the network?
b. NS
6. How does a slave DNS server know that changes have been made on the master DNS server?
b. By querying the serial number in the SOA on the master DNS server
7. How many other DNS servers can a single DNS server be configured to forward name resolution requests to?
3
8. What three commands could you use to test name resolution?
host, dig, nslookup
9. What line in the /etc/exports file will export the /home directory to the host arfa as read-write , which ensuring that the root user does not have administrative rights to the exported directory?
10. What three services need to be started on an NFS server?
a. RPC mount daemon
b. RPC portmapper
c. RPC NFS Daemon
11. What command may be used to mount the /home directory on a remote computer called server2 using the NFS protocol to the local /mnt directory?
exportfs
12. What command may be used to display the NFS ports registered by the RPM port-mapper daemon?
13. What two commands can you run to activate changes made to the /etc/samba/smb.conf file?
b. rcsmb restart
d. rcnmb restart
14. What command can you use to check the /etc/samba/smb.conf file for errors?
/usr/bin/testparm
15. What command may be used to mount the acctg shared directory on the server afra to the local /mnt directory using SMB?
[homes]
16. Which command may be used to create printers?
b. lpadmin
17. When you try to send a print job to the printer p1, you receive an error message stating that the print queue is unavailable. What command can you use to allow print jobs to enter the print queue for p1?
/usr/bin/enable p1
18. What address would you use in your Web browser to administer your local CUPS server?
http://localhost:631
19. When you save print options in the kprinter utility as the root user, what file are these options saved to?
/etc/cups/ppd/
20. What CUPS log stores remote printing requests?
/var/log/cups/access_log
.com
2. What determines the default length of time that a name resolution result is cached on your computer?
b. the search line in /etc/resolv.conf
3. Which two packages must you have installed for your computer to function as a DNS server?
a. bind
c. bind-utils
4. What line in the /etc/named.conf file can be used to forward name resolution requests that cannot be resolved locally to a DNS server with an IP address of 192.168.1.242?
the options block
5. What record in a DNS zone file is used to map names to IP addresses for hosts on the network?
b. NS
6. How does a slave DNS server know that changes have been made on the master DNS server?
b. By querying the serial number in the SOA on the master DNS server
7. How many other DNS servers can a single DNS server be configured to forward name resolution requests to?
3
8. What three commands could you use to test name resolution?
host, dig, nslookup
9. What line in the /etc/exports file will export the /home directory to the host arfa as read-write , which ensuring that the root user does not have administrative rights to the exported directory?
10. What three services need to be started on an NFS server?
a. RPC mount daemon
b. RPC portmapper
c. RPC NFS Daemon
11. What command may be used to mount the /home directory on a remote computer called server2 using the NFS protocol to the local /mnt directory?
exportfs
12. What command may be used to display the NFS ports registered by the RPM port-mapper daemon?
13. What two commands can you run to activate changes made to the /etc/samba/smb.conf file?
b. rcsmb restart
d. rcnmb restart
14. What command can you use to check the /etc/samba/smb.conf file for errors?
/usr/bin/testparm
15. What command may be used to mount the acctg shared directory on the server afra to the local /mnt directory using SMB?
[homes]
16. Which command may be used to create printers?
b. lpadmin
17. When you try to send a print job to the printer p1, you receive an error message stating that the print queue is unavailable. What command can you use to allow print jobs to enter the print queue for p1?
/usr/bin/enable p1
18. What address would you use in your Web browser to administer your local CUPS server?
http://localhost:631
19. When you save print options in the kprinter utility as the root user, what file are these options saved to?
/etc/cups/ppd/
20. What CUPS log stores remote printing requests?
/var/log/cups/access_log
Sunday, April 13, 2008
Chapter 9
1. What must each computer have in order to participate on a TCP/IP network as well as contact hosts on remote networks by name?
a. IP Address
b. Netmask
c. DNS servers
d. default gateway
2. How long is the host ID by default in a Class A network?
b.1 byte
3. Which of the following are Class B IP addresses?
b. 177.16.41.10
d. 133.1.1.2
4. What network address is reserved for loopback?
127.0.0.1
5. What name is used to identify the first Ethernet network interface in Linux?
eth0
6. What file stores the list of DNS servers thay your computer can contact to resolve hostames into IP addresses?
a. /etc/resolve.comf
7. What command can you use to configure the IP address 192.168.1.1 and default subnet mask on your first Ethernet network interface?
ifup eth0
8. What command can you use to configure an additional IP address of 192.168.1.2 and default subnet mask on the same network interface configured in Question 7?
ifup eth0:a1
9. Which of the following commands may be used to view IP configuration?
d. ifstatus eth0
c. ifconfig -a
10. What file contains the information used to configure your second Ethernet network interface at boot time?
/etc/sysconfig/network/ifcfg-eth-id-......
11. What line would you configure in the file described in Question 10 to obtain an IP configuration from a DHCP server?
12. How many DNS servers may be listed in /etc/resolv.conf?
b. three
13. Which two commands could you type at a command prompt to add a route to the 188.16.0.0 network via the router 192.168.1.254?
route add -net 188.16.0.0 netmask 255.255.0.0 192.168.1.254
14. What file could you use to configure the static route configured in question 13 for use with all network interfaces on your system?
/etc/sysconfig/network/routes
15. What command could you use to send five ICMP requests to the host 192.168.1.254?
ping 5 192.168.1.254
16. What command could you use to listen to all traffic sent to port 1433 on your computer?
netcat -l -p 1433
17. What option(s) to the netstat command could you use to display the routing table?
netstat -rn
18. What command could you use to listen to all packets received on your first Ethernet network interface?
netstat -l eth0
a. IP Address
b. Netmask
c. DNS servers
d. default gateway
2. How long is the host ID by default in a Class A network?
b.1 byte
3. Which of the following are Class B IP addresses?
b. 177.16.41.10
d. 133.1.1.2
4. What network address is reserved for loopback?
127.0.0.1
5. What name is used to identify the first Ethernet network interface in Linux?
eth0
6. What file stores the list of DNS servers thay your computer can contact to resolve hostames into IP addresses?
a. /etc/resolve.comf
7. What command can you use to configure the IP address 192.168.1.1 and default subnet mask on your first Ethernet network interface?
ifup eth0
8. What command can you use to configure an additional IP address of 192.168.1.2 and default subnet mask on the same network interface configured in Question 7?
ifup eth0:a1
9. Which of the following commands may be used to view IP configuration?
d. ifstatus eth0
c. ifconfig -a
10. What file contains the information used to configure your second Ethernet network interface at boot time?
/etc/sysconfig/network/ifcfg-eth-id-......
11. What line would you configure in the file described in Question 10 to obtain an IP configuration from a DHCP server?
12. How many DNS servers may be listed in /etc/resolv.conf?
b. three
13. Which two commands could you type at a command prompt to add a route to the 188.16.0.0 network via the router 192.168.1.254?
route add -net 188.16.0.0 netmask 255.255.0.0 192.168.1.254
14. What file could you use to configure the static route configured in question 13 for use with all network interfaces on your system?
/etc/sysconfig/network/routes
15. What command could you use to send five ICMP requests to the host 192.168.1.254?
ping 5 192.168.1.254
16. What command could you use to listen to all traffic sent to port 1433 on your computer?
netcat -l -p 1433
17. What option(s) to the netstat command could you use to display the routing table?
netstat -rn
18. What command could you use to listen to all packets received on your first Ethernet network interface?
netstat -l eth0
Sunday, April 6, 2008
Chapter 8
1. Which of the following refers to a system that does not run on a terminal?
c. Daemon Process
2. What is the PID of init?
1
3. Which of the following statements are true?
c. a child process may only have one parent process?
d. all background processes have a PID and a JID
4. Which of the following commands can quickly identify the child processes started by a particular daemon?
d. pstree
5. To what processes are regular users allowed to send kill signals?
Their own
6. You have just run the ps aux command and notice that most daemons have a S in the STAT column. What does this mean?
Those commands are sleeping
7. What key can you press in the top command to send the process a signal?
b. k
8. What can you type at a command prompt to run the updatedb command in the background?
updatedp bg
9. Which of the following key combinations can you use to pause a foreground process, such that it may be sent to the background with the bg command?
c. Cntl+Z
10. Which of the following kill commands may be used to send the second background job a SIGINT?
a. kill -2 %2
11. If you do not specify the type of signal when using the kill or killall command, which signal is used by default?
d. SIGTERM
12. What command could you use to change the priority of a process (PID=592) to run with the highest priority?
nice 592 -20
13. What action in the /etc/innittab file is used to determine the default runlevel at system initialization?
initdefault
14. What is the default runlevel in SLES?
5
15. What runlevel loads all networking daemons ( including NFS) but does not start a display manager?
c. 3
16. What command can you type to change your runlevel to single user mode?
init 1
17. Which of the following commands will force your system to reboot?
b. reboot
d. init 6
18. Which of the following commands may be used to stop the SSH daemon (sshd)?
c. /etc/init.d/sshd stop
19. What template can you copy to create a script that is used to start or stop daemons in the /etc/init.d directory?
Init Info
20. Which of the following methods can you use to start the SSH daemon (sshd) upon entering runlevel 3?
a. Create a shortcut to the /etc/init.d/sshd script called /etc/init.d/rc3.d/S88sshd
c. Change the INIT INFO section of hte /etc/init.d/sshd script and run the insserv command
d. Run the YaST Runlevel Editor Ext3
21. You have a script that is used to remove temporary files and would like this script to run on a daily basis. What directory could you place this script in to have the cron daemon execute it each day?
/etc/cron.daily
22. What command could a regular user use to edit their crontab?
crontab
23. What lines would you add to your crontab to schedule the /bin/false command to run at 10:30 a.m. and 2:50 p.m. from Monday to Friday?
10:30 14:50 1-5 /bin/false
24. What command can you use to run the contents of the file cleanup at noon?
at 12 -f Cleanup
25. Which command can you use to view at jobs that have been scheduled on your system?
b. atq
c. Daemon Process
2. What is the PID of init?
1
3. Which of the following statements are true?
c. a child process may only have one parent process?
d. all background processes have a PID and a JID
4. Which of the following commands can quickly identify the child processes started by a particular daemon?
d. pstree
5. To what processes are regular users allowed to send kill signals?
Their own
6. You have just run the ps aux command and notice that most daemons have a S in the STAT column. What does this mean?
Those commands are sleeping
7. What key can you press in the top command to send the process a signal?
b. k
8. What can you type at a command prompt to run the updatedb command in the background?
updatedp bg
9. Which of the following key combinations can you use to pause a foreground process, such that it may be sent to the background with the bg command?
c. Cntl+Z
10. Which of the following kill commands may be used to send the second background job a SIGINT?
a. kill -2 %2
11. If you do not specify the type of signal when using the kill or killall command, which signal is used by default?
d. SIGTERM
12. What command could you use to change the priority of a process (PID=592) to run with the highest priority?
nice 592 -20
13. What action in the /etc/innittab file is used to determine the default runlevel at system initialization?
initdefault
14. What is the default runlevel in SLES?
5
15. What runlevel loads all networking daemons ( including NFS) but does not start a display manager?
c. 3
16. What command can you type to change your runlevel to single user mode?
init 1
17. Which of the following commands will force your system to reboot?
b. reboot
d. init 6
18. Which of the following commands may be used to stop the SSH daemon (sshd)?
c. /etc/init.d/sshd stop
19. What template can you copy to create a script that is used to start or stop daemons in the /etc/init.d directory?
Init Info
20. Which of the following methods can you use to start the SSH daemon (sshd) upon entering runlevel 3?
a. Create a shortcut to the /etc/init.d/sshd script called /etc/init.d/rc3.d/S88sshd
c. Change the INIT INFO section of hte /etc/init.d/sshd script and run the insserv command
d. Run the YaST Runlevel Editor Ext3
21. You have a script that is used to remove temporary files and would like this script to run on a daily basis. What directory could you place this script in to have the cron daemon execute it each day?
/etc/cron.daily
22. What command could a regular user use to edit their crontab?
crontab
23. What lines would you add to your crontab to schedule the /bin/false command to run at 10:30 a.m. and 2:50 p.m. from Monday to Friday?
10:30 14:50 1-5 /bin/false
24. What command can you use to run the contents of the file cleanup at noon?
at 12 -f Cleanup
25. Which command can you use to view at jobs that have been scheduled on your system?
b. atq
Subscribe to:
Posts (Atom)