hardMultiple ChoiceObjective-mapped
CCNP Practice Question: An engineer creates an Ansible playbook to…
An engineer creates an Ansible playbook to configure model-driven telemetry on a Cisco IOS-XE device:
```yaml --- - name: Configure MDT subscription hosts: ios_xe gather_facts: no tasks: - name: Configure telemetry receiver cisco.ios.ios_config: lines: - telemetry ietf subscription 101 - receiver ip address 10.10.10.10 port 57500 protocol grpc-tcp - encoding encode-kvgpb - filter xpath /interfaces/interface/state/counters - update-policy periodic 5000 ```
What is the problem with this playbook?
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
✓
The playbook is missing the 'source-address' command under the receiver.
The telemetry subscription configuration is missing the 'source-address' command under the receiver. Without specifying a source IP, the device may not send telemetry data if the management interface is not the correct source. Additionally, the 'update-policy' command should be 'update-policy periodic 5000' but the correct syntax is 'update-policy periodic 5000' under the subscription, not under the receiver. However, the most critical issue is that the 'telemetry ietf subscription' configuration requires a 'source-address' to specify the source IP for the telemetry stream.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The playbook is missing the 'source-address' command under the receiver.
Why this is correct
The receiver must include a source-address to specify the IP address from which telemetry data is sent.
- ✗
The 'encoding encode-kvgpb' should be 'encoding encode-json'.
Why it's wrong here
KVGPB (Key-Value Google Protocol Buffers) is a valid encoding for MDT.
- ✗
The 'update-policy periodic 5000' should be 'update-policy periodic 5000 milliseconds'.
Why it's wrong here
The period is in milliseconds, so 5000 is correct.
- ✗
The 'filter xpath' path is invalid for IOS-XE.
Why it's wrong here
The XPath /interfaces/interface/state/counters is valid for OpenConfig.
About these practice questions
One of 1,175 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-401 practice question is part of Courseiva's free Cisco 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 350-401 exam.