GUIDEWIRE EXAM QUESTIONS AND
ANSWERS
What is the best practices to be followed with respect to DB consistency check? -
Answer-1. Frequently during development and testing phase to identify problems early.
Also run in heavily used QA environments and also on a recent copy of production in a
lower environment.
2. Monthly consistency check in the production environment after stabilization
How can we archive custom entity without any foreign keys? - Answer-1. Make it
extractable
2. Establish foreign key relationship with the entity already in the domain graph -
This can be achieved in two ways:
a) Create FK on the custom entity to point to an entity which is already in the domain
graph. Such FK should have the value of archivingSource parameter set to default
value = "target"
b) Create FK on the entity which is already in the domain graph to point to the custom
entity. Such FK should have the value of archivingSource parameter set to "source"
How can you archive and extension custom entity? - Answer-1. Implemented
Extractable Delegate
2. Set Archiving Source = 'Source' into foreign key relationship with the entity already in
the domain graph but not on the custom entity.
Why to clear global cache before each run of test case using Profiler? - Answer-Forces
all the queries to go to the database
How to define custom profile tags? - Answer-Create a new custom class and define it as
public static final
Which of the following describes best practice on Guidewire Projects? - Answer-1.
Always work in a side branch and never work in a mailline, long live branch like master,
develop, r-develop/r_1
2. Create a pull request in bitbucket server which tells others about your changes you
have pushed to a repository . Once you and the reviewers are happy with the changes,
the changes can be merged back to development branch.
Which of the following statements identify problems that can result from database
inconsistency? - Answer-1. Search may return incorrect results
2. Inconsistent children properties between entities
, Which of the following statements describe why and when to run database schema
validation? - Answer-1. Use during development to keep your configuration in sync with
the database
2. Use during product upgrades
How is multi line javadoc style comment written? - Answer-/**
* The comment
* more comments
*/
/**
*/
//format matched k:mm:ss - Answer-is an example of a single line comment
________________ should appear outside the comment. - Answer-Annotations
What two things should be added when creating new entities? - Answer-1. They should
contain a informative description
2. They should include the suffix _Ext
What three things should be done when creating new typelists? - Answer-1). Add suffix
_Ext
2). Add an informative description for all new typelists
3). Add an informative description for all typecode values
The ________ is the parent of all loggers. - Answer-root logger. Logging level = info.
Since __________________ is set to false, it writes only to the RuleExecutionLog file. -
Answer-Additivity. If it was set to true, it will also propagate the DailyFileLog and
console.
How do you write a plugin.log for plugins? - Answer-<Logger name="Plugin"
additivity="false" level="debug">
<AppenderRef ref="PluginsLog"/>
</Logger>
__________________________ includes checking to make sure DebugEnabled is true
when running code. To do so you set the condition:
if(_logger.DebugEnabled) {
_logger.debug('text')
} - Answer-Guarded Logging
The ___________________ outputs Common Logging Format - Answer-Structured
Logger
ANSWERS
What is the best practices to be followed with respect to DB consistency check? -
Answer-1. Frequently during development and testing phase to identify problems early.
Also run in heavily used QA environments and also on a recent copy of production in a
lower environment.
2. Monthly consistency check in the production environment after stabilization
How can we archive custom entity without any foreign keys? - Answer-1. Make it
extractable
2. Establish foreign key relationship with the entity already in the domain graph -
This can be achieved in two ways:
a) Create FK on the custom entity to point to an entity which is already in the domain
graph. Such FK should have the value of archivingSource parameter set to default
value = "target"
b) Create FK on the entity which is already in the domain graph to point to the custom
entity. Such FK should have the value of archivingSource parameter set to "source"
How can you archive and extension custom entity? - Answer-1. Implemented
Extractable Delegate
2. Set Archiving Source = 'Source' into foreign key relationship with the entity already in
the domain graph but not on the custom entity.
Why to clear global cache before each run of test case using Profiler? - Answer-Forces
all the queries to go to the database
How to define custom profile tags? - Answer-Create a new custom class and define it as
public static final
Which of the following describes best practice on Guidewire Projects? - Answer-1.
Always work in a side branch and never work in a mailline, long live branch like master,
develop, r-develop/r_1
2. Create a pull request in bitbucket server which tells others about your changes you
have pushed to a repository . Once you and the reviewers are happy with the changes,
the changes can be merged back to development branch.
Which of the following statements identify problems that can result from database
inconsistency? - Answer-1. Search may return incorrect results
2. Inconsistent children properties between entities
, Which of the following statements describe why and when to run database schema
validation? - Answer-1. Use during development to keep your configuration in sync with
the database
2. Use during product upgrades
How is multi line javadoc style comment written? - Answer-/**
* The comment
* more comments
*/
/**
*/
//format matched k:mm:ss - Answer-is an example of a single line comment
________________ should appear outside the comment. - Answer-Annotations
What two things should be added when creating new entities? - Answer-1. They should
contain a informative description
2. They should include the suffix _Ext
What three things should be done when creating new typelists? - Answer-1). Add suffix
_Ext
2). Add an informative description for all new typelists
3). Add an informative description for all typecode values
The ________ is the parent of all loggers. - Answer-root logger. Logging level = info.
Since __________________ is set to false, it writes only to the RuleExecutionLog file. -
Answer-Additivity. If it was set to true, it will also propagate the DailyFileLog and
console.
How do you write a plugin.log for plugins? - Answer-<Logger name="Plugin"
additivity="false" level="debug">
<AppenderRef ref="PluginsLog"/>
</Logger>
__________________________ includes checking to make sure DebugEnabled is true
when running code. To do so you set the condition:
if(_logger.DebugEnabled) {
_logger.debug('text')
} - Answer-Guarded Logging
The ___________________ outputs Common Logging Format - Answer-Structured
Logger