JN0-223 practice question 13 of 15
Which type of on-box automation script is designed to run every time a user executes a configuration change?
Full set: 66 questionsCommit scripts are a type of on-box automation script in Junos OS that are specifically designed to be executed during the commit process. When a user issues the commit command to apply a candidate configuration, the commit script is invoked. These scripts can be used to enforce custom configuration rules, validate the configuration against specific policies, or automatically generate additional configuration statements based on the changes being committed.
A. event: Event scripts are triggered by system events, such as system log messages or SNMP traps, as defined within an event policy, not directly by the commit action itself.
B. SNMP: SNMP scripts are invoked when a network management system requests data for a specific, non-standard Object Identifier (OID), extending the device's MIB.
D. operation: Operation (op) scripts are executed manually by a user from the operational mode CLI to perform custom diagnostic or administrative tasks.
1. Juniper Networks. (2023). Junos OS Automation Scripting User Guide. "Understanding the Types of Junos OS Automation Scripts" section. Retrieved from https://www.juniper.net/documentation/us/en/software/junos/automation-scripting/topics/concept/automation-scripting-scripts-overview.html.
Quote: "Commit scripts are invoked when you issue the commit command."
2. Juniper Networks. (2023). Junos OS Automation Scripting User Guide. "Commit Scripts" section. Retrieved from https://www.juniper.net/documentation/us/en/software/junos/automation-scripting/topics/concept/automation-scripting-commit-scripts-overview.html.
Quote: "Commit scripts enforce custom configuration rules. They are invoked automatically during a commit operation."
Keep practicing
Take the free JN0-223 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JN0-223 practice questions
- Question 1Which two programming languages have a NETCONF library supported by Juniper Networks? (Ch…
- Question 2A REST API client uses which two HTTP methods to execute RPC requests on the server? (Cho…
- Question 3Which statement is valid regarding YAML and JSON?
- Question 4Which two statements about the REST API are correct? (Choose two.)
- Question 5Which development model is the classic approach to software development?
- Question 6Which statement is correct about DevOps?
