Cisco ENCOR Cisco ENCOR 350-401 MCQ 5 — Questions and Answers
Question 1: Which Ansible module is used to run commands on Cisco IOS devices and capture the output?
- cisco.ios.ios_config
- cisco.ios.ios_command (Correct answer)
- cisco.ios.ios_facts
- cisco.ios.ios_ping
Correct answer: cisco.ios.ios_command
The `cisco.ios.ios_command` module executes arbitrary show or exec commands on IOS devices and returns the output as a variable.
Question 2: What is the primary difference between HSRP and VRRP for first-hop redundancy?
- HSRP is an open standard; VRRP is Cisco proprietary
- VRRP is an open standard (RFC 5798); HSRP is Cisco proprietary (Correct answer)
- HSRP supports IPv6; VRRP does not
- VRRP uses UDP; HSRP uses TCP
Correct answer: VRRP is an open standard (RFC 5798); HSRP is Cisco proprietary
VRRP (Virtual Router Redundancy Protocol) is an open IETF standard defined in RFC 5798, while HSRP (Hot Standby Router Protocol) is a Cisco-proprietary protocol.
Question 3: Which type of Cisco DNA Center intent API allows you to retrieve the list of all network devices in the fabric?
- Site Hierarchy API
- Network Device API (Correct answer)
- Path Trace API
- Tag API
Correct answer: Network Device API
The Network Device API (`/dna/intent/api/v1/network-device`) returns inventory information for all devices managed by Cisco DNA Center.
Question 4: In QoS, what does DSCP EF (Expedited Forwarding) value 46 ensure for voice traffic?
- Best-effort delivery with no queue priority
- Low latency, low jitter, guaranteed bandwidth delivery (Correct answer)
- Encrypted forwarding through IPsec tunnels
- Weighted Random Early Detection drop behavior
Correct answer: Low latency, low jitter, guaranteed bandwidth delivery
DSCP EF (value 46) marks voice bearer traffic to receive strict priority queuing, ensuring low latency, low jitter, and minimum packet loss.
Question 5: Which spanning tree enhancement prevents a non-designated port from becoming a designated port if it stops receiving BPDUs?
- PortFast
- BPDU Filter
- Loop Guard (Correct answer)
- Root Guard
Correct answer: Loop Guard
Loop Guard places a port into a loop-inconsistent blocking state if it stops receiving BPDUs, preventing it from erroneously transitioning to forwarding.
Question 6: What is the BGP best-path selection criterion immediately following 'Highest Weight'?
- Highest LOCAL_PREF (Correct answer)
- Lowest AS_PATH length
- Lowest MED
- Prefer eBGP over iBGP
Correct answer: Highest LOCAL_PREF
After Highest Weight (Cisco proprietary, local to router), BGP selects the path with the Highest LOCAL_PREF, which is shared across the local AS.
Question 7: Which YANG data modeling statement defines the actual configuration or operational data leaf nodes with a specific data type?
- container
- list
- leaf (Correct answer)
- module
Correct answer: leaf
A YANG `leaf` statement defines a single data node with a specific type (string, integer, boolean, etc.), holding one value in the configuration or state tree.
Which Ansible module is used to run commands on Cisco IOS devices and capture the output?