JNCIA-DevOps Python And PyEZ Practice Question
Which TWO methods or attributes are valid when using the PyEZ SW utility to manage Junos software? (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
✓
sw.install(remote_path='/var/tmp/image.tgz')
SW utility methods include install, upgrade, and checking device readiness.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
sw.install(remote_path='/var/tmp/image.tgz')
Why this is correct
Correct. install is a valid SW method.
- ✓
sw.upgrade(package='junos-install-srx-x86-64-20.4R1.3.tgz', reboot=True)
Why this is correct
Correct. The upgrade method installs a package and can trigger a reboot.
- ✗
sw.rollback_software()
Why it's wrong here
Incorrect. Software rollbacks are handled via different parameters or CLI commands.
- ✗
sw.get_os_facts()
Why it's wrong here
Incorrect. OS facts are retrieved via Device facts.
- ✗
sw.commit_os()
Why it's wrong here
Incorrect. commit_os is not a valid method.
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.