200-901 Understanding and Using APIs Practice Question
Which NETCONF operation is used to retrieve the entire configuration datastore from a network device?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
<get-config>
<get-config> retrieves configuration datastore. <get> retrieves state and config data. <edit-config> modifies configuration. <commit> confirms a candidate configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
<edit-config>
Why it's wrong here
<edit-config> loads configuration changes into a target datastore; it writes rather than reads. It is the right operation when modifying device configuration, whereas retrieving the entire datastore requires a read operation against the running configuration.
- ✗
<get>
Why it's wrong here
<get> retrieves state and operational data, not the configuration datastore, so it returns the wrong content. It is correct for reading interface counters or status; retrieving the full configuration requires <get-config> with the running source.
- ✓
<get-config>
Why this is correct
The <get-config> operation retrieves configuration data from a specified datastore, and with no source filter it returns the entire running configuration. Unlike <get>, which returns state and operational data, <get-config> targets configuration only, satisfying the requirement to pull the full datastore.
- ✗
<commit>
Why it's wrong here
<commit> applies a candidate configuration to the running datastore; it changes device state rather than reading it. It is the correct operation when pushing staged configuration edits into effect, not when retrieving the full configuration datastore.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 200-901 question from scratch — 975 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.