Courseiva
Working with DatamediumMultiple ChoiceObjective-mapped

SNOW-CAD Working with Data Practice Question

A data source is configured to import XML files from a REST endpoint. The XML contains nested elements. To properly map the data, which transform map feature is most useful?

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

Scripted transform with GlideRecord queries.

Scripted transforms allow custom JavaScript to parse and map nested XML elements using GlideRecord or other APIs, providing full flexibility when dot-walk notation is insufficient or not supported. Option A is incorrect because field mapping with dot-walk notation may not handle complex nested structures or special cases, and the reference to 'setEngine(false)' is invalid. Option B is incorrect because adjusting XML parsing settings affects parsing but not mapping. Option C is incorrect because choice mapping is for choice fields, not for nested 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.

  • Field mapping using dot-walk notation in 'Field name to map to' column.

    Why it's wrong here

    Field mapping using dot-walk notation is a basic feature but may not handle all nested XML structures without scripting; it is less flexible than scripted transforms.

  • Adjust the data source's 'XML parsing' settings.

    Why it's wrong here

    Adjusting XML parsing settings affects how the XML is parsed, not how nested elements are mapped to fields.

  • Use 'Choice mapping' to map nested values.

    Why it's wrong here

    Choice mapping is used to map values to choice lists, not for mapping nested XML elements.

  • Scripted transform with GlideRecord queries.

    Why this is correct

    Scripted transforms provide full control to parse and map nested XML elements using JavaScript, making them the most useful for complex data structures.

About these practice questions

One of 481 original SNOW-CAD 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SNOW-CAD 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 SNOW-CAD exam.