Exam Prep Questions


Question 1

Which two commands can be used to configure a DHCP server? Choose 2.

  • A. dhcpconfig

  • B. in.dhcpd

  • C. dhcpmgr

  • D. dhcpagent

  • E. pntadm

A1:

Answers A and C are correct because dhcpconfig is a command-line utility used to configure a DHCP server and dhcpmgr is a graphical (GUI) utility used to carry out the same process. Answer B is incorrect because in.dhcpd is the process that runs on a DHCP server when it has been configured. Answer D is incorrect because dhcpagent is the process that runs on a DHCP client when it has been configured. Answer E is incorrect because pntadm is a command that manages the DHCP network table and is typically used to add, modify, or remove IP addresses being managed by DHCP.

Question 2

Which file would be created on a client with an hme0 network interface to enable it to use DHCP with a dynamically assigned hostname when it is rebooted?

  • A. /etc/default/dhcpagent

  • B. /etc/dhcp.hme0

  • C. /etc/hostname.hme0

  • D. /etc/inet/dhcpsvc.conf

A2:

Answer B is correct because you would create the file /etc/dhcp.hme0 to enable DHCP with a dynamically assigned hostname. Answer A is incorrect because /etc/default/dhcpagent is the file that controls the default behavior of the dhcpagent process on a DHCP client. Answer C is incorrect because /etc/hostname.hme0 is the file that is used to configure the primary network interface and would be used only if a specific hostname were being specified, not a dynamically assigned one. Answer D is incorrect because /etc/inet/dhcpsvc.conf is the DHCP server configuration file.

Question 3

Which command would you use to add an IP address to be managed by a DHCP server?

  • A. pntadm

  • B. dhtadm

  • C. dhcpconfig

  • D. in.dhcpd

A3:

Answer A is correct because the pntadm command is used to manage the network table and is used to add an IP address to the list of addresses managed by a DHCP server. Answer B is incorrect because the dhtadm command manages the DHCP service configuration table, dhcptab . Answer C is incorrect because dhcpconfig is the command-line utility to configure a DHCP server. Answer D is incorrect because in.dhcpd is the process that runs on a DHCP server.

Question 4

You have a DHCP server using a datastore with a binary file format and managing the 192.168.45.0 network. What would the filename be for this network table?

  • A. SUNWfiles1_192_168_45_0

  • B. SUNWbinfiles1_192_168_45_0

  • C. 192_168_45_0_SUNWbinfiles1

  • D. SUNWbinfiles1_dhcptab

A4:

Answer B is correct because the correct filename for a binary file datastore managing the 192.168.45.0 network would be SUNWbinfiles1_192_168_45_0 . Answer A is incorrect because this filename indicates the use of an ASCII file datastore type. Answer C is incorrect because the filename consists of the datastore type followed by the IP address of the network being managed ”this answer is syntactically incorrect. Answer D is incorrect because the dhcptab file contains the DHCP service configuration information, not details about networks being managed by DHCP.

Question 5

You have a client that is going to use DHCP as its means of obtaining an IP address. The client has an hme0 network interface and is going to specify a particular hostname to use ” ultra99 . Which of the following entries would you add to the /etc/hostname.hme0 file to achieve this?

  • A. ultra99

  • B. dhcp ultra99

  • C. hostname ultra99

  • D. inet ultra99

A5:

Answer D is correct because the file /etc/hostname.hme0 would have the entry inet ultra99 added to it to request the use of hostname ultra99 . Answer A is incorrect because the entry ultra99 would specify the hostname, but would not use DHCP to configure the interface. Answers B and C are incorrect because these entries are invalid for this file.

Question 6

Which option to the dhcpconfig command is used to initially configure a DHCP server?

  • A. -D

  • B. -N

  • C. -U

  • D. -C

A6:

Answer A is correct because the -D option is used to initially configure the DHCP service on a server. Answer B is incorrect because the -N option is used to define a network that the DHCP server is to manage. Answer C is incorrect because the -U option is used to unconfigure a DHCP server. Answer D is incorrect because the -C option is used to convert an existing datastore to a different format.

Question 7

When a DHCP client is booted , it sends a message to locate a DHCP server and request an IP address. Which of the following message types is sent, in response, by the DHCP server with details of an IP address that is available to be leased?

  • A. DHCPREQUEST

  • B. DHCPACK

  • C. DHCPOFFER

  • D. DHCPDISCOVER

A7:

Answer C is correct because the DHCPOFFER message type is returned by a DHCP server offering an IP address for the client to lease. Answer A is incorrect because the DHCPREQUEST message type is sent by the DHCP client in response to a DHCPOFFER message from the server. This request accepts the offer made by the DHCP server. Answer B is incorrect because the DHCPACK message type is sent by the DHCP server acknowledging the client's acceptance of an offer. Answer D is incorrect because the DHCPDISCOVER message type is sent by a booting DHCP client to locate a DHCP server and request an IP address.



Solaris 9 Network Administration Exam Cram 2 (Exam Cram CX-310-044)
Solaris 9 Network Administrator Exam Cram 2 (Exam CX-310-044)
ISBN: 0789728702
EAN: 2147483647
Year: 2003
Pages: 174
Authors: John Philcox

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net