WITH PRACTICE EXAM QUESTIONS
WITH CORRECT ANSWERS LATEST
UPDATE
Which of the following is a strategy for debugging Client Scripts or UI Policies? More than
one response may be correct.
a) Browser's Developer Console
b) Debug UI Policies module
c) JavaScript try/catch
d) JavaScript Log and jslog()
e) Field Watcher --CORRECT ANSWER--All of the above
Do UI Policies execute UI Policy scripts only when the Condition field evaluates to true?
Explain your reasoning. --CORRECT ANSWER--If the Reverse if false option is selected, UI
Policies execute the Execute if false script when the Condition field evaluates to false.
Which of these classes are part of the ServiceNow server-side API? More than one response
may be correct.
a) GlideSystem (gs)
b) GlideUser (g_user)
c) GlideDateTime
d) GlideDate
Page 1 of 84
,e) GlideForm (g_form) --CORRECT ANSWER--a) GlideSystem (gs)
c) GlideDateTime
d) GlideDate
Which one of the following describes when before Business Rules execute their script logic?
a) Before a form loads
b) After a form loads but before control is given to the user
c) Before onChange Client Scripts
d) Before Business Rule Actions
e) Before records are written to the database --CORRECT ANSWER--e) Before records are
written to the database
What is the difference between an after Business Rule and an async Business Rule? --
CORRECT ANSWER--Both after and async Business Rules execute their script logic after
records are written to the database. after Business Rules execute their logic immediately after
a record is written to the database. async Business Rules create scheduled jobs that run soon
after a record is written to the database.
Which of the following are NOT methods from the GlideRecord API? More than one
response may be correct.
a) addQuery()
b) addEncodedQuery()
c) addOrQuery()
d) addAndQuery()
e) query() --CORRECT ANSWER--c) addOrQuery()
d) addAndQuery()
Page 2 of 84
,Which of the following are NOT true about the current object? More than one response may
be correct.
a) The current object is automatically instantiated.
b) The current object property values never change after a record is loaded from the database.
c) The current and previous objects are always identical.
d) The current and previous objects are sometimes identical.
e) The properties of the current object are the same for all Business Rules. --CORRECT
ANSWER--b) The current object property values never change after a record is loaded from
the database.
c) The current and previous objects are always identical.
e) The properties of the current object are the same for all Business Rules.
What value does a Business Rule Condition field return if the field is empty?
a) True
b) False
c) Neither
d) Both
e) NULL --CORRECT ANSWER--a) True
The dot-walking syntax is: --CORRECT ANSWER--
<object>.<related_object>.<field_name>
Which of these classes are part of the ServiceNow client-side API. More than one may be
correct.
Page 3 of 84
, a) GlideSystem (gs)
b) GlideUser (g_user)
c) GlideDateTime
d) GlideDate
e) GlideForm (g_form) --CORRECT ANSWER--b) GlideUser (g_user)
e) GlideForm (g_form)
When do onSubmit Client Scripts execute their script logic? More than one response may be
correct.
a) When a user clicks the Submit button.
b) When a user clicks the Delete button.
c) When a user clicks the Update button.
d) When a user clicks the Save menu item in the Additional Actions menu.
e) When a user clicks the Lookup button on a reference field. --CORRECT ANSWER--a)
When a user clicks the Submit button.
c) When a user clicks the Update button.
d) When a user clicks the Save menu item in the Additional Actions menu.
True or False? A single Client Script can execute its script logic when a user loads a record
into a form AND when a user saves/submits/updates a form. --CORRECT ANSWER--False
True or False? A single Client Script can execute its script logic when a user loads a record
into a form AND when a user changes a value in a field. --CORRECT ANSWER--True
Page 4 of 84