Free CAD Exam Braindumps (page: 27)

Page 26 of 70

What is the best UX format to use for lists and forms?

  1. Forms
  2. Lists
  3. Standard
  4. Classic

Answer(s): D

Explanation:

there are only two types of UX options: Mobile and Classic. Classic is defined as "manage records via lists and form"



When creating a table in a privately-scoped application, which four Access Controls are created for the table?

  1. Insert, Delete, Query, Write
  2. Create, Delete, Read, Write
  3. Create, Delete, Read, Update
  4. Insert, Delete, Query, Update

Answer(s): B

Explanation:

When creating a table in a privately-scoped application, four Access Controls are automatically created for the table. These Access Controls define the permissions for the four basic operations on the table: Create, Delete, Read, and Write. The Create operation allows the user to create new records on the table. The Delete operation allows the user to delete existing records on the table. The Read operation allows the user to view the records on the table. The Write operation allows the user to modify the records on the table. By default, these Access Controls grant access to the admin role and the application scope. You can modify or delete these Access Controls as needed. The other options are not valid Access Controls for a table. Insert, Query, and Update are not operations, but methods of the GlideRecord class that are used to manipulate records on the server- side. They are not part of the Access Control rules.


Reference:

[Access Control rules]
Create a table in a scoped application
[GlideRecord methods]



Which of the following methods is NOT part of the ServiceNow REST API?

  1. COPY
  2. POST
  3. GET
  4. DELETE

Answer(s): A

Explanation:

The ServiceNow REST API is a web service that allows you to interact with the ServiceNow platform using HTTP requests and responses. The ServiceNow REST API supports the following methods:
POST: This method allows you to create a new record or execute an action on the ServiceNow platform. For example, you can use the POST method to create an incident or run a script. GET: This method allows you to retrieve information from the ServiceNow platform. For example, you can use the GET method to get the details of a user or a table. DELETE: This method allows you to delete a record or a resource from the ServiceNow platform. For example, you can use the DELETE method to delete an attachment or a workflow context. PUT: This method allows you to update a record or a resource on the ServiceNow platform. For example, you can use the PUT method to update the state of a task or the value of a system property. PATCH: This method allows you to update a record or a resource on the ServiceNow platform by sending only the changes. For example, you can use the PATCH method to update the short description of an incident or the order of a module.
The method COPY is not part of the ServiceNow REST API. There is no COPY method in the HTTP protocol. To copy a record or a resource on the ServiceNow platform, you need to use the POST

method with the clone action.


Reference:

ServiceNow REST API overview
ServiceNow REST API methods
[ServiceNow REST API actions]



Which ATF Test step allows you to create a user with specified roles and groups for the test?

  1. Create a user
  2. Create a role
  3. Create a group
  4. Impersonation

Answer(s): A

Explanation:

The Automated Test Framework (ATF) is a tool that allows you to create and run automated tests on the ServiceNow platform. The ATF uses test steps to define the actions and validations for each test. The test step that allows you to create a user with specified roles and groups for the test is the Create a user test step. This test step creates a temporary user record that is deleted at the end of the test. You can specify the user name, password, roles, and groups for the user. You can also use the Impersonate a user test step to switch to the created user and perform actions as that user. The other options are not valid test steps for creating a user. The Create a role and Create a group test steps do not exist in the ATF. To create a role or a group, you need to use the Create a record test step and specify the sys_user_role or sys_user_group table. The Impersonation test step does not create a user, but switches to an existing user.


Reference:

[Automated Test Framework overview]
[Automated Test Framework test steps]
[Create a user test step]
[Impersonate a user test step]






Post your Comments and Discuss ServiceNow® CAD exam with other Community members:

CAD Discussions & Posts