Question 410
Clients lose connections when a tool requires minutes of continuous computation. Investigators also establish that a tool server requires persistent connections and heavy native dependencies. Which implementation most directly addresses the cause?
- Run prompt-injection and jailbreak evaluations against the full tool workflow.
- Run the MCP service on a managed container platform such as Amazon ECS.
- Implement the authenticated MCP-facing operation with a Lambda-backed service.
- Enforce caller identity and operation-level authorization in the tool layer.
Explanation
Correct Answer
B:Containers suit persistent processes, custom dependencies, and controlled resource sizing; that explains the reported failure: clients lose connections when a tool requires minutes of continuous computation. A short function timeout can be inappropriate for a sustained tool session; a symptom-only workaround would not restore the requirement to choose a runtime suitable for long-lived complex MCP services.
Incorrect Answers
A:Testing realistic attacks surfaces gaps that benign user prompts and single-model demos miss; this explains its relevance to measure resistance using repeatable adversarial test suites, not the the reported failure and its causal repair requirement to choose a runtime suitable for long-lived complex MCP services after clients lose connections when a tool requires minutes of continuous computation. A policy document claiming safety is not a measured security result; choosing it for the reported failure and its causal repair would leave the underlying issue visible: clients lose connections when a tool requires minutes of continuous computation.
C:The scope of this alternative is different: a stateless function suits short-lived bounded calls and scales with requests within service limits; it supports host a stateless tool handler without maintaining idle servers, while the reported failure and its causal repair needs choose a runtime suitable for long-lived complex MCP services after clients lose connections when a tool requires minutes of continuous computation. Long-lived in-memory conversational state should not be assumed across invocations; for the reported failure and its causal repair, the unresolved requirement remains to choose a runtime suitable for long-lived complex MCP services, as shown when clients lose connections when a tool requires minutes of continuous computation.
D: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 reported failure and its causal repair instead requires choose a runtime suitable for long-lived complex MCP services in light of clients lose connections when a tool requires minutes of continuous computation. Relying on the requested product name is not a proof of user permission; this is insufficient for the reported failure and its causal repair, given the evidence that clients lose connections when a tool requires minutes of continuous computation.
Question 411
A RAG service needs managed ingestion, embedding, retrieval, and source attribution. After deployment, the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case. Engineers need a cause-level fix, not a change in presentation. What should they implement?
- Run an Amazon Bedrock Knowledge Bases data-source synchronization job.
- Batch embedding requests where supported and throttle workers to quotas.
- Use Amazon Bedrock Knowledge Bases with a supported vector store.
- Attach trusted department metadata and filter the vector query by caller authorization.
Explanation
Correct Answer
C:Managed knowledge bases coordinate data-source ingestion and semantic retrieval for FM augmentation; that explains the reported failure: the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case. The underlying vector store still requires data governance and access design; a symptom-only workaround would not restore the requirement to avoid hand-building every retrieval integration component.
Incorrect Answers
A:The scope of this alternative is different: sync processes new, changed, and removed sources and updates corresponding vector content; it supports make the indexed corpus reflect additions, updates, and deletions, while the reported failure and its causal repair needs avoid hand-building every retrieval integration component after the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case. Uploading files to storage does not itself guarantee the index is refreshed; for the reported failure and its causal repair, the unresolved requirement remains to avoid hand-building every retrieval integration component, as shown when the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case.
B:Rate-aware batching reduces per-document overhead while respecting provider limits; that is valuable when the goal is to schedule controlled embedding batches with bounded concurrency, but the reported failure and its causal repair instead depends on the ability to avoid hand-building every retrieval integration component. Unbounded parallelism turns a backlog into repeated throttling failures; it does not account for the condition in the reported failure and its causal repair: the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case.
D:The scope of this alternative is different: source metadata constrains which chunks are eligible, preventing unrelated sensitive context from entering inference; it supports enforce department-level retrieval boundaries before passages reach the FM, while the reported failure and its causal repair needs avoid hand-building every retrieval integration component after the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case. A text instruction to the model is not an access-control boundary; for the reported failure and its causal repair, the unresolved requirement remains to avoid hand-building every retrieval integration component, as shown when the team spends weeks maintaining a custom ingestion orchestration for a standard RAG use case.
Question 412
Production evidence: Ideas are almost identical across runs despite a creative-assistance goal. The original design context was: A brainstorming assistant returns repetitive low-diversity ideas. Which change prevents recurrence?
- Experiment with temperature and top-p settings on the creative task set.
- Benchmark latency-optimized model inference where available for the chosen model.
- Profile prefill and decode bottlenecks with token-specific metrics.
- Optimize vector index search settings based on measured recall-latency curves.
- Retrieve only top-ranked bounded passages and reserve an explicit context budget.
Explanation
Correct Answer
A:Sampling changes diversity, but decisions should be validated against coherence and policy requirements; that explains the reported failure: ideas are almost identical across runs despite a creative-assistance goal. Increasing randomness without limits can raise factual and formatting error rates; a symptom-only workaround would not restore the requirement to tune supported sampling controls while measuring quality and safety.
Incorrect Answers
B:Service-tier choices can improve responsiveness but availability and model compatibility must be checked; this explains its relevance to measure a supported latency-optimized inference mode against quality objectives, not the the reported failure and its causal repair requirement to tune supported sampling controls while measuring quality and safety after ideas are almost identical across runs despite a creative-assistance goal. Latency optimization does not guarantee identical cost or support for every model; choosing it for the reported failure and its causal repair would leave the underlying issue visible: ideas are almost identical across runs despite a creative-assistance goal.
C:For work that needs to measure input and output token throughput separately, token-stage measurements distinguish long-prompt processing from slow completion generation; the specific the reported failure and its causal repair instead requires tune supported sampling controls while measuring quality and safety in light of ideas are almost identical across runs despite a creative-assistance goal. Request-per-second counts conceal large differences in token workload; this is insufficient for the reported failure and its causal repair, given the evidence that ideas are almost identical across runs despite a creative-assistance goal.
D:Vector index configuration trades candidate breadth, speed, and memory; that is valuable when the goal is to profile and tune ANN index parameters and shard layout, but the reported failure and its causal repair instead depends on the ability to tune supported sampling controls while measuring quality and safety. Increasing the top-k response size may worsen inference context overhead; it does not account for the condition in the reported failure and its causal repair: ideas are almost identical across runs despite a creative-assistance goal.
E:The scope of this alternative is different: smaller relevant context reduces input tokens and avoids crowding out necessary instructions; it supports cut input tokens while keeping the relevant evidence, while the reported failure and its causal repair needs tune supported sampling controls while measuring quality and safety after ideas are almost identical across runs despite a creative-assistance goal. Blindly removing all context may improve cost while destroying factual grounding; for the reported failure and its causal repair, the unresolved requirement remains to tune supported sampling controls while measuring quality and safety, as shown when ideas are almost identical across runs despite a creative-assistance goal.
Question 413
An API receives large numbers of noninteractive summaries. The incident report says: User requests time out while a background summarization job continues. Which specific design change best corrects the failure?
- Accumulate streamed tool-use deltas until the structured call is complete.
- Use capped exponential backoff with jitter in the AWS SDK client.
- Accept work through API Gateway and process queued jobs from SQS.
- Estimate input tokens and apply a configured context budget at the gateway.
Explanation
Correct Answer
C:Queues decouple front-end request acceptance from model throughput and support bounded retries; that explains the reported failure: user requests time out while a background summarization job continues. Keeping every HTTP request open makes slow inference consume client connections; a symptom-only workaround would not restore the requirement to buffer asynchronous work instead of holding client connections open.
Incorrect Answers
A:The scope of this alternative is different: partial arguments are not safe transactional commands; validation should occur on the finalized tool input; it supports buffer and validate a completed tool-call payload before execution, while the reported failure and its causal repair needs buffer asynchronous work instead of holding client connections open after user requests time out while a background summarization job continues. Executing the first JSON fragment can call a function with missing or wrong fields; for the reported failure and its causal repair, the unresolved requirement remains to buffer asynchronous work instead of holding client connections open, as shown when user requests time out while a background summarization job continues.
B:Spreading retries reduces synchronized load and bounds time spent recovering from transient errors; that is valuable when the goal is to retry safely without amplifying traffic spikes, but the reported failure and its causal repair instead depends on the ability to buffer asynchronous work instead of holding client connections open. Immediate tight-loop retries worsen rate limits and increase failure latency; it does not account for the condition in the reported failure and its causal repair: user requests time out while a background summarization job continues.
D:For work that needs to reject or shorten over-budget requests before FM invocation, early budgeting allocates space for system instructions, retrieval context, and requested output; the specific the reported failure and its causal repair instead requires buffer asynchronous work instead of holding client connections open in light of user requests time out while a background summarization job continues. Generic API payload byte limits do not reflect model token accounting; this is insufficient for the reported failure and its causal repair, given the evidence that user requests time out while a background summarization job continues.
Question 414
This is customization, not a substitute for retrieving fresh private facts per request. An architecture reviewer must still ensure the application can reduce the number of parameters that must be updated for customization. What recommendation is justified?
- Register model packages and versioned approvals in SageMaker Model Registry.
- Use feature-flagged model routing with deployment-safe configuration changes.
- Use staged model loading and maintain the needed minimum warm workers.
- Use a compatible parameter-efficient fine-tuning method such as LoRA.
Explanation
Correct Answer
D:Low-rank adapters change a relatively small set of learnable parameters, reducing adaptation resource needs where supported; this is the behavior to validate in a release review concerned with reduce the number of parameters that must be updated for customization. This is customization, not a substitute for retrieving fresh private facts per request; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:Model-package versions and approval status provide an auditable deployment unit that pipelines can promote or revert; this explains its relevance to track approved model artifacts and roll back a bad release, not the the release-control decision requirement to reduce the number of parameters that must be updated for customization after updating full model weights is infeasible and new domain language still needs adaptation. Replacing endpoint artifacts in place removes a reliable rollback reference; choosing it for the release-control decision would leave the underlying issue visible: updating full model weights is infeasible and new domain language still needs adaptation.
B:A controlled routing layer allows cohort-based experiments and rapid reversion without modifying prompts in every client; this explains its relevance to change routing percentages safely with quick rollback, not the the release-control decision requirement to reduce the number of parameters that must be updated for customization after updating full model weights is infeasible and new domain language still needs adaptation. Changing a global hard-coded model ID exposes all traffic at once; choosing it for the release-control decision would leave the underlying issue visible: updating full model weights is infeasible and new domain language still needs adaptation.
C:The scope of this alternative is different: loading weights and initializing device memory dominate startup for large self-hosted models; it supports reduce cold-start impact through controlled artifact loading and warm capacity, while the release-control decision needs reduce the number of parameters that must be updated for customization after updating full model weights is infeasible and new domain language still needs adaptation. Reducing HTTP keepalive alone does not reduce weight initialization time; for the release-control decision, the unresolved requirement remains to reduce the number of parameters that must be updated for customization, as shown when updating full model weights is infeasible and new domain language still needs adaptation.
Question 415
A partner service occasionally goes offline during data synchronization. A release proposal aims to buffer outbound jobs and handle redelivery explicitly. Which architecture decision fits the constraint?
- Place durable work in Amazon SQS with an idempotent consumer.
- Use a versioned enterprise GenAI gateway with shared policy enforcement.
- Partition the RAG architecture by residency domain and enforce region-aware routing.
- Use EventBridge rules to invoke a dedicated summary workflow.
Explanation
Correct Answer
A:Queueing absorbs outages and at-least-once deliveries require duplicate-safe processing; it directly supports the architectural objective to buffer outbound jobs and handle redelivery explicitly. Fire-and-forget HTTP calls can lose jobs during partner downtime; that boundary is important when selecting the implementation.
Incorrect Answers
B:The scope of this alternative is different: a gateway can standardize access, request tracking, and model routing across clients; it supports centralize authentication, rate limiting, and telemetry at one AI service boundary, while the architecture selection needs buffer outbound jobs and handle redelivery explicitly after a transient partner failure permanently drops document updates. Allowing every client to bypass the gateway makes policies inconsistent; for the architecture selection, the unresolved requirement remains to buffer outbound jobs and handle redelivery explicitly, as shown when a transient partner failure permanently drops document updates.
C:Data location and inference destination both matter when governing cross-border processing; this explains its relevance to choose per-jurisdiction storage and processing paths before inference, not the the architecture selection requirement to buffer outbound jobs and handle redelivery explicitly after a transient partner failure permanently drops document updates. Replicating all vector indexes into one region may violate source residency rules; choosing it for the architecture selection would leave the underlying issue visible: a transient partner failure permanently drops document updates.
D:The scope of this alternative is different: event routing adds the AI consumer without requiring the order producer to know its implementation; it supports trigger a generative customer summary without tightly coupling order code, while the architecture selection needs buffer outbound jobs and handle redelivery explicitly after a transient partner failure permanently drops document updates. Adding synchronous FM inference into checkout makes checkout depend on model availability; for the architecture selection, the unresolved requirement remains to buffer outbound jobs and handle redelivery explicitly, as shown when a transient partner failure permanently drops document updates.
Question 416
A document pipeline must classify, extract, validate, and then summarize. A release proposal aims to coordinate multiple prompts with conditional processing stages. Which architecture decision fits the constraint?
- Use Amazon Bedrock Prompt Management with versioned prompt templates.
- Add step-level logs and X-Ray spans around prompt and tool transitions.
- Implement a clarification branch using deterministic workflow state.
- Use Amazon Bedrock Flows or explicit workflow orchestration for multi-stage prompting.
Explanation
Correct Answer
D:Distinct steps allow validation and routing between model calls instead of one opaque long prompt; it directly supports the architectural objective to coordinate multiple prompts with conditional processing stages. A single free-form completion hides intermediate errors and cannot enforce deterministic gates; that boundary is important when selecting the implementation.
Incorrect Answers
A:For work that needs to centralize parameterized prompts and promote immutable versions, versioning creates a reviewable artifact with variables, allowing controlled rollout and rollback; the specific the architecture selection instead requires coordinate multiple prompts with conditional processing stages in light of the summarizer publishes output even though extracted fields failed validation. Copying prompt strings into application code hides drift between clients; this is insufficient for the architecture selection, given the evidence that the summarizer publishes output even though extracted fields failed validation.
B:The scope of this alternative is different: tracing the boundaries reveals where context or formatting changes unexpectedly; it supports trace intermediate prompts and transformations with secure correlation IDs, while the architecture selection needs coordinate multiple prompts with conditional processing stages after the summarizer publishes output even though extracted fields failed validation. A final answer log alone cannot reconstruct lost intermediate fields; for the architecture selection, the unresolved requirement remains to coordinate multiple prompts with conditional processing stages, as shown when the summarizer publishes output even though extracted fields failed validation.
C: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 coordinate multiple prompts with conditional processing stages after the summarizer publishes output even though extracted fields failed validation. Increasing temperature makes missing identifiers less reliable, not more available; choosing it for the architecture selection would leave the underlying issue visible: the summarizer publishes output even though extracted fields failed validation.
Question 417
A product team cannot tell whether latency increases harm business outcomes. A successful solution needs to correlate operational metrics with task completion and conversion. Which option is the most suitable design?
- Create end-to-end CloudWatch dashboards with request and business KPIs.
- Track verified task completion and tool side-effect correctness.
- Publish token-usage and estimated-cost metrics with dimensions in CloudWatch.
- Create structured trace records for each model and tool invocation.
Explanation
Correct Answer
A:Latency, error rate, completion quality, and user outcomes together describe system health; it directly supports the architectural objective to correlate operational metrics with task completion and conversion. Infrastructure CPU graphs alone do not show customer value; that boundary is important when selecting the implementation.
Incorrect Answers
B:An agent must finish intended actions within policy, not merely produce a convincing narrative; that is valuable when the goal is to measure successful end-to-end task completion, not only coherent text, but the architecture selection instead depends on the ability to correlate operational metrics with task completion and conversion. Final-response fluency can conceal failed tool executions; it does not account for the condition in the architecture selection: system availability is green while task abandonment rises sharply.
C: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 correlate operational metrics with task completion and conversion. A single monthly total does not identify the feature creating token bursts; it does not account for the condition in the architecture selection: system availability is green while task abandonment rises sharply.
D:The scope of this alternative is different: per-step observability distinguishes orchestration overhead from model response time; it supports trace correlated agent and tool spans per user request, while the architecture selection needs correlate operational metrics with task completion and conversion after system availability is green while task abandonment rises sharply. One log line per final answer cannot expose intermediate retries; for the architecture selection, the unresolved requirement remains to correlate operational metrics with task completion and conversion, as shown when system availability is green while task abandonment rises sharply.
Question 418
A new model worsens specialized tasks and there is no identified previous artifact. Investigators also establish that a business deploys a customized model behind a SageMaker AI endpoint. Which implementation most directly addresses the cause?
- Use a versioned deprecation and rollback plan for model artifacts and endpoint clients.
- Register model packages and versioned approvals in SageMaker Model Registry.
- Use supported batch inference or controlled application-side batching.
- Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
Explanation
Correct Answer
B:Model-package versions and approval status provide an auditable deployment unit that pipelines can promote or revert; that explains the reported failure: a new model worsens specialized tasks and there is no identified previous artifact. Replacing endpoint artifacts in place removes a reliable rollback reference; a symptom-only workaround would not restore the requirement to track approved model artifacts and roll back a bad release.
Incorrect Answers
A:Controlled retirement identifies dependent callers, preserves lineage, and gives clients a migration interval; that is valuable when the goal is to remove old deployment access without losing the approved audit record, but the reported failure and its causal repair instead depends on the ability to track approved model artifacts and roll back a bad release. Deleting a model before consumers migrate breaks inference without a recovery path; it does not account for the condition in the reported failure and its causal repair: a new model worsens specialized tasks and there is no identified previous artifact.
C:Bulk processing can trade turnaround time for efficiency and coordinated capacity use; this explains its relevance to batch requests within latency and provider constraints, not the the reported failure and its causal repair requirement to track approved model artifacts and roll back a bad release after a new model worsens specialized tasks and there is no identified previous artifact. Interactive chat requests should not be delayed inside oversized batches; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a new model worsens specialized tasks and there is no identified previous artifact.
D:The adapter abstracts model-specific requests while configuration changes routing independently of service releases; this explains its relevance to switch providers without editing every calling microservice, not the the reported failure and its causal repair requirement to track approved model artifacts and roll back a bad release after a new model worsens specialized tasks and there is no identified previous artifact. Embedding model IDs in each client couples every deployment to one provider; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a new model worsens specialized tasks and there is no identified previous artifact.
Question 419
A team needs detailed examples of unexpectedly poor FM responses. The architecture must enable protected model invocation logging with a privacy-conscious retention policy. Which implementation best meets that requirement?
- Run output-diff and groundedness regression evaluations across versions.
- Use Amazon Bedrock model invocation logging where supported and restrict log access.
- Execute schema and semantic contract tests against model responses.
- Create structured trace records for each model and tool invocation.
Explanation
Correct Answer
B:Invocation details can support forensic analysis while requiring explicit data handling controls; it directly supports the architectural objective to enable protected model invocation logging with a privacy-conscious retention policy. CloudTrail control-plane events do not by themselves capture answer text for quality review; that boundary is important when selecting the implementation.
Incorrect Answers
A:Controlled test inputs expose model-specific behavior changes separately from traffic variation; that is valuable when the goal is to compare responses on a stable golden dataset and review divergences, but the architecture selection instead depends on the ability to enable protected model invocation logging with a privacy-conscious retention policy. A successful API status code proves only that a response was returned; it does not account for the condition in the architecture selection: a regression ticket has no record of which model input produced the bad answer.
C:The scope of this alternative is different: schema checks detect field removal, type changes, and invalid required combinations; it supports validate structured-output contracts before routing traffic, while the architecture selection needs enable protected model invocation logging with a privacy-conscious retention policy after a regression ticket has no record of which model input produced the bad answer. Matching a few output words does not establish API compatibility; for the architecture selection, the unresolved requirement remains to enable protected model invocation logging with a privacy-conscious retention policy, as shown when a regression ticket has no record of which model input produced the bad answer.
D:For work that needs to trace correlated agent and tool spans per user request, per-step observability distinguishes orchestration overhead from model response time; the specific the architecture selection instead requires enable protected model invocation logging with a privacy-conscious retention policy in light of a regression ticket has no record of which model input produced the bad answer. One log line per final answer cannot expose intermediate retries; this is insufficient for the architecture selection, given the evidence that a regression ticket has no record of which model input produced the bad answer.
Question 420
Geographic or global profile selection must respect contractual processing boundaries. An architecture reviewer must still ensure the application can maintain service continuity across supported Bedrock capacity pools. What recommendation is justified?
- Evaluate Amazon Bedrock Provisioned Throughput for the selected supported model.
- Use an appropriate cross-Region inference profile and bounded application retries.
- Implement circuit-breaking and controlled fallback to a vetted alternate model.
- Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.
Explanation
Correct Answer
B:A Bedrock inference profile routes supported calls across allowed destination Regions, helping smooth regional capacity pressure; this is the behavior to validate in a release review concerned with maintain service continuity across supported Bedrock capacity pools. Geographic or global profile selection must respect contractual processing boundaries; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:The scope of this alternative is different: provisioned capacity is designed for workloads needing committed throughput rather than purely bursty on-demand access; it supports reserve supported inference capacity for steady traffic, while the release-control decision needs maintain service continuity across supported Bedrock capacity pools after a traffic burst produces throttling even though unused model capacity exists elsewhere. Cross-Region inference profiles do not become provisioned capacity reservations; for the release-control decision, the unresolved requirement remains to maintain service continuity across supported Bedrock capacity pools, as shown when a traffic burst produces throttling even though unused model capacity exists elsewhere.
C:Opening a circuit stops futile calls to a failing dependency while a documented fallback preserves partial service; that is valuable when the goal is to avoid indefinite retries and offer a preapproved fallback path, but the release-control decision instead depends on the ability to maintain service continuity across supported Bedrock capacity pools. Retrying every request without a limit amplifies failures and latency; it does not account for the condition in the release-control decision: a traffic burst produces throttling even though unused model capacity exists elsewhere.
D:The scope of this alternative is different: geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; it supports gain cross-Region capacity without routing protected prompts worldwide, while the release-control decision needs maintain service continuity across supported Bedrock capacity pools after a traffic burst produces throttling even though unused model capacity exists elsewhere. A broad global routing profile can violate a location-specific processing restriction; for the release-control decision, the unresolved requirement remains to maintain service continuity across supported Bedrock capacity pools, as shown when a traffic burst produces throttling even though unused model capacity exists elsewhere.