FUNDAMENTALS EXAM QUESTIONS
AND ANSWERS
Which two statements are true about a new custom type list? - Answer-1. A custom type
list can contain a maximum of 255 type codes
2. A new custom type list is defined in a TTI file
Which three statements are true about creating new custom subtypes? - Answer-1. A
custom subtype entity cannot have an ETX file
2. An entities marked as final cannot have subtypes
3. A custom subtype entity is defined in an ETI file
Which statement is true about how the application stores subtypes in the database? -
Answer-Subtypes are not stored in the database because they are virtual
The customer wants to display the age of the contact in a new Financial Summary
Detail View whose required variable is my Financial Summary : Financial Summary
Which expression returns the contact's age? - Answer-(my Financial Summary. AB
Contact as ABPerson).Age
The following variable stores an instance of the Contact entity:
var this Contact : Contact
Which statement is true about Entity Names? - Answer-An Entity Name could be
reference from a GOSU rule using the this Contact. Display Name property
Logging: what is it? - Answer-The process of recording application actions and state to
a secondary interface
Logging: Uses - Answer-➢ Application maintenance and troubleshooting
➢ Creating statistics relating to application usage
➢ Auditing by capturing significant events
Logging: Typical events to log - Answer-➢ Success / Failure: a transaction or action has
succeeded or failed
➢ Recovery: a system went down or connection failed, retried, and recovered
➢ Identification: any large functional areas such as integration, rating, reinsurance, and
rules
, Logging: Components - Answer-➢ Logger → has a category and level → sends content
to an Appender
➢ Appender → is an output destination (server console or rolling file)
➢ Layout → Defines the format of the content sent to an appender
Logging: Levels - Answer-TRACE, DEBUG, INFO, WARN, ERROR
Logging: Level, Describe and When to use - TRACE - Answer-Description - Fine-
grained informational events
When To use - Log method entry and exit
Logging: Level, Describe and When to use - DEBUG - Answer-Description - Detailed
informational events
When To use - Log important steps and calculations for diagnosing problems
Logging: Level, Describe and When to use - INFO - Answer-Description - Coarse-
grained informational message of the progress
When To use - Log important steps and calculations for diagnosing problems
Logging: Level, Describe and When to use - WARN - Answer-Description - Indicate a
potential problem
When To use - The user experience has not been affected
Logging: Level, Describe and When to use - ERROR - Answer-Description - Indicate a
definite problem
When To use - The user experience has been affected
Logging: Initializing a Logger in Gosu examples - Answer-➢ Direct ▪ Integration:
PLLoggerCategory.INTEGRATION ▪ Plugin: PLLoggerCategory.PLUGIN
➢ Sub-Level Logger of existing category (Example: PLUGIN.MotorVehicleRecord static
var _motorVehiclePluginLogger =
LoggerFactory.getLogger(PLLoggerCategory.PLUGIN."MotorVehicleRecord")
Logging: How to format - Answer-Format all log messages using a standard format to
help in analyzing large logs.
Logging: Guarded logging - Answer-❖ Guarded logging Expensive expressions
(typically concatenation of messages)
➢ Logged at the DEBUG level
➢ Should be guarded with "if (_logger.DebugEnabled) { }
➢ Not required with parameterized expressions lacking expensive operations
Logging: Exception messages - Answer-➢ Logged at the error level when the user
experience is affected.
➢ Not all exceptions are errors—if expected, logged at WARN or INFO level.
➢ Passing the exception object as second argument.
AND ANSWERS
Which two statements are true about a new custom type list? - Answer-1. A custom type
list can contain a maximum of 255 type codes
2. A new custom type list is defined in a TTI file
Which three statements are true about creating new custom subtypes? - Answer-1. A
custom subtype entity cannot have an ETX file
2. An entities marked as final cannot have subtypes
3. A custom subtype entity is defined in an ETI file
Which statement is true about how the application stores subtypes in the database? -
Answer-Subtypes are not stored in the database because they are virtual
The customer wants to display the age of the contact in a new Financial Summary
Detail View whose required variable is my Financial Summary : Financial Summary
Which expression returns the contact's age? - Answer-(my Financial Summary. AB
Contact as ABPerson).Age
The following variable stores an instance of the Contact entity:
var this Contact : Contact
Which statement is true about Entity Names? - Answer-An Entity Name could be
reference from a GOSU rule using the this Contact. Display Name property
Logging: what is it? - Answer-The process of recording application actions and state to
a secondary interface
Logging: Uses - Answer-➢ Application maintenance and troubleshooting
➢ Creating statistics relating to application usage
➢ Auditing by capturing significant events
Logging: Typical events to log - Answer-➢ Success / Failure: a transaction or action has
succeeded or failed
➢ Recovery: a system went down or connection failed, retried, and recovered
➢ Identification: any large functional areas such as integration, rating, reinsurance, and
rules
, Logging: Components - Answer-➢ Logger → has a category and level → sends content
to an Appender
➢ Appender → is an output destination (server console or rolling file)
➢ Layout → Defines the format of the content sent to an appender
Logging: Levels - Answer-TRACE, DEBUG, INFO, WARN, ERROR
Logging: Level, Describe and When to use - TRACE - Answer-Description - Fine-
grained informational events
When To use - Log method entry and exit
Logging: Level, Describe and When to use - DEBUG - Answer-Description - Detailed
informational events
When To use - Log important steps and calculations for diagnosing problems
Logging: Level, Describe and When to use - INFO - Answer-Description - Coarse-
grained informational message of the progress
When To use - Log important steps and calculations for diagnosing problems
Logging: Level, Describe and When to use - WARN - Answer-Description - Indicate a
potential problem
When To use - The user experience has not been affected
Logging: Level, Describe and When to use - ERROR - Answer-Description - Indicate a
definite problem
When To use - The user experience has been affected
Logging: Initializing a Logger in Gosu examples - Answer-➢ Direct ▪ Integration:
PLLoggerCategory.INTEGRATION ▪ Plugin: PLLoggerCategory.PLUGIN
➢ Sub-Level Logger of existing category (Example: PLUGIN.MotorVehicleRecord static
var _motorVehiclePluginLogger =
LoggerFactory.getLogger(PLLoggerCategory.PLUGIN."MotorVehicleRecord")
Logging: How to format - Answer-Format all log messages using a standard format to
help in analyzing large logs.
Logging: Guarded logging - Answer-❖ Guarded logging Expensive expressions
(typically concatenation of messages)
➢ Logged at the DEBUG level
➢ Should be guarded with "if (_logger.DebugEnabled) { }
➢ Not required with parameterized expressions lacking expensive operations
Logging: Exception messages - Answer-➢ Logged at the error level when the user
experience is affected.
➢ Not all exceptions are errors—if expected, logged at WARN or INFO level.
➢ Passing the exception object as second argument.