Courseiva
Question 749 of 1,958
easyMultiple ChoiceObjective-mapped

350-401 Practice Question: An Ansible playbook uses the…

An Ansible playbook uses the cisco.ios.ios_telemetry module to configure a telemetry subscription:

```yaml --- - name: Configure telemetry subscription hosts: ios_xe gather_facts: no tasks: - name: Create telemetry subscription cisco.ios.ios_telemetry: state: present subscription_id: 300 receiver: ip: 10.1.1.100 port: 50051 protocol: grpc-tcp source_ip: 10.1.1.1 encoding: kvgpb filter: xpath: /interfaces/interface/state/counters update_policy: period: 10000 ```

What is the purpose of the 'state: present' parameter?

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

It ensures the subscription is present in the running configuration.

The 'state: present' parameter ensures that the telemetry subscription is created if it does not exist, or updated if it does. It is a common Ansible module parameter that idempotently manages configuration.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • It ensures the subscription is present in the running configuration.

    Why this is correct

    state: present creates or updates the subscription to match the desired state.

  • It checks if the subscription is currently active.

    Why it's wrong here

    state: present does not check activity; it ensures configuration exists.

  • It removes the subscription if it exists.

    Why it's wrong here

    That would be state: absent.

  • It displays the current subscription configuration.

    Why it's wrong here

    state: present modifies configuration, not displays it.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 18, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.