JN0-223 practice question 12 of 15
Which two programming languages are used for Junos on-box scripting? (Choose two.)
Full set: 66 questionsJunos OS provides a native, on-box scripting framework to automate operational and configuration tasks. The two primary languages supported for this framework are Extensible Stylesheet Language Transformations (XSLT) and Style Sheet Language Alternative Syntax (SLAX). XSLT is a W3C standard for transforming XML data, which is the native format for the Junos OS configuration and operational state. SLAX is a Juniper-developed language that provides a simpler, more intuitive syntax for writing automation scripts while still being processed as XSLT. These languages are used to create op, commit, event, and SNMP scripts that run directly on the device.
A. Perl: Perl is not a supported language for the native Junos on-box scripting framework (op, commit, event scripts). It is commonly used for off-box automation.
B. Ruby: Ruby is not supported for creating native on-box automation scripts in Junos OS. It is typically used for developing off-box applications that interact with a device.
1. Juniper Networks TechLibrary
Junos OS Automation Scripting User Guide
"Automation Scripting Overview."
This document states
"Junos OS automation scripts are written in Extensible Stylesheet Language Transformations (XSLT)
Style Sheet Language Alternative Syntax (SLAX)
or Python." This directly confirms that XSLT and SLAX are supported languages for on-box scripting.
2. Juniper Networks TechLibrary
Understanding the Junos OS Scripting Languages
"Summary."
This section explicitly mentions
"You can author automation scripts in Extensible Stylesheet Language Transformations (XSLT)
Style Sheet Language Alternative Syntax (SLAX)
or Python. XSLT is a W3C standard for XML transformations. SLAX is an alternative syntax for XSLT that was developed by Juniper Networks." This reference validates both correct answers and provides context for their use.
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?
