Question 490

Production evidence: Every request fails with the same invalid-message exception. The original design context was: A Converse request fails validation before inference begins. Which change prevents recurrence?

  1. Check effective IAM permissions, resource scope, and explicit deny policies.
  2. Create a rubric with distinct groundedness, relevance, and completeness metrics.
  3. Inspect SDK errors and correct message or content-block serialization.
  4. Check sync history, source versions, and vector index update status.
  5. Correlate service errors, concurrency, retries, and request deadlines.

Explanation

Correct Answer

C:

Request validation rejects unsupported roles, fields, or media types before model execution; that explains the reported failure: every request fails with the same invalid-message exception. A larger retry budget cannot fix deterministic schema errors; a symptom-only workaround would not restore the requirement to check the exact API field structure against the selected model's support.

Incorrect Answers

A:

The scope of this alternative is different: authorization depends on the caller identity and target action, not just account membership; it supports trace which runtime role and model resource is actually used, while the reported failure and its causal repair needs check the exact API field structure against the selected model's support after every request fails with the same invalid-message exception. Changing the prompt cannot grant invoke permission to the backend role; for the reported failure and its causal repair, the unresolved requirement remains to check the exact API field structure against the selected model's support, as shown when every request fails with the same invalid-message exception.

B:

The scope of this alternative is different: generative output can be fluent yet unsupported, so quality needs multiple independent dimensions; it supports measure factual support, relevance, completeness, and response clarity separately, while the reported failure and its causal repair needs check the exact API field structure against the selected model's support after every request fails with the same invalid-message exception. A generic text-overlap score misses plausible but false statements; for the reported failure and its causal repair, the unresolved requirement remains to check the exact API field structure against the selected model's support, as shown when every request fails with the same invalid-message exception.

D:

The scope of this alternative is different: stale embeddings can continue pointing to older text even if the source repository is current; it supports inspect ingestion freshness and whether changed chunks were re-embedded, while the reported failure and its causal repair needs check the exact API field structure against the selected model's support after every request fails with the same invalid-message exception. Rephrasing the user prompt cannot fix a missing index update; for the reported failure and its causal repair, the unresolved requirement remains to check the exact API field structure against the selected model's support, as shown when every request fails with the same invalid-message exception.

E:

Error classification distinguishes transient capacity limits from client deadline exhaustion; that is valuable when the goal is to separate quota pressure from upstream network and application timeouts, but the reported failure and its causal repair instead depends on the ability to check the exact API field structure against the selected model's support. Treating every exception as a model-quality failure sends debugging in the wrong direction; it does not account for the condition in the reported failure and its causal repair: every request fails with the same invalid-message exception.

Question 491

A code-review note warns: Simply adding network load balancers does not optimize token scheduling. The business requirement is to introduce serving-level batching and token-aware queue management. Which mechanism should replace the shortcut?

  1. Profile GPU memory and model loading, then allocate suitable inference instances.
  2. Profile prefill and decode bottlenecks with token-specific metrics.
  3. Use an inference server with dynamic batching tuned to latency objectives.
  4. Build a common service contract with adapters for Bedrock and SageMaker AI endpoints.

Explanation

Correct Answer

C:

Batching can improve accelerator utilization but must be bounded to protect interactive delay; this is the behavior to validate in a release review concerned with introduce serving-level batching and token-aware queue management. Simply adding network load balancers does not optimize token scheduling; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

LLM serving must account for model parameters, activation and cache memory, and concurrent token generation; this explains its relevance to size the runtime for weights, KV cache, and maximum concurrency, not the the release-control decision requirement to introduce serving-level batching and token-aware queue management after gPU utilization is low while individual requests wait in an inefficient per-request queue. CPU autoscaling alone does not fix GPU memory exhaustion; choosing it for the release-control decision would leave the underlying issue visible: gPU utilization is low while individual requests wait in an inefficient per-request queue.

B:

Token-stage measurements distinguish long-prompt processing from slow completion generation; that is valuable when the goal is to measure input and output token throughput separately, but the release-control decision instead depends on the ability to introduce serving-level batching and token-aware queue management. Request-per-second counts conceal large differences in token workload; it does not account for the condition in the release-control decision: gPU utilization is low while individual requests wait in an inefficient per-request queue.

D:

For work that needs to separate inference abstraction from provider-specific deployment details, an application-level interface can translate payloads and propagate tracing while maintaining backend independence; the specific the release-control decision instead requires introduce serving-level batching and token-aware queue management in light of gPU utilization is low while individual requests wait in an inefficient per-request queue. Trying to send identical provider-specific headers to every endpoint will break interoperability; this is insufficient for the release-control decision, given the evidence that gPU utilization is low while individual requests wait in an inefficient per-request queue.

Question 492

A design review identifies a dangerous shortcut: Comparing unrelated traffic groups confounds prompt effect with user mix. In this workload, a team compares two prompts for potentially biased explanations. Which control should be approved to run controlled A/B prompt evaluations on matched examples?

  1. Record policy outcomes and route blocked responses to safe alternatives or human review.
  2. Report confidence proxies, cited inputs, and caveats matched to evaluation results.
  3. Maintain deployment-linked model cards and policy attestations.
  4. Use versioned prompts and matched evaluation cohorts with documented scoring.
  5. Use LLM-as-a-judge evaluations with reference labels and consistency checks.

Explanation

Correct Answer

D:

Comparable inputs isolate prompt changes from sample-composition differences; this is the behavior to validate in a release review concerned with run controlled A/B prompt evaluations on matched examples. Comparing unrelated traffic groups confounds prompt effect with user mix; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

For work that needs to build intervention logging and controlled fallback behavior into the app, explicit handling avoids exposing forbidden text while preserving an audit trail; the specific the release-control decision instead requires run controlled A/B prompt evaluations on matched examples in light of the new prompt appears fairer solely because its test traffic is different. Silently replacing every blocked response with a generic claim hides policy failures; this is insufficient for the release-control decision, given the evidence that the new prompt appears fairer solely because its test traffic is different.

B:

Calibrated communication conveys reliability limits and source coverage; that is valuable when the goal is to avoid presenting uncertain statements as deterministic facts, but the release-control decision instead depends on the ability to run controlled A/B prompt evaluations on matched examples. A confident tone setting does not measure uncertainty; it does not account for the condition in the release-control decision: the new prompt appears fairer solely because its test traffic is different.

C:

Written limits and tests make scope decisions reviewable across model updates; this explains its relevance to connect deployed versions to model limitations and permitted-purpose policy, not the the release-control decision requirement to run controlled A/B prompt evaluations on matched examples after the new prompt appears fairer solely because its test traffic is different. A developer's informal note does not bind a runtime to the approved scope; choosing it for the release-control decision would leave the underlying issue visible: the new prompt appears fairer solely because its test traffic is different.

E:

The scope of this alternative is different: rubric-based judging scales measurement when evaluated for bias and agreement; it supports define an explicit judge rubric and calibrate against human examples, while the release-control decision needs run controlled A/B prompt evaluations on matched examples after the new prompt appears fairer solely because its test traffic is different. A single unverified judge score is not ground truth; for the release-control decision, the unresolved requirement remains to run controlled A/B prompt evaluations on matched examples, as shown when the new prompt appears fairer solely because its test traffic is different.

Question 493

A prompt update must not regress previously correct workflows. A successful solution needs to run golden-set regressions as a CI/CD release gate. Which option is the most suitable design?

  1. Run a fixed safety regression suite with clear release thresholds.
  2. Block deployment when defined quality metrics breach the baseline.
  3. Measure fairness metrics by relevant cohorts with human review.
  4. Create a rubric with distinct groundedness, relevance, and completeness metrics.
  5. Evaluate retrieval precision at k against labeled source passages.

Explanation

Correct Answer

B:

Automated gates compare candidate and approved behavior before promoting versions; it directly supports the architectural objective to run golden-set regressions as a CI/CD release gate. A successful build proves syntax and packaging, not answer reliability; that boundary is important when selecting the implementation.

Incorrect Answers

A:

For work that needs to include adversarial and policy-violation tests in the quality gate, repeatable adversarial tests catch control erosion despite otherwise good quality metrics; the specific the architecture selection instead requires run golden-set regressions as a CI/CD release gate in light of a harmless-looking prompt refactor breaks a known invoice extraction case. General helpfulness scores do not test the policy boundary; this is insufficient for the architecture selection, given the evidence that a harmless-looking prompt refactor breaks a known invoice extraction case.

C:

For work that needs to test a representative evaluation set for differential error rates, disaggregated evaluation reveals uneven performance hidden by global averages; the specific the architecture selection instead requires run golden-set regressions as a CI/CD release gate in light of a harmless-looking prompt refactor breaks a known invoice extraction case. Changing temperature cannot by itself eliminate training or retrieval bias; this is insufficient for the architecture selection, given the evidence that a harmless-looking prompt refactor breaks a known invoice extraction case.

D:

The scope of this alternative is different: generative output can be fluent yet unsupported, so quality needs multiple independent dimensions; it supports measure factual support, relevance, completeness, and response clarity separately, while the architecture selection needs run golden-set regressions as a CI/CD release gate after a harmless-looking prompt refactor breaks a known invoice extraction case. A generic text-overlap score misses plausible but false statements; for the architecture selection, the unresolved requirement remains to run golden-set regressions as a CI/CD release gate, as shown when a harmless-looking prompt refactor breaks a known invoice extraction case.

E:

For work that needs to measure how many retrieved hits are relevant among top-k results, precision quantifies ranking noise that wastes context and can distract the model; the specific the architecture selection instead requires run golden-set regressions as a CI/CD release gate in light of a harmless-looking prompt refactor breaks a known invoice extraction case. Final-answer accuracy alone does not expose redundant retrieval; this is insufficient for the architecture selection, given the evidence that a harmless-looking prompt refactor breaks a known invoice extraction case.

Question 494

A search cluster has high query latency on large indexes. A customer assistant's answer quality falls after a model revision. The deployment has these independent requirements: (1) profile and tune ANN index parameters and shard layout; (2) compare responses on a stable golden dataset and review divergences. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Experiment with temperature and top-p settings on the creative task set.
  2. Optimize vector index search settings based on measured recall-latency curves.
  3. Run output-diff and groundedness regression evaluations across versions.
  4. Combine vector-index health metrics with source-sync freshness audits.
  5. Benchmark latency-optimized model inference where available for the chosen model.

Explanation

Correct Answers

B:

Vector index configuration trades candidate breadth, speed, and memory; this fulfills profile and tune ANN index parameters and shard layout within a combined design that must also compare responses on a stable golden dataset and review divergences. Increasing the top-k response size may worsen inference context overhead; the other required action(s) must additionally compare responses on a stable golden dataset and review divergences.

C:

Controlled test inputs expose model-specific behavior changes separately from traffic variation; this fulfills compare responses on a stable golden dataset and review divergences within a combined design that must also profile and tune ANN index parameters and shard layout. A successful API status code proves only that a response was returned; the other required action(s) must additionally profile and tune ANN index parameters and shard layout.

Incorrect Answers

A:

Sampling changes diversity, but decisions should be validated against coherence and policy requirements; its proper focus is to tune supported sampling controls while measuring quality and safety, rather than the combined requirements to profile and tune ANN index parameters and shard layout and compare responses on a stable golden dataset and review divergences. Increasing randomness without limits can raise factual and formatting error rates; in this combined design needing profile and tune ANN index parameters and shard layout and compare responses on a stable golden dataset and review divergences, it does not directly meet the specified requirement to compare responses on a stable golden dataset and review divergences.

D:

Operational health includes current content and quality, not just cluster availability; its proper focus is to monitor index freshness, recall checks, and retrieval latency, rather than the combined requirements to profile and tune ANN index parameters and shard layout and compare responses on a stable golden dataset and review divergences. Green storage health does not mean embeddings match updated documents; in this combined design needing profile and tune ANN index parameters and shard layout and compare responses on a stable golden dataset and review divergences, it does not directly meet the specified requirement to compare responses on a stable golden dataset and review divergences.

E:

Service-tier choices can improve responsiveness but availability and model compatibility must be checked; its proper focus is to measure a supported latency-optimized inference mode against quality objectives, rather than the combined requirements to profile and tune ANN index parameters and shard layout and compare responses on a stable golden dataset and review divergences. Latency optimization does not guarantee identical cost or support for every model; in this combined design needing profile and tune ANN index parameters and shard layout and compare responses on a stable golden dataset and review divergences, it does not directly meet the specified requirement to profile and tune ANN index parameters and shard layout.

Question 495

A procurement pipeline receives contracts with scrambled section ordering. A successful solution needs to repair document structure while retaining a link to unmodified evidence. Which option is the most suitable design?

  1. Apply AWS Glue Data Quality rules and quarantine invalid source records.
  2. Use a preprocessing transform that identifies and restores section boundaries before chunking.
  3. Build properly structured Bedrock Converse messages rather than concatenating ad hoc JSON.
  4. Transcribe recordings with Amazon Transcribe before chunking and embedding text.
  5. Construct content blocks with the correct media format and model-supported payload type.
  6. Select an embedding approach that supports the required text-image retrieval relationship.

Explanation

Correct Answer

B:

Structure-aware preparation improves retrieval context and supports citations back to source spans; it directly supports the architectural objective to repair document structure while retaining a link to unmodified evidence. Flattening all text into one unstructured field can combine unrelated clauses; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Quality rules can check required fields, ranges, and patterns before downstream indexing uses the data; this explains its relevance to reject malformed rows before embedding and indexing, not the the architecture selection requirement to repair document structure while retaining a link to unmodified evidence after retrieved passages mix termination clauses with payment tables and mislead the answer. An embedding model can encode malformed text but cannot repair authoritative source accuracy; choosing it for the architecture selection would leave the underlying issue visible: retrieved passages mix termination clauses with payment tables and mislead the answer.

C:

The scope of this alternative is different: the Converse request schema distinguishes roles, message content, system instructions, and inference options; it supports serialize each turn as a valid message with supported roles and content blocks, while the architecture selection needs repair document structure while retaining a link to unmodified evidence after retrieved passages mix termination clauses with payment tables and mislead the answer. A plain JSON-looking string is not equivalent to the required typed request structure; for the architecture selection, the unresolved requirement remains to repair document structure while retaining a link to unmodified evidence, as shown when retrieved passages mix termination clauses with payment tables and mislead the answer.

D:

Speech recognition produces text that a text retrieval pipeline can index, while timestamps support traceability; that is valuable when the goal is to convert speech into searchable textual evidence with timestamps, but the architecture selection instead depends on the ability to repair document structure while retaining a link to unmodified evidence. Passing raw audio into a text-only embedding stage cannot recover spoken content; it does not account for the condition in the architecture selection: retrieved passages mix termination clauses with payment tables and mislead the answer.

E:

The API schema and selected model capability jointly determine how nontext input is accepted; that is valuable when the goal is to send supported image blocks with the surrounding user text, but the architecture selection instead depends on the ability to repair document structure while retaining a link to unmodified evidence. Putting base64 characters in a text field does not create an image input block; it does not account for the condition in the architecture selection: retrieved passages mix termination clauses with payment tables and mislead the answer.

F:

For work that needs to index compatible multimodal representations for image-to-text queries, aligned representations make semantically related pictures and phrases comparable in the chosen search system; the specific the architecture selection instead requires repair document structure while retaining a link to unmodified evidence in light of retrieved passages mix termination clauses with payment tables and mislead the answer. Text-only embeddings of file names do not capture image appearance; this is insufficient for the architecture selection, given the evidence that retrieved passages mix termination clauses with payment tables and mislead the answer.

Question 496

An application operates at a constrained edge site but invokes a cloud FM. A release proposal aims to separate low-latency local preprocessing from remote model inference. Which architecture decision fits the constraint?

  1. Run local filtering and use secure network routes to a permitted cloud inference endpoint.
  2. Use a controlled hybrid connectivity path and minimize transferred sensitive data.
  3. Serve de-identified retrieval data by default with a controlled privileged lookup path.
  4. Partition the RAG architecture by residency domain and enforce region-aware routing.

Explanation

Correct Answer

A:

Edge processing can reduce payloads and protect connectivity without claiming that the FM itself runs at the edge; it directly supports the architectural objective to separate low-latency local preprocessing from remote model inference. Moving the web client to Wavelength does not move an unsupported managed FM there; that boundary is important when selecting the implementation.

Incorrect Answers

B:

The scope of this alternative is different: hybrid design separates locally governed source systems from cloud FM calls and permits explicit data movement policy; it supports integrate approved metadata with cloud inference over private connectivity, while the architecture selection needs separate low-latency local preprocessing from remote model inference after an edge deployment still sends unfiltered private images to a remote model service. Hosting other workloads on Outposts does not automatically place Bedrock inference on premises; for the architecture selection, the unresolved requirement remains to separate low-latency local preprocessing from remote model inference, as shown when an edge deployment still sends unfiltered private images to a remote model service.

C:

Separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; this explains its relevance to maintain separate masked views and role-gated source access, not the the architecture selection requirement to separate low-latency local preprocessing from remote model inference after an edge deployment still sends unfiltered private images to a remote model service. A model prompt cannot safely decide who may de-anonymize records; choosing it for the architecture selection would leave the underlying issue visible: an edge deployment still sends unfiltered private images to a remote model service.

D:

Data location and inference destination both matter when governing cross-border processing; this explains its relevance to choose per-jurisdiction storage and processing paths before inference, not the the architecture selection requirement to separate low-latency local preprocessing from remote model inference after an edge deployment still sends unfiltered private images to a remote model service. Replicating all vector indexes into one region may violate source residency rules; choosing it for the architecture selection would leave the underlying issue visible: an edge deployment still sends unfiltered private images to a remote model service.

Question 497

A design review identifies a dangerous shortcut: A fluent explanation is not an authoritative reasoning audit trail. In this workload, an assistant is required to show why a recommendation is supported. Which control should be approved to display retrieved citations and calibrated uncertainty to users?

  1. Measure fairness metrics by relevant cohorts with human review.
  2. Use source-grounded RAG with a post-generation citation consistency check.
  3. Attach verifiable source references and clear uncertainty indicators to high-impact answers.
  4. Combine configured guardrails and deterministic application policy checks.

Explanation

Correct Answer

C:

Evidence presentation lets users inspect support without treating the model's wording as proof; this is the behavior to validate in a release review concerned with display retrieved citations and calibrated uncertainty to users. A fluent explanation is not an authoritative reasoning audit trail; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

Disaggregated evaluation reveals uneven performance hidden by global averages; this explains its relevance to test a representative evaluation set for differential error rates, not the the release-control decision requirement to display retrieved citations and calibrated uncertainty to users after users accept a fabricated policy recommendation because no evidence is presented. Changing temperature cannot by itself eliminate training or retrieval bias; choosing it for the release-control decision would leave the underlying issue visible: users accept a fabricated policy recommendation because no evidence is presented.

B:

The scope of this alternative is different: retrieval provides attributable evidence; the checker rejects claims unsupported by the cited passage; it supports bind the answer to retrieved evidence and inspect citation support, while the release-control decision needs display retrieved citations and calibrated uncertainty to users after users accept a fabricated policy recommendation because no evidence is presented. A plausible citation-looking string is not proof that the document says the claim; for the release-control decision, the unresolved requirement remains to display retrieved citations and calibrated uncertainty to users, as shown when users accept a fabricated policy recommendation because no evidence is presented.

D:

Layered enforcement handles model-generated text and exact organizational rules separately; that is valuable when the goal is to enforce policy rules outside generative suggestions with escalation paths, but the release-control decision instead depends on the ability to display retrieved citations and calibrated uncertainty to users. A model card documents limitations but does not block prohibited actions; it does not account for the condition in the release-control decision: users accept a fabricated policy recommendation because no evidence is presented.

Question 498

Production evidence: Long prompts time out while small calls succeed and retries pile up. The original design context was: An app gets intermittent throttling and timeout responses from inference. Which change prevents recurrence?

  1. Use capped exponential backoff with jitter in the AWS SDK client.
  2. Inspect SDK errors and correct message or content-block serialization.
  3. Add step-level logs and X-Ray spans around prompt and tool transitions.
  4. Check effective IAM permissions, resource scope, and explicit deny policies.
  5. Correlate service errors, concurrency, retries, and request deadlines.

Explanation

Correct Answer

E:

Error classification distinguishes transient capacity limits from client deadline exhaustion; that explains the reported failure: long prompts time out while small calls succeed and retries pile up. Treating every exception as a model-quality failure sends debugging in the wrong direction; a symptom-only workaround would not restore the requirement to separate quota pressure from upstream network and application timeouts.

Incorrect Answers

A:

Spreading retries reduces synchronized load and bounds time spent recovering from transient errors; this explains its relevance to retry safely without amplifying traffic spikes, not the the reported failure and its causal repair requirement to separate quota pressure from upstream network and application timeouts after long prompts time out while small calls succeed and retries pile up. Immediate tight-loop retries worsen rate limits and increase failure latency; choosing it for the reported failure and its causal repair would leave the underlying issue visible: long prompts time out while small calls succeed and retries pile up.

B:

Request validation rejects unsupported roles, fields, or media types before model execution; that is valuable when the goal is to check the exact API field structure against the selected model's support, but the reported failure and its causal repair instead depends on the ability to separate quota pressure from upstream network and application timeouts. A larger retry budget cannot fix deterministic schema errors; it does not account for the condition in the reported failure and its causal repair: long prompts time out while small calls succeed and retries pile up.

C:

Tracing the boundaries reveals where context or formatting changes unexpectedly; this explains its relevance to trace intermediate prompts and transformations with secure correlation IDs, not the the reported failure and its causal repair requirement to separate quota pressure from upstream network and application timeouts after long prompts time out while small calls succeed and retries pile up. A final answer log alone cannot reconstruct lost intermediate fields; choosing it for the reported failure and its causal repair would leave the underlying issue visible: long prompts time out while small calls succeed and retries pile up.

D:

Authorization depends on the caller identity and target action, not just account membership; this explains its relevance to trace which runtime role and model resource is actually used, not the the reported failure and its causal repair requirement to separate quota pressure from upstream network and application timeouts after long prompts time out while small calls succeed and retries pile up. Changing the prompt cannot grant invoke permission to the backend role; choosing it for the reported failure and its causal repair would leave the underlying issue visible: long prompts time out while small calls succeed and retries pile up.

Question 499

A user request lacks a required product identifier. A successful solution needs to pause and obtain clarification before invoking expensive downstream tools. Which option is the most suitable design?

  1. Implement a clarification branch using deterministic workflow state.
  2. Implement conditional branching and escalation in an orchestrated prompt flow.
  3. Build evidence-first prompts that require supporting passages for claims.
  4. Provide role guidance through system messages and enforce boundaries in application logic.

Explanation

Correct Answer

A:

Explicit state transitions prevent the application from guessing mandatory values; it directly supports the architectural objective to pause and obtain clarification before invoking expensive downstream tools. Increasing temperature makes missing identifiers less reliable, not more available; that boundary is important when selecting the implementation.

Incorrect Answers

B:

For work that needs to branch an AI workflow based on trusted classification results, branching isolates specialized handling and can route sensitive outcomes through human review; the specific the architecture selection instead requires pause and obtain clarification before invoking expensive downstream tools in light of the assistant orders a replacement component without confirming the device model. A generic all-purpose prompt cannot guarantee a mandatory approval transition; this is insufficient for the architecture selection, given the evidence that the assistant orders a replacement component without confirming the device model.

C:

Grounding the answer to retrieved material and permitting uncertainty reduces unsupported completions; that is valuable when the goal is to include bounded evidence and instructions to abstain when unsupported, but the architecture selection instead depends on the ability to pause and obtain clarification before invoking expensive downstream tools. Merely asking a model to be accurate cannot supply missing knowledge; it does not account for the condition in the architecture selection: the assistant orders a replacement component without confirming the device model.

D:

Trusted instructions set behavior while the runtime distinguishes lower-trust user content; that is valuable when the goal is to keep trusted system instructions separate from untrusted user content, but the architecture selection instead depends on the ability to pause and obtain clarification before invoking expensive downstream tools. A role instruction by itself is not a substitute for guardrails and authorization; it does not account for the condition in the architecture selection: the assistant orders a replacement component without confirming the device model.

Question 500

A regression ticket has no record of which model input produced the bad answer. Investigators also establish that a team needs detailed examples of unexpectedly poor FM responses. Which implementation most directly addresses the cause?

  1. Publish token-usage and estimated-cost metrics with dimensions in CloudWatch.
  2. Execute schema and semantic contract tests against model responses.
  3. Create structured trace records for each model and tool invocation.
  4. Use Amazon Bedrock model invocation logging where supported and restrict log access.

Explanation

Correct Answer

D:

Invocation details can support forensic analysis while requiring explicit data handling controls; that explains the reported failure: a regression ticket has no record of which model input produced the bad answer. CloudTrail control-plane events do not by themselves capture answer text for quality review; a symptom-only workaround would not restore the requirement to enable protected model invocation logging with a privacy-conscious retention policy.

Incorrect Answers

A:

Attributed usage reveals which behavior or cohort drives spend; this explains its relevance to record input and output tokens per model, tenant, and feature, not the the reported failure and its causal repair requirement to enable protected model invocation logging with a privacy-conscious retention policy after a regression ticket has no record of which model input produced the bad answer. A single monthly total does not identify the feature creating token bursts; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a regression ticket has no record of which model input produced the bad answer.

B:

Schema checks detect field removal, type changes, and invalid required combinations; this explains its relevance to validate structured-output contracts before routing traffic, not the the reported failure and its causal repair requirement to enable protected model invocation logging with a privacy-conscious retention policy after a regression ticket has no record of which model input produced the bad answer. Matching a few output words does not establish API compatibility; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a regression ticket has no record of which model input produced the bad answer.

C:

Per-step observability distinguishes orchestration overhead from model response time; that is valuable when the goal is to trace correlated agent and tool spans per user request, but the reported failure and its causal repair instead depends on the ability to enable protected model invocation logging with a privacy-conscious retention policy. One log line per final answer cannot expose intermediate retries; it does not account for the condition in the reported failure and its causal repair: a regression ticket has no record of which model input produced the bad answer.

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