Courseiva
CMDB Integration And MaintenancehardMultiple ChoiceObjective-mapped

SERVICENOW-CIS-DISCOVERY CMDB Integration And Maintenance Practice Question

A pattern is failing to map a specific attribute because the command used returns multi-line output. What is the standard way to handle this in a Discovery Pattern?

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

Use a 'Parse' step with a Regular Expression (Regex) to extract the specific value.

Patterns use parsing steps (like Regex or Split) to convert multi-line output into structured attribute data.

Answer analysis

Option-by-option breakdown

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

  • Use a MID Server script file to process the output.

    Why it's wrong here

    While possible, the 'Parse' step within the pattern is the preferred, native configuration method.

  • Ignore the attribute.

    Why it's wrong here

    This does not solve the data collection requirement.

  • Change the command to only return a single line.

    Why it's wrong here

    Often the underlying CLI command cannot be modified; parsing is the correct approach.

  • Use a 'Parse' step with a Regular Expression (Regex) to extract the specific value.

    Why this is correct

    Regex is the standard tool in patterns for parsing strings, including multi-line results.

About these practice questions

One of 314 original SERVICENOW-CIS-DISCOVERY 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official ServiceNow exam blueprint

This SERVICENOW-CIS-DISCOVERY practice question is part of Courseiva's free ServiceNow 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 SERVICENOW-CIS-DISCOVERY exam.