Question 300 A payments provider manages shared prompt templates used by teams building Bedrock-powered customer assistants. Different teams need to supply product names without altering safety instructions. Which implementation best addresses the stated requirement? 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 Use parameterized Bedrock Prompt Management templates with protected system-level constraints Version prompt templates and require approval and regression evidence before promotion Explanation Correct Answer C:Approved variables allow reuse while keeping essential behavioral instructions stable. Incorrect Answers A:For the requirement ‘different teams need to supply product names without altering safety instructions’, this introduces risk because unreviewed live changes can weaken safety controls and expose sensitive information; Use parameterized Bedrock Prompt Management templates with protected system-level constraints preserves the necessary control. B:Prompt repositories are code-like assets and should not become secret stores. Here, different teams need to supply product names without altering safety instructions. D:A controlled release connects behavioral changes to a reviewable instruction version. Here, different teams need to supply product names without altering safety instructions.
Question 301 A retailer operates an agent that searches current promotions and takes actions through order and inventory APIs. The order API returns a timeout after an attempted purchase. What should the developer implement for this specific need? Use idempotent order keys and reconcile the transaction before retrying Validate price and promotion limits in deterministic application logic before issuing an offer Treat retrieved text as untrusted data and enforce action permissions in backend tools Trust a website's embedded text to grant new privileges to the order tool Explanation Correct Answer A:Ambiguous timeouts can follow successful commits and must not create duplicate orders. Incorrect Answers B:Although a model-generated coupon cannot override controlled pricing rules, this action applies to ‘a returned discount is outside the marketing policy’, not ‘the order API returns a timeout after an attempted purchase’. The more direct answer is Use idempotent order keys and reconcile the transaction before retrying. C:Untrusted promotional content must not become higher-priority control instructions. Here, the order API returns a timeout after an attempted purchase. D:Remote content is not an access policy or authenticated employee instruction. Here, the order API returns a timeout after an attempted purchase.
Question 302 A multinational pharmaceutical firm runs a GenAI quality-report assistant using data centers and AWS applications. On-premises source systems must send approved evidence to AWS securely. Which design choice is most defensible in this scenario? Copy all restricted laboratory data into an unrestricted cross-Region test account Adopt a staged API contract and event synchronization pattern with reconciliation metrics Persist partial workflow state and escalate missing evidence instead of fabricating results Use a governed hybrid connectivity architecture with authenticated transfer and scoped data access Explanation Correct Answer D:Transport and authorization protections must hold across the data-center boundary. Incorrect Answers A:A test environment is not a lawful exception to data handling policy. Here, on-premises source systems must send approved evidence to AWS securely. B:Incremental integration reduces operational risk while preserving legacy authority. Here, on-premises source systems must send approved evidence to AWS securely. C:Incomplete upstream records must remain visible to accountable reviewers. Here, on-premises source systems must send approved evidence to AWS securely.
Question 303 A financial analytics service streams model explanations to an executive dashboard through API Gateway and Lambda. The gateway rejects some long model responses. Which next step directly resolves the technical concern? Treat incomplete streams as failed or interrupted and preserve an explicit final status Inspect payload, integration timeout and supported streaming transport limits end to end Hide transport errors and display a green success banner after any partial text Use request-scoped identifiers and ordered stream events in the response protocol Explanation Correct Answer B:Multiple network and runtime boundaries can truncate responses independently of the FM. Incorrect Answers A:Partial text is not necessarily a complete validated financial explanation. Here, the gateway rejects some long model responses. C:An interrupted stream cannot be presented as a completed approved report. Here, the gateway rejects some long model responses. D:Message ordering and correlation prevent text from overlapping across simultaneous sessions. Here, the gateway rejects some long model responses.
Question 304 A startup exposes a Bedrock-powered research application through an Amplify frontend and documented backend APIs. Users want a readable response interface while the model streams text. Which approach meets the stated condition without weakening other controls? Build incremental rendering with accessible loading, interruption and completion states Put long-lived Bedrock credentials in the public Amplify browser bundle Publish a versioned OpenAPI contract for authenticated AI endpoints and supported error states Run contract and representative prompt-response tests in the deployment pipeline Explanation Correct Answer A:The UI must show partial versus finished answers clearly to avoid misleading users. Incorrect Answers B:Browser code cannot keep an AWS access key confidential. Here, users want a readable response interface while the model streams text. C:API-first specifications reduce coupling between client releases and FM backend changes. Here, users want a readable response interface while the model streams text. D:Although automation validates both application structure and AI-specific behavior, this action applies to ‘cI must catch a broken output schema before clients receive it’, not ‘users want a readable response interface while the model streams text’. The more direct answer is Build incremental rendering with accessible loading, interruption and completion states.
Question 305 An enterprise research assistant summarizes web content that can contain instructions telling the model to reveal hidden system text. A retrieved article embeds a fake administrator command. What is the most appropriate production-ready decision? Grant pages retrieved from the Internet the same instruction priority as the developer's system rules Require IAM and service-side authorization independent of the FM's reasoning Treat web text as lower-trust data and apply prompt-attack checks before tool execution Run a representative jailbreak and indirect-injection corpus against the updated agent Explanation Correct Answer C:A remote page has no authority to rewrite the application's governing instructions. Incorrect Answers A:Untrusted source content must not control model tools or confidential data. Here, a retrieved article embeds a fake administrator command. B:Even a missed injection must not be able to bypass tool permission checks. Here, a retrieved article embeds a fake administrator command. D:Safety behavior can change when models, prompts or retrieval flows change. Here, a retrieved article embeds a fake administrator command.
Question 306 A logistics company uses a managed Bedrock model behind API Gateway to process confidential supplier invoices. Only approved supplier-service identities should invoke the model. Which implementation best addresses the stated requirement? Enforce resource-specific IAM policy and gateway validation for approved model identifiers Grant all integration clients wildcard Bedrock permissions across every Region Log request IDs, model identifiers, sizes and failure codes without invoice payload content Require authenticated client identities and narrowly scoped bedrock invocation permissions Explanation Correct Answer D:Model access is an IAM and application-authentication decision, not a prompt choice. Incorrect Answers A:Client-provided model IDs should not bypass provider restrictions. Here, only approved supplier-service identities should invoke the model. B:Least privilege requires approved models and processing Regions. Here, only approved supplier-service identities should invoke the model. C:Minimized telemetry supports troubleshooting while reducing confidential exposure. Here, only approved supplier-service identities should invoke the model.
Question 307 A multinational legal services company indexes contracts and generates clause comparisons for attorneys in several countries. One jurisdiction introduces a new records-retention requirement. What should the developer implement for this specific need? Route revisions through accountable legal ownership and a controlled release record Assume removing a contract from an S3 folder automatically erases every log and embedding copy Update retention policy and verify its application to prompts, outputs and supporting source indexes Collect protected source-access and tool-invocation audit records with appropriate retention Explanation Correct Answer C:Legal obligations may extend to derived AI artifacts and logged interactions. Incorrect Answers A:Although template approval is a policy decision rather than an arbitrary developer preference, this action applies to ‘a law firm changes an approved redline template’, not ‘one jurisdiction introduces a new records-retention requirement’. The more direct answer is Update retention policy and verify its application to prompts, outputs and supporting source indexes. B:Derived data requires an explicit deletion and retention workflow. Here, one jurisdiction introduces a new records-retention requirement. D:Operational traceability must include document reads as well as model calls. Here, one jurisdiction introduces a new records-retention requirement.
Question 308 A digital publisher uses Bedrock to summarize hundreds of identical syndicated articles distributed by many feeds. Summaries may need revision after a corrected article is published. Which design choice is most defensible in this scenario? Run a quality-and-cost benchmark on labeled article categories before changing the routing policy Include source revision and editorial policy version in the cache key or invalidation logic Treat syndicated source material as permanently immutable once it has a URL Normalize article identity and create a stable content fingerprint before inference Explanation Correct Answer B:A prior summary should not survive after the underlying article changes materially. Incorrect Answers A:A low unit price is useful only when outputs remain accurate and complete. Here, summaries may need revision after a corrected article is published. C:Corrections and takedowns can make cached content invalid. Here, summaries may need revision after a corrected article is published. D:Deterministic deduplication prevents paid repeated summarization of identical content. Here, summaries may need revision after a corrected article is published.
Question 309 An investment research tool computes private document summaries with a large retrieval context and strict response time requirements. Large outputs consume most of the service budget. Which next step directly resolves the technical concern? Benchmark supported latency-optimized models and parallel independent retrieval where safe Set response-size requirements and measure whether concise answers preserve necessary caveats Remove source citations and risk caveats merely to make the text shorter Compare retrieval metrics and latency on a frozen set before adjusting generation parameters Explanation Correct Answer B:Output tokens directly affect generation time and cost, but truncation must not hide required information. Incorrect Answers A:End-to-end response budgets determine whether a model is operationally suitable. Here, large outputs consume most of the service budget. C:Reducing necessary evidence can make an apparently faster answer misleading. Here, large outputs consume most of the service budget. D:Although search regressions should be fixed at the retrieval layer, this action applies to ‘a recent index change worsened answer relevance’, not ‘large outputs consume most of the service budget’. The more direct answer is Set response-size requirements and measure whether concise answers preserve necessary caveats.
Question 310 A public-sector knowledge assistant relies on a continuously updated vector database for benefits-policy retrieval. A policy answer sounds fluent but conflicts with approved guidance. Which approach meets the stated condition without weakening other controls? Track ingestion freshness, failed document processing and embedding update status Use a golden dataset and citation-grounded consistency checks to raise a quality alert Monitor tombstone propagation and validate index removal against document IDs Assume a green database availability indicator proves all search results are current and authorized Explanation Correct Answer B:Traditional uptime monitoring cannot detect hallucinated policy interpretations. Incorrect Answers A:A healthy FM can still answer from stale retrieval data. Here, a policy answer sounds fluent but conflicts with approved guidance. C:Although source deletion requires verification that stale vector records no longer match, this action applies to ‘a source page was deleted but the assistant still cites its old embedding’, not ‘a policy answer sounds fluent but conflicts with approved guidance’. The more direct answer is Use a golden dataset and citation-grounded consistency checks to raise a quality alert. D:Index health, content freshness and permissions are distinct controls. Here, a policy answer sounds fluent but conflicts with approved guidance.