10.16 References

10.17 Quiz

  1. Which of the following must be performed in order to change the primary name server a system is pointing to?
    A.
    Run ypwhich
    B.
    Edit the /etc/hosts file
    C.
    Edit the /etc/resolv.conf file
    D.
    Run no -o name_server=<new_server>

  2. A system administrator has just moved an Ethernet adapter to another slot, removed the old definition and added the IP address and subnet mask just as before. The netstat and ifconfig commands show the interface just as before, but the system administrator still cannot communicate with any other servers. Which of the following could cause this problem?
    A.
    The connecter type has changed to BNC.
    B.
    The adapter speed has changed to 10 Mbps.
    C.
    The adapter should be removed and reseated.
    D.
    The drivers were not reloaded after moving the adapter.

  3. A system administrator is able to log in to system A's console and other systems can ping system A, but the system administrator is unable to Telnet or rlogin to system A from any other system on the network. Which of the following is the most likely cause of this problem?
    A.
    The inetd is not running on system A.
    B.
    The routed is not running on system A.
    C.
    The routing table on system A is corrupted.
    D.
    The domain name server is not functioning correctly.

  4. User X on machine AAA is trying to rsh to machine BBB. The user is prompted for a password, even though a /u/X/.rhosts file is configured on machine BBB. The user discovers this is a permission problem with the .rhosts file. Which of the following are the correct permissions of a .rhosts file?
    A.
    400
    B.
    440
    C.
    600
    D.
    660

  5. A system administrator is logged onto the local system, Carolina, and Telnets to a remote system, Florida, to remotely start any application. The following error message is displayed:
    cannot open DISPLAY:
    

    The system administrator proceeds to enter the following command in response to the error message:

    export DISPLAY=corolina.domain0001.com:0.0
    

    The system administrator re starts the application and receives the same error message:

    cannot open DISPLAY
    

    The system administrator echoes the DISPLAY variable, determines that it is set to carolina.domain001.com, nd performs an nslookup of Carolina, which returns a good TCP/IP address of 9.90.90.9, as expected. The system administrator loaded both servers and knows that the graphics subsystem is properly installed on both systems and is started at boot time.

    The system administrator exports the DISPLAY variable from Florida to Carolina, and still cannot connect. What should be the next logical step?

    A.
    Issue the netstat -i command to check the network.
    B.
    From Carolina, issue the lshost command to see if Florida is allowed host access.
    C.
    From Carolina, issue the xhost list command to see if Florida is allowed host access and if not, issue the xhost add Florida command.
    D.
    From Carolina, issue the xhost command to see if Florida is allowed host access and if not, from Carolina, issue the xhost + Florida command.

10.17.1 Answers

  1. C

  2. A

  3. A

  4. C

  5. D

10.18 Exercises