exam questions

Exam CAD All Questions

View all questions & answers for the CAD exam

Exam CAD topic 1 question 159 discussion

Actual exam question from ServiceNow's CAD
Question #: 159
Topic #: 1
[All CAD Questions]

In a privately-scoped application, which methods are used for logging messages in server-side scripts? (Choose two.)

  • A. gs.logError()
  • B. gs.log()
  • C. gs.debug()
  • D. gs.info()
  • E. gs.error()
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PurushothamanD
6 days, 8 hours ago
Selected Answer: CD
CDE all are correct answers. GlideSystem debugging methods: gs.info(), gs.error(), gs.warn(), gs.debug() and gs.log() Also the below sends debuding information to the top of the form 1. gs.addInfoMessage() 2. gs.addErrorMessage() FYI: gs.log() is only used in global scope and cannot be used for a privately scoped application.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago