mediumMultiple ChoiceObjective-mapped
300-410 Practice Question: Consider the following EEM applet configuration:…
Consider the following EEM applet configuration:
!--- event manager applet CHECK_OSPF event syslog pattern "OSPF-5-ADJCHG" action 1.0 cli command "enable" action 2.0 cli command "show ip ospf neighbor" action 3.0 mail server "smtp.example.com" to "admin@example.com" from "router@example.com" subject "OSPF Adjacency Change" body "An OSPF adjacency change has been detected." !---
What is the effect of this configuration?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The applet will send an email to the administrator whenever an OSPF adjacency change occurs.
The EEM applet triggers on a syslog message matching the pattern "OSPF-5-ADJCHG". When triggered, it sends an email notification to the administrator. The 'cli command' actions are executed but their output is not used; the email is sent regardless. The applet does not require any additional configuration to send the email, provided the mail server is reachable.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The applet will send an email to the administrator whenever an OSPF adjacency change occurs.
Why this is correct
Correct. The applet triggers on the OSPF adjacency change syslog message and sends an email with the specified details.
- ✗
The applet will only execute the CLI commands and will not send an email because the mail server is not configured globally.
Why it's wrong here
Incorrect. The 'mail server' command is specified directly in the action; no global mail configuration is required.
- ✗
The applet will fail because the 'event syslog pattern' must be configured with a regular expression.
Why it's wrong here
Incorrect. The pattern can be a simple string; regular expressions are optional.
- ✗
The applet will send the email only after the CLI commands complete, but the output of those commands is not included in the email.
Why it's wrong here
Incorrect. The CLI commands are executed, but their output is not automatically included in the email. The email body is static as defined.
Visual reference
Quick reference
Routing Protocol Comparison
| Protocol | Metric | Max Hops | Algorithm | Type |
|---|---|---|---|---|
| RIP v2 | Hop count | 15 | Bellman-Ford | Distance vector |
| OSPF | Cost (bandwidth) | Unlimited | Dijkstra (SPF) | Link state |
| EIGRP | Composite metric | Unlimited | DUAL | Hybrid |
| IS-IS | Cost | Unlimited | Dijkstra | Link state |
| BGP | Policy / attributes | Unlimited | Path vector | Path vector |
RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 300-410 question from scratch — 1,966 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 300-410 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 300-410 exam.