CCNA Plan

CCNA practice question: Automation and Programmability

Automation and ProgrammabilityDifficulty 2/5

Given {"vlans":[{"id":10,"name":"Sales"},{"id":20,"name":"Eng"}]}, what is the value of vlans[1].name?

  1. AEng
  2. B20
  3. CThe expression is invalid because vlans is an object
  4. DSales
Show answer and rationale

Correct: A. 'vlans' is an array (square brackets) of two objects. Arrays are zero-indexed, so vlans[1] is the second object and its 'name' is "Eng".

  • D — That is vlans[0].name.
  • B — 20 is vlans[1].id.
  • C — Square brackets denote an array, so indexing is valid.

Concept being tested

How automation affects management, controller-based vs traditional networking, SDN architectures (overlay/underlay/fabric), Cisco DNA Center, REST APIs, Ansible/Terraform, JSON, generative AI concepts. — 10% of the exam. Study guide for Automation and Programmability.

Related questions

Practice this topic

Blueprint-mapped questions with full rationales for every choice.

Start practice

Primary references

  1. CCNA Exam v1.1 (200-301) Exam Topics — Cisco Systems · primary · retrieved 2026-09-21, verified 2026-09-21
Draft — pending editorial reviewHow we verify facts