Question 140 An online travel assistant intermittently truncates long user itineraries and produces incomplete destination comparisons. A change to chunking causes hotel policy exceptions to disappear. Which design choice is most defensible in this scenario? Increase the model's temperature and assume a longer answer will restore missing facts Compare source-chunk boundaries and retrieved evidence before retuning prompts Review output-token limits and stop reasons, then retest response completeness Inspect conversation state assembly and ensure relevant recent commitments remain in context Explanation Correct Answer B:Truncated source passages can deprive the FM of the policy exception it needs. Incorrect Answers A:Creativity settings do not recover content omitted from the input context. Here, a change to chunking causes hotel policy exceptions to disappear. C:Although generation can end because of a budget rather than reaching a complete answer, this action applies to ‘some responses are cut mid-sentence at the configured token limit’, not ‘a change to chunking causes hotel policy exceptions to disappear’. The more direct answer is Compare source-chunk boundaries and retrieved evidence before retuning prompts. D:Missing turn history is an input management defect, not necessarily a model reasoning failure. Here, a change to chunking causes hotel policy exceptions to disappear.
Question 141 An insurer is considering a claims assistant that reads receipts, extracts damages, and drafts adjuster summaries for disputed submissions. Reviewers must know which parts of the proposed architecture are deterministic. Which next step directly resolves the technical concern? Pilot a read-only draft workflow on labeled historical cases with adjuster feedback Select a multimodal extraction and reasoning path that preserves each modality's provenance Draw separate components for document extraction, business-rule validation, FM reasoning and approval Pay every claim automatically whenever the model reports high confidence Explanation Correct Answer C:Explicit service boundaries prevent a probabilistic summary from masquerading as a claim payment decision. Incorrect Answers A:A bounded experiment measures accuracy and workload reduction without allowing automated settlement. Here, reviewers must know which parts of the proposed architecture are deterministic. B:Although a text-only parsing assumption misses evidence in images and weakens traceability, this action applies to ‘some invoices contain photographs and text in the same submission’, not ‘reviewers must know which parts of the proposed architecture are deterministic’. The more direct answer is Draw separate components for document extraction, business-rule validation, FM reasoning and approval. D:For the requirement ‘reviewers must know which parts of the proposed architecture are deterministic’, this introduces risk because model confidence is not evidence of coverage, verified identity or policy approval; Draw separate components for document extraction, business-rule validation, FM reasoning and approval preserves the necessary control.
Question 142 A European financial institution uses cross-Region inference for supported Bedrock models but has strict geographic processing requirements. The service must give users an honest response during inference unavailability. Which approach meets the stated condition without weakening other controls? Assume an inference profile guarantees execution in the Region from which the API call originates Choose a supported geographic inference profile and validate permitted Regions and data policy Use bounded retries with circuit breaking and a declared degraded-service response Check IAM and SCP permissions against all required inference-profile destination Regions Explanation Correct Answer C:Graceful failure prevents unlimited retries from hiding capacity or regional outages. Incorrect Answers A:Cross-Region profiles can route to approved destination Regions outside the calling Region. Here, the service must give users an honest response during inference unavailability. B:Geographic profiles constrain supported routing boundaries, unlike a global profile that may include additional Regions. Here, the service must give users an honest response during inference unavailability. D:A denied destination can cause cross-Region inference to fail even when other destinations remain available. Here, the service must give users an honest response during inference unavailability.
Question 143 A bank receives customer complaints as PDFs and email bodies, and an assistant routes them to service teams. Names and identifiers are written in different regional formats. What is the most appropriate production-ready decision? Attach immutable document IDs and page offsets to extracted fields passed into the assistant Use AWS Glue Data Quality or equivalent validation rules to reject missing categories before routing Treat a successful JSON parse as proof that every extracted complaint allegation is true Normalize structured fields and use approved entity extraction before assembling inference requests Explanation Correct Answer D:Consistent field representation improves retrieval and reduces ambiguous customer matching. Incorrect Answers A:Lineage allows reviewers to inspect source evidence for sensitive case decisions. Here, names and identifiers are written in different regional formats. B:Pipeline checks catch incomplete records independently of probabilistic model confidence. Here, names and identifiers are written in different regional formats. C:Syntactic correctness cannot establish factual accuracy or customer identity. Here, names and identifiers are written in different regional formats.
Question 144 A pharmaceutical research group indexes scientific articles with nested headings, tables and experimental appendices. The vector database returns relevant text slowly as the corpus expands. Which implementation best addresses the stated requirement? Measure partition hot spots and evaluate engine-supported shard or index tuning Store author, publication date, document revision and section IDs in index metadata Use structure-aware or hierarchical chunking with parent section references Show a fabricated DOI whenever an indexed passage lacks citation metadata Explanation Correct Answer A:Capacity and ANN configuration influence latency independently of model speed. Incorrect Answers B:Attribution supports distinguishing superseded findings from current protocols. Here, the vector database returns relevant text slowly as the corpus expands. C:Preserving section context helps retrieval avoid cutting technical qualifications in half. Here, the vector database returns relevant text slowly as the corpus expands. D:For the requirement ‘the vector database returns relevant text slowly as the corpus expands’, this introduces risk because invented identifiers undermine scholarly traceability; Measure partition hot spots and evaluate engine-supported shard or index tuning preserves the necessary control.
Question 145 A financial-services assistant searches policy documents where some questions contain exact product codes and others are conceptual. Queries for exact regulatory identifiers return semantically similar but incorrect rules. What should the developer implement for this specific need? Evaluate top-k evidence recall and citation precision on labeled policy questions Always choose the passage with the highest raw vector score without checking jurisdiction or code Use hybrid lexical and vector retrieval with term-sensitive ranking for exact identifiers Apply authorized region and effective-date metadata filters before selecting context Explanation Correct Answer C:Dense vectors alone may blur codes whose literal bytes determine the applicable requirement. Incorrect Answers A:Ground-truth passages separate retrieval quality from fluent generation. Here, queries for exact regulatory identifiers return semantically similar but incorrect rules. B:Similarity alone does not prove that a policy is applicable or current. Here, queries for exact regulatory identifiers return semantically similar but incorrect rules. D:The assistant must not cite a policy outside the user's regulatory scope. Here, queries for exact regulatory identifiers return semantically similar but incorrect rules.
Question 146 A payments provider manages shared prompt templates used by teams building Bedrock-powered customer assistants. Security wants to prevent prompt templates from containing real payment credentials. Which design choice is most defensible in this scenario? Use parameterized Bedrock Prompt Management templates with protected system-level constraints Allow any support representative to rewrite the production system prompt without traceability Scan template inputs and examples for secrets and use sanitized fixtures in regression tests Specify a typed output contract and validate generated JSON before any downstream action Explanation Correct Answer C:Prompt repositories are code-like assets and should not become secret stores. Incorrect Answers A:Approved variables allow reuse while keeping essential behavioral instructions stable. Here, security wants to prevent prompt templates from containing real payment credentials. B:For the requirement ‘security wants to prevent prompt templates from containing real payment credentials’, this introduces risk because unreviewed live changes can weaken safety controls and expose sensitive information; Scan template inputs and examples for secrets and use sanitized fixtures in regression tests preserves the necessary control. D:Prompt formatting reduces errors but deterministic schema validation is still required. Here, security wants to prevent prompt templates from containing real payment credentials.
Question 147 A software delivery team builds long-running agents that assemble compliance packages from many document systems. The workflow should stop after a known maximum cost or step budget. Which next step directly resolves the technical concern? Apply deterministic iteration, token and tool-call limits with a review fallback Assume a completed model message proves every external document update succeeded Run replayable tool-contract tests and a task-level regression suite before release Persist explicit workflow state and checkpoint references in an approved durable service Explanation Correct Answer A:Hard budgets constrain runaway reasoning and uncontrolled expense. Incorrect Answers B:Generated completion claims are not equivalent to backend commits. Here, the workflow should stop after a known maximum cost or step budget. C:Agent correctness depends on the behavior of external tools as well as the FM. Here, the workflow should stop after a known maximum cost or step budget. D:Ephemeral execution memory cannot reliably preserve long-running task progress. Here, the workflow should stop after a known maximum cost or step budget.
Question 148 A gaming publisher self-hosts a specialized language model in SageMaker AI for an online moderation workload. A small classifier could answer routine moderation requests. Which approach meets the stated condition without weakening other controls? Register versioned model artifacts and maintain a tested endpoint rollback process Copy model weights directly onto production instances without tracking their version Profile token generation and GPU utilization under realistic concurrent prompt lengths Evaluate a cascaded architecture using a cheaper approved model for low-risk cases Explanation Correct Answer D:Selective inference avoids expensive generative calls where narrow classification suffices. Incorrect Answers A:Immutable release references make recovery reproducible after an inferior deployment. Here, a small classifier could answer routine moderation requests. B:Unversioned model changes defeat rollback, audit and reproducibility. Here, a small classifier could answer routine moderation requests. C:Total model output time depends on decoding and queueing, not only input request rate. Here, a small classifier could answer routine moderation requests.
Question 149 A retailer updates customer profiles in several regions and uses EventBridge to notify AI enrichment services of approved changes. An enrichment consumer processes the same event twice. What is the most appropriate production-ready decision? Send every customer event to all global consumer accounts regardless of consent or residency Preserve dead-letter or retry handling and report enrichment as a separate state from the original transaction Use idempotency keys and last-processed version checks in the consumer Publish validated business events through EventBridge with a documented schema Explanation Correct Answer C:Delivery retries must not create duplicate external updates. Incorrect Answers A:Fan-out must respect contractual access and jurisdictional processing boundaries. Here, an enrichment consumer processes the same event twice. B:The source business write should remain authoritative when an optional AI enhancement fails. Here, an enrichment consumer processes the same event twice. D:Although asynchronous events decouple profile writes from slower AI processing, this action applies to ‘the enrichment process should receive updates asynchronously’, not ‘an enrichment consumer processes the same event twice’. The more direct answer is Use idempotency keys and last-processed version checks in the consumer.
Question 150 An industrial chatbot uses the Bedrock Converse API for a multi-turn troubleshooting conversation with approved technical documents. A user cancels a long response halfway through delivery. Which implementation best addresses the stated requirement? Propagate cancellation or abort semantics through supported streaming layers and mark the request incomplete Record supported usage metadata and enforce server-side output budgets Validate supported model capabilities and parameters before routing a request Treat any HTTP 200 response body as a validated domain answer without inspecting format Explanation Correct Answer A:Streaming interfaces must distinguish a user-canceled result from a completed answer. Incorrect Answers B:Token accounting helps diagnose both latency and cost rather than relying on response text length alone. Here, a user cancels a long response halfway through delivery. C:Although runtime APIs share some conventions but models can differ in accepted content and controls, this action applies to ‘a new model ID breaks previously valid input arguments’, not ‘a user cancels a long response halfway through delivery’. The more direct answer is Propagate cancellation or abort semantics through supported streaming layers and mark the request incomplete. D:For the requirement ‘a user cancels a long response halfway through delivery’, this introduces risk because transport success does not establish factuality or downstream schema compatibility; Propagate cancellation or abort semantics through supported streaming layers and mark the request incomplete preserves the necessary control.