Courseiva
Python And PyEZhardMultiple SelectObjective-mapped

JNCIA-DevOps Python And PyEZ Practice Question

Which TWO of the following methods or attributes are valid ways to handle rollback operations or commit errors when using the PyEZ Config utility (cu)?

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.rollback(id=1)

cu.rollback() reverts the candidate configuration to a previous rollback index, and cu.commit(comment=...) allows committing changes with specific options. Options B and D are correct.

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.force_commit()

    Why it's wrong here

    force_commit is not a valid method; check-val or confirm flags are passed directly into commit().

  • cu.rollback(id=1)

    Why this is correct

    cu.rollback() rolls back the candidate configuration to the specified rollback index.

  • cu.undo()

    Why it's wrong here

    cu.undo() is not a valid PyEZ configuration method.

  • cu.commit(comment="Automated deployment", timeout=30)

    Why this is correct

    cu.commit accepts parameters such as comment and timeout.

  • cu.revert(rollback=0)

    Why it's wrong here

    The correct method name is rollback(), not revert().

About these practice questions

Courseiva writes every JNCIA-DevOps question from scratch — 306 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 →

How Courseiva writes practice questions · Editorial policy

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.