Question 60
A workflow can validate stock, reserve payment, and dispatch goods. Dispatch is irreversible in this system. Which sequence minimizes avoidable compensation?
- Let the model choose a new order for each transaction
- Dispatch first to minimize visible customer latency
- Validate prerequisites before the irreversible dispatch step
- Execute every step concurrently regardless of dependencies
Explanation
Correct Answer
C:Cheap reversible checks should establish feasibility before an action that cannot be undone. This ordering reduces the chance of discovering a preventable failure too late.
Incorrect Answers
A:Variable sequencing adds risk to a known business dependency. The application can enforce the required order without relying on generated plans.
B:Early dispatch commits the consequence before prerequisites are established. A later stock or payment problem may then require expensive manual recovery.
D:Concurrency is appropriate only when results do not depend on one another. Here dispatch must rely on successful prerequisite checks and reservations.
Question 61
An agent books a refundable hotel, then a flight booking fails. There is no transaction spanning both providers. What recovery mechanism should the workflow define?
- A database rollback in the agent's local store
- An instruction claiming both bookings are atomic
- A retry of both bookings with new identifiers
- A compensating cancellation for the completed hotel booking
Explanation
Correct Answer
D:Separate services may commit independently. A defined compensating action can reverse the refundable reservation when the overall trip cannot be completed.
Incorrect Answers
A:Rolling back local records does not undo a reservation already accepted by the hotel. External commitments need their own cancellation or reconciliation steps.
B:Natural-language declarations cannot create a distributed transaction across unrelated providers. Their actual commit and cancellation contracts determine recovery behavior.
C:Repeating the completed booking can create duplicates. Recovery should account for the successful step rather than restart as though nothing occurred.
Question 62
A sales agent keeps a conversational memory of customer tier changes, while the CRM is the authoritative source. Which tier should determine a new offer?
- The highest tier present in either memory or CRM
- A blended tier derived from all historical mentions
- The authorized current CRM value
- The tier most recently mentioned in any conversation
Explanation
Correct Answer
C:Conversational state can be stale or incomplete. A business decision governed by the CRM should use its current permitted record, with freshness expectations made explicit.
Incorrect Answers
A:Selecting the most favorable value invents a conflict-resolution rule. The architecture already specifies which system owns the authoritative state.
B:A synthetic value may not correspond to any valid business category. Historical dialogue should not override the authoritative customer record.
D:Mention order is not evidence of an accepted business update. A user or model may describe a proposed change that never reached the CRM.
Question 63
A user jokes that all future purchases should be free. The assistant can save long-term preferences. Which memory policy best avoids converting jokes into business rules?
- Save every utterance as a binding instruction
- Validate memory candidates and separate preferences from policy
- Disable all retrieval of approved pricing rules
- Let the latest memory override every business rule
Explanation
Correct Answer
B:Persistent memory influences later decisions, so write admission needs criteria for relevance and validity. User preferences cannot rewrite an organization's pricing authority.
Incorrect Answers
A:Unfiltered persistence promotes jokes, errors, and temporary context into durable behavior. It creates a path for inappropriate instructions to affect later sessions.
C:Removing the authoritative reference makes the conflict worse. The architecture should preserve policy access and constrain the role of personal memory.
D:Recency does not establish authority. A recently stored preference still cannot supersede the policy controlling whether a purchase requires payment.
Question 64
Two account events arrive out of order: suspension is newer than activation, but activation arrives last. Which design preserves the intended final state?
- Ask the model which status sounds more likely
- Always accept the last message received
- Apply version-aware transitions using authoritative event ordering
- Give activation events unconditional precedence over suspensions
Explanation
Correct Answer
C:Arrival time can differ from business order because of retries or delays. Version checks prevent an older activation from overwriting a newer suspension.
Incorrect Answers
A:Likelihood cannot establish the actual order of committed events. State transitions should use explicit event metadata and consistency rules.
B:This confuses transport arrival with business chronology. A delayed older event can reverse a newer authoritative account decision.
D:A fixed status preference ignores the authoritative order of business decisions. The later suspension should not be overwritten merely because the other event is an activation.
Question 65
A financial summary combines revenue from before a correction with expenses from after it. Each individual lookup is valid. What architecture requirement is missing?
- A consistent reporting snapshot or explicit version alignment
- A longer explanation of the resulting total
- A majority vote on the two retrieved values
- Independent read retries without a shared reporting version
Explanation
Correct Answer
A:Individually correct records can produce an invalid aggregate when they describe different reporting states. The workflow needs a defined temporal consistency boundary.
Incorrect Answers
B:Additional prose cannot reconcile mismatched accounting states. The calculation must use compatible inputs before a trustworthy narrative can be produced.
C:The values are not alternative opinions about one fact. They belong to different state versions and require alignment, not voting.
D:Retries can improve availability of individual reads but do not establish that their results belong to one reporting state. A consistent snapshot or explicit version alignment is still missing.
Question 66
A recommendation uses cached product availability. The business permits cache reuse for five minutes, but the entry is twenty minutes old. What should the planner do?
- Label the cached result as current when the lookup service is unavailable
- Refresh availability before making the recommendation
- Reuse the entry if a second cached copy agrees
- Reuse the entry because its text is unchanged
Explanation
Correct Answer
B:The freshness requirement is part of the business contract. A cached result outside that window cannot support a current availability assertion without revalidation.
Incorrect Answers
A:Service unavailability does not renew the evidence. If freshness cannot be established, the recommendation must reflect that limitation instead of asserting current availability.
C:Agreement between stale copies does not establish current inventory. Both can reflect the same old observation outside the permitted freshness window.
D:Unchanged stored text says nothing about the external product state. The cache can remain identical while inventory changes elsewhere.
Question 67
A knowledge assistant sometimes receives questions absent from its approved corpus. Which design best handles that branch without fabricating policy?
- Represent insufficient evidence and offer an approved next step
- Search unrestricted sources and label them internal policy
- Force a policy answer for every syntactically valid question
- Choose the nearest policy by wording alone
Explanation
Correct Answer
A:Answerability is a legitimate outcome, not an execution error to hide. A controlled fallback preserves the boundary of what the approved evidence supports.
Incorrect Answers
B:External information may be informative, but it does not become the organization's approved policy merely because it fills an evidence gap.
C:Input validity does not guarantee that supporting policy exists. Forced completion encourages unsupported rules when the corpus is silent.
D:Similarity can locate related material without establishing applicability. A nearby passage may answer a different question with materially different conditions.
Question 68
A catalog contains 800 stable product descriptions that change only after approved monthly releases. Users need immediate access to the same approved descriptions. Which generation architecture best fits this workload?
- Run a research agent whenever a user opens a product page
- Generate and validate descriptions during the catalog release process
- Cache each user's first generated description under a personal session key
- Generate a fresh description independently for every page view
Explanation
Correct Answer
B:The content is shared and changes on a controlled schedule. Preparing approved outputs at release time removes repeated generation from the user request path.
Incorrect Answers
A:The scenario provides stable authoritative product content. Open-ended investigation adds work and can introduce information outside the approved catalog.
C:Session-specific caching duplicates equivalent work and can preserve inconsistent descriptions. The content belongs to a common approved release rather than an individual session.
D:Repeated generation adds latency and variation without a corresponding need for fresh content. The shared approved release provides a natural preparation boundary.
Question 69
A generated regulatory notice must pass validation before any text reaches customers. Which delivery pattern meets the requirement?
- Stream immediately and remove bad text afterward
- Validate an initial draft, then stream a fresh generation without checking it
- Buffer generation and release only the validated notice
- Display only the first sentence while validating the rest
Explanation
Correct Answer
C:Streaming exposes partial content before the final artifact can be checked. Buffering preserves the required validation boundary at the cost of earlier visible output.
Incorrect Answers
A:Removal cannot undo information already seen by a customer. Post-display correction does not satisfy validation before exposure.
B:Validation applies to the actual artifact that was checked. A new generation can differ from that draft and cannot inherit its approval automatically.
D:The first sentence can itself contain an error. Partial publication still crosses the boundary before the complete notice has passed validation.
Question 70
A user submits a report that takes ten minutes. The web connection may close, but the user must retrieve the result later. What contract should the service expose?
- A new uncorrelated request whenever status is checked
- A durable job identifier with status and result retrieval
- An instruction to keep the browser tab open
- A synchronous connection with no server-side job record
Explanation
Correct Answer
B:A job resource decouples processing from one connection. Persisted status and results let the user resume observation without resubmitting the work.
Incorrect Answers
A:Creating new jobs during polling duplicates processing. Status queries should refer to the existing operation rather than initiate another one.
C:User behavior cannot guarantee network continuity. The architecture must support retrieval after the connection closes, as the requirement explicitly states.
D:If the connection ends, the user cannot reliably distinguish a lost response from a lost job. The requested later retrieval needs durable identity.