ExamGecko
Question list
Search
Search

Question 3 - JN0-223 discussion

Report
Export

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

Which type of script serves this purpose?

A.
commit script
Answers
A.
commit script
B.
event script
Answers
B.
event script
C.
op script
Answers
C.
op script
D.
SNMP script
Answers
D.
SNMP script
Suggested answer: A

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.

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.

asked 18/09/2024
Stian Godoe
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first