A host, called lpi, with the MAC address 08:00:2b:4c:59:23 should always be given the IP address of 192.168.1.2 by a DHCP server running ISC DHCPD. Which of the following configurations will achieve this?
正解: B
解説: (JPNPDF メンバーにのみ表示されます)
問題 3
What configuration directive of the Apache HTTPD server defines where log files are stored? (Specify ONE of the directives without any other options.)
正解:
ErrorLog Explanation: The ErrorLog directive of the Apache HTTPD server defines the location and name of the file where the server will log any errors it encounters. The default value of this directive is logs/error_log, which means that the error log file will be stored in the logs subdirectory of the server root directory. The ErrorLog directive can also accept a filename relative to the server root, an absolute filename, or a pipe to a program that will handle the logging. For example, ErrorLog logs/my_error_log will store the error log file in the logs subdirectory with the name my_error_log, ErrorLog /var/log/httpd/error_log will store the error log file in the /var/log/httpd directory with the name error_log, and ErrorLog "|bin/rotatelogs logs/error_log 86400" will pipe the error log to the rotatelogs program that will rotate the log file every 86400 seconds. References: Log Files - Apache HTTP Server Version 2.4, Directive Quick Reference - Apache HTTP Server Version 2.4, How do I find Apache http server log files? - Code A Site Blog, mod_log_config - Apache HTTP Server Version 2.2
問題 4
Which of these tools, without any options, provides the most information when performing DNS queries?
正解: B
解説: (JPNPDF メンバーにのみ表示されます)
問題 5
In order to specify alterations to an LDAP entry, what keyword is missing from the following LDIF file excerpt? Specify the keyword only and no other information.
正解:
modify Explanation In the context of LDAP, when alterations need to be specified to an entry, the "changetype: modify" keyword is used in the LDIF file. This keyword indicates that modifications are to be made to the existing LDAP entry. The modify operation can be used to add, replace, or delete attributes and their values. The syntax of the modify operation is as follows: changetype: modify add: attribute attribute: valuereplace: attribute attribute: valuedelete: attribute attribute: value Each modify operation is separated by a hyphen (-) and a blank line separates different entries. The attribute;binary subtype can be used to indicate that the attribute values are binary data. The LDIF syntax for reading a binary value from a file is: attribute;binary:< file:///path/to/file References: LPIC-2 Exam 202 Objectives, Objective 207.3: LDAP Operations How To Use LDIF Files to Make Changes to an OpenLDAP System, DigitalOcean Modifying Entries Using ldapmodify, Oracle ldap - ldapadd/ldapmodify: clarifications needed about these commands, Server Fault Modify Attribute type definition on LDAP server, Stack Overflow