nerdexam
Juniper

JN0-224 · Question #116

You are asked to develop an on-box Junos script that prevents deletion of the SNMP configuration. Which type of script serves this purpose?

The correct answer is A. commit script. A commit script in Junos is used to enforce policies and configuration constraints on the device. These scripts are written in Extensible Stylesheet Language Transformations (XSLT) or Python and are executed automatically during the commit process of a configuration change. In…

PyEZ

Question

You are asked to develop an on-box Junos script that prevents deletion of the SNMP configuration. Which type of script serves this purpose?

Options

  • Acommit script
  • Bevent script
  • Cop script
  • DSNMP script

How the community answered

(53 responses)
  • A
    89% (47)
  • B
    6% (3)
  • C
    2% (1)
  • D
    4% (2)

Explanation

A commit script in Junos is used to enforce policies and configuration constraints on the device. These scripts are written in Extensible Stylesheet Language Transformations (XSLT) or Python and are executed automatically during the commit process of a configuration change. In this context, to prevent the deletion of the SNMP configuration, a commit script is the appropriate choice. It can be designed to check the configuration changes being committed and reject any commit that attempts to delete or modify the SNMP configuration. This script essentially acts as a gatekeeper, ensuring that only allowable changes are committed to the device configuration.

Topics

#commit script#on-box scripting#SNMP protection

Community Discussion

No community discussion yet for this question.

Full JN0-224 Practice