Courseiva
Data SerializationhardMultiple SelectObjective-mapped

JNCIA-DevOps Data Serialization Practice Question

When serializing Python data structures to JSON for Junos automation payloads, which THREE parameters can be passed to json.dumps() to control formatting and readability? (Choose three)

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

separators

Parameters like indent, sort_keys, and separators are standard formatting arguments for json.dumps().

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • max_depth

    Why it's wrong here

    Incorrect. max_depth is not a parameter for json.dumps().

  • separators

    Why this is correct

    Correct. separators allows customizing item and key-value token dividers (e.g., removing whitespace).

  • sort_keys

    Why this is correct

    Correct. sort_keys orders dictionary keys alphabetically.

  • strict_mode

    Why it's wrong here

    Incorrect. strict_mode does not exist in the json module.

  • indent

    Why this is correct

    Correct. indent controls pretty-print spacing.

About these practice questions

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