350-501 Automation and Quality of Services Practice Question
Which NETCONF operation is used to retrieve the entire running configuration from a network device?
⚠ Common exam trap
Test-takers frequently confuse `get` with `get-config`, assuming `get` retrieves only configuration, but `get` actually returns both configuration and operational state data, which can cause unexpected output or performance issues in automation scripts.
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
The NETCONF `get-config` operation is specifically designed to retrieve a configuration datastore, such as the running configuration. Unlike the `get` operation, which retrieves both configuration and state data, `get-config` targets only the configuration data, making it the precise operation for fetching the entire running configuration from a network device.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
get
Why it's wrong here
Incorrect; 'get' retrieves state and config.
- ✗
commit
Why it's wrong here
Incorrect; 'commit' applies candidate configuration.
- ✓
get-config
Why this is correct
Correct; 'get-config' retrieves configuration.
- ✗
edit-config
Why it's wrong here
Incorrect; 'edit-config' modifies configuration.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 350-501 question from scratch — 971 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 350-501 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 350-501 exam.