Question 200
An event producer changes its summary-request field names without notifying consumers. What integration practice reduces breakage?
- Use HTTP success rate as the only compatibility check
- Let every consumer guess new fields from prose
- Remove schema validation from every consumer
- Version event schemas and validate compatibility in producer-consumer tests
Explanation
Correct Answer
D:Explicit contracts make incompatible changes visible before release. Consumers need a planned migration path.
Incorrect Answers
A:A message can be accepted while its required fields are misunderstood.
B:Guessing is unreliable for operational contracts and can silently misroute work.
C:Unchecked payloads move failures deeper into processing rather than fixing compatibility.
Question 201
A compliance reviewer cannot connect a CRM update to the model request that proposed it. What should the integration propagate?
- Only the final generated paragraph
- Only a daily total of model calls
- A correlation chain linking user request, model invocation, tool execution, and business result
- An unrelated random ID at each service with no mapping
Explanation
Correct Answer
C:The chain supports reconstruction across services. Protect identifiers and payload access according to sensitivity.
Incorrect Answers
A:Text alone does not establish which authenticated request or executed operation produced the update.
B:Aggregate counts cannot identify the specific action or its origin.
D:Unconnected identifiers prevent end-to-end reconstruction.
Question 202
Converse returns a toolUse block for a registered function. What must a custom client do next?
- Start a new unrelated session and omit the tool identifier
- Call the tool but return its result as an unrelated system message
- Display the tool arguments as a completed business result
- Assume Bedrock already executed the function
- Validate and execute the tool, then send the matching toolResult in the conversation
Explanation
Correct Answer
E:Converse can request tool use without performing the business operation. Matching identifiers connect the result to the request.
Incorrect Answers
A:The model loses the association needed to continue the pending tool interaction.
B:The conversation contract requires a correctly associated tool result. Misplacing the result can leave the pending tool use unresolved.
C:Arguments describe proposed work, not its outcome.
D:A returned tool request is not proof of external execution.
Question 203
A Converse response contains several content blocks. What parser design fits?
- Handle supported block types explicitly rather than assuming the first block is final text
- Always cast the complete response object to a text string
- Discard all blocks after the first without inspection
- Interpret every block as user-visible assistant prose
Explanation
Correct Answer
A:Responses can include tool-related or other structured content. The parser must follow the actual API contract.
Incorrect Answers
B:That loses structure and may expose metadata instead of the intended answer.
C:Later blocks may contain required text or control information.
D:Some blocks carry tool or control information rather than answer text. Uniform rendering can expose raw arguments or miss required execution steps.
Question 204
A user disconnects midway through a generated answer. What should the application do where cancellation is supported?
- Cache the partial answer as an approved complete response
- Stop unnecessary downstream work and record that delivery was incomplete
- Restart the stream repeatedly after the user leaves
- Mark the answer fully delivered as soon as generation starts
Explanation
Correct Answer
B:Cancellation can save resources and avoid misleading completion records. Handle any already-executed side effects separately.
Incorrect Answers
A:A truncated stream may omit essential qualifications or conclusions.
C:This wastes work without a recipient and may create repeated side effects.
D:Starting is not equivalent to receiving the complete response.
Question 205
An inference stream fails after several displayed chunks. What should the client show?
- Report HTTP connection success as full task success
- Silently append a fabricated ending
- Erase all diagnostic metadata
- An explicit interruption state and a safe retry or continuation policy
Explanation
Correct Answer
D:Partial content must not be mistaken for a complete answer. Retrying may need to avoid duplicated text or actions.
Incorrect Answers
A:An established connection does not guarantee a complete streamed result.
B:Invented completion conceals the failure and can introduce unsupported claims.
C:Without request and error correlation, the interruption becomes harder to investigate.
Question 206
Bedrock rejects a request with a schema validation error. Which client response is appropriate?
- Correct the payload according to the selected API and model contract
- Increase concurrency to find an accepting replica
- Fail over to another replica using the same unsupported schema
- Retry the identical payload with longer delays forever
- Treat the error as a successful empty completion
Explanation
Correct Answer
A:A deterministic validation failure needs input repair. Backoff alone does not change invalid fields.
Incorrect Answers
B:Validation follows the contract rather than replica load.
C:A schema error is not necessarily a capacity or replica failure. The target contract still needs a valid request.
D:Time does not make an invalid request structurally valid.
E:That misrepresents failure and can corrupt downstream processing.
Question 207
A request has a two-second end-to-end deadline but each of three sequential model calls has a two-second timeout. What should change?
- Retry every stage indefinitely
- Measure only frontend rendering time
- Add all three timeout values and call the request compliant
- Allocate a shared deadline across stages and stop work that cannot finish usefully
Explanation
Correct Answer
D:Per-call limits do not enforce the total latency budget. Remaining time should constrain later calls and retries.
Incorrect Answers
A:Unlimited retries cannot satisfy a fixed end-to-end deadline.
B:Backend generation remains part of the user's observed delay.
C:The resulting potential duration exceeds the stated deadline.
Question 208
An intermittent invocation fails and AWS support needs diagnostic correlation. What should the client retain?
- Only the client-generated correlation ID without the service request ID
- Only an error message copied without the target, Region, or service request identifier
- Only the count of successful calls that day
- The service request identifier with timestamp, Region, model target, and sanitized error context
Explanation
Correct Answer
D:These fields connect the incident to the actual invocation. Avoid exposing unnecessary sensitive payloads.
Incorrect Answers
A:An application ID helps internal tracing but may not identify the corresponding AWS request. Retain the service identifier alongside it.
B:A generic message can occur across many invocations. Retain safe correlation metadata so the actual failing request can be identified without exposing credentials.
C:Aggregate success cannot isolate the failed invocation.
Question 209
A model adapter forwards one provider's sampling field to another model that rejects it. What should the adapter do?
- Convert every parameter to a string without checking
- Forward every possible parameter to every model
- Map supported parameters per target and reject unsupported configuration
- Remove all configuration errors from logs
Explanation
Correct Answer
C:A shared interface does not make all model-specific fields interchangeable. Capability checks belong before invocation.
Incorrect Answers
A:Changing types does not establish semantic compatibility.
B:Unsupported fields can fail validation or have different semantics.
D:Concealing errors prevents diagnosis rather than repairing the contract.
Question 210
A valid model request returns AccessDeniedException. What should be investigated first?
- Only the output token ceiling
- Only connectivity to the runtime endpoint, assuming reachability proves authorization
- Only the IAM policy's visible Allow statement, without checking other applicable policies
- The caller's effective permissions and the selected model or inference target
Explanation
Correct Answer
D:Authorization errors require inspecting identity, policies, and target eligibility. Changing generation wording does not grant access.
Incorrect Answers
A:A lower completion limit does not confer missing permissions.
B:A reachable endpoint can return AccessDenied. Network access and permission to invoke the selected model are separate prerequisites.
C:An Allow can still be constrained by an explicit denial, boundary, session policy, or organizational control. Inspect effective authorization for the actual target.