Juniper Automation and DevOps, Associate JN0-224 Exam Questions

Page: 1 / 14
Total 66 questions
Question 1

What is the default port for NETCONF connections over SSH?



Answer : C

https://www.juniper.net/documentation/us/en/software/junos/netconf/topics/topic-map/netconf-ssh-connection.html

The IANA-assigned port for NETCONF-over-SSH sessions is 830.


Question 2

Using the set rest control configuration command, what are two ways to control access to the REST API running on a Junos device? (Choose two.)



Answer : C, D

When using the set rest control configuration command on a Junos device, you have several options to control access to the REST API. Two effective methods include:

Limiting the number of simultaneous connections: This ensures that the REST API is not overwhelmed by too many concurrent requests, which could potentially lead to performance issues or denial of service.

Limiting access to certain source IP addresses: This method restricts API access to specific IP addresses, enhancing security by ensuring that only trusted sources can interact with the REST API.

Option A (Limit management access to only SSH) is unrelated to controlling REST API access specifically.

Option B (Limit management access to specific users) might be relevant in a different context, but it is not directly tied to REST API control via the specific command mentioned.

Supporting Reference:

Juniper Networks REST API Documentation: This documentation explains how to configure and control access to the REST API on Junos devices, including connection limits and IP-based access control.


Question 3

Which type of on-box automation script is designed to run every time a user executes a configuration change?



Answer : C

In Junos OS, a commit script is an on-box automation script that runs every time a configuration change is committed. Commit scripts are used to enforce configuration policies, validate configuration changes, or make automatic adjustments to configurations when certain conditions are met.

Commit Script (C): Executes automatically during the commit process, ensuring that the new configuration adheres to specific rules or conventions before it is applied to the system.

Event, SNMP, and operation scripts are used for other purposes in Junos automation but do not run automatically with every configuration change.


Junos OS Automation Scripts Guide: Provides details on different types of scripts, including commit scripts, and their use cases.

Juniper Networks Documentation: Offers examples and best practices for creating and using commit scripts.

Question 4

Which two processes are used by Junos automation? (Choose two.)



Answer : B, D

Junos automation relies on several key processes to handle various automation and API interactions. Let's break down the two key processes involved:

jsd (Junos Script Daemon): The jsd process is responsible for handling automation scripts, including Python and SLAX scripts, as well as handling JET (Junos Extension Toolkit) API requests. This process is fundamental in the automation framework of Junos, as it deals with external and internal API requests, ensuring that the necessary scripts are executed when specific triggers or events occur.

kmd (Key Management Daemon): The kmd process is involved in key management for IPsec and other security services. While its primary function is related to managing cryptographic keys, it plays a role in Junos automation by enabling secure communication and ensuring that automation tasks involving security services (such as automated IPsec tunnel creation) are handled securely.

Why the Other Options Are Incorrect:

A . mod: This process doesn't exist as part of the Junos automation framework. It's likely a distractor.

C . ifd: The ifd process is associated with the physical interfaces on the device and does not play a role in automation or script processing.

Reference from Juniper Documentation:

Junos Automation Processes


Question 5

Which two statements are correct about a Python list data type? (Choose two.)



Answer : A, B

Python lists have the following characteristics:

Modifiable Data (A): Lists are mutable, meaning you can change, add, or remove elements after the list has been created.

Sequenced and Indexed (B): Lists maintain the order of their elements and are indexed starting from 0. This means you can access elements by their position in the list.

Option C is incorrect because lists are mutable, allowing modifications. Option D is incorrect because lists are indeed sequenced and indexed, unlike dictionaries.


Python Official Documentation: Covers the properties of lists, including mutability and indexing.

Python Data Structures Guide: Explains list operations and how to manipulate them.

Question 6

Which two statements about NETCONF are correct? (Choose two.)



Answer : B, D

NETCONF (Network Configuration Protocol) is used for network device management and can operate over SSH. The following are true about NETCONF:

Default Port 830 (B): By default, NETCONF uses port 830 for communication over SSH. This is the standard port reserved for NETCONF sessions.

Use of Default SSH Port (D): NETCONF can also operate over the standard SSH port (port 22) if configured to do so. This allows flexibility in network management scenarios where port 830 might not be available or used.

Options A and C are incorrect because they refer to incorrect or non-applicable port numbers for NETCONF.


IETF RFC 6241: Specifies the use of NETCONF over SSH, including port details.

Juniper Networks NETCONF Documentation: Discusses the configuration and operation of NETCONF on Junos devices, including port usage.

Question 7

Which Junos API supports direct modification of the Ephemeral database?



Answer : A

In Junos, the JET (Junos Extension Toolkit) API supports direct modification of the Ephemeral database. The Ephemeral database is a temporary configuration database used in Junos OS, allowing for changes that do not persist after a reboot unless explicitly committed to the permanent configuration.

JET API: Allows for high-performance interactions with Junos, including the ability to make changes to the Ephemeral database, which is useful for temporary configurations, dynamic policies, and other operational tasks.

Other options like WebSocket, SOAP, and REST do not provide direct access to the Ephemeral database in Junos.


Juniper Networks JET Documentation: Details how JET API interacts with the Ephemeral database.

Junos Automation and DevOps Documentation: Discusses the use of JET for automation and dynamic configuration.

Page:    1 / 14   
Total 66 questions