Courseiva
Creating and customizing tables and datamediumMultiple ChoiceObjective-mapped

SNOW-CAD Creating and customizing tables and data Practice Question

Exhibit

ERROR: Invalid field name: u_extra_field at line 12 of script include 'CustomTableUtils'

A developer encounters the following error when a scheduled job executes. The job queries the 'u_my_table' table. What is the most likely cause?

⚠ Common exam trap

ServiceNow often tests the distinction between schema-related errors (deleted fields) and other error types (syntax, missing indexes, misspellings) to see if candidates understand that a field deletion directly breaks queries referencing that field, while other options cause different symptoms or no error at all.

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

The field u_extra_field was recently deleted from the table.

The error occurs because the scheduled job references the field 'u_extra_field' in its query against the 'u_my_table' table. When that field is deleted from the table definition, any script or job that attempts to read or write to that field will fail with a 'column not found' or similar database error. This is the most direct cause among the options, as the job was previously working and the error appeared after a schema change.

Answer analysis

Option-by-option breakdown

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

  • The field u_extra_field was recently deleted from the table.

    Why this is correct

    Correct: The error says 'Invalid field name', meaning the field is not found in the table. Deletion is the most likely cause.

  • The table name is misspelled in the script.

    Why it's wrong here

    A misspelled table name would result in a 'Table does not exist' error, not an invalid field name error.

  • The script include has a syntax error.

    Why it's wrong here

    A syntax error would typically produce a different error message, not specifically 'Invalid field name'.

  • The field u_extra_field exists but is not indexed.

    Why it's wrong here

    If the field existed, even without an index, the script would not throw an invalid field name error.

About these practice questions

This SNOW-CAD question is part of Courseiva's 481-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 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.