Question 190
Provider marketing claims about multilingual capability do not prove compliance with the target domain. An architecture reviewer must still ensure the application can validate accuracy and safety per language before selecting a provider. What recommendation is justified?
- Instrument the prototype to record token usage, p95 latency, task success, and estimated spend.
- Use an appropriate cross-Region inference profile and bounded application retries.
- Run a multilingual task-specific model benchmark with native-speaker review.
- Use a compatible parameter-efficient fine-tuning method such as LoRA.
Explanation
Correct Answer
C:Language-specific tests reveal quality disparities that English-only benchmarks conceal; this is the behavior to validate in a release review concerned with validate accuracy and safety per language before selecting a provider. Provider marketing claims about multilingual capability do not prove compliance with the target domain; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:For work that needs to compare quality against per-request tokens, latency, and escalation frequency, a credible proof of concept exposes both technical quality and economics; aggregate demo accuracy alone hides token-heavy failures; the specific the release-control decision instead requires validate accuracy and safety per language before selecting a provider in light of translated refusals work in English but sensitive content passes through in a second language. A single average response time masks tail latency that affects interactive workloads; this is insufficient for the release-control decision, given the evidence that translated refusals work in English but sensitive content passes through in a second language.
B:The scope of this alternative is different: a Bedrock inference profile routes supported calls across allowed destination Regions, helping smooth regional capacity pressure; it supports maintain service continuity across supported Bedrock capacity pools, while the release-control decision needs validate accuracy and safety per language before selecting a provider after translated refusals work in English but sensitive content passes through in a second language. Geographic or global profile selection must respect contractual processing boundaries; for the release-control decision, the unresolved requirement remains to validate accuracy and safety per language before selecting a provider, as shown when translated refusals work in English but sensitive content passes through in a second language.
D:The scope of this alternative is different: low-rank adapters change a relatively small set of learnable parameters, reducing adaptation resource needs where supported; it supports reduce the number of parameters that must be updated for customization, while the release-control decision needs validate accuracy and safety per language before selecting a provider after translated refusals work in English but sensitive content passes through in a second language. This is customization, not a substitute for retrieving fresh private facts per request; for the release-control decision, the unresolved requirement remains to validate accuracy and safety per language before selecting a provider, as shown when translated refusals work in English but sensitive content passes through in a second language.
Question 191
An API accepts uploaded attachments and extracts text for a model. The architecture must scan and validate attachments before including content in prompts. Which implementation best meets that requirement?
- Execute schema and semantic contract tests against model responses.
- Parse generated SQL and enforce read-only, scoped database permissions.
- Run server-side output scanning and blocking for defined secret formats.
- Run upload validation, malware scanning where applicable, and trusted text extraction.
Explanation
Correct Answer
D:Preprocessing reduces dangerous payloads and prevents unchecked files from entering downstream stages; it directly supports the architectural objective to scan and validate attachments before including content in prompts. An FM content filter is not a replacement for file-type and malware checks; that boundary is important when selecting the implementation.
Incorrect Answers
A:For work that needs to validate structured-output contracts before routing traffic, schema checks detect field removal, type changes, and invalid required combinations; the specific the architecture selection instead requires scan and validate attachments before including content in prompts in light of a disguised executable is passed through the upload workflow as a document. Matching a few output words does not establish API compatibility; this is insufficient for the architecture selection, given the evidence that a disguised executable is passed through the upload workflow as a document.
B:Deterministic validation prevents a generated statement from becoming an unauthorized database action; that is valuable when the goal is to validate query structure and allowlisted read-only operations before execution, but the architecture selection instead depends on the ability to scan and validate attachments before including content in prompts. Model-generated SQL is not trusted merely because it resembles an ordinary SELECT; it does not account for the condition in the architecture selection: a disguised executable is passed through the upload workflow as a document.
C:The scope of this alternative is different: post-processing can enforce exact patterns for credentials that a probabilistic model may miss; it supports apply deterministic secret-pattern detection before sending responses, while the architecture selection needs scan and validate attachments before including content in prompts after a disguised executable is passed through the upload workflow as a document. A safety classifier alone may not cover organization-specific token structures; for the architecture selection, the unresolved requirement remains to scan and validate attachments before including content in prompts, as shown when a disguised executable is passed through the upload workflow as a document.
Question 192
A document onboarding flow must classify, extract, and archive case files. After deployment, an extraction failure still marks an incomplete document as processed. Engineers need a cause-level fix, not a change in presentation. What should they implement?
- Use Amazon Bedrock Flows or explicit workflow orchestration for multi-stage prompting.
- Orchestrate processing with Step Functions and task-state validation.
- Coordinate bounded specialist tasks with a stateful orchestration framework.
- Run a Lambda event handler that invokes a bounded generation workflow.
Explanation
Correct Answer
B:A state machine tracks each external operation, errors, and recoverable milestones; that explains the reported failure: an extraction failure still marks an incomplete document as processed. One long function hides partial completion and complicates retries; a symptom-only workaround would not restore the requirement to sequence service calls with explicit failure and compensating paths.
Incorrect Answers
A:For work that needs to coordinate multiple prompts with conditional processing stages, distinct steps allow validation and routing between model calls instead of one opaque long prompt; the specific the reported failure and its causal repair instead requires sequence service calls with explicit failure and compensating paths in light of an extraction failure still marks an incomplete document as processed. A single free-form completion hides intermediate errors and cannot enforce deterministic gates; this is insufficient for the reported failure and its causal repair, given the evidence that an extraction failure still marks an incomplete document as processed.
C:For work that needs to use explicit orchestration for specialist agents and merge conditions, task delegation and aggregation make dependencies and timeout behavior testable; the specific the reported failure and its causal repair instead requires sequence service calls with explicit failure and compensating paths in light of an extraction failure still marks an incomplete document as processed. Sending one open-ended prompt cannot guarantee each specialist completed its role; this is insufficient for the reported failure and its causal repair, given the evidence that an extraction failure still marks an incomplete document as processed.
D:An event-driven consumer decouples the drafting operation from the CRM write path; this explains its relevance to process events without blocking the customer record transaction, not the the reported failure and its causal repair requirement to sequence service calls with explicit failure and compensating paths after an extraction failure still marks an incomplete document as processed. Calling the FM synchronously inside the record commit increases transaction fragility; choosing it for the reported failure and its causal repair would leave the underlying issue visible: an extraction failure still marks an incomplete document as processed.
Question 193
A model prompt cannot safely decide who may de-anonymize records. An architecture reviewer must still ensure the application can maintain separate masked views and role-gated source access. What recommendation is justified?
- Combine source authorization checks with retrieval metadata filters.
- Serve de-identified retrieval data by default with a controlled privileged lookup path.
- Use a controlled hybrid connectivity path and minimize transferred sensitive data.
- Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.
Explanation
Correct Answer
B:Separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; this is the behavior to validate in a release review concerned with maintain separate masked views and role-gated source access. A model prompt cannot safely decide who may de-anonymize records; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:For work that needs to enforce source-specific access controls before constructing the retrieval context, the application must carry trusted identity context into candidate selection so the FM never sees disallowed chunks; the specific the release-control decision instead requires maintain separate masked views and role-gated source access in light of a support agent requests an unrestricted personal-data export through a chat command. An FM refusal after retrieval is too late to protect raw context exposure; this is insufficient for the release-control decision, given the evidence that a support agent requests an unrestricted personal-data export through a chat command.
C:Hybrid design separates locally governed source systems from cloud FM calls and permits explicit data movement policy; that is valuable when the goal is to integrate approved metadata with cloud inference over private connectivity, but the release-control decision instead depends on the ability to maintain separate masked views and role-gated source access. Hosting other workloads on Outposts does not automatically place Bedrock inference on premises; it does not account for the condition in the release-control decision: a support agent requests an unrestricted personal-data export through a chat command.
D:Macie can identify sensitive data in S3 objects and trigger action before indexing; that is valuable when the goal is to detect sensitive content in S3 prior to making it searchable, but the release-control decision instead depends on the ability to maintain separate masked views and role-gated source access. Macie is not an inline filter for arbitrary model responses; it does not account for the condition in the release-control decision: a support agent requests an unrestricted personal-data export through a chat command.
Question 194
A steady production application needs predictable inference capacity. The architecture must compare reserved model throughput against observed sustained demand. Which implementation best meets that requirement?
- Use supported batch inference or controlled application-side batching.
- Enforce queue-based concurrency limits and bounded admission control.
- Invoke the selected Bedrock model through a Lambda-based request handler.
- Evaluate provisioned inference capacity with utilization and cost modeling.
Explanation
Correct Answer
D:Capacity commitment can stabilize throughput for a sufficiently steady supported workload; it directly supports the architectural objective to compare reserved model throughput against observed sustained demand. A commitment is wasteful if traffic is highly sporadic and low volume; that boundary is important when selecting the implementation.
Incorrect Answers
A: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 architecture selection requirement to compare reserved model throughput against observed sustained demand after an on-demand deployment misses peak latency targets despite stable high usage. Interactive chat requests should not be delayed inside oversized batches; choosing it for the architecture selection would leave the underlying issue visible: an on-demand deployment misses peak latency targets despite stable high usage.
B:For work that needs to control concurrency and smooth demand before it reaches the FM, concurrency gates prevent sudden bursts from overwhelming model quotas; the specific the architecture selection instead requires compare reserved model throughput against observed sustained demand in light of an on-demand deployment misses peak latency targets despite stable high usage. Unrestricted retries increase load rather than creating capacity; this is insufficient for the architecture selection, given the evidence that an on-demand deployment misses peak latency targets despite stable high usage.
C:The scope of this alternative is different: a short-lived function can call managed inference without hosting model weights; it supports use on-demand inference from event-driven compute, while the architecture selection needs compare reserved model throughput against observed sustained demand after an on-demand deployment misses peak latency targets despite stable high usage. Provisioned capacity may be excessive for infrequent low-volume use; for the architecture selection, the unresolved requirement remains to compare reserved model throughput against observed sustained demand, as shown when an on-demand deployment misses peak latency targets despite stable high usage.
Question 195
Several models are candidates for a production summarization feature. A successful solution needs to compare models on the same representative inputs and cost/latency measurements. Which option is the most suitable design?
- Diff prompt templates and test quality regressions on a fixed dataset.
- Build versioned evaluation dashboards with agreed KPI definitions.
- Use paired regression evaluation for retrieved passages and final claims.
- Run a controlled Bedrock model evaluation with task-specific metrics.
- Use a multi-objective comparison on a fixed task distribution.
Explanation
Correct Answer
D:Matched evaluation sets support meaningful quality and operational comparisons; it directly supports the architectural objective to compare models on the same representative inputs and cost/latency measurements. Comparing unrelated examples confounds model differences with question difficulty; that boundary is important when selecting the implementation.
Incorrect Answers
A:The scope of this alternative is different: holding test cases constant isolates instruction changes from input distribution shifts; it supports compare exact prompt versions using controlled evaluation inputs, while the architecture selection needs compare models on the same representative inputs and cost/latency measurements after a cheaper model appears superior only because it was tested on easier records. Changing model and prompt simultaneously makes attribution harder; for the architecture selection, the unresolved requirement remains to compare models on the same representative inputs and cost/latency measurements, as shown when a cheaper model appears superior only because it was tested on easier records.
B:For work that needs to report quality, latency, safety, cost, and business outcome in one comparison, a common report links model performance to actual workflow outcomes and makes trade-offs visible; the specific the architecture selection instead requires compare models on the same representative inputs and cost/latency measurements in light of a cheaper model appears superior only because it was tested on easier records. A ranking chart with only perplexity cannot establish business benefit; this is insufficient for the architecture selection, given the evidence that a cheaper model appears superior only because it was tested on easier records.
C:Version-matched tests show whether embedding changes altered evidence selection and accuracy; this explains its relevance to compare old and new releases on the same retrieval-plus-generation test set, not the the architecture selection requirement to compare models on the same representative inputs and cost/latency measurements after a cheaper model appears superior only because it was tested on easier records. A model-only evaluation misses changes in vector retrieval quality; choosing it for the architecture selection would leave the underlying issue visible: a cheaper model appears superior only because it was tested on easier records.
E:For work that needs to evaluate quality, p95 latency, and cost jointly against acceptance thresholds, a technically strong model still fails if it misses a mandatory response-time or safety target; the specific the architecture selection instead requires compare models on the same representative inputs and cost/latency measurements in light of a cheaper model appears superior only because it was tested on easier records. Ranking solely by benchmark accuracy hides operational disqualification; this is insufficient for the architecture selection, given the evidence that a cheaper model appears superior only because it was tested on easier records.
Question 196
A public AI API receives variable prompt sizes and sometimes hits context limits. A release proposal aims to reject or shorten over-budget requests before FM invocation. Which architecture decision fits the constraint?
- Use Amazon Bedrock Flows for the supported visual orchestration use case.
- Estimate input tokens and apply a configured context budget at the gateway.
- Apply least-privilege Bedrock IAM permissions in a trusted backend authorization layer.
- Build a Strands-based tool agent with external policy and execution limits.
Explanation
Correct Answer
B:Early budgeting allocates space for system instructions, retrieval context, and requested output; it directly supports the architectural objective to reject or shorten over-budget requests before FM invocation. Generic API payload byte limits do not reflect model token accounting; that boundary is important when selecting the implementation.
Incorrect Answers
A:The scope of this alternative is different: flow nodes represent ordered processing and routing steps while reducing bespoke glue; it supports compose managed model and function nodes into a reusable workflow, while the architecture selection needs reject or shorten over-budget requests before FM invocation after large requests fail at the model after already consuming retrieval and preprocessing work. A visual workflow does not eliminate the need for external authorization and data validation; for the architecture selection, the unresolved requirement remains to reject or shorten over-budget requests before FM invocation, as shown when large requests fail at the model after already consuming retrieval and preprocessing work.
C:For work that needs to restrict invocation rights to approved model resources for each caller, iAM can constrain model invocation actions and resources, complementing application tenant rules; the specific the architecture selection instead requires reject or shorten over-budget requests before FM invocation in light of large requests fail at the model after already consuming retrieval and preprocessing work. A prompt telling the model to use a cheaper provider is not an enforcement mechanism; this is insufficient for the architecture selection, given the evidence that large requests fail at the model after already consuming retrieval and preprocessing work.
D:For work that needs to use an agent framework with controlled action execution and observability, the framework coordinates tool calls, while independent handlers enforce identity and limits; the specific the architecture selection instead requires reject or shorten over-budget requests before FM invocation in light of large requests fail at the model after already consuming retrieval and preprocessing work. The presence of agent reasoning traces does not automatically authorize actions; this is insufficient for the architecture selection, given the evidence that large requests fail at the model after already consuming retrieval and preprocessing work.
Question 197
A product-search pipeline includes photos and captions for every catalog item. The architecture must index compatible multimodal representations for image-to-text queries. Which implementation best meets that requirement?
- Construct content blocks with the correct media format and model-supported payload type.
- Select an embedding approach that supports the required text-image retrieval relationship.
- Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.
- Configure a supported ANN vector index and tune search parameters.
Explanation
Correct Answer
B:Aligned representations make semantically related pictures and phrases comparable in the chosen search system; it directly supports the architectural objective to index compatible multimodal representations for image-to-text queries. Text-only embeddings of file names do not capture image appearance; that boundary is important when selecting the implementation.
Incorrect Answers
A:For work that needs to send supported image blocks with the surrounding user text, the API schema and selected model capability jointly determine how nontext input is accepted; the specific the architecture selection instead requires index compatible multimodal representations for image-to-text queries in light of searching for a red jacket returns products whose filenames mention red but images do not match. Putting base64 characters in a text field does not create an image input block; this is insufficient for the architecture selection, given the evidence that searching for a red jacket returns products whose filenames mention red but images do not match.
C:The scope of this alternative is different: extraction makes printed content searchable, while image-aware handling preserves details ordinary text extraction misses; it supports extract usable text and relevant visual context before retrieval, while the architecture selection needs index compatible multimodal representations for image-to-text queries after searching for a red jacket returns products whose filenames mention red but images do not match. Treating a scanned page as plain UTF-8 text loses its visual evidence; for the architecture selection, the unresolved requirement remains to index compatible multimodal representations for image-to-text queries, as shown when searching for a red jacket returns products whose filenames mention red but images do not match.
D:Nearest-neighbor indexing avoids exhaustive comparison for every request, with measurable speed-versus-recall tradeoffs; this explains its relevance to index embeddings and benchmark recall and query time, not the the architecture selection requirement to index compatible multimodal representations for image-to-text queries after searching for a red jacket returns products whose filenames mention red but images do not match. Storing vectors without a search index can cause costly full scans; choosing it for the architecture selection would leave the underlying issue visible: searching for a red jacket returns products whose filenames mention red but images do not match.
Question 198
A public bot sometimes reveals sensitive identifiers found in retrieved context. An agent can execute commands based on external ticket descriptions. The deployment has these independent requirements: (1) block configured PII patterns in generated output; (2) block privilege escalation when ticket text is adversarial. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.
- Apply a Bedrock Guardrails sensitive-information filter with independent output validation.
- Separate retrieved content from trusted instructions and deny tool authority to source text.
- Enforce output moderation with Bedrock Guardrails and an application release gate.
- Implement a defense-in-depth moderation pipeline at distinct trust boundaries.
- Validate tool arguments and enforce IAM-scoped execution independent of retrieved instructions.
Explanation
Correct Answers
A:Output filters reduce accidental disclosure of detected sensitive data types; this fulfills block configured PII patterns in generated output within a combined design that must also block privilege escalation when ticket text is adversarial. Filtering final answers alone cannot replace source access restrictions; the other required action(s) must additionally block privilege escalation when ticket text is adversarial.
E:Backend authorization constrains the blast radius even if model text is manipulated; this fulfills block privilege escalation when ticket text is adversarial within a combined design that must also block configured PII patterns in generated output. Filtering for a few banned words cannot recognize every prompt injection pattern; the other required action(s) must additionally block configured PII patterns in generated output.
Incorrect Answers
B:Trust boundaries prevent source passages from redefining policies or initiating privileged calls; its proper focus is to treat retrieved document text as untrusted evidence, not executable authority, rather than the combined requirements to block configured PII patterns in generated output and block privilege escalation when ticket text is adversarial. RAG improves facts but does not make arbitrary retrieved text safe instructions; in this combined design needing block configured PII patterns in generated output and block privilege escalation when ticket text is adversarial, it does not directly meet the specified requirement to block privilege escalation when ticket text is adversarial.
C:Response-side checks can intercept material produced despite safe-looking user input; its proper focus is to screen the response after generation before delivering it, rather than the combined requirements to block configured PII patterns in generated output and block privilege escalation when ticket text is adversarial. Input-only filtering cannot inspect harmful text newly created by the model; in this combined design needing block configured PII patterns in generated output and block privilege escalation when ticket text is adversarial, it does not directly meet the specified requirement to block privilege escalation when ticket text is adversarial.
D:Independent stages catch different failure modes: unsafe inputs, model behavior, and unsafe final outputs; its proper focus is to layer data classification, input safety, FM guardrails, and output checks, rather than the combined requirements to block configured PII patterns in generated output and block privilege escalation when ticket text is adversarial. A single prompt instruction cannot replace independent enforcement points; in this combined design needing block configured PII patterns in generated output and block privilege escalation when ticket text is adversarial, it does not directly meet the specified requirement to block configured PII patterns in generated output.
Question 199
A prompt revision makes answers verbose and less task-focused. The architecture must compare exact prompt versions using controlled evaluation inputs. Which implementation best meets that requirement?
- Add step-level logs and X-Ray spans around prompt and tool transitions.
- Diff prompt templates and test quality regressions on a fixed dataset.
- Test supported embedding dimensionality settings against recall, size, and latency.
- Use schema validators and prompt-version logging in the test pipeline.
Explanation
Correct Answer
B:Holding test cases constant isolates instruction changes from input distribution shifts; it directly supports the architectural objective to compare exact prompt versions using controlled evaluation inputs. Changing model and prompt simultaneously makes attribution harder; that boundary is important when selecting the implementation.
Incorrect Answers
A:Tracing the boundaries reveals where context or formatting changes unexpectedly; that is valuable when the goal is to trace intermediate prompts and transformations with secure correlation IDs, but the architecture selection instead depends on the ability to compare exact prompt versions using controlled evaluation inputs. A final answer log alone cannot reconstruct lost intermediate fields; it does not account for the condition in the architecture selection: quality falls after release, but the team cannot identify which instruction changed.
C:The scope of this alternative is different: reduced vector size can lower index storage and search cost, but may change semantic discrimination; it supports compare lower-dimensional representations against observed retrieval quality, while the architecture selection needs compare exact prompt versions using controlled evaluation inputs after quality falls after release, but the team cannot identify which instruction changed. A smaller vector is not automatically better when hard queries lose recall; for the architecture selection, the unresolved requirement remains to compare exact prompt versions using controlled evaluation inputs, as shown when quality falls after release, but the team cannot identify which instruction changed.
D:The scope of this alternative is different: output validation localizes whether a template revision changed field structure; it supports add automated contract checks and version-aware prompt diagnostics, while the architecture selection needs compare exact prompt versions using controlled evaluation inputs after quality falls after release, but the team cannot identify which instruction changed. Only measuring model latency cannot explain parser failures; for the architecture selection, the unresolved requirement remains to compare exact prompt versions using controlled evaluation inputs, as shown when quality falls after release, but the team cannot identify which instruction changed.
Question 200
The lowest-priced model is not eligible if its processing path violates a contract. An architecture reviewer must still ensure the application can filter candidate model routes by permitted destination before optimizing cost. What recommendation is justified?
- Use controlled metric-driven routing with rollout and rollback limits.
- Rewrite prompt criteria with boundary examples and validate expected classes.
- Enforce residency eligibility before dynamic model selection.
- Use a tested fallback strategy with clear quality and compatibility gates.
- Accumulate streamed tool-use deltas until the structured call is complete.
Explanation
Correct Answer
C:A policy gate removes prohibited destinations, leaving cost optimization within the allowed set; this is the behavior to validate in a release review concerned with filter candidate model routes by permitted destination before optimizing cost. The lowest-priced model is not eligible if its processing path violates a contract; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:The scope of this alternative is different: operational measurements can inform selection without letting an unstable feedback loop thrash models; it supports update routing weights using observed quality and cost constraints, while the release-control decision needs filter candidate model routes by permitted destination before optimizing cost after a routing optimization accidentally sends protected prompts across a prohibited boundary. Using only raw latency can route sensitive tasks to a cheap but inadequate model; for the release-control decision, the unresolved requirement remains to filter candidate model routes by permitted destination before optimizing cost, as shown when a routing optimization accidentally sends protected prompts across a prohibited boundary.
B:For work that needs to make decision criteria explicit and evaluate ambiguous examples, specific instructions reduce unplanned interpretation, while edge tests reveal remaining uncertainty; the specific the release-control decision instead requires filter candidate model routes by permitted destination before optimizing cost in light of a routing optimization accidentally sends protected prompts across a prohibited boundary. Blindly lowering temperature cannot define missing decision boundaries; this is insufficient for the release-control decision, given the evidence that a routing optimization accidentally sends protected prompts across a prohibited boundary.
D:Fallback maintains limited service while the application checks schema, policy, and capability of alternate models; that is valuable when the goal is to provide a fallback model and mark degraded capability explicitly, but the release-control decision instead depends on the ability to filter candidate model routes by permitted destination before optimizing cost. Switching to any available model can violate modality or safety requirements; it does not account for the condition in the release-control decision: a routing optimization accidentally sends protected prompts across a prohibited boundary.
E:For work that needs to buffer and validate a completed tool-call payload before execution, partial arguments are not safe transactional commands; validation should occur on the finalized tool input; the specific the release-control decision instead requires filter candidate model routes by permitted destination before optimizing cost in light of a routing optimization accidentally sends protected prompts across a prohibited boundary. Executing the first JSON fragment can call a function with missing or wrong fields; this is insufficient for the release-control decision, given the evidence that a routing optimization accidentally sends protected prompts across a prohibited boundary.