Manage Data Flashcards
On what database is ServiceNow built?
Relational database
What includes the ServiceNow Infrastructure?
- Tables
- Records
- Fields
What provides a friendly interface for managing tables, records and forms?
Lists and Forms
What is a Schema Map?
It provides a graphical representation of the relationships between tables
What provides a list of all tables in the database?
Tables module
What is a table?
A collection of records in the database
To what corresponds a field in a table?
A column
A row corresponds to what in a table?
A record
Records are identified by:
32-characted, globally unique ID called sys_id
Each field has three key attributes:
- Label (user-friendly)
- Name (system-friendly)
- Value (actual data)
Reference fields can be indentyfied with:
The reference lookup icon and open a dialog box
In what ways can tables be related to each other?
- One-to-Many
- Many-to-Many
- Database Views
- Extenstions
One-to-Many relationship fields are for example:
- Reference Fields
- Glide List
- Document ID fields
Many-to-Many is where:
Two or more tables are related in a bi-directional relationship
Database Views defines:
Table joins for reporting purposes. For example the Incident table to the Metric Definition and Metric Instance tables
Extensions means:
that the extended tables include unique fields PLUS all fields and properties inherited from the parent table
Tables can extent other tables creating:
Parent and child tables (class)
What is a common example of a parent and child table?
Task (parent) and incident (child)
Dictionary overrides feature allows:
the ability to define a field on an extended table (child) differently from the field on the parent table. For example default data, field dependencies, read-only status of a field.
How do you call a parent class (table) that is not an extension of another table?
A base table (base class)
What is an example of a base class (table)?
The Task table
What is a Core Table (class)?
A core table exists in the ServiceNow base system. It comes WITH the system, but can be an extension of another table
What makes a base table different from a core table?
The base table is NOT an extension of another table, it has NO parent.
How can you classify the Task table as?
- Base table
- Core table
- Parent Table
Tables that exists in the base system are called?
Core tables
Tables created by admins or developers are called:
Custom tables
Can custom tables interact with core tables?
Yes
How is a custom table pre-fixed if built in scoped application?
“x_” with a namespace identifier
How are custom tables prefixed in the global application?
“u_”
What does a Schema Map?
It provides a graphical representation of another tables related to a specific table
The Schema Map is available to users with:
personalize_dictionary or admin roles
In a Schema Map, relationships can be filtered by:
- Extensions
- Reference classes
Tables with blue bars are tables that:
extend the table in a Schema Map
Tables with a red bar are tables that:
are referenced by the table in a Schema Map
With the Schema Map, you can:
Identify which columns (fields) originate from the viewed table and which are inherited from their parent table
In a Schema Map, the Tables window provides:
A summary of all tables presented, and their relationships
There are several levels of security before an user can perform CRUD (Create, Read, Update, Delete) operations on a table:
- User Authentication/Login: Users, groups and roles
- Application and Modules access
- Database access
Three security modules used typically by an Admin:
- All > System Properties > Security
- All > System Security > ACL (Access Control List)
- All > System Security > High Security Settings
What is an access control?
An access control is a security rule defined to restrict permissions of a user from viewing and interacting with data
It is executed when attempting to access any table and may be set at:
- row-level (access to record)
- column level (access to field)
Access controls restrict:
ServiceNow specific and CRUD operations
What means CRUD?
C - create
R - read
U - update (or write)
D - delete
Access Control List (ACL) contains:
an instance’s Access Control rules. To modify or create new admins must elevate their role to become security_admins
Each Access Control rule specifies:
- Valid operation (CRUD)
- Object being secured (eg. table, table AND field)
- Permissions required to access object (Roles, Conditional Expressions, Scripts)
To view Access Controls associated with a table:
- Using Filter Navigator type: <table name>.CONFIG
- Select Access Controls tab
When a custom table is created, the system:
Creates four access control rules by default (create, read, update/write, delete) and a role
What are the three Access Control rule types?
- table.–None–
- table.field
- table.*
What does the ACL rule “table.–None–” mean?
This rule applies to the whole table incl. all fields, as no specific fields were selected
What does the ACL rule “table.field” mean?
This rule applies to only one field on a record
What does the ACL rule “table.*” mean?
Wildcard - this rule applies to every field in a record without a table.field rule
When creating a Wildcard * access control, also create:
A None Access control, because only None grants access to records
When writing an ACL that mostly grants access, use:
only None rule
When writing an ACL that mostly denies access, use:
None and * Wildcard
What does the Wildcard * access control rule?
It denies access to all fields except the one that allows
Record ACL rules are processed in the following order:
- Match the object against TABLE acl rules (most specific to general),
- Match the object against FIELD acl rules (most specific to general)
What must a user pass to access a record object?
Both TABLE and FIELD access control rules
What is an Import Set?
An Import Set is a tool used to import data from various data sources and map that data into ServiceNow lables
What roles can import data sets?
admin or import_admin
What are data sources?
Data sources are records in ServiceNow that contain information regarding an Import Set data source
What sources can you import data from?
- Local (xml, csv, excel)
- Network server by providing path and authentication information
- LDPA connection (Lightweight Directory Access Protocol)
- Java Database Connectivity (JDBC) connection
What is the Import Set table?
The Import Set table is a staging area for records imported from a data source
What does a Transform Map?
A Transform Map provide a guide from moving data from Import Set tables to “target” tables in the system
What is a Transform Map?
A Transform Map is a set of field mas that determine the relationships between fields in an Import Set and fields in an existing ServiceNow table
What is a Target table?
It is an existing table where data will be placed post-transformation
When importing data, it is important to:
Not import data in extremely large chunks
Is it possible to schedule Imports?
Yes
Automatic Mapping Utility (Auto Map Matching Fields) is:
The simplest method of mapping, works when field names of Import Set match the name of fields on the Target Table
What does Mapping Assist Utility?
Provides a visually intuitive environment for specifying mapping between Import Set fields and Target table records.
What does it mean to coalesce a field (or multiple fields)?
It means that the field(s) will be used as a unique key during imports. Once a match is found using coalesce field, the existing record will be updated and not inserted as new into the database
What are the most common coalesce practices?
- Single-field coalesce
- Multi-field coalesce
- Script coalesce
Where can you coalesce fields(s)?
Im the Transform Map module > Field Maps tab > Coalesce column (true/false)
Can you clean up your Import Sets? Where?
Yes, head to All > System Import Sets > Import Set Tabes > Cleanup
What is a CMDB?
CMDB is a Configuration Management Database
What is a Configuration Management Database?
A CMDB is a series of tables and fields that contain all of the Configuration Items (CIs) controlled by your company, as well as their attributes and relationships.
Access to the CMDB tables and underlying data requires certain permissions, such as following roles:
- asset
- itil
- itil_admin
- cmdb_read
What are Configuration Items?
Configuration Items (CIs) can be tangible or intangible devices or applications in the CMDB such as firewalls, computers, email services and services.
What are CMDB key tables?
- cmdb [Base configuration]
- cmdb_ci [Configuration Item]
- cmdb_rel_ci [CI Relationship]
What provides core functionalist for the CMDB incl. modules for hardware and other configuration items?
The Configuration Application
What does CMDB provide?
A logical model of your company infrastructure by identifying, controlling, maintaining and verifying configuration items that exist.
What is a configuration item?
A configuration item is any component that needs to be managed in order to deliver services. CIs typically include services and their underlying components (business applications and hardware)
The CMDB:
Tracks CI within your platform and the relationships between those items.
What is a Configuration Management Database?
Configuration Management Database is a repository of information related to all of the components of an information system.
What is the origin of Configuration Management Database?
ITIL (Information Technology Infrastructure Library
What is the use of CMDB in ITSM?
- Incident Management
- Problem Management
- Change Management
- Request Management
CMDB Workspace is:
A central place for working with the CMDB
What entails a Configuration Item form?
- CI attributes
- Related Items tool bar
- Relationships to other CIs
- A toggle between Health Dashboard view and Form view
What may be some attributes of a Configuration Item?
- name
- version
- descriptions
- ownership etc.
For Configuration Items, you can:
easily create a new relationship rule via All > Configuration > Relationships> Suggested Relationships
What is a CI Class Manager used for?
CI Class Manager is a central location to explore CMDB class hierarchy in tree-view format, CI table definitions and class CIs (All > Configuration > Cl Class Manager)
To read Basic Info in a CI Class Manager the following role is required:
itil
To wite Basic Info in a CI Class Manager the following role is required:
itil_admin and personalize_dictionary
To edit Attributes in a CI Class Manager the following role is required:
personalize_dictionary and itil_admin
To write Attributes in a CI Class Manager the following role is required:
personalize_dictionary and itil
The CI Class Manager Attributes Tabs consists of:
- All > includes all attributes, derived or added
- Derived
- Added
To create configuration item relationships use:
CI Class Manager Suggested Relationships (via CI Relationship Editor)
Where can you find the Dependency View?
In Related Item section, selecting the Dependency View icon when viewing a Configuration Item
What is a Common Service Data Model (CSDM)?
Is a set of terms and definitions that can be used with all ServiceNow products. It can be used as a blueprint to map IT services.
What is CS - Common Service?
It is a standard and shared set of service-related definitions across SN products and platform that will enable and support true service level reporting
What is a DM - Data Model?
A Data Model is a CMDB Framework that will enable and support multiple configuration strategies
What is a Common Service Data Model (CSDM)?
- standard terms and definitions
- best practices for CMDB data modeling and data management
- out of box CMDB core tables
- guidance on service modeling
- recommended mappings
What is NOT a Common Service Data Model (CSDM)?
- not a process implementation guide
- not a set of reports
- not code to install
- not a product to buy
- not an automatic fix for past implementations
ServiceNow Discovery (a horizontal discovery):
scans the network to inventory devices and applications and updates the CMDB with results for each unique type of hardware or software
Service Mapping (top-down discovery):
augments (extends) the CMDB with IT relationships and dependencies between CIs to model the IT components that comprise a Service
Dependency View (for a Configuration Item) provides:
An interactive graphical interface to visualize relationships between configuration items.
What is the starting point of a Dependency View called?
Root CI or root node of the map (it pulses and has a darker frame)
How many levels displays a Dependency Views map?
3 levels (both upstream and downstream relationships) - # can be configured by admins
In a Dependency Views map, map indicators:
Indicate if a CI has any active, pending issues
Dependency View: Map icons include:
- Active Incident
- Active Problems
- Affected CIs for a task
Which modules can you use to create a new table?
- Tables
- Tables & Columns
Which elevated role is required to modify access control rules?
security_admin
What is a CI?
- Configuration Item
- Can be tangible (hardware, software) or intangible (email, services)
A parent class that is not an extension of another table is called?
A base table
In what order are access control rules evaluated?
- Table level (most specific to general)
- Field-level (most specific to general)
What are the three key CMDB tables?
- cmdb
- cmdb_ci
- cmdb_rel_ci