JN0-224 practice question 9 of 15
Which Junos configuration database is updated by PyEZ by default?
Full set: 66 questionsThe Junos PyEZ Config utility is the primary tool for managing device configurations. By default, it operates in private edit mode. When a configuration session is initiated, PyEZ creates a private copy of the candidate configuration. This allows an automation script to load, modify, and commit changes without interfering with other users or automation processes that might be simultaneously editing the shared candidate configuration. This behavior provides a safe and isolated environment for programmatic configuration changes, preventing potential conflicts.
A. shared: This is the default configuration mode for interactive CLI users, not for PyEZ. Using this mode in automation could lead to conflicts with other users.
B. dynamic: The dynamic database is used for transient configuration information, such as that provided by DHCP, and is not the default target for user-initiated configuration changes.
D. ephemeral: The ephemeral database is a powerful feature for automation but is not the default. It must be explicitly specified to be used by PyEZ for configuration updates.
1. Juniper Networks TechLibrary, Junos PyEZ APIs, jnpr.junos.utils.config Module.
Reference: In the documentation for the Config class constructor (init), the mode parameter is described as: "The configuration mode. The supported modes are 'private', 'exclusive', 'batch', and 'dynamic'. The default is 'private'."
2. Juniper Networks TechLibrary, Using the Junos PyEZ Configuration Utility.
Reference: Under the section "Lock the Configuration," the documentation states: "By default, the Config utility uses private edit mode when it locks the configuration." This explicitly confirms the default behavior.
Keep practicing
Take the free JN0-224 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JN0-224 practice questions
- Question 1You want to use a Python package or module. In this scenario, which statement would accom…
- Question 2Which two data structures are used in JSON? (Choose two.)
- Question 3You are asked to use the REST API to retrieve interface configuration information from yo…
- Question 4Which two statements are valid regarding Junos automation? (Choose two.)
- Question 5Which data construct is used to guarantee that element names and data values remain uniqu…
- Question 6Which statement is correct about DevOps?
