Guidewire certification · Exam InsuranceSuite-Developer

InsuranceSuite-Developer Mock Exam

Associate Certification - InsuranceSuite Developer - Mammoth Proctored Exam

Free InsuranceSuite-Developer questions on Gosu Bundle Transactions, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Gosu Bundle Transactions questions

1–1 of 1 free
Question 1 Choose 2
Which statements describe best practices when using bundles in Gosu to save new entities/edit existing entities? (Select Two)
Show answerHide answer

Correct answer: B, F Create a new bundle using gw.transaction.Transaction.runWithNewBundle().Never call commit() within a runWithNewBundle() statement.

Explanation

Answer Option (Which option is correct) B. Create a new bundle using gw.transaction.Transaction.runWithNewBundle().

Answer Option (Which option is correct) F. Never call commit() within a runWithNewBundle() statement.
Explanation:

A queried entity must be placed in a writable bundle before it is modified. Add the entity rather than the Query object or an individual property. A managed runWithNewBundle block handles its transaction boundary; a manually created bundle requires an explicit commit after the intended changes.

Why the other options are incorrect:

A. Commit changes individually for each entity:
Committing each entity separately fragments related changes. A failure can leave only part of the intended update saved. Related work should share a deliberate transaction boundary.

C. Explicitly call the commit() method on the bundle outside of a managed block:
A manually managed commit can be valid in some contexts. It is not the managed-block approach selected here. The blanket best-practice claim needs that context.

D. Add all entities to the bundle, not just those which will be edited:
Adding every entity increases the writable bundle unnecessarily. Entities that are merely read need not all be moved. Limit writable state to the transaction work.

E. Obtain a bundle using gw.transaction.Transaction.getCurrent():
getCurrent can be appropriate when a writable current bundle exists. The prompt instead selects an isolated managed transaction. The available context does not justify treating all current bundles as wrong.

References:

Guidewire-authored PolicyCenter 10.1.2 - Bundle transactions

That's the last free question in Gosu Bundle Transactions

You've seen the free 30% (1 of 3 questions). Full access unlocks every question and full-length InsuranceSuite-Developer mock exams, a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the InsuranceSuite-Developer exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real InsuranceSuite-Developer exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full InsuranceSuite-Developer mock exam
  • —questions per mock
  • —time limit
  • 150questions in the bank
  • Newmock on every attempt