ServiceNow Certified Application Developer Sample Questions

Servicenow Certified Application Developer Sample Questions

Explanation: The onLoad() method is called when a form is loaded in the ServiceNow platform. It is used to initialize data and set default values for fields on the form.

What is the best practice for securing client-side code in ServiceNow?

Answer: A

Explanation: ServiceNow provides the UI script record as a best practice for storing client-side scripts. UI script records provide version control, security, and reusability. The code stored in a UI script record can be referenced by multiple forms and UI pages.

How can you access server-side data from a client-side script in ServiceNow?

Answer: A

Explanation: The GlideAjax class is used to make asynchronous server-side calls from client-side scripts in ServiceNow. This allows you to retrieve data from the server and update the form without a full page refresh.

What is the purpose of the ‘g_scratchpad’ object in ServiceNow?

Answer: A

Explanation: The g_scratchpad object is used to store temporary data in a client-side script. This data is stored in memory and is not saved to the database. The g_scratchpad object is useful for storing intermediate values or data that is not needed after the form is closed.

What is the difference between a UI action and a UI policy in ServiceNow?

Answer: A

Explanation: UI policies in ServiceNow are used to control the behavior of fields on a form, such as hiding or showing fields based on certain conditions, enforcing data validation, and updating field values. UI actions are used to perform specific functions or processes on the form, such as submitting a form, creating a new record, or redirecting the user to another page.

What is the difference between a UI page and a UI macro in ServiceNow?

Answer: A

Explanation: UI pages in ServiceNow are full-page interfaces that can be used to display data from a single record or to create custom forms. UI macros are reusable snippets of HTML and JavaScript code that can be embedded within a UI page or form to add functionality or display data.

What is the purpose of the ‘gs.include’ method in ServiceNow?

Answer: A

Explanation: The gs.include method is used to include a JavaScript file in a UI page in ServiceNow. This allows you to reuse code and maintain a centralized library of scripts that can be referenced by multiple UI pages or forms.

What is the difference between a client script and a UI policy in ServiceNow?

Answer: C

Explanation: Client scripts in ServiceNow are executed on the client-side and are used to update the form and perform various calculations or manipulations on the form data. UI policies are used to enforce business rules and control the behavior of fields on the form, such as hiding or showing fields, enforcing data validation, and updating field values.

What is the difference between a Business Rule and a Client Script in ServiceNow?

Answer: A

Explanation: Business Rules in ServiceNow are executed on the server-side and are used to automate processes and enforce business rules on the server. They can perform complex calculations and update field values. Client Scripts, on the other hand, are executed on the client-side and are used to update the form, perform simple calculations, and interact with the server.

What is the difference between a Workflow and a Business Rule in ServiceNow?

Answer: A

Explanation: Workflows in ServiceNow are used to automate processes and define a series of actions that are triggered by events. Business Rules, on the other hand, are used to enforce business rules on the server and perform complex calculations and updates to field values.

Basic Sample Questions

Question 1 – Which statement below is true about the Form Designer?

Correct Answer: D

Question 2 – Which of the following are configured in an Email Notification?

Correct Answer: A

Question 3 – Scripts, reports, and other application artifacts that will appear in a published application include:

Correct Answer: B

Question 4 – Which is NOT a debugging strategy for client-side scripts?

Correct Answer: D

Question 5 – If the Can read configuration field is not selected, which Application Access configuration fields are not available?

Correct Answer: A

Question 6 – What is NOT a trigger type in Flow Designer?

Correct Answer: A

Question 7 – During the creation of a new application file within a scoped application, cross scope access is enabled by default?

Correct Answer: B

Question 8 – Which of the following is NOT true of the Weight field in an Email Notification?

Correct Answer: B

Question 9 – To which object does the Display Business Rule NOT have access to?

Correct Answer: A

Question 10 – Which of the below-mentioned features are available to Global applications? (Choose two.)

Correct Answer: CD

Question 11 – Which is NOT a UI Action type?

Correct Answer: D

Question 12 – In Flow Designer, which of the following is not supported?

Correct Answer: B

Question 13 – Which of the following statements about ServiceNow reports is true? (Choose three.)

Correct Answer: ABD

Question 14 – Modules must compulsorily have a Link type. Which one of the given lists is of Link types?

Correct Answer: B

Question 15 – If the Allow configuration Application Access option is selected for a table, which of the following is true?

Correct Answer: C

Question 16 – As you work in the Form Designer, changing the label of a field changes the label of which table(s)?

Correct Answer: B

Question 17 – When creating a Utils Script Include, there is a basic strategy to follow. Which of the given steps does not belong.

Correct Answer: A

Question 18 – Is it possible to import applications from source control or link an application to source control with the help of a particular role? (Choose two.)

Correct Answer: AC

Question 19 – How can the properties of an event that triggers an Email Notification be referenced in the content of the Email Notification?

Correct Answer: C

Question 20 – In the case of a Script Include with a Protection Policy value of Protected, which of the following is true?

Correct Answer: B