Question 880
An EEM applet contains an event trigger and CLI actions but fails to run privileged show commands due to missing CLI authentication context. During troubleshooting: The applet triggers but CLI commands fail with authorization errors. Which underlying cause best explains the recorded behavior?
- The EEM CLI session lacks required privileges or authenticated session context.
- The client continues sending an expired or invalid authentication token.
- The watchdog timer is periodic and the event detector does not encode a one-time action.
- The EEM event detector pattern never matches the actual syslog text or event type.
Explanation
Correct Answer
A:The actual technical cause is: The EEM CLI session lacks required privileges or authenticated session context. It specifically explains the observation: the applet triggers but CLI commands fail with authorization errors. The correcting configuration is: configure a supported EEM CLI session authorization/user context for the required low-risk commands.
Incorrect Answers
B:That diagnosis is supported by a different symptom: HTTP401 appears periodically on all API requests after the session expires. Here the recorded observation is: the applet triggers but CLI commands fail with authorization errors. The applicable cause is: the EEM CLI session lacks required privileges or authenticated session context.
C:That diagnosis is supported by a different symptom: An action repeats every second while the operator expected a single run. Here the recorded observation is: the applet triggers but CLI commands fail with authorization errors. The applicable cause is: the EEM CLI session lacks required privileges or authenticated session context.
D:That diagnosis is supported by a different symptom: The device logs an interface-down event but no EEM action runs. Here the recorded observation is: the applet triggers but CLI commands fail with authorization errors. The applicable cause is: the EEM CLI session lacks required privileges or authenticated session context.
Question 881
An EEM applet contains an event trigger and CLI actions but fails to run privileged show commands due to missing CLI authentication context. The initial change is: Configure a supported EEM CLI session authorization/user context for the required low-risk commands. Which continuing control most directly prevents a recurrence of the documented problem: The applet triggers but CLI commands fail with authorization errors.
- Document EEM event scheduling and bound repeated commands before production use.
- Review event match expressions and rate limits before activating automated CLI actions.
- Grant EEM only required permissions and audit command execution history.
- Test triggers against platform log format and avoid unbounded on-device scripts.
Explanation
Correct Answer
C:The continuing protective control is: Grant EEM only required permissions and audit command execution history. This addresses the underlying failure mechanism: the EEM CLI session lacks required privileges or authenticated session context. The corresponding operational check is: trigger the applet and inspect its execution history plus permitted command outputs.
Incorrect Answers
A:That control reduces a separate risk: The watchdog timer is periodic and the event detector does not encode a one-time action. For the described design, the recurring risk arises from: the EEM CLI session lacks required privileges or authenticated session context. The specific required safeguard is: grant EEM only required permissions and audit command execution history.
B:That control reduces a separate risk: The syslog event detector is too broad and triggers on ordinary events. For the described design, the recurring risk arises from: the EEM CLI session lacks required privileges or authenticated session context. The specific required safeguard is: grant EEM only required permissions and audit command execution history.
D:That control reduces a separate risk: The EEM event detector pattern never matches the actual syslog text or event type. For the described design, the recurring risk arises from: the EEM CLI session lacks required privileges or authenticated session context. The specific required safeguard is: grant EEM only required permissions and audit command execution history.
Question 882
A device EEM applet executes `write memory` on every syslog line, causing configuration locks and CPU overhead. The incident evidence is: Continuous unrelated log events repeatedly invoke the applet and burden the router. Which targeted configuration or design change best addresses the failure?
- Tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger.
- Read operational leaves from the supported state datastore and edit only schema-writable configuration leaves.
- Create an EEM applet with an interface-state syslog/event trigger and an approved `action cli` sequence.
- Choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer.
Explanation
Correct Answer
A:The required correction is: Tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger. The underlying failure mechanism is: The syslog event detector is too broad and triggers on ordinary events. Verify success by carrying out this direct test: send matching and nonmatching test events and verify one expected applet execution.
Incorrect Answers
B:Reading operational leaves from the supported state datastore and edit only schema-writable configuration leaves would not address the need for tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger.
C:Creating an EEM applet with an interface-state syslog/event trigger and an approved `action cli` sequence would not address the need for tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger.
D:Choosing the supported event detector for the desired one-shot startup or cron schedule would not address the need for tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger.
Question 883
A device EEM applet executes `write memory` on every syslog line, causing configuration locks and CPU overhead. The proposed remedy is: Tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger. Which observation would most directly confirm that remedy works as intended?
- Test a read-only operational statistic and confirm an edit attempt is rejected appropriately.
- Administratively bounce a test interface and verify one diagnostic report is produced by the applet.
- Send matching and nonmatching test events and verify one expected applet execution.
- Observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
Explanation
Correct Answer
C:The decisive acceptance observation is: Send matching and nonmatching test events and verify one expected applet execution. This tests the working mechanism, while the original incident was: continuous unrelated log events repeatedly invoke the applet and burden the router.
Incorrect Answers
A:This test measures a different behavior: Test a read-only operational statistic and confirm an edit attempt is rejected appropriately. It does not establish the target outcome. For the documented fault, the direct acceptance test is: send matching and nonmatching test events and verify one expected applet execution.
B:This test measures a different behavior: Administratively bounce a test interface and verify one diagnostic report is produced by the applet. It does not establish the target outcome. For the documented fault, the direct acceptance test is: send matching and nonmatching test events and verify one expected applet execution.
D:This test measures a different behavior: Observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics. It does not establish the target outcome. For the documented fault, the direct acceptance test is: send matching and nonmatching test events and verify one expected applet execution.
Question 884
A device EEM applet executes `write memory` on every syslog line, causing configuration locks and CPU overhead. During troubleshooting: Continuous unrelated log events repeatedly invoke the applet and burden the router. Which underlying cause best explains the recorded behavior?
- The EEM event detector pattern never matches the actual syslog text or event type.
- The syslog event detector is too broad and triggers on ordinary events.
- The watchdog timer is periodic and the event detector does not encode a one-time action.
- Operational state nodes are read-only and do not accept configuration edits.
Explanation
Correct Answer
B:The actual technical cause is: The syslog event detector is too broad and triggers on ordinary events. It specifically explains the observation: continuous unrelated log events repeatedly invoke the applet and burden the router. The correcting configuration is: tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger.
Incorrect Answers
A:That diagnosis is supported by a different symptom: The device logs an interface-down event but no EEM action runs. Here the recorded observation is: continuous unrelated log events repeatedly invoke the applet and burden the router. The applicable cause is: the syslog event detector is too broad and triggers on ordinary events.
C:That diagnosis is supported by a different symptom: An action repeats every second while the operator expected a single run. Here the recorded observation is: continuous unrelated log events repeatedly invoke the applet and burden the router. The applicable cause is: the syslog event detector is too broad and triggers on ordinary events.
D:That diagnosis is supported by a different symptom: An automation tries to write a packet counter as if it were user configuration. Here the recorded observation is: continuous unrelated log events repeatedly invoke the applet and burden the router. The applicable cause is: the syslog event detector is too broad and triggers on ordinary events.
Question 885
A device EEM applet executes `write memory` on every syslog line, causing configuration locks and CPU overhead. The initial change is: Tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger. Which continuing control most directly prevents a recurrence of the documented problem: Continuous unrelated log events repeatedly invoke the applet and burden the router.
- Test triggers against platform log format and avoid unbounded on-device scripts.
- Document EEM event scheduling and bound repeated commands before production use.
- Separate desired configuration from observed state in data-model-aware automation.
- Review event match expressions and rate limits before activating automated CLI actions.
Explanation
Correct Answer
D:The continuing protective control is: Review event match expressions and rate limits before activating automated CLI actions. This addresses the underlying failure mechanism: the syslog event detector is too broad and triggers on ordinary events. The corresponding operational check is: send matching and nonmatching test events and verify one expected applet execution.
Incorrect Answers
A:That control reduces a separate risk: The EEM event detector pattern never matches the actual syslog text or event type. For the described design, the recurring risk arises from: the syslog event detector is too broad and triggers on ordinary events. The specific required safeguard is: review event match expressions and rate limits before activating automated CLI actions.
B:That control reduces a separate risk: The watchdog timer is periodic and the event detector does not encode a one-time action. For the described design, the recurring risk arises from: the syslog event detector is too broad and triggers on ordinary events. The specific required safeguard is: review event match expressions and rate limits before activating automated CLI actions.
C:That control reduces a separate risk: Operational state nodes are read-only and do not accept configuration edits. For the described design, the recurring risk arises from: the syslog event detector is too broad and triggers on ordinary events. The specific required safeguard is: review event match expressions and rate limits before activating automated CLI actions.
Question 886
A network engineer copies an EEM applet using `event timer watchdog time 1` but expects it to run only once at startup. The incident evidence is: An action repeats every second while the operator expected a single run. Which targeted configuration or design change best addresses the failure?
- Create an EEM applet with an interface-state syslog/event trigger and an approved `action cli` sequence.
- Choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer.
- Tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger.
- Encode valid JSON using double-quoted property names and strings.
Explanation
Correct Answer
B:The required correction is: Choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer. The underlying failure mechanism is: The watchdog timer is periodic and the event detector does not encode a one-time action. Verify success by carrying out this direct test: observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
Incorrect Answers
A:Creating an EEM applet with an interface-state syslog/event trigger and an approved `action cli` sequence would not meet the need for the supported event detector for the desired one-shot startup or cron schedule.
C:Tighten the event detector regex and add bounded frequency/action protections so only intended critical events trigger would not meet the need for the supported event detector for the desired one-shot startup or cron schedule.
D:Encode valid JSON using double-quoted property names and strings would not meet the need for the supported event detector for the desired one-shot startup or cron schedule.
Question 887
A network engineer copies an EEM applet using `event timer watchdog time 1` but expects it to run only once at startup. The proposed remedy is: Choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer. Which observation would most directly confirm that remedy works as intended?
- Send matching and nonmatching test events and verify one expected applet execution.
- Observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
- Submit the payload to a JSON parser and ensure the original key/value pairs decode.
- Administratively bounce a test interface and verify one diagnostic report is produced by the applet.
Explanation
Correct Answer
B:The decisive acceptance observation is: Observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics. This tests the working mechanism, while the original incident was: an action repeats every second while the operator expected a single run.
Incorrect Answers
A:This test measures a different behavior: Send matching and nonmatching test events and verify one expected applet execution. It does not establish the target outcome. For the documented fault, the direct acceptance test is: observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
C:This test measures a different behavior: Submit the payload to a JSON parser and ensure the original key/value pairs decode. It does not establish the target outcome. For the documented fault, the direct acceptance test is: observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
D:This test measures a different behavior: Administratively bounce a test interface and verify one diagnostic report is produced by the applet. It does not establish the target outcome. For the documented fault, the direct acceptance test is: observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
Question 888
A network engineer copies an EEM applet using `event timer watchdog time 1` but expects it to run only once at startup. During troubleshooting: An action repeats every second while the operator expected a single run. Which underlying cause best explains the recorded behavior?
- The syslog event detector is too broad and triggers on ordinary events.
- The EEM event detector pattern never matches the actual syslog text or event type.
- The watchdog timer is periodic and the event detector does not encode a one-time action.
- JSON syntax requires double quotation marks for string keys and values.
Explanation
Correct Answer
C:The actual technical cause is: The watchdog timer is periodic and the event detector does not encode a one-time action. It specifically explains the observation: an action repeats every second while the operator expected a single run. The correcting configuration is: choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer.
Incorrect Answers
A:That diagnosis is supported by a different symptom: Continuous unrelated log events repeatedly invoke the applet and burden the router. Here the recorded observation is: an action repeats every second while the operator expected a single run. The applicable cause is: the watchdog timer is periodic and the event detector does not encode a one-time action.
B:That diagnosis is supported by a different symptom: The device logs an interface-down event but no EEM action runs. Here the recorded observation is: an action repeats every second while the operator expected a single run. The applicable cause is: the watchdog timer is periodic and the event detector does not encode a one-time action.
D:That diagnosis is supported by a different symptom: The REST controller reports malformed JSON at the first single-quoted property. Here the recorded observation is: an action repeats every second while the operator expected a single run. The applicable cause is: the watchdog timer is periodic and the event detector does not encode a one-time action.
Question 889
A network engineer copies an EEM applet using `event timer watchdog time 1` but expects it to run only once at startup. The initial change is: Choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer. Which continuing control most directly prevents a recurrence of the documented problem: An action repeats every second while the operator expected a single run.
- Validate every generated payload with a standard JSON parser before sending API requests.
- Test triggers against platform log format and avoid unbounded on-device scripts.
- Review event match expressions and rate limits before activating automated CLI actions.
- Document EEM event scheduling and bound repeated commands before production use.
Explanation
Correct Answer
D:The continuing protective control is: Document EEM event scheduling and bound repeated commands before production use. This addresses the underlying failure mechanism: the watchdog timer is periodic and the event detector does not encode a one-time action. The corresponding operational check is: observe execution frequency during a short lab interval and verify it matches the intended scheduling semantics.
Incorrect Answers
A:That control reduces a separate risk: JSON syntax requires double quotation marks for string keys and values. For the described design, the recurring risk arises from: the watchdog timer is periodic and the event detector does not encode a one-time action. The specific required safeguard is: document EEM event scheduling and bound repeated commands before production use.
B:That control reduces a separate risk: The EEM event detector pattern never matches the actual syslog text or event type. For the described design, the recurring risk arises from: the watchdog timer is periodic and the event detector does not encode a one-time action. The specific required safeguard is: document EEM event scheduling and bound repeated commands before production use.
C:That control reduces a separate risk: The syslog event detector is too broad and triggers on ordinary events. For the described design, the recurring risk arises from: the watchdog timer is periodic and the event detector does not encode a one-time action. The specific required safeguard is: document EEM event scheduling and bound repeated commands before production use.
Question 890
A team wants to push declarative interface changes from a central automation server over SSH to many switches without installing software agents on every switch. The incident evidence is: An engineer insists every switch must run a locally installed Ansible daemon to receive playbooks. Which targeted configuration or design change best addresses the failure?
- Choose the supported event detector for the desired one-shot startup or cron schedule instead of a recurring watchdog timer.
- Use an agentless orchestration approach such as Ansible playbooks with appropriate network connection plugins.
- Prefer supported agentless controller-driven network automation rather than a server-only agent model that needs a device-local daemon.
- Use an agent-based desired-state management pattern appropriate to supported server endpoints.
Explanation
Correct Answer
B:The required correction is: Use an agentless orchestration approach such as Ansible playbooks with appropriate network connection plugins. The underlying failure mechanism is: Ansible uses controller-driven agentless connections in the common network-device workflow. Verify success by carrying out this direct test: check inventory-selected targets receive idempotent configuration while devices require no extra persistent agent.
Incorrect Answers
A:Choosing the supported event detector for the desired one-shot startup or cron schedule would not meet the need for an agentless orchestration approach such as Ansible playbooks with appropriate network connection plugins.
C:The needed correction is to use an agentless orchestration approach such as Ansible playbooks with appropriate network connection plugins.
D:Using an agent-based desired-state management pattern appropriate to supported server endpoints would not meet the need for an agentless orchestration approach such as Ansible playbooks with appropriate network connection plugins.
Implementing Cisco Enterprise Network Core Technologies (ENCOR) (350-401) Practice Tests