Question 200

An event producer changes its summary-request field names without notifying consumers. What integration practice reduces breakage?

  1. Use HTTP success rate as the only compatibility check
  2. Let every consumer guess new fields from prose
  3. Remove schema validation from every consumer
  4. 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?

  1. Only the final generated paragraph
  2. Only a daily total of model calls
  3. A correlation chain linking user request, model invocation, tool execution, and business result
  4. 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?

  1. Start a new unrelated session and omit the tool identifier
  2. Call the tool but return its result as an unrelated system message
  3. Display the tool arguments as a completed business result
  4. Assume Bedrock already executed the function
  5. 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?

  1. Handle supported block types explicitly rather than assuming the first block is final text
  2. Always cast the complete response object to a text string
  3. Discard all blocks after the first without inspection
  4. 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?

  1. Cache the partial answer as an approved complete response
  2. Stop unnecessary downstream work and record that delivery was incomplete
  3. Restart the stream repeatedly after the user leaves
  4. 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?

  1. Report HTTP connection success as full task success
  2. Silently append a fabricated ending
  3. Erase all diagnostic metadata
  4. 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?

  1. Correct the payload according to the selected API and model contract
  2. Increase concurrency to find an accepting replica
  3. Fail over to another replica using the same unsupported schema
  4. Retry the identical payload with longer delays forever
  5. 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?

  1. Retry every stage indefinitely
  2. Measure only frontend rendering time
  3. Add all three timeout values and call the request compliant
  4. 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?

  1. Only the client-generated correlation ID without the service request ID
  2. Only an error message copied without the target, Region, or service request identifier
  3. Only the count of successful calls that day
  4. 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?

  1. Convert every parameter to a string without checking
  2. Forward every possible parameter to every model
  3. Map supported parameters per target and reject unsupported configuration
  4. 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?

  1. Only the output token ceiling
  2. Only connectivity to the runtime endpoint, assuming reachability proves authorization
  3. Only the IAM policy's visible Allow statement, without checking other applicable policies
  4. 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.

AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests