348
Appendix
■
Answers to Practice Test Questions
44. B. Standard access control lists (ACLs) can be used in conjunction with the SNMP agent
configuration. First a standard ACL is created containing the NMS IP. Then, when the
snmp-server command is used, it becomes the last argument. For example, a standard
ACL of 2 would be added as follows:
snmp-server community snmpreadonly
read-only 2. There is no such thing as encrypted communities. There is no such thing
as SNMP callback security; callback security is related to PPP. SNMP does not employ
SHA-256 as its encryption protocol.
45. C. The first portion of the command,
snmp-server host 192.168.1.5, will configure
the SNMP agent to send traps to the host 192.168.1.5. The second portion of the
command,
version 2c C0mmun1ty, sets the SNMP version to 2c and the community to
“C0mmun1ty.” All of the other command configurations are incorrect.
46. C. SNMP uses UDP port 162 for communication from an SNMP agent to the network
management station for trap and inform messages. SNMP agents listen on UDP/161.
SNMP does not use TCP for messaging. UDP/514 is used for syslog messaging.
47. C. The command
show snmp host will display the host that is configured to receive
notifications of trap or inform messages from the router or switch. The command
show
snmp is incorrect. The command show snmp community is incorrect. The command show
snmp notifications is incorrect.
48. B. When you begin to configure SNMPv3 for a restricted OID, the first step is configuring
a view. The view allows or restricts what the user will have access to. All of the other
options come after configuring a view.
49. D. The router or switch sends syslog messages to the syslog server on port 514 with UDP.
SNMP agents listen on UDP/161. SNMP does not use TCP for messaging. SNMP sends
traps on UDP/162.
50. C. The command
logging trap debugging will configure syslog events to be sent to the
syslog server for the severity levels of debugging (7) through emergency (0). The command
syslog debugging is incorrect. The command logging debugging is incorrect. The
command
log-level debugging is incorrect.
51. B. The command
logging trap 4 will trap all messages with warnings to the syslog
server. The command
logging server 4 is incorrect. The command logging trap 5
is incorrect, as it will send all notice messages. The command
logging server 5 is
incorrect.
52. D. The command
service timestamps log datetime will configure syslog messages
to be logged with the date and time rather than the arbitrary sequence number. The
command
logging timestamps log datetime is incorrect. The command logging
timestamps datetime is incorrect. The command service datetime timestamps is
incorrect.
53. A. The command
logging console 0 will configure the logging to the console for the
severity level of facility 0, which is alerts. The
logging command is not configured in the
config-line prompt, therefore, both options B and D are incorrect. The command
logging
console 7 is incorrect because it sets the logging level to debug.
Chapter 4: IP Services (Domain 4)
Do'stlaringiz bilan baham: |