Courseiva
Working with DataeasyMultiple ChoiceObjective-mapped

SNOW-CAD Working with Data Practice Question

A developer needs to import user records from a CSV file. The CSV contains a field 'department' that should map to a reference field 'department' on the sys_user table. However, the CSV contains department names, not sys_ids. What is the best approach to map the department names to the correct sys_ids?

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 transform script to query the department table and set the reference field.

A transform script allows you to write custom logic to query the department table and retrieve the sys_id based on the department name from the CSV. Option A (default value) would set a static value for all records, not map dynamically. Option B (coalesce) is used for deduplication during import, not for field mapping. Option C (reference qualifier) filters the reference picker in forms but does not affect import mapping.

Answer analysis

Option-by-option breakdown

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

  • Set a default value for the department field in the transform map.

    Why it's wrong here

    Default value would apply a static value, not map to the correct record.

  • Use a coalesce field mapping on the department field.

    Why it's wrong here

    Coalesce is used for duplicate detection, not for value lookup.

  • Add a reference qualifier to the department field in the target table.

    Why it's wrong here

    Reference qualifiers filter the picker but do not transform import data.

  • Use a transform script to query the department table and set the reference field.

    Why this is correct

    This is the correct approach as it allows dynamic lookup of the sys_id.

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

Same concept, more angles

1 more way this is tested on SNOW-CAD

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Refer to the exhibit. A transform map configuration is shown. What will happen if the source data has a 'u_model_id' value that matches an existing record in the 'cmdb_ci_model' table?

easy
  • A.The transform will ignore the field because it is already mapped.
  • B.The transform will create a new model record with the given value.
  • C.The transform will automatically set the model_id reference to the existing model record.
  • D.The transform will skip the record because the model already exists.

Why C: When coalesce is set to true on a reference field like 'model_id', the transform engine uses the source value (u_model_id) to look up an existing record in the referenced table (cmdb_ci_model). If a matching record is found, the transform sets the reference field to that existing record without creating a new one. Option A is incorrect because coalesce does not ignore the field; it actively searches for a matching record. Option B is incorrect because coalesce does not create new records; it only matches existing ones. Option D is incorrect because the transform does not skip the record; it proceeds with the transformation, setting the reference to the existing model.

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.