Pre-Summer Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

The following Gosu statement is the Action part of a validation rule:

claim.rejectField( " State " , TC_PAYMENT, DisplayKey.get( " Rules.Validation.Claim.NotInDraft " , null, null))

It produces the following compilation error:

Gosu compiler: Wrong number of arguments to function rejectField(java.lang.String, typekey.ValidationLevel, java.lang.String, typekey.ValidationLevel, java.lang.String). Expected 5, got 3

What needs to be added to or deleted from the statement to clear the error?

A.

A left parenthesis must be deleted.

B.

The two nulls must be replaced with a typekey and a string.

C.

A right parenthesis must be added.

D.

The word ' State ' must be replaced with a DisplayKey.

An insurer wants to add a new typecode for an alternate address to a base typelist EmployeeAddress that has not been extended. Following best practices, which step must a developer take to perform this task?

A.

Create an EmployeeAddress_Ext.tti file and add a new typecode alternate.

B.

Create an EmployeeAddress.tlx file and add a new typecode alternate_Ext.

C.

Create an EmployeeAddress.ttx file and add a new typecode alternate_Ext.

D.

Open the EmployeeAddress.tti and add a new typecode alternate.

Which of the following represents logging best practices? Select Two

A.

Mask personally identifiable information (PII) before including it in a log message.

B.

Set the logging level to " info " in the production environment.

C.

Set the logging level to " debug " in the production environment when diagnosing a production issue.

D.

Log all information that is necessary to diagnose the transaction.

E.

Log every transaction to ensure a complete audit trail.

An insurer doing business globally wants to use a validation expression to verify that a contact ' s postal code is a real postal code for the country specified in the contact ' s address.

A developer has created a method with the signature validatePostalCode(anAddress: Address): boolean, which returns true if and only if the postal code is valid.

What would be the correct validation expression?

A.

validatePostalCode(anAddress) == true

B.

validatePoslalCode(anAddress) == null

C.

validatePostalCode(anAddress)

D.

validatePostalCode(anAddress) ? null: false

Which logging statement follows best practice?

A.

logger.error(DisplayKey.get( " Web.ContactManager.Error.GeneralException " , e.Message))

B.

logger.info(logPrefix + " [Address#AddressLine1 = " + address.AddressLine1 + " ] [Address#City " + address.City + " ] [Address#State " + address.State + " ] " )

C.

if(logger.InfoEnabled) { logger.debug( " Adding " + contact.PublicID + " to ContactManager " ) }

D.

if(logger.DebugEnabled) { logger.debug(logPrefix + someReallyExpensiveOperation()) }

A developer is creating a new entity for auditors that contains a field for the license. Which configuration of the file name and the field name fulfills the requirement and follows best practices?

A.

Auditor_Ext.eti, License_Ext

B.

Auditor.etx, License_Ext

C.

Auditor.eti, License_Ext

D.

Auditor_Ext.eti, License

E.

Auditor_Ext.etx, License

You need to retrieve Claim entity instances created after a specific date. Which methods ensure that the filtering is performed in the database for optimal performance?

A.

Retrieve all claims and filter the collection in Gosu memory using the where ( ) method.

B.

Retrieve claims using a query and then filter the results collection using the filterwhere method.

C.

Use the filter () .where () methods on the query object to filter the records by their creation date.

D.

Use the compare method on the query object to filter claim records by their creation date.

E.

Use the where method on the query object to filter claim records by their creation date.

Which statements about Gosu package structure and naming conventions follow Guidewire best practices for customer implementations? (Choose 2)

A.

Use underscores in package names (e.g., my_package).

B.

Place all custom classes in a single custom package.

C.

Use generic package names like com.company.

D.

Include the product code (e.g., pc, cc, bc) in the package structure.

E.

Group classes solely by functional area (e.g., util, entity, batch).

F.

Use the customer code as the top-level package segment.

A developer needs to create a new entity for renters that contains a field for the employment status. EmploymentStatusType is an existing typelist. How can the entity and new field be created to fulfill the requirement and follow best practices?

A.

Add Renter.etx under Metadata - > Entity with a column EmploymentStatus.Ext

B.

Add Renter.etl under Extensions - > Entity with a column EmploymentStatus.Ext

C.

Create EmploymentStatusType.ttx under Extensions - > Typelist with a type code Renter

D.

Create Renter_Ext.eti under Extensions - > Entity with a typekey EmploymentStatus

Which scenario follows best practices for user interface field-level validation?

A.

Proposed changes to user passwords contain only alphanumeric characters.

B.

Store different social media profile addresses, regardless of the social media site involved.

C.

The city and state populate automatically whenever a US user enters their ZIP code.

D.

The interest rate field is 0 whenever a down payment is greater than €5000.