Question 650
A company migrates a prototype into multiple accounts and Regions. The engineering team is required to prevent infrastructure configuration drift between test and production deployments. What should be built first?
- Use retrieval-augmented generation with authorization-filtered source retrieval.
- Use the AWS Well-Architected Tool with a GenAI-focused workload review.
- Define shared infrastructure modules and apply the AWS Well-Architected Generative AI Lens.
- Publish parameterized IaC modules and validate them in CI for each environment.
- Instrument the prototype to record token usage, p95 latency, task success, and estimated spend.
Explanation
Correct Answer
D:Infrastructure as code makes endpoints, IAM, logging, and security defaults reproducible and reviewable; it directly supports the architectural objective to prevent infrastructure configuration drift between test and production deployments. Manual console replication can silently create different policy scopes or network paths; that boundary is important when selecting the implementation.
Incorrect Answers
A:The scope of this alternative is different: retrieval supplies current authorized passages at request time, allowing the model to ground an answer without changing model weights; it supports produce evidence-backed answers from current contracts without teaching a new model the documents, while the architecture selection needs prevent infrastructure configuration drift between test and production deployments after the same assistant behaves differently because production has an unreviewed resource policy. Training or prompt-only recall cannot guarantee document freshness or per-user access control; for the architecture selection, the unresolved requirement remains to prevent infrastructure configuration drift between test and production deployments, as shown when the same assistant behaves differently because production has an unreviewed resource policy.
B:A structured workload review captures risks and improvement actions across relevant pillars before production approval; this explains its relevance to map architectural risks to an explicit, repeatable review checklist, not the the architecture selection requirement to prevent infrastructure configuration drift between test and production deployments after the same assistant behaves differently because production has an unreviewed resource policy. A model leaderboard says little about disaster recovery, governance, and operations; choosing it for the architecture selection would leave the underlying issue visible: the same assistant behaves differently because production has an unreviewed resource policy.
C:Standard deployment patterns encode tested identity, observability, reliability, and cost choices across teams; that is valuable when the goal is to provide a reusable reference architecture with repeatable security and operations checks, but the architecture selection instead depends on the ability to prevent infrastructure configuration drift between test and production deployments. Copying application source alone does not standardize IAM boundaries or operational controls; it does not account for the condition in the architecture selection: the same assistant behaves differently because production has an unreviewed resource policy.
E:The scope of this alternative is different: a credible proof of concept exposes both technical quality and economics; aggregate demo accuracy alone hides token-heavy failures; it supports compare quality against per-request tokens, latency, and escalation frequency, while the architecture selection needs prevent infrastructure configuration drift between test and production deployments after the same assistant behaves differently because production has an unreviewed resource policy. A single average response time masks tail latency that affects interactive workloads; for the architecture selection, the unresolved requirement remains to prevent infrastructure configuration drift between test and production deployments, as shown when the same assistant behaves differently because production has an unreviewed resource policy.
Question 651
Employees authenticate with a corporate identity provider. The incident report says: A user with valid corporate credentials can query another business unit's restricted data. Which specific design change best corrects the failure?
- Federate workforce identities and use scoped IAM roles for backend execution.
- Issue a task-scoped role with minimal S3 object permissions and caller-aware filters.
- Test timeout, buffering, and streaming compatibility across the full HTTP path.
- Receive webhooks via a validated endpoint and dispatch jobs asynchronously.
Explanation
Correct Answer
A:Federation authenticates users; IAM and application checks independently authorize model and data actions; that explains the reported failure: a user with valid corporate credentials can query another business unit's restricted data. A successful SSO login does not imply access to every document or FM; a symptom-only workaround would not restore the requirement to map enterprise user identity to bounded application and model permissions.
Incorrect Answers
B:The tool runtime's data-plane scope must match the action being executed; that is valuable when the goal is to avoid granting broad bucket permissions to the agent runtime, but the reported failure and its causal repair instead depends on the ability to map enterprise user identity to bounded application and model permissions. Allowing s3:* on the bucket makes prompt injection more damaging; it does not account for the condition in the reported failure and its causal repair: a user with valid corporate credentials can query another business unit's restricted data.
C:Transport behavior can coalesce or terminate chunks even when the FM emits them incrementally; that is valuable when the goal is to ensure intermediaries and clients support streaming semantics, but the reported failure and its causal repair instead depends on the ability to map enterprise user identity to bounded application and model permissions. Enabling streaming at Bedrock alone does not guarantee immediate browser rendering; it does not account for the condition in the reported failure and its causal repair: a user with valid corporate credentials can query another business unit's restricted data.
D:An authenticated handler validates signatures and creates durable processing work without blocking senders; that is valuable when the goal is to verify notifications and enqueue bounded ingestion tasks, but the reported failure and its causal repair instead depends on the ability to map enterprise user identity to bounded application and model permissions. A directly exposed indexing worker can be overwhelmed by webhook retries; it does not account for the condition in the reported failure and its causal repair: a user with valid corporate credentials can query another business unit's restricted data.
Question 652
Customer complaints spike immediately after an irreversible global model switch. Investigators also establish that a new model is proposed to replace a working deployment. Which implementation most directly addresses the cause?
- Build versioned evaluation dashboards with agreed KPI definitions.
- Use a two-stage RAG evaluation that scores retrieved context and generated claims.
- Use paired retrieval tests with relevance labels and p95 query timing.
- Use canary or A/B routing with explicit rollback quality gates.
Explanation
Correct Answer
D:A small controlled exposure reveals production behavior while constraining a regression's impact; that explains the reported failure: customer complaints spike immediately after an irreversible global model switch. A full cutover has no contemporaneous control cohort; a symptom-only workaround would not restore the requirement to limit the initial audience and monitor quality before global rollout.
Incorrect Answers
A:A common report links model performance to actual workflow outcomes and makes trade-offs visible; this explains its relevance to report quality, latency, safety, cost, and business outcome in one comparison, not the the reported failure and its causal repair requirement to limit the initial audience and monitor quality before global rollout after customer complaints spike immediately after an irreversible global model switch. A ranking chart with only perplexity cannot establish business benefit; choosing it for the reported failure and its causal repair would leave the underlying issue visible: customer complaints spike immediately after an irreversible global model switch.
B:Separating retrieval and generation identifies where evidence was lost or misused; that is valuable when the goal is to evaluate retrieval quality separately from answer groundedness, but the reported failure and its causal repair instead depends on the ability to limit the initial audience and monitor quality before global rollout. A low answer score alone does not reveal whether retrieval or generation failed; it does not account for the condition in the reported failure and its causal repair: customer complaints spike immediately after an irreversible global model switch.
C:Search tuning is a quality-performance tradeoff, not a single latency metric; this explains its relevance to benchmark answer evidence quality and query tail latency together, not the the reported failure and its causal repair requirement to limit the initial audience and monitor quality before global rollout after customer complaints spike immediately after an irreversible global model switch. A faster index can be worse if approximate search loses key passages; choosing it for the reported failure and its causal repair would leave the underlying issue visible: customer complaints spike immediately after an irreversible global model switch.
Question 653
An incident-response agent needs to inspect, act, and then recheck evidence. The architecture must separate observation, action, and verification into explicit workflow steps. Which implementation best meets that requirement?
- Add an evidence-insufficiency branch that requests retrieval or human input.
- Use a Step Functions human-in-the-loop approval task with an audit trail.
- Validate tool arguments and enforce IAM-scoped execution independent of retrieved instructions.
- Orchestrate a bounded tool loop with AWS Step Functions.
Explanation
Correct Answer
D:A workflow engine tracks steps, retries, stop conditions, and state outside uncertain model output; it directly supports the architectural objective to separate observation, action, and verification into explicit workflow steps. Unconstrained recursive prompting can repeat unsafe actions without a terminal criterion; that boundary is important when selecting the implementation.
Incorrect Answers
A:The scope of this alternative is different: deterministic branching can stop progression when required data is absent, rather than letting a model improvise; it supports avoid fabricating missing intermediate facts in a reasoning workflow, while the architecture selection needs separate observation, action, and verification into explicit workflow steps after the agent executes a restart repeatedly even after service health is restored. Longer chain-of-thought text is not a verification substitute; for the architecture selection, the unresolved requirement remains to separate observation, action, and verification into explicit workflow steps, as shown when the agent executes a restart repeatedly even after service health is restored.
B:The scope of this alternative is different: a persisted state machine makes the review a mandatory transition and records the decision; it supports insert reviewer approval with resumable workflow state, while the architecture selection needs separate observation, action, and verification into explicit workflow steps after the agent executes a restart repeatedly even after service health is restored. A message in the prompt asking for approval cannot prevent an API side effect; for the architecture selection, the unresolved requirement remains to separate observation, action, and verification into explicit workflow steps, as shown when the agent executes a restart repeatedly even after service health is restored.
C:Backend authorization constrains the blast radius even if model text is manipulated; that is valuable when the goal is to block privilege escalation when ticket text is adversarial, but the architecture selection instead depends on the ability to separate observation, action, and verification into explicit workflow steps. Filtering for a few banned words cannot recognize every prompt injection pattern; it does not account for the condition in the architecture selection: the agent executes a restart repeatedly even after service health is restored.
Question 654
Leadership requests a dashboard showing quality, safety, and cost together. A release proposal aims to combine evaluation and runtime signals into a governed observability view. Which architecture decision fits the constraint?
- Run output-diff and groundedness regression evaluations across versions.
- Build dashboards correlating quality scores, policy interventions, latency, and token spend.
- Use model evaluations plus human expert review for ambiguous high-risk outcomes.
- Publish token-usage and estimated-cost metrics with dimensions in CloudWatch.
Explanation
Correct Answer
B:A holistic view supports trade-off decisions instead of optimizing a single proxy metric; it directly supports the architectural objective to combine evaluation and runtime signals into a governed observability view. Optimizing only throughput may degrade factuality or increase harm; that boundary is important when selecting the implementation.
Incorrect Answers
A:Controlled test inputs expose model-specific behavior changes separately from traffic variation; this explains its relevance to compare responses on a stable golden dataset and review divergences, not the the architecture selection requirement to combine evaluation and runtime signals into a governed observability view after a performance improvement coincides with worse groundedness but no chart shows both. A successful API status code proves only that a response was returned; choosing it for the architecture selection would leave the underlying issue visible: a performance improvement coincides with worse groundedness but no chart shows both.
C:Human judgment complements scalable automated scoring where nuance or policy interpretation matters; that is valuable when the goal is to combine automatic metrics and targeted human evaluation, but the architecture selection instead depends on the ability to combine evaluation and runtime signals into a governed observability view. Automatic fluency scores cannot settle complex regulatory appropriateness; it does not account for the condition in the architecture selection: a performance improvement coincides with worse groundedness but no chart shows both.
D:Attributed usage reveals which behavior or cohort drives spend; that is valuable when the goal is to record input and output tokens per model, tenant, and feature, but the architecture selection instead depends on the ability to combine evaluation and runtime signals into a governed observability view. A single monthly total does not identify the feature creating token bursts; it does not account for the condition in the architecture selection: a performance improvement coincides with worse groundedness but no chart shows both.
Question 655
Production evidence: A correct answer receives a failing mark because it uses a synonym. The original design context was: An internal assistant is evaluated against multiple acceptable answer phrasings. Which change prevents recurrence?
- Track verified task completion and tool side-effect correctness.
- Measure coverage of required information alongside factual correctness.
- Measure fairness metrics by relevant cohorts with human review.
- Score meaning and evidence consistency with a reviewed evaluation rubric.
Explanation
Correct Answer
D:Semantic assessment accommodates valid paraphrases while still penalizing omitted obligations; that explains the reported failure: a correct answer receives a failing mark because it uses a synonym. Exact-match tests reject correct answers that use different wording; a symptom-only workaround would not restore the requirement to use semantic task success rather than exact string equality alone.
Incorrect Answers
A:The scope of this alternative is different: an agent must finish intended actions within policy, not merely produce a convincing narrative; it supports measure successful end-to-end task completion, not only coherent text, while the reported failure and its causal repair needs use semantic task success rather than exact string equality alone after a correct answer receives a failing mark because it uses a synonym. Final-response fluency can conceal failed tool executions; for the reported failure and its causal repair, the unresolved requirement remains to use semantic task success rather than exact string equality alone, as shown when a correct answer receives a failing mark because it uses a synonym.
B:The scope of this alternative is different: an answer can contain no false facts yet still fail by leaving out required content; it supports include task-specific completeness and compliance checks in evaluation, while the reported failure and its causal repair needs use semantic task success rather than exact string equality alone after a correct answer receives a failing mark because it uses a synonym. Groundedness alone does not prove every necessary output element is present; for the reported failure and its causal repair, the unresolved requirement remains to use semantic task success rather than exact string equality alone, as shown when a correct answer receives a failing mark because it uses a synonym.
C:Disaggregated evaluation reveals uneven performance hidden by global averages; that is valuable when the goal is to test a representative evaluation set for differential error rates, but the reported failure and its causal repair instead depends on the ability to use semantic task success rather than exact string equality alone. Changing temperature cannot by itself eliminate training or retrieval bias; it does not account for the condition in the reported failure and its causal repair: a correct answer receives a failing mark because it uses a synonym.
Question 656
A retailer is considering GenAI for return-policy answers before a production purchase. The engineering team is required to establish a measurable feasibility decision using representative customer traffic. What should be built first?
- Instrument the prototype to record token usage, p95 latency, task success, and estimated spend.
- Validate prompt revisions with a golden dataset and automated acceptance gates.
- Separate versioned system prompts from an indexed, frequently refreshed product knowledge source.
- Run a bounded Amazon Bedrock proof of concept with golden questions and acceptance thresholds.
Explanation
Correct Answer
D:An evaluation pilot tests accuracy, safety, latency, and cost against representative inputs before architectural lock-in; it directly supports the architectural objective to establish a measurable feasibility decision using representative customer traffic. A vendor demo on idealized prompts does not estimate production failures or cost; that boundary is important when selecting the implementation.
Incorrect Answers
A:The scope of this alternative is different: a credible proof of concept exposes both technical quality and economics; aggregate demo accuracy alone hides token-heavy failures; it supports compare quality against per-request tokens, latency, and escalation frequency, while the architecture selection needs establish a measurable feasibility decision using representative customer traffic after the initial showcase works, but realistic user phrasing produces unsupported return decisions. A single average response time masks tail latency that affects interactive workloads; for the architecture selection, the unresolved requirement remains to establish a measurable feasibility decision using representative customer traffic, as shown when the initial showcase works, but realistic user phrasing produces unsupported return decisions.
B:The scope of this alternative is different: representative input-output checks expose quality regressions before promotion; it supports run repeatable regression checks against a fixed evaluation set, while the architecture selection needs establish a measurable feasibility decision using representative customer traffic after the initial showcase works, but realistic user phrasing produces unsupported return decisions. One handcrafted demo question is insufficient to test diverse user intents; for the architecture selection, the unresolved requirement remains to establish a measurable feasibility decision using representative customer traffic, as shown when the initial showcase works, but realistic user phrasing produces unsupported return decisions.
C:The prompt establishes behavioral policy while retrieval supplies volatile facts, so one can change without redeploying the other; that is valuable when the goal is to isolate changing facts from stable instructions while controlling operational risk, but the architecture selection instead depends on the ability to establish a measurable feasibility decision using representative customer traffic. Embedding a full catalog in a static prompt makes updates fragile and can exceed context limits; it does not account for the condition in the architecture selection: the initial showcase works, but realistic user phrasing produces unsupported return decisions.
Question 657
Production evidence: A user asks a benign question and receives an internal account number in the reply. The original design context was: A public bot sometimes reveals sensitive identifiers found in retrieved context. Which change prevents recurrence?
- Apply a Bedrock Guardrails sensitive-information filter with independent output validation.
- Combine source authorization checks with retrieval metadata filters.
- Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.
- Enforce output moderation with Bedrock Guardrails and an application release gate.
Explanation
Correct Answer
A:Output filters reduce accidental disclosure of detected sensitive data types; that explains the reported failure: a user asks a benign question and receives an internal account number in the reply. Filtering final answers alone cannot replace source access restrictions; a symptom-only workaround would not restore the requirement to block configured PII patterns in generated output.
Incorrect Answers
B:The application must carry trusted identity context into candidate selection so the FM never sees disallowed chunks; that is valuable when the goal is to enforce source-specific access controls before constructing the retrieval context, but the reported failure and its causal repair instead depends on the ability to block configured PII patterns in generated output. An FM refusal after retrieval is too late to protect raw context exposure; it does not account for the condition in the reported failure and its causal repair: a user asks a benign question and receives an internal account number in the reply.
C:For work that needs to detect sensitive content in S3 prior to making it searchable, macie can identify sensitive data in S3 objects and trigger action before indexing; the specific the reported failure and its causal repair 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. Macie is not an inline filter for arbitrary model responses; this is insufficient for the reported failure and its causal repair, given the evidence that a user asks a benign question and receives an internal account number in the reply.
D:Response-side checks can intercept material produced despite safe-looking user input; that is valuable when the goal is to screen the response after generation before delivering it, but the reported failure and its causal repair instead depends on the ability to block configured PII patterns in generated output. Input-only filtering cannot inspect harmful text newly created by the model; it does not account for the condition in the reported failure and its causal repair: a user asks a benign question and receives an internal account number in the reply.
Question 658
An insurance workflow requires OCR, retrieval, reasoning, and formatting. The architecture must assign different subtasks to capabilities optimized for each job. Which implementation best meets that requirement?
- Enforce caller identity and operation-level authorization in the tool layer.
- Use a model-and-tool pipeline with specialized processing stages.
- Track verified task completion and tool side-effect correctness.
- Add circuit breakers, bounded retries, and timeouts around tool adapters.
Explanation
Correct Answer
B:Specialists improve fit and make intermediate outputs independently testable; it directly supports the architectural objective to assign different subtasks to capabilities optimized for each job. A single large model may be costly and less reliable for deterministic extraction; that boundary is important when selecting the implementation.
Incorrect Answers
A:For work that needs to authorize each tool invocation with end-user context and action scope, trusted identity propagation prevents a shared tool server from becoming an unrestricted deputy; the specific the architecture selection instead requires assign different subtasks to capabilities optimized for each job in light of the summarizer misses document fields because no structured extraction happened first. Relying on the requested product name is not a proof of user permission; this is insufficient for the architecture selection, given the evidence that the summarizer misses document fields because no structured extraction happened first.
C:For work that needs to measure successful end-to-end task completion, not only coherent text, an agent must finish intended actions within policy, not merely produce a convincing narrative; the specific the architecture selection instead requires assign different subtasks to capabilities optimized for each job in light of the summarizer misses document fields because no structured extraction happened first. Final-response fluency can conceal failed tool executions; this is insufficient for the architecture selection, given the evidence that the summarizer misses document fields because no structured extraction happened first.
D:Tool isolation stops a broken dependency from consuming every step and preserves controlled degradation; that is valuable when the goal is to prevent cascading tool retries from exhausting the agent session, but the architecture selection instead depends on the ability to assign different subtasks to capabilities optimized for each job. Increasing the maximum number of agent iterations can multiply the failure load; it does not account for the condition in the architecture selection: the summarizer misses document fields because no structured extraction happened first.
Question 659
A service-chatbot needs to remember an account's previous troubleshooting steps. A release proposal aims to maintain a scoped, expiring conversation state outside model weights. Which architecture decision fits the constraint?
- Configure Amazon Bedrock Guardrails content filters for the intended safety categories.
- Store tenant-keyed session history and reconstruct a bounded message context.
- Build evidence-first prompts that require supporting passages for claims.
- Implement a clarification branch using deterministic workflow state.
Explanation
Correct Answer
B:External state allows controlled continuity, retention, and size limits between otherwise stateless calls; it directly supports the architectural objective to maintain a scoped, expiring conversation state outside model weights. The model does not persist an application's prior requests automatically; that boundary is important when selecting the implementation.
Incorrect Answers
A:Input filters evaluate configured harmful-content categories before or during protected inference workflows; this explains its relevance to apply managed content-policy checks to user input, not the the architecture selection requirement to maintain a scoped, expiring conversation state outside model weights after after a new API call, the bot asks for diagnostic results that were provided earlier. IAM permission checks govern API access but do not classify harmful user language; choosing it for the architecture selection would leave the underlying issue visible: after a new API call, the bot asks for diagnostic results that were provided earlier.
C:The scope of this alternative is different: grounding the answer to retrieved material and permitting uncertainty reduces unsupported completions; it supports include bounded evidence and instructions to abstain when unsupported, while the architecture selection needs maintain a scoped, expiring conversation state outside model weights after after a new API call, the bot asks for diagnostic results that were provided earlier. Merely asking a model to be accurate cannot supply missing knowledge; for the architecture selection, the unresolved requirement remains to maintain a scoped, expiring conversation state outside model weights, as shown when after a new API call, the bot asks for diagnostic results that were provided earlier.
D:Explicit state transitions prevent the application from guessing mandatory values; this explains its relevance to pause and obtain clarification before invoking expensive downstream tools, not the the architecture selection requirement to maintain a scoped, expiring conversation state outside model weights after after a new API call, the bot asks for diagnostic results that were provided earlier. Increasing temperature makes missing identifiers less reliable, not more available; choosing it for the architecture selection would leave the underlying issue visible: after a new API call, the bot asks for diagnostic results that were provided earlier.
Question 660
Production evidence: Two agents independently attempt the same refund and produce conflicting results. The original design context was: A team has several specialist agents for compliance and fulfillment. Which change prevents recurrence?
- Use a coordinator that delegates bounded subtasks to specialist agents.
- Enforce caller identity and operation-level authorization in the tool layer.
- Use a cascade with measurable thresholds for escalation.
- Use CodePipeline with automated tests, security scans, and gated promotion.
Explanation
Correct Answer
A:Explicit coordination preserves task ownership, context, and control across model boundaries; that explains the reported failure: two agents independently attempt the same refund and produce conflicting results. Letting every agent call every tool obscures responsibility and privilege scope; a symptom-only workaround would not restore the requirement to route tasks to the right specialist and preserve an auditable handoff.
Incorrect Answers
B:The scope of this alternative is different: trusted identity propagation prevents a shared tool server from becoming an unrestricted deputy; it supports authorize each tool invocation with end-user context and action scope, while the reported failure and its causal repair needs route tasks to the right specialist and preserve an auditable handoff after two agents independently attempt the same refund and produce conflicting results. Relying on the requested product name is not a proof of user permission; for the reported failure and its causal repair, the unresolved requirement remains to route tasks to the right specialist and preserve an auditable handoff, as shown when two agents independently attempt the same refund and produce conflicting results.
C:Task-dependent routing conserves inference cost while maintaining quality on demanding inputs; this explains its relevance to route easy tasks to a small specialist and reserve stronger reasoning for exceptions, not the the reported failure and its causal repair requirement to route tasks to the right specialist and preserve an auditable handoff after two agents independently attempt the same refund and produce conflicting results. Always using the strongest model ignores the easy-query cost advantage; choosing it for the reported failure and its causal repair would leave the underlying issue visible: two agents independently attempt the same refund and produce conflicting results.
D:Deployment pipelines enforce repeatable verification and allow controlled rollback of risky GenAI components; that is valuable when the goal is to test prompts, IAM, and infrastructure changes before production, but the reported failure and its causal repair instead depends on the ability to route tasks to the right specialist and preserve an auditable handoff. Manual direct production edits defeat the evidence trail of approvals; it does not account for the condition in the reported failure and its causal repair: two agents independently attempt the same refund and produce conflicting results.