JNCIA-DevOps Data Serialization Practice Question
An automation script reads interface names and VLAN IDs from a CSV file and converts each row into a JSON object before sending it to a Junos device REST API. Which Python module is specifically designed to parse CSV (Comma-Separated Values) files?
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
✓
csv
The Python standard library includes the 'csv' module, which provides reader and writer objects for tabular CSV data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
yaml
Why it's wrong here
Incorrect. The yaml module handles YAML data.
- ✗
json
Why it's wrong here
Incorrect. The json module handles JSON data, not CSV.
- ✗
xml
Why it's wrong here
Incorrect. The xml module handles XML trees.
- ✓
csv
Why this is correct
Correct. The csv module handles parsing and generating CSV formatted tabular data.
Visual reference
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 →
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.