Do you know that you can access more real exam questions via Premium Access? ()
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.
Which process is responsible for XML automation requests?
Answer : B
The mgd (Management Daemon) process in Junos is responsible for handling XML automation requests. This daemon manages the configuration and operational commands received via NETCONF, which uses XML for data exchange. The mgd process parses the XML data and applies the necessary configuration or retrieves the requested information.
Option B is correct because mgd is the process that handles XML-based requests in Junos.
Options A (jsrpd), C (rpd), and D (jsd) are incorrect because they are responsible for different functions, such as routing protocols and services, not XML automation.
Supporting Reference:
Juniper Networks Management Daemon (mgd) Documentation: Provides an overview of the responsibilities of the mgd process, including handling XML requests.
Which Junos configuration database is updated by PyEZ by default?
Answer : C
An event script is used to automate responses to system events in Junos, such as an interface going down. These scripts are triggered automatically when a specified event occurs, making them suitable for tasks like monitoring interface status and executing actions when the status changes.
Option B (event) is correct because event scripts are designed for reacting to system events like an interface going down.
Option A (commit) is used for configuration changes, Option C (operation) is used for operational tasks, and Option D (SNMP) is not applicable in this context.
Supporting Reference:
Juniper Networks Event Scripts Documentation: Details how event scripts are used to automate responses to specific system events in Junos
You are asked to write an on-box script that will be triggered when a specific interface on a Junos device goes down.
Which type of on-box script should you use to accomplish this task?
Answer : B
An event script is used to automate responses to system events in Junos, such as an interface going down. These scripts are triggered automatically when a specified event occurs, making them suitable for tasks like monitoring interface status and executing actions when the status changes.
Option B (event) is correct because event scripts are designed for reacting to system events like an interface going down.
Option A (commit) is used for configuration changes, Option C (operation) is used for operational tasks, and Option D (SNMP) is not applicable in this context.
Supporting Reference:
Juniper Networks Event Scripts Documentation: Details how event scripts are used to automate responses to specific system events in Junos
What are two Junos PyEZ configuration object methods? (Choose two.)
Answer : C, D
In Junos PyEZ, the Config object provides various methods for interacting with device configurations. Two of the key methods are:
lock(): This method locks the candidate configuration database to prevent other users or processes from making changes while you are modifying the configuration.
config(): This method is used to create a Config object that represents the configuration database, allowing you to load, modify, and commit configuration changes.
Option C (lock) and Option D (config) are correct because they are valid methods provided by the PyEZ Config object.
Option A (commie) and Option B (device) are incorrect as they are not methods of the Config object.
Supporting Reference:
Junos PyEZ Documentation: Details the methods available in the Config object, including lock() and config().