Syslog, SNMP, and Netflow Flashcards
(50 cards)
What is the default port used by Syslog?
a) TCP 514
b) UDP 514
c) TCP 162
d) UDP 162
Answer: b) UDP 514
Which Syslog severity level indicates a critical condition that requires immediate attention?
a) 0 (Emergency)
b) 2 (Critical)
c) 3 (Error)
d) 5 (Notice)
Answer: b) 2 (Critical)
What is the highest severity level in Syslog?
a) 0 (Emergency)
b) 1 (Alert)
c) 7 (Debug)
d) 6 (Informational)
Answer: a) 0 (Emergency)
Which command enables Syslog logging on a Cisco router?
a) logging on
b) logging host <IP>
c) logging trap <level>
d) All of the above
Answer: d) All of the above</level></IP>
Answer: d) All of the above
What does Syslog facility level 16 (local0) typically represent?
a) Kernel messages
b) User-level messages
c) Locally defined logs
d) Mail system logs
Answer: c) Locally defined logs
Which Syslog severity level is used for normal but significant events?
a) 5 (Notice)
b) 6 (Informational)
c) 4 (Warning)
d) 7 (Debug)
Answer: a) 5 (Notice)
What is the purpose of the logging synchronous command?
a) Synchronizes logs across multiple devices
b) Prevents console messages from interrupting commands
c) Enables secure Syslog with TLS
d) Sets Syslog timestamps
Answer: b) Prevents console messages from interrupting commands
Which command configures a router to send Syslog messages to a server at 192.168.1.100?
a) logging 192.168.1.100
b) logging host 192.168.1.100
c) syslog server 192.168.1.100
d) log-server 192.168.1.100
Answer: b) logging host 192.168.1.100
Which Syslog severity level is used for debug-level messages?
a) 7
b) 6
c) 5
d) 4
Answer: a) 7
What is the purpose of the service timestamps log datetime command?
a) Adds timestamps to Syslog messages
b) Synchronizes time with an NTP server
c) Enables logging of date and time for debug messages
d) Both a and c
Answer: d) Both a and c
Which of the following is NOT a valid Syslog facility?
a) auth
b) cron
c) ospf
d) syslog
Answer: c) ospf
What happens if a Syslog server is unreachable?
a) Logs are stored locally in a buffer
b) Logs are discarded
c) The router stops functioning
d) Logs are sent via email
Answer: b) Logs are discarded (unless buffered)
Which command limits Syslog messages to only level 4 (Warnings) and higher?
a) logging trap 4
b) logging level 4
c) logging severity 4
d) logging filter 4
Answer: a) logging trap 4
Which protocol does Syslog typically use for transport?
a) TCP
b) UDP
c) Both TCP and UDP
d) ICMP
Answer: b) UDP
What is the purpose of the logging buffered command?
a) Stores logs in NVRAM
b) Sends logs to a buffer in RAM
c) Forwards logs to a Syslog server
d) Encrypts log messages
Answer: b) Sends logs to a buffer in RAM
What is the default port for SNMP traps?
a) UDP 161
b) UDP 162
c) TCP 161
d) TCP 162
Answer: b) UDP 162
Which SNMP version provides encryption and authentication?
a) SNMPv1
b) SNMPv2c
c) SNMPv3
d) All of the above
Answer: c) SNMPv3
What is an SNMP OID?
a) A unique identifier for managed devices
b) A numeric identifier for a specific variable in the MIB
c) A password for SNMP access
d) A type of SNMP trap
Answer: b) A numeric identifier for a specific variable in the MIB
Which SNMP operation allows an agent to send unsolicited alerts?
a) GET
b) SET
c) TRAP
d) WALK
Answer: c) TRAP
What is the community string in SNMPv2c used for?
a) Encryption
b) Authentication
c) Compression
d) Error checking
Answer: b) Authentication
Which command enables SNMPv2c with a read-only community string “public”?
a) snmp-server community public ro
b) snmp-server public ro
c) snmp enable community public
d) snmp ro community public
Answer: a) snmp-server community public ro
Which MIB contains system information such as device uptime?
a) IF-MIB
b) IP-MIB
c) SNMPv2-MIB
d) CISCO-SMI
Answer: c) SNMPv2-MIB
What is the purpose of the snmp-server host command?
a) Configures an SNMP manager IP
b) Defines where traps/informs are sent
c) Enables SNMP on an interface
d) Sets the SNMP read-write community
Answer: b) Defines where traps/informs are sent
Which SNMP version uses a community string for authentication?
a) SNMPv1
b) SNMPv2c
c) SNMPv3
d) Both a and b
Answer: d) Both a and b