Courseiva
IngestmediumMultiple ChoiceObjective-mapped

CIS-DF Ingest Practice Question

A team is building a custom REST API integration that accepts incoming configuration items. They decide to use the Scripted REST API feature. Within the script of the REST resource, how should they invoke the IRE to process the incoming JSON body correctly?

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 `sn_cmdb.IdentificationEngine.createOrUpdateCI(discoverySource, payload)` within the script.

Scripted REST APIs can invoke the IRE using the `JSONUtil` or `sn_cmdb.IdentificationEngine` script includes.

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 `sn_cmdb.IdentificationEngine.createOrUpdateCI(discoverySource, payload)` within the script.

    Why this is correct

    The `sn_cmdb.IdentificationEngine` or equivalent SNC script include provides methods to pass payloads and discovery sources directly into the IRE.

  • Use the Import Set Web Service table API directly.

    Why it's wrong here

    While import set web services exist, invoking the IRE via script provides direct programmatic control over payload processing without staging table overhead.

  • Instantiate a GlideRecord on `cmdb_ci` and call `.insert()` for each item in the JSON body.

    Why it's wrong here

    Direct `GlideRecord.insert()` bypasses the IRE and should be avoided for integrations.

  • Call `current.update()` after mapping the JSON properties to the request object.

    Why it's wrong here

    `current.update()` is specific to business rules and record forms, not REST script inbound processing.

About these practice questions

This CIS-DF question is part of Courseiva's 320-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 CIS-DF 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 CIS-DF exam.