Home
You may like this!
1.
What is wrong with the following subnet declaration in an ISC DHCP server's /etc/dhcpd.conf file?
subnet 10.107.5.0 {
range 10.107.5.1 10.107.5.200; }
  • A.
    It lacks domain name data.
  • B.
    It lacks network mask data.
  • C.
    It lacks a DNS server IP address.
  • D.
    It lacks a gateway IP address.
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
A subnet declaration begins with that keyword followed by a subnet number, the netmask keyword, and a network mask value. Thus, option B is correct; the network mask data should be present. Options A, C, and D are all correct observations but incorrect answers because these pieces of information may all be declared elsewhere and in fact aren't strictly necessary.
Report
Name Email  
2.
Where does the ISC DHCP server store data on the leases it has issued?
  • A.
    leases.conf , typically in /var/dhcp
  • B.
    leases.log , typically in /var/log/dhcp
  • C.
    dhcpd.log , typically in /var/dhcp/leases
  • D.
    dhcpd.leases , typically in /var/lib/dhcp
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
DHCP lease information is stored in a file called dhcpd.leases . This file is often, but not always, stored in /var/lib/dhcp , making option D correct. Although the locations specified in options A, B, and D are all theoretically plausible, they all specify incorrect filenames and so are incorrect.
Report
Name Email  
3.
You set a global max - lease - time 3600 option in the DHCP configuration file. What is the effect of this configuration?
  • A.
    DHCP clients will receive leases of at most 1 hour (3,600 seconds), even if they ask for longer leases.
  • B.
    DHCP clients will receive leases of 1 hour (3,600 seconds) unless they ask for longer or shorter leases.
  • C.
    DHCP clients will receive leases of at least 1 hour (3,600 seconds), even if they ask for shorter leases.
  • D.
    DHCP clients will receive leases at most 1 hour (3,600 seconds) unless they're configured for fixed IP addresses.
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
Option A correctly describes the meaning of this option. (Note, however, that this option is ignored for clients that use BOOTP rather than DHCP.) Option B describes the effect of the default - lease - time option, and option C describes the effect of the min - lease - time option. Option D is incorrect because a fixed IP address configuration does not automatically override the lease time options. (A fixed IP address block could include its own max - lease - time option to override the global option, though.)
Report
Name Email  
4.
On which of the following computers might you most plausibly run the dhcrelay program? (Select two.)
  • A.
    A computer that runs dhcpd on a subnet that links to the Internet via a NAT router
  • B.
    A computer on a completely isolated network that has no router and no DHCP server of its own
  • C.
    A router between two subnets, one of which has a DHCP server and the other of which does not
  • D.
    A computer on a subnet with no DHCP server of its own, with a DHCP server configured to serve the first subnet on a nearby subnet
  • Answer & Explanation
  • Report
Answer : [C, D]
Explanation :
The dhcrelay program acts as a proxy server for a DHCP server located elsewhere; dhcrelay responds to DHCP clients, but it relays the client's requests to another subnet's DHCP server and then delivers the server's responses back to the client. The dhcrelay program does not need to be on the same subnet as the DHCP server, but if it is (as, for instance, in the case of a router), it will work fine. Thus, options C and D are both valid locations for a computer running dhcrelay . Option A is incorrect because the specified computer runs a full DHCP server ( dhcpd ), so dhcrelay isn't likely to do any good; even if it were being used as a backup or to handle a few computers in an exotic configuration, the only computers to which it could relay traffic are isolated from the target network by a NAT router. Thus, this configuration would be bizarre at best and dangerous at worst. Option B is incorrect because dhcrelay would have no way to contact a DHCP server. If option B's network is functional, it's presumably configured using static IP addresses rather than DHCP, making dhcrelay pointless.
Report
Name Email  
5.
What is wrong with the following entry in an LDIF file intended for use in managing Linux accounts?
uid: tsparker
  • A.
    This entry should use the username attribute name, not uid .
  • B.
    The uid attribute name requires a full distinguished name.
  • C.
    The uid attribute requires a numeric Linux user ID (UID) value.
  • D.
    Nothing is wrong with this entry.
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
The LDIF uid attribute name identifies a Linux username, so it can take the value of any legal Linux username. As tsparker is a legal Linux username, there is nothing wrong with this entry, making option D correct. There is no username attribute name in a Linux account management LDIF file, so option A is incorrect. Because the uid attribute is a Linux username, not a distinguished name (DN), option B is incorrect. Confusingly, the uid attribute name refers to a Linux username; Linux UID values are specified with the uidNumber attribute name, making option C incorrect.
Report
Name Email