Question 60
Production evidence: Audit logs show an inference destination outside the permitted geography. The original design context was: An insurance application must keep FM processing inside a defined geography. Which change prevents recurrence?
- Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.
- Use an appropriate cross-Region inference profile and bounded application retries.
- Use feature-flagged model routing with deployment-safe configuration changes.
- Use a smaller default model with confidence or complexity-based escalation.
Explanation
Correct Answer
A:Geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; that explains the reported failure: audit logs show an inference destination outside the permitted geography. A broad global routing profile can violate a location-specific processing restriction; a symptom-only workaround would not restore the requirement to gain cross-Region capacity without routing protected prompts worldwide.
Incorrect Answers
B:A Bedrock inference profile routes supported calls across allowed destination Regions, helping smooth regional capacity pressure; this explains its relevance to maintain service continuity across supported Bedrock capacity pools, not the the reported failure and its causal repair requirement to gain cross-Region capacity without routing protected prompts worldwide after audit logs show an inference destination outside the permitted geography. Geographic or global profile selection must respect contractual processing boundaries; choosing it for the reported failure and its causal repair would leave the underlying issue visible: audit logs show an inference destination outside the permitted geography.
C:A controlled routing layer allows cohort-based experiments and rapid reversion without modifying prompts in every client; that is valuable when the goal is to change routing percentages safely with quick rollback, but the reported failure and its causal repair instead depends on the ability to gain cross-Region capacity without routing protected prompts worldwide. Changing a global hard-coded model ID exposes all traffic at once; it does not account for the condition in the reported failure and its causal repair: audit logs show an inference destination outside the permitted geography.
D:The scope of this alternative is different: a cascade pays premium inference costs for the minority of requests requiring deeper capability; it supports control spend without sacrificing difficult-case quality, while the reported failure and its causal repair needs gain cross-Region capacity without routing protected prompts worldwide after audit logs show an inference destination outside the permitted geography. Uniform model selection cannot exploit the workload's complexity distribution; for the reported failure and its causal repair, the unresolved requirement remains to gain cross-Region capacity without routing protected prompts worldwide, as shown when audit logs show an inference destination outside the permitted geography.
Question 61
A prompt containing prohibited harmful instructions reaches the model without screening. Investigators also establish that a consumer chatbot must reject disallowed harmful prompts before generation. Which implementation most directly addresses the cause?
- Implement a defense-in-depth moderation pipeline at distinct trust boundaries.
- Use the Amazon Bedrock ApplyGuardrail API around input handling.
- Run a fixed safety regression suite with clear release thresholds.
- Configure Amazon Bedrock Guardrails content filters for the intended safety categories.
Explanation
Correct Answer
D:Input filters evaluate configured harmful-content categories before or during protected inference workflows; that explains the reported failure: a prompt containing prohibited harmful instructions reaches the model without screening. IAM permission checks govern API access but do not classify harmful user language; a symptom-only workaround would not restore the requirement to apply managed content-policy checks to user input.
Incorrect Answers
A:The scope of this alternative is different: independent stages catch different failure modes: unsafe inputs, model behavior, and unsafe final outputs; it supports layer data classification, input safety, FM guardrails, and output checks, while the reported failure and its causal repair needs apply managed content-policy checks to user input after a prompt containing prohibited harmful instructions reaches the model without screening. A single prompt instruction cannot replace independent enforcement points; for the reported failure and its causal repair, the unresolved requirement remains to apply managed content-policy checks to user input, as shown when a prompt containing prohibited harmful instructions reaches the model without screening.
B:For work that needs to screen user text with a standalone guardrail policy call when supported, standalone evaluation lets supported guardrail controls run independently of a full FM generation call; the specific the reported failure and its causal repair instead requires apply managed content-policy checks to user input in light of a prompt containing prohibited harmful instructions reaches the model without screening. Attaching a guardrail only to a different invocation path leaves this custom path unprotected; this is insufficient for the reported failure and its causal repair, given the evidence that a prompt containing prohibited harmful instructions reaches the model without screening.
C:Repeatable adversarial tests catch control erosion despite otherwise good quality metrics; this explains its relevance to include adversarial and policy-violation tests in the quality gate, not the the reported failure and its causal repair requirement to apply managed content-policy checks to user input after a prompt containing prohibited harmful instructions reaches the model without screening. General helpfulness scores do not test the policy boundary; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a prompt containing prohibited harmful instructions reaches the model without screening.
Question 62
A shared AI gateway is released by several teams. A release proposal aims to test prompts, IAM, and infrastructure changes before production. Which architecture decision fits the constraint?
- Apply least-privilege Bedrock IAM permissions in a trusted backend authorization layer.
- Use CodePipeline with automated tests, security scans, and gated promotion.
- Partition the RAG architecture by residency domain and enforce region-aware routing.
- Publish an OpenAPI specification with versioned endpoints.
Explanation
Correct Answer
B:Deployment pipelines enforce repeatable verification and allow controlled rollback of risky GenAI components; it directly supports the architectural objective to test prompts, IAM, and infrastructure changes before production. Manual direct production edits defeat the evidence trail of approvals; that boundary is important when selecting the implementation.
Incorrect Answers
A:The scope of this alternative is different: iAM can constrain model invocation actions and resources, complementing application tenant rules; it supports restrict invocation rights to approved model resources for each caller, while the architecture selection needs test prompts, IAM, and infrastructure changes before production after a new prompt deploys without evaluation and causes unsafe completions. A prompt telling the model to use a cheaper provider is not an enforcement mechanism; for the architecture selection, the unresolved requirement remains to test prompts, IAM, and infrastructure changes before production, as shown when a new prompt deploys without evaluation and causes unsafe completions.
C:The scope of this alternative is different: data location and inference destination both matter when governing cross-border processing; it supports choose per-jurisdiction storage and processing paths before inference, while the architecture selection needs test prompts, IAM, and infrastructure changes before production after a new prompt deploys without evaluation and causes unsafe completions. Replicating all vector indexes into one region may violate source residency rules; for the architecture selection, the unresolved requirement remains to test prompts, IAM, and infrastructure changes before production, as shown when a new prompt deploys without evaluation and causes unsafe completions.
D:The scope of this alternative is different: an API-first contract lets clients validate integration expectations across language stacks; it supports document request schemas and error contracts with machine-readable definitions, while the architecture selection needs test prompts, IAM, and infrastructure changes before production after a new prompt deploys without evaluation and causes unsafe completions. Undocumented request variations lead to deployment-time schema mismatches; for the architecture selection, the unresolved requirement remains to test prompts, IAM, and infrastructure changes before production, as shown when a new prompt deploys without evaluation and causes unsafe completions.
Question 63
Production evidence: A harmless-looking prompt refactor breaks a known invoice extraction case. The original design context was: A prompt update must not regress previously correct workflows. Which change prevents recurrence?
- Evaluate retrieval precision at k against labeled source passages.
- Measure fairness metrics by relevant cohorts with human review.
- Run representative synthetic workflows through retrieval, model, and tools.
- Block deployment when defined quality metrics breach the baseline.
Explanation
Correct Answer
D:Automated gates compare candidate and approved behavior before promoting versions; that explains the reported failure: a harmless-looking prompt refactor breaks a known invoice extraction case. A successful build proves syntax and packaging, not answer reliability; a symptom-only workaround would not restore the requirement to run golden-set regressions as a CI/CD release gate.
Incorrect Answers
A:Precision quantifies ranking noise that wastes context and can distract the model; that is valuable when the goal is to measure how many retrieved hits are relevant among top-k results, but the reported failure and its causal repair instead depends on the ability to run golden-set regressions as a CI/CD release gate. Final-answer accuracy alone does not expose redundant retrieval; it does not account for the condition in the reported failure and its causal repair: a harmless-looking prompt refactor breaks a known invoice extraction case.
B: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 run golden-set regressions as a CI/CD release gate. 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 harmless-looking prompt refactor breaks a known invoice extraction case.
C:End-to-end tests catch integration defects that isolated prompt tests miss; that is valuable when the goal is to exercise synthetic end-to-end tasks before full deployment, but the reported failure and its causal repair instead depends on the ability to run golden-set regressions as a CI/CD release gate. One successful raw inference call does not validate tool and data paths; it does not account for the condition in the reported failure and its causal repair: a harmless-looking prompt refactor breaks a known invoice extraction case.
Question 64
A design review identifies a dangerous shortcut: A vector embedding cannot inherently explain its source's licensing rights. In this workload, a knowledge base pulls regulated records from several locations. Which control should be approved to record source registration and ownership metadata centrally?
- Use Glue Data Catalog or an equivalent governed inventory for source lineage.
- Combine source authorization checks with retrieval metadata filters.
- Catalog sources with AWS Glue metadata and explicit lineage records.
- Maintain versioned model cards associated with approved model artifacts.
Explanation
Correct Answer
A:A source inventory ties datasets to stewards, classifications, and downstream consumers; this is the behavior to validate in a release review concerned with record source registration and ownership metadata centrally. A vector embedding cannot inherently explain its source's licensing rights; the proposed shortcut would therefore be an inadequate guarantee.
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 release-control decision instead depends on the ability to record source registration and ownership metadata centrally. An FM refusal after retrieval is too late to protect raw context exposure; it does not account for the condition in the release-control decision: the team cannot identify which owner must approve a document reindex.
C:For work that needs to record how inputs were transformed and where they came from, a dataset catalog and transformation history make source provenance independently reviewable; the specific the release-control decision instead requires record source registration and ownership metadata centrally in light of the team cannot identify which owner must approve a document reindex. CloudTrail API events alone do not describe every semantic transformation of data; this is insufficient for the release-control decision, given the evidence that the team cannot identify which owner must approve a document reindex.
D:Model cards record evaluation context and limitations for oversight and informed use; this explains its relevance to publish reviewed model facts, intended uses, and known performance limits, not the the release-control decision requirement to record source registration and ownership metadata centrally after the team cannot identify which owner must approve a document reindex. A deployment timestamp alone does not communicate observed bias or failure domains; choosing it for the release-control decision would leave the underlying issue visible: the team cannot identify which owner must approve a document reindex.
Question 65
A slow RAG answer could be caused by retrieval or model latency. A successful solution needs to trace end-to-end timings rather than assuming the FM is slow. Which option is the most suitable design?
- Create structured trace records for each model and tool invocation.
- Benchmark latency-optimized model inference where available for the chosen model.
- Instrument retrieval, prompt assembly, model inference, and tool spans separately.
- Tune hybrid search using both exact-match and embedding scores.
Explanation
Correct Answer
C:Per-stage profiling identifies where optimization actually reduces the critical path; it directly supports the architectural objective to trace end-to-end timings rather than assuming the FM is slow. An aggregate duration metric hides slow vector queries; that boundary is important when selecting the implementation.
Incorrect Answers
A:Per-step observability distinguishes orchestration overhead from model response time; this explains its relevance to trace correlated agent and tool spans per user request, not the the architecture selection requirement to trace end-to-end timings rather than assuming the FM is slow after engineers change the FM while indexing remains the real bottleneck. One log line per final answer cannot expose intermediate retries; choosing it for the architecture selection would leave the underlying issue visible: engineers change the FM while indexing remains the real bottleneck.
B:The scope of this alternative is different: service-tier choices can improve responsiveness but availability and model compatibility must be checked; it supports measure a supported latency-optimized inference mode against quality objectives, while the architecture selection needs trace end-to-end timings rather than assuming the FM is slow after engineers change the FM while indexing remains the real bottleneck. Latency optimization does not guarantee identical cost or support for every model; for the architecture selection, the unresolved requirement remains to trace end-to-end timings rather than assuming the FM is slow, as shown when engineers change the FM while indexing remains the real bottleneck.
D:Hybrid retrieval covers identifier precision and natural-language similarity; that is valuable when the goal is to combine lexical and semantic signals in retrieval, but the architecture selection instead depends on the ability to trace end-to-end timings rather than assuming the FM is slow. Changing answer temperature cannot repair poor source selection; it does not account for the condition in the architecture selection: engineers change the FM while indexing remains the real bottleneck.
Question 66
Production evidence: The model describes the payload as text instead of inspecting the uploaded picture. The original design context was: A multimodal caller uses a model that supports images through Converse. Which change prevents recurrence?
- Construct content blocks with the correct media format and model-supported payload type.
- Build properly structured Bedrock Converse messages rather than concatenating ad hoc JSON.
- Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.
- Select an embedding approach that supports the required text-image retrieval relationship.
Explanation
Correct Answer
A:The API schema and selected model capability jointly determine how nontext input is accepted; that explains the reported failure: the model describes the payload as text instead of inspecting the uploaded picture. Putting base64 characters in a text field does not create an image input block; a symptom-only workaround would not restore the requirement to send supported image blocks with the surrounding user text.
Incorrect Answers
B:The Converse request schema distinguishes roles, message content, system instructions, and inference options; this explains its relevance to serialize each turn as a valid message with supported roles and content blocks, not the the reported failure and its causal repair requirement to send supported image blocks with the surrounding user text after the model describes the payload as text instead of inspecting the uploaded picture. A plain JSON-looking string is not equivalent to the required typed request structure; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the model describes the payload as text instead of inspecting the uploaded picture.
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 reported failure and its causal repair needs send supported image blocks with the surrounding user text after the model describes the payload as text instead of inspecting the uploaded picture. Treating a scanned page as plain UTF-8 text loses its visual evidence; for the reported failure and its causal repair, the unresolved requirement remains to send supported image blocks with the surrounding user text, as shown when the model describes the payload as text instead of inspecting the uploaded picture.
D:Aligned representations make semantically related pictures and phrases comparable in the chosen search system; that is valuable when the goal is to index compatible multimodal representations for image-to-text queries, but the reported failure and its causal repair instead depends on the ability to send supported image blocks with the surrounding user text. Text-only embeddings of file names do not capture image appearance; it does not account for the condition in the reported failure and its causal repair: the model describes the payload as text instead of inspecting the uploaded picture.
Question 67
Lifecycle expiry is distinct from immediate vector-index source deletion. An architecture reviewer must still ensure the application can apply lifecycle and retention controls to stored prompts and documents. What recommendation is justified?
- Configure Amazon Bedrock Guardrails content filters for the intended safety categories.
- Configure explicit retention policies and S3 Lifecycle rules for eligible objects.
- Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.
- Serve de-identified retrieval data by default with a controlled privileged lookup path.
Explanation
Correct Answer
B:Storage lifecycle controls remove or transition stored data in accordance with policy; this is the behavior to validate in a release review concerned with apply lifecycle and retention controls to stored prompts and documents. Lifecycle expiry is distinct from immediate vector-index source deletion; the proposed shortcut would therefore be an inadequate guarantee.
Incorrect Answers
A:The scope of this alternative is different: input filters evaluate configured harmful-content categories before or during protected inference workflows; it supports apply managed content-policy checks to user input, while the release-control decision needs apply lifecycle and retention controls to stored prompts and documents after audit logs persist beyond the approved retention period. IAM permission checks govern API access but do not classify harmful user language; for the release-control decision, the unresolved requirement remains to apply lifecycle and retention controls to stored prompts and documents, as shown when audit logs persist beyond the approved retention period.
C:Macie can identify sensitive data in S3 objects and trigger action before indexing; this explains its relevance to detect sensitive content in S3 prior to making it searchable, not the the release-control decision requirement to apply lifecycle and retention controls to stored prompts and documents after audit logs persist beyond the approved retention period. Macie is not an inline filter for arbitrary model responses; choosing it for the release-control decision would leave the underlying issue visible: audit logs persist beyond the approved retention period.
D:The scope of this alternative is different: separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; it supports maintain separate masked views and role-gated source access, while the release-control decision needs apply lifecycle and retention controls to stored prompts and documents after audit logs persist beyond the approved retention period. A model prompt cannot safely decide who may de-anonymize records; for the release-control decision, the unresolved requirement remains to apply lifecycle and retention controls to stored prompts and documents, as shown when audit logs persist beyond the approved retention period.
Question 68
The answer model is unchanged but citations shift to irrelevant documents. Investigators also establish that a team observes answer drift after changing an embedding model. Which implementation most directly addresses the cause?
- Run a controlled Bedrock model evaluation with task-specific metrics.
- Use a two-stage RAG evaluation that scores retrieved context and generated claims.
- Measure fairness metrics by relevant cohorts with human review.
- Use paired regression evaluation for retrieved passages and final claims.
Explanation
Correct Answer
D:Version-matched tests show whether embedding changes altered evidence selection and accuracy; that explains the reported failure: the answer model is unchanged but citations shift to irrelevant documents. A model-only evaluation misses changes in vector retrieval quality; a symptom-only workaround would not restore the requirement to compare old and new releases on the same retrieval-plus-generation test set.
Incorrect Answers
A:The scope of this alternative is different: matched evaluation sets support meaningful quality and operational comparisons; it supports compare models on the same representative inputs and cost/latency measurements, while the reported failure and its causal repair needs compare old and new releases on the same retrieval-plus-generation test set after the answer model is unchanged but citations shift to irrelevant documents. Comparing unrelated examples confounds model differences with question difficulty; for the reported failure and its causal repair, the unresolved requirement remains to compare old and new releases on the same retrieval-plus-generation test set, as shown when the answer model is unchanged but citations shift to irrelevant documents.
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 compare old and new releases on the same retrieval-plus-generation test set. 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: the answer model is unchanged but citations shift to irrelevant documents.
C:The scope of this alternative is different: disaggregated evaluation reveals uneven performance hidden by global averages; it supports test a representative evaluation set for differential error rates, while the reported failure and its causal repair needs compare old and new releases on the same retrieval-plus-generation test set after the answer model is unchanged but citations shift to irrelevant documents. Changing temperature cannot by itself eliminate training or retrieval bias; for the reported failure and its causal repair, the unresolved requirement remains to compare old and new releases on the same retrieval-plus-generation test set, as shown when the answer model is unchanged but citations shift to irrelevant documents.
Question 69
A vector store returns increasingly stale or irrelevant hits. A release proposal aims to monitor index freshness, recall checks, and retrieval latency. Which architecture decision fits the constraint?
- Combine vector-index health metrics with source-sync freshness audits.
- Use paired retrieval tests with relevance labels and p95 query timing.
- Instrument each tool call and aggregate failures per tool and step.
- Create end-to-end CloudWatch dashboards with request and business KPIs.
Explanation
Correct Answer
A:Operational health includes current content and quality, not just cluster availability; it directly supports the architectural objective to monitor index freshness, recall checks, and retrieval latency. Green storage health does not mean embeddings match updated documents; that boundary is important when selecting the implementation.
Incorrect Answers
B: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 architecture selection requirement to monitor index freshness, recall checks, and retrieval latency after the search cluster is healthy yet answers use month-old policy documents. A faster index can be worse if approximate search loses key passages; choosing it for the architecture selection would leave the underlying issue visible: the search cluster is healthy yet answers use month-old policy documents.
C:Tool-level metrics isolate external dependency issues from FM reasoning failures; this explains its relevance to monitor tool success rate, latency, retries, and action counts, not the the architecture selection requirement to monitor index freshness, recall checks, and retrieval latency after the search cluster is healthy yet answers use month-old policy documents. Final-response success alone can hide repeated expensive intermediate failures; choosing it for the architecture selection would leave the underlying issue visible: the search cluster is healthy yet answers use month-old policy documents.
D:Latency, error rate, completion quality, and user outcomes together describe system health; that is valuable when the goal is to correlate operational metrics with task completion and conversion, but the architecture selection instead depends on the ability to monitor index freshness, recall checks, and retrieval latency. Infrastructure CPU graphs alone do not show customer value; it does not account for the condition in the architecture selection: the search cluster is healthy yet answers use month-old policy documents.
Question 70
A legal assistant must quote private contracts and respect document permissions. The architecture must produce evidence-backed answers from current contracts without teaching a new model the documents. Which implementation best meets that requirement?
- Use a model-routing layer with inexpensive default inference and escalation based on complexity.
- Implement circuit-breaking and controlled fallback to a vetted alternate model.
- Instrument the prototype to record token usage, p95 latency, task success, and estimated spend.
- Use retrieval-augmented generation with authorization-filtered source retrieval.
Explanation
Correct Answer
D:Retrieval supplies current authorized passages at request time, allowing the model to ground an answer without changing model weights; it directly supports the architectural objective to produce evidence-backed answers from current contracts without teaching a new model the documents. Training or prompt-only recall cannot guarantee document freshness or per-user access control; that boundary is important when selecting the implementation.
Incorrect Answers
A:For work that needs to route requests to an appropriate capability tier without compromising complex tasks, an application gateway can classify incoming work and invoke a stronger model only for cases that need it; the specific the architecture selection instead requires produce evidence-backed answers from current contracts without teaching a new model the documents in light of the assistant invents contract clauses or answers from another team's archive. Using the largest model for every request spends more without improving every outcome; this is insufficient for the architecture selection, given the evidence that the assistant invents contract clauses or answers from another team's archive.
B:The scope of this alternative is different: opening a circuit stops futile calls to a failing dependency while a documented fallback preserves partial service; it supports avoid indefinite retries and offer a preapproved fallback path, while the architecture selection needs produce evidence-backed answers from current contracts without teaching a new model the documents after the assistant invents contract clauses or answers from another team's archive. Retrying every request without a limit amplifies failures and latency; for the architecture selection, the unresolved requirement remains to produce evidence-backed answers from current contracts without teaching a new model the documents, as shown when the assistant invents contract clauses or answers from another team's archive.
C:A credible proof of concept exposes both technical quality and economics; aggregate demo accuracy alone hides token-heavy failures; that is valuable when the goal is to compare quality against per-request tokens, latency, and escalation frequency, but the architecture selection instead depends on the ability to produce evidence-backed answers from current contracts without teaching a new model the documents. A single average response time masks tail latency that affects interactive workloads; it does not account for the condition in the architecture selection: the assistant invents contract clauses or answers from another team's archive.