JNCIA-DevOps Python And PyEZ Practice Question
Which TWO methods are valid for loading configuration data into the PyEZ Config utility from different sources? (Choose two)
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
✓
cu.load(text='set system hostname router1', format='set')
Config.load supports string data, file paths, and template rendering results.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
cu.load(text='set system hostname router1', format='set')
Why this is correct
Correct. Loading raw text strings with specified format is supported.
- ✗
cu.load(template_file='config.j2', engine='jinja2')
Why it's wrong here
Incorrect. Jinja2 rendering is typically performed in Python prior to passing the rendered string to cu.load(text=...).
- ✗
cu.load(database='active')
Why it's wrong here
Incorrect. Active database cannot be loaded into directly.
- ✗
cu.load(action='commit')
Why it's wrong here
Incorrect. Commit is a separate method (cu.commit()).
- ✓
cu.load(path='/path/to/config.xml', format='xml')
Why this is correct
Correct. Loading from file paths with xml format is supported.
About these practice questions
This JNCIA-DevOps question is part of Courseiva's 307-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Juniper Networks exam blueprint
This JNCIA-DevOps practice question is part of Courseiva's free Juniper Networks 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 JNCIA-DevOps exam.