Question 480

Production evidence: The same purchase order is created twice after a network timeout. The original design context was: An agent tool occasionally responds with transient HTTP failures. Which change prevents recurrence?

  1. Add circuit breakers, bounded retries, and timeouts around tool adapters.
  2. Put parameter validation and authorization in the Lambda tool handler.
  3. Implement structured tool errors with idempotency and bounded retry semantics.
  4. Record tool calls per successful task and detect repeated action patterns.

Explanation

Correct Answer

C:

Typed outcomes let the agent distinguish temporary failures from rejected requests without blindly repeating side effects; that explains the reported failure: the same purchase order is created twice after a network timeout. Returning vague free text makes retries and compensation unreliable; a symptom-only workaround would not restore the requirement to return typed success and recoverable error results to the orchestrator.

Incorrect Answers

A:

Tool isolation stops a broken dependency from consuming every step and preserves controlled degradation; this explains its relevance to prevent cascading tool retries from exhausting the agent session, not the the reported failure and its causal repair requirement to return typed success and recoverable error results to the orchestrator after the same purchase order is created twice after a network timeout. Increasing the maximum number of agent iterations can multiply the failure load; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the same purchase order is created twice after a network timeout.

B:

The handler rejects malformed identifiers and disallowed amounts even if the FM requests them; this explains its relevance to validate the tool schema and business limits in code before execution, not the the reported failure and its causal repair requirement to return typed success and recoverable error results to the orchestrator after the same purchase order is created twice after a network timeout. Model-side tool descriptions do not enforce server-side transactional limits; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the same purchase order is created twice after a network timeout.

D:

Efficiency metrics reveal unproductive loops that raise cost and risk; that is valuable when the goal is to measure tool efficiency and stopping correctness, but the reported failure and its causal repair instead depends on the ability to return typed success and recoverable error results to the orchestrator. High model response quality does not imply economical orchestration; it does not account for the condition in the reported failure and its causal repair: the same purchase order is created twice after a network timeout.

Question 481

A vector index is expensive because each embedding uses many dimensions. After deployment, storage falls after shortening vectors, but relevant rare terms stop being retrieved. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Test supported embedding dimensionality settings against recall, size, and latency.
  2. Use Amazon Bedrock Knowledge Bases with a supported vector store.
  3. Benchmark supported embedding models on a multilingual query-document relevance set.
  4. Batch embedding requests where supported and throttle workers to quotas.

Explanation

Correct Answer

A:

Reduced vector size can lower index storage and search cost, but may change semantic discrimination; that explains the reported failure: storage falls after shortening vectors, but relevant rare terms stop being retrieved. A smaller vector is not automatically better when hard queries lose recall; a symptom-only workaround would not restore the requirement to compare lower-dimensional representations against observed retrieval quality.

Incorrect Answers

B:

The scope of this alternative is different: managed knowledge bases coordinate data-source ingestion and semantic retrieval for FM augmentation; it supports avoid hand-building every retrieval integration component, while the reported failure and its causal repair needs compare lower-dimensional representations against observed retrieval quality after storage falls after shortening vectors, but relevant rare terms stop being retrieved. The underlying vector store still requires data governance and access design; for the reported failure and its causal repair, the unresolved requirement remains to compare lower-dimensional representations against observed retrieval quality, as shown when storage falls after shortening vectors, but relevant rare terms stop being retrieved.

C:

Recall and ranking quality on target languages matter more than generic generation benchmarks; this explains its relevance to select embeddings based on language fit and retrieval measurements, not the the reported failure and its causal repair requirement to compare lower-dimensional representations against observed retrieval quality after storage falls after shortening vectors, but relevant rare terms stop being retrieved. An English-only evaluation cannot establish cross-language semantic matching; choosing it for the reported failure and its causal repair would leave the underlying issue visible: storage falls after shortening vectors, but relevant rare terms stop being retrieved.

D:

The scope of this alternative is different: rate-aware batching reduces per-document overhead while respecting provider limits; it supports schedule controlled embedding batches with bounded concurrency, while the reported failure and its causal repair needs compare lower-dimensional representations against observed retrieval quality after storage falls after shortening vectors, but relevant rare terms stop being retrieved. Unbounded parallelism turns a backlog into repeated throttling failures; for the reported failure and its causal repair, the unresolved requirement remains to compare lower-dimensional representations against observed retrieval quality, as shown when storage falls after shortening vectors, but relevant rare terms stop being retrieved.

Question 482

Filtering final answers alone cannot replace source access restrictions. An architecture reviewer must still ensure the application can block configured PII patterns in generated output. What recommendation is justified?

  1. Implement identity-policy and network controls alongside document-level retrieval checks.
  2. Combine source authorization checks with retrieval metadata filters.
  3. Configure an appropriate AWS PrivateLink interface VPC endpoint and endpoint policies.
  4. Apply a Bedrock Guardrails sensitive-information filter with independent output validation.
  5. Enforce output moderation with Bedrock Guardrails and an application release gate.
  6. Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.

Explanation

Correct Answer

D:

Output filters reduce accidental disclosure of detected sensitive data types; this is the behavior to validate in a release review concerned with block configured PII patterns in generated output. Filtering final answers alone cannot replace source access restrictions; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

The scope of this alternative is different: the three layers serve different purposes: permitted API actions, permitted network paths, and permitted content; it supports separate IAM authorizations, endpoint policy, and data filtering responsibilities, while the release-control decision needs block configured PII patterns in generated output after a user asks a benign question and receives an internal account number in the reply. Granting VPC endpoint access does not confer document-level authorization; for the release-control decision, the unresolved requirement remains to block configured PII patterns in generated output, as shown when a user asks a benign question and receives an internal account number in the reply.

B:

For work that needs to enforce source-specific access controls before constructing the retrieval context, the application must carry trusted identity context into candidate selection so the FM never sees disallowed chunks; the specific the release-control decision instead requires block configured PII patterns in generated output in light of a user asks a benign question and receives an internal account number in the reply. An FM refusal after retrieval is too late to protect raw context exposure; this is insufficient for the release-control decision, given the evidence that a user asks a benign question and receives an internal account number in the reply.

C:

Private connectivity keeps service traffic on AWS network paths and provides a control point for allowed access; that is valuable when the goal is to use a private network connection where the service supports it, but the release-control decision instead depends on the ability to block configured PII patterns in generated output. A private subnet alone does not automatically provide a private route to every service; it does not account for the condition in the release-control decision: a user asks a benign question and receives an internal account number in the reply.

E:

For work that needs to screen the response after generation before delivering it, response-side checks can intercept material produced despite safe-looking user input; the specific the release-control decision instead requires block configured PII patterns in generated output in light of a user asks a benign question and receives an internal account number in the reply. Input-only filtering cannot inspect harmful text newly created by the model; this is insufficient for the release-control decision, given the evidence that a user asks a benign question and receives an internal account number in the reply.

F:

Macie can identify sensitive data in S3 objects and trigger action before indexing; that is valuable when the goal is to detect sensitive content in S3 prior to making it searchable, but the release-control decision instead depends on the ability to block configured PII patterns in generated output. Macie is not an inline filter for arbitrary model responses; it does not account for the condition in the release-control decision: a user asks a benign question and receives an internal account number in the reply.

Question 483

A training-free RAG ingestion process receives inconsistent product metadata. A legal assistant must quote private contracts and respect document permissions. The deployment has these independent requirements: (1) reject malformed rows before embedding and indexing; (2) produce evidence-backed answers from current contracts without teaching a new model the documents. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Transcribe recordings with Amazon Transcribe before chunking and embedding text.
  2. Use retrieval-augmented generation with authorization-filtered source retrieval.
  3. Apply AWS Glue Data Quality rules and quarantine invalid source records.
  4. Use a preprocessing transform that identifies and restores section boundaries before chunking.
  5. Run deterministic normalization with Lambda and store original-source references.

Explanation

Correct Answers

B:

Retrieval supplies current authorized passages at request time, allowing the model to ground an answer without changing model weights; this fulfills produce evidence-backed answers from current contracts without teaching a new model the documents within a combined design that must also reject malformed rows before embedding and indexing. Training or prompt-only recall cannot guarantee document freshness or per-user access control; the other required action(s) must additionally reject malformed rows before embedding and indexing.

C:

Quality rules can check required fields, ranges, and patterns before downstream indexing uses the data; this fulfills reject malformed rows before embedding and indexing within a combined design that must also produce evidence-backed answers from current contracts without teaching a new model the documents. An embedding model can encode malformed text but cannot repair authoritative source accuracy; the other required action(s) must additionally produce evidence-backed answers from current contracts without teaching a new model the documents.

Incorrect Answers

A:

Speech recognition produces text that a text retrieval pipeline can index, while timestamps support traceability; its proper focus is to convert speech into searchable textual evidence with timestamps, rather than the combined requirements to reject malformed rows before embedding and indexing and produce evidence-backed answers from current contracts without teaching a new model the documents. Passing raw audio into a text-only embedding stage cannot recover spoken content; in this combined design needing reject malformed rows before embedding and indexing and produce evidence-backed answers from current contracts without teaching a new model the documents, it does not directly meet the specified requirement to reject malformed rows before embedding and indexing.

D:

Structure-aware preparation improves retrieval context and supports citations back to source spans; its proper focus is to repair document structure while retaining a link to unmodified evidence, rather than the combined requirements to reject malformed rows before embedding and indexing and produce evidence-backed answers from current contracts without teaching a new model the documents. Flattening all text into one unstructured field can combine unrelated clauses; in this combined design needing reject malformed rows before embedding and indexing and produce evidence-backed answers from current contracts without teaching a new model the documents, it does not directly meet the specified requirement to reject malformed rows before embedding and indexing.

E:

Stable normalization reduces accidental embedding variation while preserving provenance for audit; its proper focus is to normalize source text without losing cited meaning before indexing, rather than the combined requirements to reject malformed rows before embedding and indexing and produce evidence-backed answers from current contracts without teaching a new model the documents. Generative rewriting can alter a legal date or obligation if used without verification; in this combined design needing reject malformed rows before embedding and indexing and produce evidence-backed answers from current contracts without teaching a new model the documents, it does not directly meet the specified requirement to reject malformed rows before embedding and indexing.

Question 484

A multinational assistant cannot move jurisdiction-specific documents outside their boundary. A team repeatedly writes near-identical cloud infrastructure configuration. The deployment has these independent requirements: (1) choose per-jurisdiction storage and processing paths before inference; (2) generate an IaC starting point then subject it to linting and policy tests. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Issue a task-scoped role with minimal S3 object permissions and caller-aware filters.
  2. Evaluate Amazon Bedrock Data Automation for supported multimodal document extraction.
  3. Use a controlled hybrid connectivity path and minimize transferred sensitive data.
  4. Partition the RAG architecture by residency domain and enforce region-aware routing.
  5. Combine coding assistance with automated IaC validation gates.

Explanation

Correct Answers

D:

Data location and inference destination both matter when governing cross-border processing; this fulfills choose per-jurisdiction storage and processing paths before inference within a combined design that must also generate an IaC starting point then subject it to linting and policy tests. Replicating all vector indexes into one region may violate source residency rules; the other required action(s) must additionally generate an IaC starting point then subject it to linting and policy tests.

E:

Generation increases speed while compilation, security scans, and change review catch defects; this fulfills generate an IaC starting point then subject it to linting and policy tests within a combined design that must also choose per-jurisdiction storage and processing paths before inference. A conversational explanation cannot replace policy enforcement; the other required action(s) must additionally choose per-jurisdiction storage and processing paths before inference.

Incorrect Answers

A:

The tool runtime's data-plane scope must match the action being executed; its proper focus is to avoid granting broad bucket permissions to the agent runtime, rather than the combined requirements to choose per-jurisdiction storage and processing paths before inference and generate an IaC starting point then subject it to linting and policy tests. Allowing s3:* on the bucket makes prompt injection more damaging; in this combined design needing choose per-jurisdiction storage and processing paths before inference and generate an IaC starting point then subject it to linting and policy tests, it does not directly meet the specified requirement to choose per-jurisdiction storage and processing paths before inference.

B:

Purpose-built extraction can structure document content for downstream business workflows; its proper focus is to use a specialized managed document-processing component before generative synthesis, rather than the combined requirements to choose per-jurisdiction storage and processing paths before inference and generate an IaC starting point then subject it to linting and policy tests. A text summarization prompt alone cannot guarantee reliable field extraction across formats; in this combined design needing choose per-jurisdiction storage and processing paths before inference and generate an IaC starting point then subject it to linting and policy tests, it does not directly meet the specified requirement to generate an IaC starting point then subject it to linting and policy tests.

C:

Hybrid design separates locally governed source systems from cloud FM calls and permits explicit data movement policy; its proper focus is to integrate approved metadata with cloud inference over private connectivity, rather than the combined requirements to choose per-jurisdiction storage and processing paths before inference and generate an IaC starting point then subject it to linting and policy tests. Hosting other workloads on Outposts does not automatically place Bedrock inference on premises; in this combined design needing choose per-jurisdiction storage and processing paths before inference and generate an IaC starting point then subject it to linting and policy tests, it does not directly meet the specified requirement to generate an IaC starting point then subject it to linting and policy tests.

Question 485

A broad global routing profile can violate a location-specific processing restriction. An architecture reviewer must still ensure the application can gain cross-Region capacity without routing protected prompts worldwide. What recommendation is justified?

  1. Use a smaller default model with confidence or complexity-based escalation.
  2. Use feature-flagged model routing with deployment-safe configuration changes.
  3. Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.
  4. Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
  5. Use an appropriate cross-Region inference profile and bounded application retries.

Explanation

Correct Answer

C:

Geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; this is the behavior to validate in a release review concerned with gain cross-Region capacity without routing protected prompts worldwide. A broad global routing profile can violate a location-specific processing restriction; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

A cascade pays premium inference costs for the minority of requests requiring deeper capability; this explains its relevance to control spend without sacrificing difficult-case quality, not the the release-control decision requirement to gain cross-Region capacity without routing protected prompts worldwide after audit logs show an inference destination outside the permitted geography. Uniform model selection cannot exploit the workload's complexity distribution; choosing it for the release-control decision would leave the underlying issue visible: audit logs show an inference destination outside the permitted geography.

B:

For work that needs to change routing percentages safely with quick rollback, a controlled routing layer allows cohort-based experiments and rapid reversion without modifying prompts in every client; the specific the release-control decision instead requires gain cross-Region capacity without routing protected prompts worldwide in light of audit logs show an inference destination outside the permitted geography. Changing a global hard-coded model ID exposes all traffic at once; this is insufficient for the release-control decision, given the evidence that audit logs show an inference destination outside the permitted geography.

D:

The adapter abstracts model-specific requests while configuration changes routing independently of service releases; this explains its relevance to switch providers without editing every calling microservice, not the the release-control decision requirement to gain cross-Region capacity without routing protected prompts worldwide after audit logs show an inference destination outside the permitted geography. Embedding model IDs in each client couples every deployment to one provider; choosing it for the release-control decision would leave the underlying issue visible: audit logs show an inference destination outside the permitted geography.

E:

The scope of this alternative is different: a Bedrock inference profile routes supported calls across allowed destination Regions, helping smooth regional capacity pressure; it supports maintain service continuity across supported Bedrock capacity pools, while the release-control decision needs gain cross-Region capacity without routing protected prompts worldwide after audit logs show an inference destination outside the permitted geography. Geographic or global profile selection must respect contractual processing boundaries; for the release-control decision, the unresolved requirement remains to gain cross-Region capacity without routing protected prompts worldwide, as shown when audit logs show an inference destination outside the permitted geography.

Question 486

An assistant reviews code snippets pasted by untrusted users. A successful solution needs to prevent user-supplied role delimiters from becoming trusted instructions. Which option is the most suitable design?

  1. Use structured message roles and explicit untrusted-content delimiters.
  2. Run prompt-injection and jailbreak evaluations against the full tool workflow.
  3. Serve de-identified retrieval data by default with a controlled privileged lookup path.
  4. Configure Amazon Bedrock Guardrails content filters for the intended safety categories.

Explanation

Correct Answer

A:

Keeping data separate from system directives reduces accidental instruction precedence confusion; it directly supports the architectural objective to prevent user-supplied role delimiters from becoming trusted instructions. Plain string concatenation can blur the boundary between user data and instructions; that boundary is important when selecting the implementation.

Incorrect Answers

B:

For work that needs to measure resistance using repeatable adversarial test suites, testing realistic attacks surfaces gaps that benign user prompts and single-model demos miss; the specific the architecture selection instead requires prevent user-supplied role delimiters from becoming trusted instructions in light of a pasted fake system message changes the assistant's permitted tool behavior. A policy document claiming safety is not a measured security result; this is insufficient for the architecture selection, given the evidence that a pasted fake system message changes the assistant's permitted tool behavior.

C:

The scope of this alternative is different: separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; it supports maintain separate masked views and role-gated source access, while the architecture selection needs prevent user-supplied role delimiters from becoming trusted instructions after a pasted fake system message changes the assistant's permitted tool behavior. A model prompt cannot safely decide who may de-anonymize records; for the architecture selection, the unresolved requirement remains to prevent user-supplied role delimiters from becoming trusted instructions, as shown when a pasted fake system message changes the assistant's permitted tool behavior.

D:

The scope of this alternative is different: input filters evaluate configured harmful-content categories before or during protected inference workflows; it supports apply managed content-policy checks to user input, while the architecture selection needs prevent user-supplied role delimiters from becoming trusted instructions after a pasted fake system message changes the assistant's permitted tool behavior. IAM permission checks govern API access but do not classify harmful user language; for the architecture selection, the unresolved requirement remains to prevent user-supplied role delimiters from becoming trusted instructions, as shown when a pasted fake system message changes the assistant's permitted tool behavior.

Question 487

A team repeatedly builds the same translation and formatting steps across apps. The engineering team is required to publish reusable prompt-flow components with monitored I/O contracts. What should be built first?

  1. Gate prompt version promotion and retain associated CloudTrail control-plane records.
  2. Build evidence-first prompts that require supporting passages for claims.
  3. Execute structured-output and safety test cases in an automated prompt test workflow.
  4. Compose modular prompt steps with explicit inputs, outputs, and failure handlers.

Explanation

Correct Answer

D:

Component reuse reduces inconsistent transformation logic and supports per-step tracing; it directly supports the architectural objective to publish reusable prompt-flow components with monitored I/O contracts. Duplicating prompt chains in every app makes fixes and safety checks uneven; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Approval records and API audit trails complement template versioning for accountability; this explains its relevance to keep a reviewed prompt release process with change audit events, not the the architecture selection requirement to publish reusable prompt-flow components with monitored I/O contracts after one application still sends unredacted text after shared policy logic was updated elsewhere. A model response log alone does not establish who deployed an instruction change; choosing it for the architecture selection would leave the underlying issue visible: one application still sends unredacted text after shared policy logic was updated elsewhere.

B:

Grounding the answer to retrieved material and permitting uncertainty reduces unsupported completions; this explains its relevance to include bounded evidence and instructions to abstain when unsupported, not the the architecture selection requirement to publish reusable prompt-flow components with monitored I/O contracts after one application still sends unredacted text after shared policy logic was updated elsewhere. Merely asking a model to be accurate cannot supply missing knowledge; choosing it for the architecture selection would leave the underlying issue visible: one application still sends unredacted text after shared policy logic was updated elsewhere.

C:

The scope of this alternative is different: edge cases reveal schema failures, instruction conflicts, and unsafe fallbacks that normal examples miss; it supports test malformed, adversarial, and boundary inputs before deployment, while the architecture selection needs publish reusable prompt-flow components with monitored I/O contracts after one application still sends unredacted text after shared policy logic was updated elsewhere. Validating only the happy path leaves parser failure modes untested; for the architecture selection, the unresolved requirement remains to publish reusable prompt-flow components with monitored I/O contracts, as shown when one application still sends unredacted text after shared policy logic was updated elsewhere.

Question 488

A design review identifies a dangerous shortcut: A hidden free-form reasoning transcript is not required to prove an API action happened. In this workload, an agent takes several tool actions before giving a final answer. Which control should be approved to log accessible tool and step traces with correlation IDs?

  1. Attach verifiable source references and clear uncertainty indicators to high-impact answers.
  2. Record tool calls per successful task and detect repeated action patterns.
  3. Report confidence proxies, cited inputs, and caveats matched to evaluation results.
  4. Enable agent or application tracing with protected trace access.

Explanation

Correct Answer

D:

Step-level records make it possible to review tool behavior and debug decision paths; this is the behavior to validate in a release review concerned with log accessible tool and step traces with correlation IDs. A hidden free-form reasoning transcript is not required to prove an API action happened; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

The scope of this alternative is different: evidence presentation lets users inspect support without treating the model's wording as proof; it supports display retrieved citations and calibrated uncertainty to users, while the release-control decision needs log accessible tool and step traces with correlation IDs after a suspicious lookup occurs with no trace showing the initiating workflow step. A fluent explanation is not an authoritative reasoning audit trail; for the release-control decision, the unresolved requirement remains to log accessible tool and step traces with correlation IDs, as shown when a suspicious lookup occurs with no trace showing the initiating workflow step.

B:

For work that needs to measure tool efficiency and stopping correctness, efficiency metrics reveal unproductive loops that raise cost and risk; the specific the release-control decision instead requires log accessible tool and step traces with correlation IDs in light of a suspicious lookup occurs with no trace showing the initiating workflow step. High model response quality does not imply economical orchestration; this is insufficient for the release-control decision, given the evidence that a suspicious lookup occurs with no trace showing the initiating workflow step.

C:

Calibrated communication conveys reliability limits and source coverage; this explains its relevance to avoid presenting uncertain statements as deterministic facts, not the the release-control decision requirement to log accessible tool and step traces with correlation IDs after a suspicious lookup occurs with no trace showing the initiating workflow step. A confident tone setting does not measure uncertainty; choosing it for the release-control decision would leave the underlying issue visible: a suspicious lookup occurs with no trace showing the initiating workflow step.

Question 489

Support tickets contain exact error codes and natural-language problem descriptions. The engineering team is required to combine lexical precision with semantic matching. What should be built first?

  1. Use hybrid retrieval combining keyword scores and vector similarity.
  2. Filter by trusted attributes before vector or hybrid scoring.
  3. Use a pgvector-enabled relational design with validated ANN indexes.
  4. Tune hybrid search using both exact-match and embedding scores.

Explanation

Correct Answer

A:

Keyword search preserves exact identifiers while semantic retrieval handles paraphrases and conceptual similarity; it directly supports the architectural objective to combine lexical precision with semantic matching. Vector-only retrieval can underweight rare literal identifiers; that boundary is important when selecting the implementation.

Incorrect Answers

B:

For work that needs to combine metadata prefilters with semantic ranking instead of relying on prompts, candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; the specific the architecture selection instead requires combine lexical precision with semantic matching in light of searching for an error code returns semantically related but incorrect incidents. The FM cannot reliably undo a retrieval query that included unauthorized content; this is insufficient for the architecture selection, given the evidence that searching for an error code returns semantically related but incorrect incidents.

C:

For work that needs to combine SQL conditions with supported nearest-neighbor vector search, vector operators select semantically close rows while SQL predicates enforce structured constraints; the specific the architecture selection instead requires combine lexical precision with semantic matching in light of searching for an error code returns semantically related but incorrect incidents. A full-text B-tree lookup does not represent semantic distance; this is insufficient for the architecture selection, given the evidence that searching for an error code returns semantically related but incorrect incidents.

D:

Hybrid retrieval covers identifier precision and natural-language similarity; this explains its relevance to combine lexical and semantic signals in retrieval, not the the architecture selection requirement to combine lexical precision with semantic matching after searching for an error code returns semantically related but incorrect incidents. Changing answer temperature cannot repair poor source selection; choosing it for the architecture selection would leave the underlying issue visible: searching for an error code returns semantically related but incorrect incidents.

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.

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