NETCONF Candidate Datastore Purpose and Function

300-435 By islever Editorial Last updated

Short answer

A The NETCONF candidate datastore is used for staging configuration changes before committing them to the running configuration.

Question

What is NETCONF 'candidate' datastore used for?
  1. Staging config changes before commit Correct Answer
  2. Running config
  3. Startup config
  4. Backup

Key Takeaways

The NETCONF candidate datastore is specifically designed for staging configuration changes prior to commitment. Option A correctly identifies this function, distinguishing it from the running or startup datastores. This mechanism ensures transactional integrity and safe configuration management.

Expert Analysis

The NETCONF 'candidate' datastore is fundamentally designed for staging configuration changes before they are committed to the active running state, making Option A the correct answer. This mechanism provides a transactional safety net that distinguishes NETCONF from traditional CLI-based management where changes apply immediately and irreversibly without an explicit commit step.

Distinction Between Candidate and Running Datastores in NETCONF

NETCONF defines several standard datastores: running, candidate, startup, and config. The running datastore holds the currently active configuration applied by the device. The candidate datastore serves as a temporary workspace where administrators can construct, modify, or validate configuration sets without affecting live operations. This separation allows for atomic updates; until a commit operation is executed, the candidate store is isolated from the running state. In contrast, options such as B (Running config) represent the live state, C (Startup config) represents the persistent boot-time configuration, and D (Backup) refers to arbitrary copies stored externally or in non-standard locations. Confusing these stores leads to operational errors, such as applying untested changes directly to production or failing to understand why modifications vanish if not committed. The candidate store is not merely a backup; it is a functional part of the configuration lifecycle that enables rollback and validation before activation.

Decisive Condition: Transactional Integrity Requires Staging

The decisive condition in this scenario is the requirement for transactional integrity during configuration management. When using NETCONF, any change made to the candidate datastore remains invisible to the system's control plane until explicitly committed. This ensures that complex multi-step configurations are either fully applied or fully rejected, preventing partial states that could cause network instability. If a change were applied directly to the running datastore (Option B), it would take effect immediately, bypassing the safety checks inherent in the candidate workflow. Similarly, writing to the startup datastore (Option C) only affects future boots, not current behavior. Therefore, the action of staging changes in the candidate store is the only method that aligns with NETCONF’s design philosophy of safe, verified, and atomic configuration updates. This makes Option A the necessary choice for any workflow prioritizing reliability over immediacy.

Cost of Incorrect Options in This Context

Selecting Option B (Running config) incurs the cost of immediate, irreversible impact on network operations, eliminating the ability to test changes safely. Choosing Option C (Startup config) breaks the expectation of real-time configuration application, as changes there do not affect the running system until a reboot occurs. Opting for Option D (Backup) misinterprets the structured nature of NETCONF datastores, treating the candidate store as a passive archive rather than an active staging area. Each incorrect option fails to recognize the dynamic, transactional role of the candidate datastore, leading to misunderstandings about how configuration changes propagate and are validated within the NETCONF protocol framework.

Vendor Behavior and RFC6437 Specification

The behavior of the candidate datastore is documented in RFC 6437, which specifies the Network Configuration Protocol (NETCONF) Candidate Configuration Commit feature. This standard mandates that implementations supporting candidate configuration must allow users to edit the candidate datastore independently of the running datastore. Only upon successful validation and explicit commit does the candidate content replace the running configuration. This rule ensures consistency and prevents configuration drift caused by incomplete or erroneous edits. Understanding this vendor-neutral specification is critical for exam success, as it applies across all NETCONF-compliant devices regardless of manufacturer. The candidate store is thus a standardized mechanism for safe configuration management, not a proprietary or optional feature.

Official Reference

https://www.rfc-editor.org/rfc/rfc6241.html

This link opens the official vendor documentation in a new tab.

Exam Strategy

When encountering NETCONF questions, always distinguish between the four standard datastores: running, candidate, startup, and config. Remember that candidate is strictly for staging and validation before commit, while running reflects the live state. Use this mental model to eliminate options that suggest immediate application (running) or persistence-only behavior (startup). Focus on the transactional nature of NETCONF to identify the correct datastore for each operational scenario.

Practice All 300-435 Questions

Access 150 questions with complete answers and detailed explanations.

View Full 300-435 Practice Test →

← Back to 300-435 Study Guide