Question 240 A business application invokes Bedrock from Lambda and sees a mix of authorization errors, throttling and malformed request exceptions. A new model rejects messages that worked with the previous one. Which implementation best addresses the stated requirement? Use SDK retry guidance with bounded backoff and evaluate quota or capacity changes Compare model-specific request schema and supported input content blocks Check the role's model and inference-profile permissions and the called Region Treat all service errors as prompts to retry immediately forever Explanation Correct Answer B:Provider and version differences can invalidate otherwise well-formed calls. Incorrect Answers A:Retry storms can worsen throughput rather than restore it. Here, a new model rejects messages that worked with the previous one. C:Although iAM or SCP restrictions can deny execution even when the request JSON is valid, this action applies to ‘an invocation returns an access-denied error’, not ‘a new model rejects messages that worked with the previous one’. The more direct answer is Compare model-specific request schema and supported input content blocks. D:For the requirement ‘a new model rejects messages that worked with the previous one’, this introduces risk because different failures require different repairs, and repeated unauthorized requests will not succeed; Compare model-specific request schema and supported input content blocks preserves the necessary control.
Question 241 A field-service provider proposes an assistant to interpret machine manuals and suggest work orders to technicians operating hazardous equipment. The prototype must show that the correct manual revision can be found. What should the developer implement for this specific need? Ask the model to invent plausible torque values whenever the retrieved manual omits them Measure verified troubleshooting time, misdiagnosed incidents and repeat service visits during a limited pilot Test document retrieval against equipment serial and manual effective-date metadata Specify an explicit insufficient-evidence path and a technician escalation rather than guessed instructions Explanation Correct Answer C:Technically fluent answers are unsafe if they cite a manual for a different equipment version. Incorrect Answers A:Invented operating limits can create physical risk and defeat source verification. Here, the prototype must show that the correct manual revision can be found. B:Although benefits must be quality-adjusted because a faster incorrect repair can increase downtime and risk, this action applies to ‘the operations team wants to evaluate expected business benefit’, not ‘the prototype must show that the correct manual revision can be found’. The more direct answer is Test document retrieval against equipment serial and manual effective-date metadata. D:A safe fallback is preferable to confident instructions grounded on missing equipment documentation. Here, the prototype must show that the correct manual revision can be found.
Question 242 A multilingual marketplace is selecting an FM for customer support; vendors claim similar quality but have different language coverage and latency. Support agents sometimes attach lengthy order histories. Which design choice is most defensible in this scenario? Choose the model with the longest name and assume every language works equally well Evaluate each candidate's effective context handling and truncation behavior using realistic histories Benchmark candidate FMs on representative languages, intents, refusal cases and latency budgets Compare quality-adjusted completion cost including retries and human escalation rather than token price alone Explanation Correct Answer B:A nominal context window does not guarantee correct use of all included evidence. Incorrect Answers A:Brand names provide no evidence of multilingual effectiveness or schema consistency. Here, support agents sometimes attach lengthy order histories. C:Vendor marketing descriptions cannot replace measured task accuracy on the intended traffic. Here, support agents sometimes attach lengthy order histories. D:Low unit pricing can be offset by failures and extra requests. Here, support agents sometimes attach lengthy order histories.
Question 243 A freight company feeds scanned shipping invoices and handwritten delivery notes to a generative logistics assistant. Several invoice sources use incompatible date formats. Which next step directly resolves the technical concern? Allow the FM to guess missing invoice totals and silently write them back to the ledger Use an appropriate extraction and multimodal preprocessing path preserving page and image references Route failed quality thresholds to rescan or human correction rather than filling fields speculatively Normalize dates and time zones in a validated preprocessing step before model invocation Explanation Correct Answer D:Consistent canonical values reduce incorrect chronology in downstream summaries. Incorrect Answers A:For the requirement ‘several invoice sources use incompatible date formats’, this introduces risk because generated arithmetic guesses cannot replace a verified financial source of truth; Normalize dates and time zones in a validated preprocessing step before model invocation preserves the necessary control. B:A single plain-text conversion can lose table structure and visual evidence. Here, several invoice sources use incompatible date formats. C:Document quality controls should fail visibly when critical identifiers cannot be confirmed. Here, several invoice sources use incompatible date formats.
Question 244 A legal firm's retrieval system indexes contracts classified by client, region, effective date and matter privilege. The legal assistant may only see documents for its authenticated matter. Which approach meets the stated condition without weakening other controls? Use the model's confident tone as proof that a retrieved contract is legally valid Store contract IDs, clause numbers and page references with chunk metadata Partition or filter retrieval by governed practice-area classification before similarity ranking Require permission-scoped metadata filters before returning vector matches to the model Explanation Correct Answer D:Post-generation filtering is too late once confidential clauses are in context. Incorrect Answers A:Fluency cannot establish contract effectiveness or client authorization. Here, the legal assistant may only see documents for its authenticated matter. B:Precision citations permit an attorney to verify the exact underlying provision. Here, the legal assistant may only see documents for its authenticated matter. C:Constrained search narrows the semantic candidate set and limits irrelevant clauses. Here, the legal assistant may only see documents for its authenticated matter.
Question 245 A financial-services assistant searches policy documents where some questions contain exact product codes and others are conceptual. A retrieved rule applies only to a particular jurisdiction. What is the most appropriate production-ready decision? Add a supported reranking stage over an appropriately sized retrieved candidate set Use hybrid lexical and vector retrieval with term-sensitive ranking for exact identifiers Always choose the passage with the highest raw vector score without checking jurisdiction or code Apply authorized region and effective-date metadata filters before selecting context Explanation Correct Answer D:The assistant must not cite a policy outside the user's regulatory scope. Incorrect Answers A:Reranking evaluates closer query-passage relevance after initial search. Here, a retrieved rule applies only to a particular jurisdiction. B:Dense vectors alone may blur codes whose literal bytes determine the applicable requirement. Here, a retrieved rule applies only to a particular jurisdiction. C:Similarity alone does not prove that a policy is applicable or current. Here, a retrieved rule applies only to a particular jurisdiction.
Question 246 A SaaS company tests new support prompts weekly for a Bedrock model serving several product tiers. The product team wants to deploy different prompts to two small user groups. Which implementation best addresses the stated requirement? Constrain instructions and decoding parameters, then retest grounded-answer quality Run a stable prompt regression corpus and compare factuality, format compliance and task success Use controlled A/B assignment with per-variant metrics and an immediate rollback option Declare the prompt safe because one employee liked a single response Explanation Correct Answer C:A comparison is meaningful only when variants and outcome measures are attributable. Incorrect Answers A:Prompt and generation settings affect consistency but do not replace retrieval evidence. Here, the product team wants to deploy different prompts to two small user groups. B:Although a nicer example response does not establish improvement across representative cases, this action applies to ‘developers need to know whether a revised prompt improves answers’, not ‘the product team wants to deploy different prompts to two small user groups’. The more direct answer is Use controlled A/B assignment with per-variant metrics and an immediate rollback option. D:For the requirement ‘the product team wants to deploy different prompts to two small user groups’, this introduces risk because anecdotes do not reveal systematic hallucinations, policy failures or regressions; Use controlled A/B assignment with per-variant metrics and an immediate rollback option preserves the necessary control.
Question 247 A fraud investigation assistant coordinates an evidence agent, a transaction analyzer and a human investigator. A costly action must be approved by a person before continuation. What should the developer implement for this specific need? Stop unsupported conclusions and route the case to manual investigation with missing-evidence details Place a durable human-approval step in Step Functions and resume only after a verified decision Let one agent infer a supervisor's approval from a positive sentiment in chat Maintain agent role boundaries and correlated event records for delegated activities Explanation Correct Answer B:Asynchronous approval decouples model inference from accountable action authorization. Incorrect Answers A:Although explicit insufficient-evidence handling prevents fabricating grounds for a financial action, this action applies to ‘the evidence agent returns an empty result for a critical claim’, not ‘a costly action must be approved by a person before continuation’. The more direct answer is Place a durable human-approval step in Step Functions and resume only after a verified decision. C:For the requirement ‘a costly action must be approved by a person before continuation’, this introduces risk because natural-language enthusiasm is not a verified approval receipt; Place a durable human-approval step in Step Functions and resume only after a verified decision preserves the necessary control. D:Per-agent attribution is necessary to reconstruct multi-step investigations. Here, a costly action must be approved by a person before continuation.
Question 248 A global bank embeds a Bedrock-powered account assistant inside a legacy customer portal backed by privately hosted APIs. The security team wants to trace a model request to a ledger operation. Which design choice is most defensible in this scenario? Grant the model unrestricted SQL credentials to avoid building an integration layer Propagate correlated request IDs through API Gateway, Lambda and downstream audit receipts Route proposed changes through durable approval states and the existing transaction service Use supported API adapters and event-driven integration for independent downstream consumers Explanation Correct Answer B:End-to-end provenance distinguishes generated advice from committed changes. Incorrect Answers A:Direct database access would bypass audited business authorization and expose unrelated accounts. Here, the security team wants to trace a model request to a ledger operation. C:Financial authority must be verified outside generated text. Here, the security team wants to trace a model request to a ledger operation. D:Loose coupling prevents one legacy service contract from dictating the entire conversational application. Here, the security team wants to trace a model request to a ledger operation.
Question 249 A publishing service submits thousands of nightly content-classification jobs, where responses do not need to be synchronous. The platform needs to choose synchronous versus asynchronous inference. Which next step directly resolves the technical concern? Select the API and processing path based on latency requirements and model support for batch jobs Queue classification work and process it asynchronously under controlled concurrency Track per-item results and retry only failed records with stable identifiers Tell users all articles were classified as soon as a batch is accepted by the queue Explanation Correct Answer A:Nightly throughput workloads have different tradeoffs from interactive user conversations. Incorrect Answers B:Decoupled jobs can absorb spikes and report completion separately from submission. Here, the platform needs to choose synchronous versus asynchronous inference. C:Batch-level success cannot prove every record was classified correctly. Here, the platform needs to choose synchronous versus asynchronous inference. D:For the requirement ‘the platform needs to choose synchronous versus asynchronous inference’, this introduces risk because queue acceptance is not the same as completed model processing; Select the API and processing path based on latency requirements and model support for batch jobs preserves the necessary control.
Question 250 A startup exposes a Bedrock-powered research application through an Amplify frontend and documented backend APIs. The application needs to preserve a conversation across devices. Which approach meets the stated condition without weakening other controls? Put long-lived Bedrock credentials in the public Amplify browser bundle Publish a versioned OpenAPI contract for authenticated AI endpoints and supported error states Keep user-scoped conversation state in an authenticated backend with controlled retention Build incremental rendering with accessible loading, interruption and completion states Explanation Correct Answer C:A frontend cache alone cannot guarantee secure cross-device continuity. Incorrect Answers A:Browser code cannot keep an AWS access key confidential. Here, the application needs to preserve a conversation across devices. B:API-first specifications reduce coupling between client releases and FM backend changes. Here, the application needs to preserve a conversation across devices. D:The UI must show partial versus finished answers clearly to avoid misleading users. Here, the application needs to preserve a conversation across devices.