BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Juniper JN0-224 Exam - Topic 3 Question 18 Discussion

Posted by Tonette on Oct 13, 2026 at 06:13 AM

You are asked to develop an on-box Junos script that prevents deletion of the SNMP configuration.

Which type of script serves this purpose?

Suggested Answer: A

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.

Supporting Reference:

Juniper Networks Commit Scripts Documentation: The official Juniper documentation provides examples and use cases of commit scripts, including how they can be used to prevent unauthorized changes to the device configuration.

'Junos Automation Scripting' by Jonathan Looney: This resource gives practical examples and best practices for creating commit scripts to enforce configuration policies in Junos OS.


Get Premium JN0-224 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
DA
Danica 3 days ago
Agreed, commit scripts are super useful for this!
MA
Magda 8 days ago
Wait, can a script really stop config deletion?
MI
Miesha 13 days ago
Definitely A, it prevents changes during commit.
KA
Kathryn 18 days ago
I thought it was an event script.
LA
Lashunda 24 days ago
A commit script is the right choice!
KA
Kanisha 29 days ago
I thought SNMP scripts were for monitoring, so that doesn't seem right. Maybe it's an op script?
KI
Kina 1 month ago
I feel like this question is similar to one we practiced where we had to prevent changes to a configuration. Could it be a commit script?
CA
Carmelina 1 month ago
I'm not entirely sure, but I remember something about event scripts being triggered by specific actions.
RE
Reena 1 month ago
I think it might be a commit script since it deals with changes being made to the configuration.
0/2000 characters

Save Cancel