Cisco CCNP Enterprise (350-401 ENCOR) — All Questions
4 questions
Which data format is human-readable, uses indentation to denote structure, and is commonly used for Ansible playbooks and network configuration data?
- a.YAML✓
- b.A packet capture (pcap)
- c.A Cisco IOS running-config only
- d.A compiled binary blob
YAML is a human-readable data-serialization format that uses indentation to express structure and is widely used for Ansible playbooks and other configuration data. JSON and XML are also common in automation. A pcap and a compiled binary are not human-editable config formats, and running-config is device-specific CLI, not a portable data format.
Which programmatic interface uses YANG data models and typically runs over SSH to configure and retrieve state from network devices?
- a.SNMPv2c
- b.Syslog
- c.NETCONF✓
- d.ICMP
NETCONF is a network management protocol that uses YANG data models and runs over SSH, exchanging configuration and state as structured XML. RESTCONF offers a similar model over HTTP. SNMP is an older management protocol, syslog carries log messages, and ICMP is for diagnostics, none of which use YANG.
In a REST API, which HTTP method is typically used to retrieve a resource without modifying it?
- a.DELETE
- b.PUT
- c.POST
- d.GET✓
GET retrieves a representation of a resource without changing server state, making it the read operation in REST. POST typically creates a resource, PUT replaces or updates one, and DELETE removes one. Knowing these method semantics is fundamental to consuming controller and device REST APIs such as those on Cisco DNA Center.
What is the main advantage of using an SDN controller such as Cisco DNA Center to manage a network, compared with configuring each device individually via CLI?
- a.It centralizes policy and configuration, enabling consistent, programmable, and automated management at scale✓
- b.It removes the requirement for IP addressing
- c.It makes encryption unnecessary on all links
- d.It eliminates the need for any underlying network hardware
A controller-based SDN model centralizes intent, policy, and configuration and pushes it programmatically to devices through APIs, giving consistent and automated management across many devices rather than error-prone box-by-box CLI. It still relies on real hardware, IP addressing, and appropriate encryption; the gain is centralized, scalable automation.