Question 140
An assistant can read a public catalog and submit a costly purchase. How should confirmation requirements differ?
- Let the model choose confirmation rules ad hoc without policy.
- Never confirm purchases if a catalog lookup succeeded.
- Require identical confirmation for every internal reasoning step.
- Apply explicit authorization rules based on the action's consequence and existing user approval.
Explanation
Correct Answer
D:The workflow should distinguish information gathering from commitments. It should also reuse valid prior authorization rather than asking redundantly.
Incorrect Answers
A:Inconsistent rules can miss high-impact actions or burden harmless ones.
B:Successful reading does not authorize a financial commitment.
C:Excessive confirmation adds friction without distinguishing consequential actions.
Question 141
During a long task, a worker suggests a useful but unrelated optimization. What should the coordinator do?
- Add it automatically because workers can expand user scope.
- Assess it against the user's goal and defer or separately propose out-of-scope changes.
- Replace the original objective with the optimization.
- Hide the optimization inside a required change.
Explanation
Correct Answer
B:The coordinator owns scope control. Useful ideas can be recorded without silently changing the task's intended outcome.
Incorrect Answers
A:Delegated suggestions do not create authorization for unrelated work.
C:A suggestion is not a user instruction to abandon the task.
D:Bundling unrelated work makes review and authorization less clear.
Question 142
A change is applied to project A, but the verification query accidentally reads project B. What does the apparent successful check establish?
- That project A is correct because both projects use the same service.
- That further verification is unnecessary.
- Nothing conclusive about project A; verification must target the changed resource.
- That the update definitely failed.
Explanation
Correct Answer
C:Evidence must correspond to the operation's actual target and version. A successful unrelated read cannot validate the requested change.
Incorrect Answers
A:Shared service type does not make their states identical.
B:The relevant outcome remains unverified.
D:Wrong-target verification is inconclusive about the updated project.
Question 143
A model refuses a requested action. The controller repeatedly rephrases the same prohibited request automatically. What is wrong with this recovery design?
- It should classify every refusal as a rate-limit response.
- It should route the same refused action to several workers until one executes it.
- It treats every refusal as proof of network failure.
- It treats refusal as a transient error to evade rather than a distinct outcome to handle.
Explanation
Correct Answer
D:The application needs an appropriate refusal path, such as explanation or a permitted alternative. Blind rephrasing can waste resources and violate intended boundaries.
Incorrect Answers
A:A refusal communicates a different outcome from throttling and should not be fed automatically into the same retry policy.
B:Increasing the number of attempts would preserve the inappropriate evasion behavior rather than handle the refusal.
C:A refusal is a model outcome, distinct from transport availability.
Question 144
A workflow is recorded as succeeded. A delayed progress event from that same run then arrives and sets its status back to running. All event IDs are distinct, and no restart occurred. What control directly prevents this regression?
- Increase the progress-report frequency to reduce the chance of delayed messages.
- Validate events against allowed state transitions, including the run's terminal-state rules.
- Use receipt time as the sole rule for choosing the current status.
- Deduplicate events only by event ID before applying them.
Explanation
Correct Answer
B:A late event can be validly identified yet inapplicable to the current state. The reducer should reject a progress transition that would reopen a terminal run without an explicit supported reopening action.
Incorrect Answers
A:More frequent reports do not establish a valid transition rule. Any one of them can still arrive after the success event.
C:The delayed event is received last, which is why this rule reproduces the regression. Arrival order need not match the lifecycle order of the work.
D:The delayed progress event has its own ID, so it passes identity-based deduplication. The defect concerns transition validity rather than a repeated event.
Question 145
A lookup requires an order ID, but its schema marks every field optional. Which change prevents calls without the identifier?
- Mention the ID only in the tool name.
- Declare order_id required and validate it in the implementation.
- Return more fields in successful results.
- Make the identifier optional and have the implementation use the last accessed order.
Explanation
Correct Answer
B:The contract should encode the prerequisite; backend validation protects execution when inputs are missing or invalid. Making a property available in a schema is different from requiring its presence. The backend should reject a missing identifier rather than choosing a record implicitly.
Incorrect Answers
A:Names cannot express mandatory object fields reliably.
C:Output richness does not constrain request completeness.
D:A remembered order is not a substitute for a mandatory identifier and can direct the lookup to a different transaction.
Question 146
A tool accepts only draft, approved, or rejected as status values. Which schema design communicates this closed set?
- Accept any string in the schema and rely on examples to imply that all unlisted statuses are invalid.
- A free-text field copied directly into database commands.
- An unrestricted string with no description.
- A number whose meaning the model must infer.
- A documented enum containing the supported statuses.
Explanation
Correct Answer
E:An explicit vocabulary reduces invalid arguments and makes the operation's accepted states clear. A closed enumeration limits spelling variants and unsupported states. Each allowed value still needs a defined business meaning and any required transition checks.
Incorrect Answers
A:Examples can illustrate a vocabulary but do not close the allowed set. A documented enum expresses the actual finite input contract.
B:Unvalidated text neither communicates nor enforces the allowed statuses.
C:This permits values outside the supported vocabulary.
D:Unexplained codes obscure the supported choices.
Question 147
A scheduling tool receives 2026-11-01 09:00 without a timezone. Customers span several regions. What contract improvement is needed?
- Require an unambiguous timestamp or an explicit timezone alongside local time.
- Use the server's timezone for every customer's local timestamp without declaring that convention.
- Use the current UTC offset of the server for every future appointment, without accounting for the customer's zone rules.
- Discard the time and keep only the date.
Explanation
Correct Answer
A:A local clock time does not identify one instant across regions. The interface must preserve the intended timezone. The same wall-clock time can identify different instants in different regions. If a local time is ambiguous during a clock change, the contract also needs a way to resolve that ambiguity.
Incorrect Answers
B:A silent server default can schedule the same written time at the wrong instant for customers in other regions.
C:A server offset is not the customer's time zone, and offsets can change over time. Scheduling needs a timestamp or zone-aware interpretation tied to the intended appointment.
D:This loses information required for scheduling.
Question 148
A distance tool accepts a number but does not specify meters or miles. What is the main interface defect?
- The parameter's unit semantics are undefined.
- The tool uses a numeric type instead of requiring a human-formatted string.
- The numeric field lacks a maximum precision declaration.
- The parameter does not have a suggested example value.
Explanation
Correct Answer
A:A numeric type defines the representation but not the measurement unit. Declaring meters or accepting a constrained unit field prevents the same number from being interpreted at incompatible scales.
Incorrect Answers
B:A number is suitable for a distance when its unit is defined; changing representation alone does not resolve the missing semantics.
C:Precision can matter for measurement quality, but it does not identify whether the submitted distance is in meters or miles.
D:An example can illustrate valid input, but a bare example number still leaves the unit contract unspecified.
Question 149
A pricing tool receives two line amounts of 0.005 units. Its documented rule is to sum exact decimal amounts and then round the total to two decimal places using half-up rounding. An adapter rounds each line first and returns 0.02. Which correction follows the contract?
- Change only the displayed result to 0.01 while keeping the stored total at 0.02.
- Return 0.00 by truncating each line before summing.
- Sum to 0.010 using decimal arithmetic, then return a rounded total of 0.01.
- Keep 0.02 because every individual line has been rounded correctly.
Explanation
Correct Answer
C:The two exact amounts contribute to the total before precision is reduced. Specifying the rounding stage as well as the rounding mode prevents adapters from disagreeing on the same inputs.
Incorrect Answers
A:A presentation correction leaves downstream operations using a total that violates the contract. Stored and returned values must reflect the same calculation policy.
B:Truncation is different from half-up rounding and still occurs at the wrong stage. It discards both fractional contributions before aggregation.
D:Correctly applying a rounding rule at the wrong stage changes the result. The contract places rounding after aggregation, not on each input line.
Question 150
A user supplies a product name, but the update tool requires an opaque product ID. What should the assistant do?
- Use the first UUID found in memory.
- Remove the ID field from the request.
- Convert the name into a guessed ID.
- Resolve the product through a supported lookup before updating it.
Explanation
Correct Answer
D:Discovery supplies the authoritative identifier and allows ambiguity to be resolved before mutation. Names are descriptive search inputs, while opaque IDs address specific records. The lookup result must identify the intended product before it is passed to the mutation endpoint.
Incorrect Answers
A:An unrelated identifier may target another object.
B:Omission does not satisfy the update endpoint's target requirement.
C:Opaque identifiers cannot be reliably derived from display names.