Question 20

A knowledge assistant must support both filtering and meaning-based search. The engineering team is required to combine metadata prefilters with semantic ranking instead of relying on prompts. What should be built first?

  1. Filter by trusted attributes before vector or hybrid scoring.
  2. Tune hybrid search using both exact-match and embedding scores.
  3. Use hybrid retrieval combining keyword scores and vector similarity.
  4. Expose a scoped retrieval function or MCP-compatible tool contract.

Explanation

Correct Answer

A:

Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; it directly supports the architectural objective to combine metadata prefilters with semantic ranking instead of relying on prompts. The FM cannot reliably undo a retrieval query that included unauthorized content; that boundary is important when selecting the implementation.

Incorrect Answers

B:

The scope of this alternative is different: hybrid retrieval covers identifier precision and natural-language similarity; it supports combine lexical and semantic signals in retrieval, while the architecture selection needs combine metadata prefilters with semantic ranking instead of relying on prompts after a well-ranked chunk is from the wrong jurisdiction and should not be eligible. Changing answer temperature cannot repair poor source selection; for the architecture selection, the unresolved requirement remains to combine metadata prefilters with semantic ranking instead of relying on prompts, as shown when a well-ranked chunk is from the wrong jurisdiction and should not be eligible.

C:

For work that needs to combine lexical precision with semantic matching, keyword search preserves exact identifiers while semantic retrieval handles paraphrases and conceptual similarity; the specific the architecture selection instead requires combine metadata prefilters with semantic ranking instead of relying on prompts in light of a well-ranked chunk is from the wrong jurisdiction and should not be eligible. Vector-only retrieval can underweight rare literal identifiers; this is insufficient for the architecture selection, given the evidence that a well-ranked chunk is from the wrong jurisdiction and should not be eligible.

D:

Typed query parameters and a controlled handler let the application validate and authorize retrieval requests; that is valuable when the goal is to offer retrieval as a typed tool with explicit input schema, but the architecture selection instead depends on the ability to combine metadata prefilters with semantic ranking instead of relying on prompts. Unstructured free-form tool strings are difficult to validate or restrict; it does not account for the condition in the architecture selection: a well-ranked chunk is from the wrong jurisdiction and should not be eligible.

Question 21

A streaming API is proxied through corporate networking equipment. The engineering team is required to ensure intermediaries and clients support streaming semantics. What should be built first?

  1. Federate workforce identities and use scoped IAM roles for backend execution.
  2. Add distributed X-Ray tracing to the application integration path.
  3. Test timeout, buffering, and streaming compatibility across the full HTTP path.
  4. Use AWS Amplify for app hosting and identity-aware frontend integration with a secured backend.

Explanation

Correct Answer

C:

Transport behavior can coalesce or terminate chunks even when the FM emits them incrementally; it directly supports the architectural objective to ensure intermediaries and clients support streaming semantics. Enabling streaming at Bedrock alone does not guarantee immediate browser rendering; that boundary is important when selecting the implementation.

Incorrect Answers

A:

For work that needs to map enterprise user identity to bounded application and model permissions, federation authenticates users; IAM and application checks independently authorize model and data actions; the specific the architecture selection instead requires ensure intermediaries and clients support streaming semantics in light of tokens are generated promptly but arrive in the browser only after the proxy buffers the response. A successful SSO login does not imply access to every document or FM; this is insufficient for the architecture selection, given the evidence that tokens are generated promptly but arrive in the browser only after the proxy buffers the response.

B:

For work that needs to identify latency at each outbound call and tool boundary, correlated spans identify whether API validation, retrieval, tool execution, or inference dominates delay; the specific the architecture selection instead requires ensure intermediaries and clients support streaming semantics in light of tokens are generated promptly but arrive in the browser only after the proxy buffers the response. A single total-response metric gives no localization of the bottleneck; this is insufficient for the architecture selection, given the evidence that tokens are generated promptly but arrive in the browser only after the proxy buffers the response.

D:

For work that needs to provide UI authentication and API integration without shipping secrets, frontend tooling accelerates deployment while privileged model calls remain server-side; the specific the architecture selection instead requires ensure intermediaries and clients support streaming semantics in light of tokens are generated promptly but arrive in the browser only after the proxy buffers the response. A frontend framework is not a substitute for a protected model API; this is insufficient for the architecture selection, given the evidence that tokens are generated promptly but arrive in the browser only after the proxy buffers the response.

Question 22

A support bot often generates long answers when users ask yes-or-no questions. A successful solution needs to constrain completion length to the business-required format. Which option is the most suitable design?

  1. Set appropriate output-token limits and concise response instructions.
  2. Use semantic caching with similarity thresholds and authorization-aware cache keys.
  3. Use supported batch inference or controlled application-side batching.
  4. Use token counting or model-aware estimation at the inference gateway.
  5. Cache deterministic FAQ responses with a policy-aware TTL.
  6. Model throughput requirements using input/output token metrics and concurrency.

Explanation

Correct Answer

A:

A bounded completion budget curbs excessive generation and controls response time; it directly supports the architectural objective to constrain completion length to the business-required format. A tiny limit can truncate useful explanations and must be evaluated against task success; that boundary is important when selecting the implementation.

Incorrect Answers

B:

Semantic matching can reduce repeated inference even when phrasing differs; this explains its relevance to reuse answers for meaning-equivalent inputs with strong safeguards, not the the architecture selection requirement to constrain completion length to the business-required format after short questions consume hundreds of output tokens despite a one-sentence requirement. Overbroad similarity thresholds can return an answer for a materially different question; choosing it for the architecture selection would leave the underlying issue visible: short questions consume hundreds of output tokens despite a one-sentence requirement.

C:

Bulk processing can trade turnaround time for efficiency and coordinated capacity use; that is valuable when the goal is to batch requests within latency and provider constraints, but the architecture selection instead depends on the ability to constrain completion length to the business-required format. Interactive chat requests should not be delayed inside oversized batches; it does not account for the condition in the architecture selection: short questions consume hundreds of output tokens despite a one-sentence requirement.

D:

The scope of this alternative is different: preflight estimates let the service allocate input, retrieval, and completion budgets; it supports estimate token volume and enforce per-request spend ceilings, while the architecture selection needs constrain completion length to the business-required format after short questions consume hundreds of output tokens despite a one-sentence requirement. HTTP byte count is not a dependable substitute for model token accounting; for the architecture selection, the unresolved requirement remains to constrain completion length to the business-required format, as shown when short questions consume hundreds of output tokens despite a one-sentence requirement.

E:

A response cache bypasses redundant FM calls when identity, version, and validity conditions match; that is valuable when the goal is to avoid regenerating identical approved answers while respecting freshness, but the architecture selection instead depends on the ability to constrain completion length to the business-required format. An unkeyed global cache risks serving private answers to the wrong user; it does not account for the condition in the architecture selection: short questions consume hundreds of output tokens despite a one-sentence requirement.

F:

Token-aware capacity planning aligns resource needs with the actual decoding burden; that is valuable when the goal is to forecast workload from prompt and completion token distributions, but the architecture selection instead depends on the ability to constrain completion length to the business-required format. Two requests can differ by orders of magnitude in compute even if counts match; it does not account for the condition in the architecture selection: short questions consume hundreds of output tokens despite a one-sentence requirement.

Question 23

A single average response time masks tail latency that affects interactive workloads. An architecture reviewer must still ensure the application can compare quality against per-request tokens, latency, and escalation frequency. What recommendation is justified?

  1. Use the AWS Well-Architected Tool with a GenAI-focused workload review.
  2. Run a multilingual task-specific model benchmark with native-speaker review.
  3. Use retrieval-augmented generation with authorization-filtered source retrieval.
  4. Separate versioned system prompts from an indexed, frequently refreshed product knowledge source.
  5. Instrument the prototype to record token usage, p95 latency, task success, and estimated spend.

Explanation

Correct Answer

E:

A credible proof of concept exposes both technical quality and economics; aggregate demo accuracy alone hides token-heavy failures; this is the behavior to validate in a release review concerned with compare quality against per-request tokens, latency, and escalation frequency. A single average response time masks tail latency that affects interactive workloads; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

For work that needs to map architectural risks to an explicit, repeatable review checklist, a structured workload review captures risks and improvement actions across relevant pillars before production approval; the specific the release-control decision instead requires compare quality against per-request tokens, latency, and escalation frequency in light of pilot users praise answers while the deployment budget cannot be defended quantitatively. A model leaderboard says little about disaster recovery, governance, and operations; this is insufficient for the release-control decision, given the evidence that pilot users praise answers while the deployment budget cannot be defended quantitatively.

B:

For work that needs to validate accuracy and safety per language before selecting a provider, language-specific tests reveal quality disparities that English-only benchmarks conceal; the specific the release-control decision instead requires compare quality against per-request tokens, latency, and escalation frequency in light of pilot users praise answers while the deployment budget cannot be defended quantitatively. Provider marketing claims about multilingual capability do not prove compliance with the target domain; this is insufficient for the release-control decision, given the evidence that pilot users praise answers while the deployment budget cannot be defended quantitatively.

C:

Retrieval supplies current authorized passages at request time, allowing the model to ground an answer without changing model weights; that is valuable when the goal is to produce evidence-backed answers from current contracts without teaching a new model the documents, but the release-control decision instead depends on the ability to compare quality against per-request tokens, latency, and escalation frequency. Training or prompt-only recall cannot guarantee document freshness or per-user access control; it does not account for the condition in the release-control decision: pilot users praise answers while the deployment budget cannot be defended quantitatively.

D:

The prompt establishes behavioral policy while retrieval supplies volatile facts, so one can change without redeploying the other; this explains its relevance to isolate changing facts from stable instructions while controlling operational risk, not the the release-control decision requirement to compare quality against per-request tokens, latency, and escalation frequency after pilot users praise answers while the deployment budget cannot be defended quantitatively. Embedding a full catalog in a static prompt makes updates fragile and can exceed context limits; choosing it for the release-control decision would leave the underlying issue visible: pilot users praise answers while the deployment budget cannot be defended quantitatively.

Question 24

Workers in isolated subnets cannot reach inference without falling back to a public path. Investigators also establish that private GenAI callers must avoid public network paths to Bedrock endpoints. Which implementation most directly addresses the cause?

  1. Run server-side output scanning and blocking for defined secret formats.
  2. Configure explicit retention policies and S3 Lifecycle rules for eligible objects.
  3. Configure an appropriate AWS PrivateLink interface VPC endpoint and endpoint policies.
  4. Implement identity-policy and network controls alongside document-level retrieval checks.
  5. Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.

Explanation

Correct Answer

C:

Private connectivity keeps service traffic on AWS network paths and provides a control point for allowed access; that explains the reported failure: workers in isolated subnets cannot reach inference without falling back to a public path. A private subnet alone does not automatically provide a private route to every service; a symptom-only workaround would not restore the requirement to use a private network connection where the service supports it.

Incorrect Answers

A:

The scope of this alternative is different: post-processing can enforce exact patterns for credentials that a probabilistic model may miss; it supports apply deterministic secret-pattern detection before sending responses, while the reported failure and its causal repair needs use a private network connection where the service supports it after workers in isolated subnets cannot reach inference without falling back to a public path. A safety classifier alone may not cover organization-specific token structures; for the reported failure and its causal repair, the unresolved requirement remains to use a private network connection where the service supports it, as shown when workers in isolated subnets cannot reach inference without falling back to a public path.

B:

The scope of this alternative is different: storage lifecycle controls remove or transition stored data in accordance with policy; it supports apply lifecycle and retention controls to stored prompts and documents, while the reported failure and its causal repair needs use a private network connection where the service supports it after workers in isolated subnets cannot reach inference without falling back to a public path. Lifecycle expiry is distinct from immediate vector-index source deletion; for the reported failure and its causal repair, the unresolved requirement remains to use a private network connection where the service supports it, as shown when workers in isolated subnets cannot reach inference without falling back to a public path.

D:

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 reported failure and its causal repair needs use a private network connection where the service supports it after workers in isolated subnets cannot reach inference without falling back to a public path. Granting VPC endpoint access does not confer document-level authorization; for the reported failure and its causal repair, the unresolved requirement remains to use a private network connection where the service supports it, as shown when workers in isolated subnets cannot reach inference without falling back to a public path.

E:

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 reported failure and its causal repair instead depends on the ability to use a private network connection where the service supports it. Macie is not an inline filter for arbitrary model responses; it does not account for the condition in the reported failure and its causal repair: workers in isolated subnets cannot reach inference without falling back to a public path.

Question 25

Semantically identical requests generate inconsistent chunks because formatting differs. Investigators also establish that customer emails contain variable whitespace and inconsistent date expressions. Which implementation most directly addresses the cause?

  1. Run deterministic normalization with Lambda and store original-source references.
  2. Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.
  3. Apply AWS Glue Data Quality rules and quarantine invalid source records.
  4. Serve de-identified retrieval data by default with a controlled privileged lookup path.

Explanation

Correct Answer

A:

Stable normalization reduces accidental embedding variation while preserving provenance for audit; that explains the reported failure: semantically identical requests generate inconsistent chunks because formatting differs. Generative rewriting can alter a legal date or obligation if used without verification; a symptom-only workaround would not restore the requirement to normalize source text without losing cited meaning before indexing.

Incorrect Answers

B:

Extraction makes printed content searchable, while image-aware handling preserves details ordinary text extraction misses; this explains its relevance to extract usable text and relevant visual context before retrieval, not the the reported failure and its causal repair requirement to normalize source text without losing cited meaning before indexing after semantically identical requests generate inconsistent chunks because formatting differs. Treating a scanned page as plain UTF-8 text loses its visual evidence; choosing it for the reported failure and its causal repair would leave the underlying issue visible: semantically identical requests generate inconsistent chunks because formatting differs.

C:

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 reported failure and its causal repair requirement to normalize source text without losing cited meaning before indexing after semantically identical requests generate inconsistent chunks because formatting differs. An embedding model can encode malformed text but cannot repair authoritative source accuracy; choosing it for the reported failure and its causal repair would leave the underlying issue visible: semantically identical requests generate inconsistent chunks because formatting differs.

D:

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 reported failure and its causal repair needs normalize source text without losing cited meaning before indexing after semantically identical requests generate inconsistent chunks because formatting differs. A model prompt cannot safely decide who may de-anonymize records; for the reported failure and its causal repair, the unresolved requirement remains to normalize source text without losing cited meaning before indexing, as shown when semantically identical requests generate inconsistent chunks because formatting differs.

Question 26

Auditors cannot open the document passage that supposedly supports a recommendation. Investigators also establish that a compliance analyst wants explainable links from each answer to its evidence. Which implementation most directly addresses the cause?

  1. Use evidence verification and policy-based output review with human escalation.
  2. Use Glue Data Catalog or an equivalent governed inventory for source lineage.
  3. Run upload validation, malware scanning where applicable, and trusted text extraction.
  4. Return source references tied to retrieved document IDs and passage spans.

Explanation

Correct Answer

D:

Traceable citations make factual review possible and discourage ungrounded paraphrases; that explains the reported failure: auditors cannot open the document passage that supposedly supports a recommendation. Citing the search index name does not identify which source text supports a claim; a symptom-only workaround would not restore the requirement to preserve source metadata and attach verifiable citations.

Incorrect Answers

A:

The scope of this alternative is different: a policy decision checks whether an answer is supported and within allowed scope; it supports gate high-risk advice on evidence and policy review rather than fluency, while the reported failure and its causal repair needs preserve source metadata and attach verifiable citations after auditors cannot open the document passage that supposedly supports a recommendation. Lower temperature may reduce variability but cannot certify clinical correctness; for the reported failure and its causal repair, the unresolved requirement remains to preserve source metadata and attach verifiable citations, as shown when auditors cannot open the document passage that supposedly supports a recommendation.

B:

A source inventory ties datasets to stewards, classifications, and downstream consumers; that is valuable when the goal is to record source registration and ownership metadata centrally, but the reported failure and its causal repair instead depends on the ability to preserve source metadata and attach verifiable citations. A vector embedding cannot inherently explain its source's licensing rights; it does not account for the condition in the reported failure and its causal repair: auditors cannot open the document passage that supposedly supports a recommendation.

C:

For work that needs to scan and validate attachments before including content in prompts, preprocessing reduces dangerous payloads and prevents unchecked files from entering downstream stages; the specific the reported failure and its causal repair instead requires preserve source metadata and attach verifiable citations in light of auditors cannot open the document passage that supposedly supports a recommendation. An FM content filter is not a replacement for file-type and malware checks; this is insufficient for the reported failure and its causal repair, given the evidence that auditors cannot open the document passage that supposedly supports a recommendation.

Question 27

Asking a generation model to guess filters per query is less reproducible than indexed metadata. An architecture reviewer must still ensure the application can derive structured metadata independently of the generation prompt. What recommendation is justified?

  1. Use Amazon Comprehend entity extraction followed by domain validation.
  2. Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.
  3. Filter by trusted attributes before vector or hybrid scoring.
  4. Validate required attributes with Lambda before accepting documents for indexing.

Explanation

Correct Answer

A:

Entity detection can populate searchable attributes, while a validation step controls accuracy and allowed values; this is the behavior to validate in a release review concerned with derive structured metadata independently of the generation prompt. Asking a generation model to guess filters per query is less reproducible than indexed metadata; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

B:

Extraction makes printed content searchable, while image-aware handling preserves details ordinary text extraction misses; that is valuable when the goal is to extract usable text and relevant visual context before retrieval, but the release-control decision instead depends on the ability to derive structured metadata independently of the generation prompt. Treating a scanned page as plain UTF-8 text loses its visual evidence; it does not account for the condition in the release-control decision: incident searches cannot be narrowed by organization or location despite those details in reports.

C:

Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; this explains its relevance to combine metadata prefilters with semantic ranking instead of relying on prompts, not the the release-control decision requirement to derive structured metadata independently of the generation prompt after incident searches cannot be narrowed by organization or location despite those details in reports. The FM cannot reliably undo a retrieval query that included unauthorized content; choosing it for the release-control decision would leave the underlying issue visible: incident searches cannot be narrowed by organization or location despite those details in reports.

D:

Early validation avoids making unclassified or untraceable content searchable; this explains its relevance to enforce schema rules at the ingestion boundary rather than in generation, not the the release-control decision requirement to derive structured metadata independently of the generation prompt after incident searches cannot be narrowed by organization or location despite those details in reports. Prompt instructions do not create missing ownership metadata in the source system; choosing it for the release-control decision would leave the underlying issue visible: incident searches cannot be narrowed by organization or location despite those details in reports.

Question 28

A team repeatedly writes near-identical cloud infrastructure configuration. A release proposal aims to generate an IaC starting point then subject it to linting and policy tests. Which architecture decision fits the constraint?

  1. Use Amazon Bedrock model invocation logging where supported and restrict log access.
  2. Use Amazon Q Developer for suggestions and validate output in CI.
  3. Combine coding assistance with automated IaC validation gates.
  4. Run a Lambda event handler that invokes a bounded generation workflow.

Explanation

Correct Answer

C:

Generation increases speed while compilation, security scans, and change review catch defects; it directly supports the architectural objective to generate an IaC starting point then subject it to linting and policy tests. A conversational explanation cannot replace policy enforcement; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Invocation details can support forensic analysis while requiring explicit data handling controls; this explains its relevance to enable protected model invocation logging with a privacy-conscious retention policy, not the the architecture selection requirement to generate an IaC starting point then subject it to linting and policy tests after an AI-generated template accidentally grants wildcard permissions to model invokers. CloudTrail control-plane events do not by themselves capture answer text for quality review; choosing it for the architecture selection would leave the underlying issue visible: an AI-generated template accidentally grants wildcard permissions to model invokers.

B:

AI development assistance can generate candidate code, but normal review and testing establish fitness; this explains its relevance to accelerate code exploration while retaining code review and tests, not the the architecture selection requirement to generate an IaC starting point then subject it to linting and policy tests after an AI-generated template accidentally grants wildcard permissions to model invokers. Suggested source code should not be trusted as already deployed or secure; choosing it for the architecture selection would leave the underlying issue visible: an AI-generated template accidentally grants wildcard permissions to model invokers.

D:

For work that needs to process events without blocking the customer record transaction, an event-driven consumer decouples the drafting operation from the CRM write path; the specific the architecture selection instead requires generate an IaC starting point then subject it to linting and policy tests in light of an AI-generated template accidentally grants wildcard permissions to model invokers. Calling the FM synchronously inside the record commit increases transaction fragility; this is insufficient for the architecture selection, given the evidence that an AI-generated template accidentally grants wildcard permissions to model invokers.

Question 29

An assistant is used in a tightly regulated advisory workflow. After deployment, a disallowed recommendation reaches customers despite the prompt's safety paragraph. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Combine configured guardrails and deterministic application policy checks.
  2. Maintain deployment-linked model cards and policy attestations.
  3. Use evidence verification and policy-based output review with human escalation.
  4. Attach verifiable source references and clear uncertainty indicators to high-impact answers.

Explanation

Correct Answer

A:

Layered enforcement handles model-generated text and exact organizational rules separately; that explains the reported failure: a disallowed recommendation reaches customers despite the prompt's safety paragraph. A model card documents limitations but does not block prohibited actions; a symptom-only workaround would not restore the requirement to enforce policy rules outside generative suggestions with escalation paths.

Incorrect Answers

B:

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 reported failure and its causal repair requirement to enforce policy rules outside generative suggestions with escalation paths after a disallowed recommendation reaches customers despite the prompt's safety paragraph. A developer's informal note does not bind a runtime to the approved scope; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a disallowed recommendation reaches customers despite the prompt's safety paragraph.

C:

A policy decision checks whether an answer is supported and within allowed scope; this explains its relevance to gate high-risk advice on evidence and policy review rather than fluency, not the the reported failure and its causal repair requirement to enforce policy rules outside generative suggestions with escalation paths after a disallowed recommendation reaches customers despite the prompt's safety paragraph. Lower temperature may reduce variability but cannot certify clinical correctness; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a disallowed recommendation reaches customers despite the prompt's safety paragraph.

D:

For work that needs to display retrieved citations and calibrated uncertainty to users, evidence presentation lets users inspect support without treating the model's wording as proof; the specific the reported failure and its causal repair instead requires enforce policy rules outside generative suggestions with escalation paths in light of a disallowed recommendation reaches customers despite the prompt's safety paragraph. A fluent explanation is not an authoritative reasoning audit trail; this is insufficient for the reported failure and its causal repair, given the evidence that a disallowed recommendation reaches customers despite the prompt's safety paragraph.

Question 30

A Bedrock application sends conversation history but receives role-format errors. The incident report says: The runtime rejects an otherwise sensible prompt because its message layout is invalid. Which specific design change best corrects the failure?

  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. Construct content blocks with the correct media format and model-supported payload type.

Explanation

Correct Answer

C:

The Converse request schema distinguishes roles, message content, system instructions, and inference options; that explains the reported failure: the runtime rejects an otherwise sensible prompt because its message layout is invalid. A plain JSON-looking string is not equivalent to the required typed request structure; a symptom-only workaround would not restore the requirement to serialize each turn as a valid message with supported roles and content blocks.

Incorrect Answers

A:

For work that needs to reject malformed rows before embedding and indexing, quality rules can check required fields, ranges, and patterns before downstream indexing uses the data; the specific the reported failure and its causal repair instead requires serialize each turn as a valid message with supported roles and content blocks in light of the runtime rejects an otherwise sensible prompt because its message layout is invalid. An embedding model can encode malformed text but cannot repair authoritative source accuracy; this is insufficient for the reported failure and its causal repair, given the evidence that the runtime rejects an otherwise sensible prompt because its message layout is invalid.

B:

Structure-aware preparation improves retrieval context and supports citations back to source spans; this explains its relevance to repair document structure while retaining a link to unmodified evidence, not the the reported failure and its causal repair requirement to serialize each turn as a valid message with supported roles and content blocks after the runtime rejects an otherwise sensible prompt because its message layout is invalid. Flattening all text into one unstructured field can combine unrelated clauses; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the runtime rejects an otherwise sensible prompt because its message layout is invalid.

D:

The API schema and selected model capability jointly determine how nontext input is accepted; this explains its relevance to send supported image blocks with the surrounding user text, not the the reported failure and its causal repair requirement to serialize each turn as a valid message with supported roles and content blocks after the runtime rejects an otherwise sensible prompt because its message layout is invalid. Putting base64 characters in a text field does not create an image input block; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the runtime rejects an otherwise sensible prompt because its message layout is invalid.

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