Question 160

Employees authenticate with a corporate identity provider. A release proposal aims to map enterprise user identity to bounded application and model permissions. Which architecture decision fits the constraint?

  1. Receive webhooks via a validated endpoint and dispatch jobs asynchronously.
  2. Federate workforce identities and use scoped IAM roles for backend execution.
  3. Issue a task-scoped role with minimal S3 object permissions and caller-aware filters.
  4. Apply least-privilege Bedrock IAM permissions in a trusted backend authorization layer.

Explanation

Correct Answer

B:

Federation authenticates users; IAM and application checks independently authorize model and data actions; it directly supports the architectural objective to map enterprise user identity to bounded application and model permissions. A successful SSO login does not imply access to every document or FM; that boundary is important when selecting the implementation.

Incorrect Answers

A:

For work that needs to verify notifications and enqueue bounded ingestion tasks, an authenticated handler validates signatures and creates durable processing work without blocking senders; the specific the architecture selection instead requires map enterprise user identity to bounded application and model permissions in light of a user with valid corporate credentials can query another business unit's restricted data. A directly exposed indexing worker can be overwhelmed by webhook retries; this is insufficient for the architecture selection, given the evidence that a user with valid corporate credentials can query another business unit's restricted data.

C:

For work that needs to avoid granting broad bucket permissions to the agent runtime, the tool runtime's data-plane scope must match the action being executed; the specific the architecture selection instead requires map enterprise user identity to bounded application and model permissions in light of a user with valid corporate credentials can query another business unit's restricted data. Allowing s3:* on the bucket makes prompt injection more damaging; this is insufficient for the architecture selection, given the evidence that a user with valid corporate credentials can query another business unit's restricted data.

D:

IAM can constrain model invocation actions and resources, complementing application tenant rules; this explains its relevance to restrict invocation rights to approved model resources for each caller, not the the architecture selection requirement to map enterprise user identity to bounded application and model permissions after a user with valid corporate credentials can query another business unit's restricted data. A prompt telling the model to use a cheaper provider is not an enforcement mechanism; choosing it for the architecture selection would leave the underlying issue visible: a user with valid corporate credentials can query another business unit's restricted data.

Question 161

A platform team wants every GenAI launch to pass a comparable architecture review. A service-chatbot needs to remember an account's previous troubleshooting steps. A search platform requires approximate nearest-neighbor retrieval at large scale. The deployment has these independent requirements: (1) map architectural risks to an explicit, repeatable review checklist; (2) maintain a scoped, expiring conversation state outside model weights; (3) index embeddings and benchmark recall and query time. Which THREE implementation actions jointly cover the stated requirements? Choose THREE.

  1. Use the AWS Well-Architected Tool with a GenAI-focused workload review.
  2. Benchmark supported embedding models on a multilingual query-document relevance set.
  3. Publish an authenticated, versioned vector-search API contract.
  4. Expose a scoped retrieval function or MCP-compatible tool contract.
  5. Configure a supported ANN vector index and tune search parameters.
  6. Store tenant-keyed session history and reconstruct a bounded message context.

Explanation

Correct Answers

A:

A structured workload review captures risks and improvement actions across relevant pillars before production approval; this fulfills map architectural risks to an explicit, repeatable review checklist within a combined design that must also maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time. A model leaderboard says little about disaster recovery, governance, and operations; the other required action(s) must additionally maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time.

E:

Nearest-neighbor indexing avoids exhaustive comparison for every request, with measurable speed-versus-recall tradeoffs; this fulfills index embeddings and benchmark recall and query time within a combined design that must also map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights. Storing vectors without a search index can cause costly full scans; the other required action(s) must additionally map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights.

F:

External state allows controlled continuity, retention, and size limits between otherwise stateless calls; this fulfills maintain a scoped, expiring conversation state outside model weights within a combined design that must also map architectural risks to an explicit, repeatable review checklist and index embeddings and benchmark recall and query time. The model does not persist an application's prior requests automatically; the other required action(s) must additionally map architectural risks to an explicit, repeatable review checklist and index embeddings and benchmark recall and query time.

Incorrect Answers

B:

Recall and ranking quality on target languages matter more than generic generation benchmarks; its proper focus is to select embeddings based on language fit and retrieval measurements, rather than the combined requirements to map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time. An English-only evaluation cannot establish cross-language semantic matching; in this combined design needing map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time, it does not directly meet the specified requirement to map architectural risks to an explicit, repeatable review checklist.

C:

A stable interface centralizes filters, tracing, and error handling while different clients integrate; its proper focus is to standardize transport and authorization independently of model internals, rather than the combined requirements to map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time. Embedding DB credentials in each agent increases both coupling and privilege spread; in this combined design needing map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time, it does not directly meet the specified requirement to map architectural risks to an explicit, repeatable review checklist.

D:

Typed query parameters and a controlled handler let the application validate and authorize retrieval requests; its proper focus is to offer retrieval as a typed tool with explicit input schema, rather than the combined requirements to map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time. Unstructured free-form tool strings are difficult to validate or restrict; in this combined design needing map architectural risks to an explicit, repeatable review checklist and maintain a scoped, expiring conversation state outside model weights and index embeddings and benchmark recall and query time, it does not directly meet the specified requirement to index embeddings and benchmark recall and query time.

Question 162

Production evidence: The same public refund-policy answer is generated thousands of times per day. The original design context was: Users submit the same public FAQ question many times. Which change prevents recurrence?

  1. Cache deterministic FAQ responses with a policy-aware TTL.
  2. Key caches by authorization scope, model revision, and relevant data version.
  3. Use token-aware batching or separate service lanes for long-running requests.
  4. Use semantic caching with similarity thresholds and authorization-aware cache keys.

Explanation

Correct Answer

A:

A response cache bypasses redundant FM calls when identity, version, and validity conditions match; that explains the reported failure: the same public refund-policy answer is generated thousands of times per day. An unkeyed global cache risks serving private answers to the wrong user; a symptom-only workaround would not restore the requirement to avoid regenerating identical approved answers while respecting freshness.

Incorrect Answers

B:

For work that needs to prevent cross-tenant reuse even when the prompt text is identical, cache identity must reflect user visibility and the evidence used to create the answer; the specific the reported failure and its causal repair instead requires avoid regenerating identical approved answers while respecting freshness in light of the same public refund-policy answer is generated thousands of times per day. Hashing only the question ignores who is permitted to see the response; this is insufficient for the reported failure and its causal repair, given the evidence that the same public refund-policy answer is generated thousands of times per day.

C:

Workload-aware scheduling protects tail latency under mixed sequence lengths; this explains its relevance to schedule inference workloads to avoid head-of-line blocking, not the the reported failure and its causal repair requirement to avoid regenerating identical approved answers while respecting freshness after the same public refund-policy answer is generated thousands of times per day. A single strict FIFO queue can let long generations delay short requests; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the same public refund-policy answer is generated thousands of times per day.

D:

Semantic matching can reduce repeated inference even when phrasing differs; this explains its relevance to reuse answers for meaning-equivalent inputs with strong safeguards, not the the reported failure and its causal repair requirement to avoid regenerating identical approved answers while respecting freshness after the same public refund-policy answer is generated thousands of times per day. Overbroad similarity thresholds can return an answer for a materially different question; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the same public refund-policy answer is generated thousands of times per day.

Question 163

An agent takes several tool actions before giving a final answer. A successful solution needs to log accessible tool and step traces with correlation IDs. Which option is the most suitable design?

  1. Use versioned prompts and matched evaluation cohorts with documented scoring.
  2. Enable agent or application tracing with protected trace access.
  3. Report confidence proxies, cited inputs, and caveats matched to evaluation results.
  4. Record tool calls per successful task and detect repeated action patterns.

Explanation

Correct Answer

B:

Step-level records make it possible to review tool behavior and debug decision paths; it directly supports the architectural objective to log accessible tool and step traces with correlation IDs. A hidden free-form reasoning transcript is not required to prove an API action happened; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: comparable inputs isolate prompt changes from sample-composition differences; it supports run controlled A/B prompt evaluations on matched examples, while the architecture selection needs log accessible tool and step traces with correlation IDs after a suspicious lookup occurs with no trace showing the initiating workflow step. Comparing unrelated traffic groups confounds prompt effect with user mix; for the architecture selection, the unresolved requirement remains to log accessible tool and step traces with correlation IDs, as shown when a suspicious lookup occurs with no trace showing the initiating workflow step.

C:

Calibrated communication conveys reliability limits and source coverage; this explains its relevance to avoid presenting uncertain statements as deterministic facts, not the the architecture selection requirement to log accessible tool and step traces with correlation IDs after a suspicious lookup occurs with no trace showing the initiating workflow step. A confident tone setting does not measure uncertainty; choosing it for the architecture selection would leave the underlying issue visible: a suspicious lookup occurs with no trace showing the initiating workflow step.

D:

For work that needs to measure tool efficiency and stopping correctness, efficiency metrics reveal unproductive loops that raise cost and risk; the specific the architecture selection instead requires log accessible tool and step traces with correlation IDs in light of a suspicious lookup occurs with no trace showing the initiating workflow step. High model response quality does not imply economical orchestration; this is insufficient for the architecture selection, given the evidence that a suspicious lookup occurs with no trace showing the initiating workflow step.

Question 164

A claims assistant must understand images in scanned PDFs. After deployment, the assistant cites empty chunks for image-based invoices despite readable page images. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Combine source authorization checks with retrieval metadata filters.
  2. Construct content blocks with the correct media format and model-supported payload type.
  3. Use Amazon Comprehend entity extraction followed by domain validation.
  4. Select an embedding approach that supports the required text-image retrieval relationship.
  5. Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.

Explanation

Correct Answer

E:

Extraction makes printed content searchable, while image-aware handling preserves details ordinary text extraction misses; that explains the reported failure: the assistant cites empty chunks for image-based invoices despite readable page images. Treating a scanned page as plain UTF-8 text loses its visual evidence; a symptom-only workaround would not restore the requirement to extract usable text and relevant visual context before retrieval.

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 reported failure and its causal repair instead requires extract usable text and relevant visual context before retrieval in light of the assistant cites empty chunks for image-based invoices despite readable page images. An FM refusal after retrieval is too late to protect raw context exposure; this is insufficient for the reported failure and its causal repair, given the evidence that the assistant cites empty chunks for image-based invoices despite readable page images.

B:

The scope of this alternative is different: the API schema and selected model capability jointly determine how nontext input is accepted; it supports send supported image blocks with the surrounding user text, while the reported failure and its causal repair needs extract usable text and relevant visual context before retrieval after the assistant cites empty chunks for image-based invoices despite readable page images. Putting base64 characters in a text field does not create an image input block; for the reported failure and its causal repair, the unresolved requirement remains to extract usable text and relevant visual context before retrieval, as shown when the assistant cites empty chunks for image-based invoices despite readable page images.

C:

For work that needs to derive structured metadata independently of the generation prompt, entity detection can populate searchable attributes, while a validation step controls accuracy and allowed values; the specific the reported failure and its causal repair instead requires extract usable text and relevant visual context before retrieval in light of the assistant cites empty chunks for image-based invoices despite readable page images. Asking a generation model to guess filters per query is less reproducible than indexed metadata; this is insufficient for the reported failure and its causal repair, given the evidence that the assistant cites empty chunks for image-based invoices despite readable page images.

D:

Aligned representations make semantically related pictures and phrases comparable in the chosen search system; this explains its relevance to index compatible multimodal representations for image-to-text queries, not the the reported failure and its causal repair requirement to extract usable text and relevant visual context before retrieval after the assistant cites empty chunks for image-based invoices despite readable page images. Text-only embeddings of file names do not capture image appearance; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the assistant cites empty chunks for image-based invoices despite readable page images.

Question 165

Production evidence: A policy threshold change suddenly blocks permitted support inquiries. The original design context was: A safety team needs different thresholds for testing and production. Which change prevents recurrence?

  1. Configure Amazon Bedrock Guardrails content filters for the intended safety categories.
  2. Create versioned guardrail configurations with reviewed deployment promotion.
  3. Use the Amazon Bedrock ApplyGuardrail API around input handling.
  4. Standardize audit dimensions for inference, deployment, and safety events.
  5. Use evidence verification and policy-based output review with human escalation.

Explanation

Correct Answer

B:

Version control helps reproduce enforcement outcomes and safely stage policy revisions; that explains the reported failure: a policy threshold change suddenly blocks permitted support inquiries. Editing a live content filter without testing can create unexpected overblocking; a symptom-only workaround would not restore the requirement to maintain controlled guardrail versions and test each policy change.

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 reported failure and its causal repair needs maintain controlled guardrail versions and test each policy change after a policy threshold change suddenly blocks permitted support inquiries. IAM permission checks govern API access but do not classify harmful user language; for the reported failure and its causal repair, the unresolved requirement remains to maintain controlled guardrail versions and test each policy change, as shown when a policy threshold change suddenly blocks permitted support inquiries.

C:

Standalone evaluation lets supported guardrail controls run independently of a full FM generation call; this explains its relevance to screen user text with a standalone guardrail policy call when supported, not the the reported failure and its causal repair requirement to maintain controlled guardrail versions and test each policy change after a policy threshold change suddenly blocks permitted support inquiries. Attaching a guardrail only to a different invocation path leaves this custom path unprotected; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a policy threshold change suddenly blocks permitted support inquiries.

D:

Cross-system correlation allows review of which version and policy were active during an incident; that is valuable when the goal is to correlate policy events, model version, and request identifiers, but the reported failure and its causal repair instead depends on the ability to maintain controlled guardrail versions and test each policy change. Independent uncoupled dashboards cannot reliably reconstruct an event sequence; it does not account for the condition in the reported failure and its causal repair: a policy threshold change suddenly blocks permitted support inquiries.

E:

A policy decision checks whether an answer is supported and within allowed scope; that is valuable when the goal is to gate high-risk advice on evidence and policy review rather than fluency, but the reported failure and its causal repair instead depends on the ability to maintain controlled guardrail versions and test each policy change. Lower temperature may reduce variability but cannot certify clinical correctness; it does not account for the condition in the reported failure and its causal repair: a policy threshold change suddenly blocks permitted support inquiries.

Question 166

A search platform requires approximate nearest-neighbor retrieval at large scale. The incident report says: Query latency grows linearly with a rapidly expanding document corpus. Which specific design change best corrects the failure?

  1. Configure a supported ANN vector index and tune search parameters.
  2. Benchmark supported embedding models on a multilingual query-document relevance set.
  3. Filter by trusted attributes before vector or hybrid scoring.
  4. Tune OpenSearch shard and index layout based on workload benchmarks.
  5. Publish an authenticated, versioned vector-search API contract.

Explanation

Correct Answer

A:

Nearest-neighbor indexing avoids exhaustive comparison for every request, with measurable speed-versus-recall tradeoffs; that explains the reported failure: query latency grows linearly with a rapidly expanding document corpus. Storing vectors without a search index can cause costly full scans; a symptom-only workaround would not restore the requirement to index embeddings and benchmark recall and query time.

Incorrect Answers

B:

Recall and ranking quality on target languages matter more than generic generation benchmarks; that is valuable when the goal is to select embeddings based on language fit and retrieval measurements, but the reported failure and its causal repair instead depends on the ability to index embeddings and benchmark recall and query time. An English-only evaluation cannot establish cross-language semantic matching; it does not account for the condition in the reported failure and its causal repair: query latency grows linearly with a rapidly expanding document corpus.

C:

The scope of this alternative is different: candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; it supports combine metadata prefilters with semantic ranking instead of relying on prompts, while the reported failure and its causal repair needs index embeddings and benchmark recall and query time after query latency grows linearly with a rapidly expanding document corpus. The FM cannot reliably undo a retrieval query that included unauthorized content; for the reported failure and its causal repair, the unresolved requirement remains to index embeddings and benchmark recall and query time, as shown when query latency grows linearly with a rapidly expanding document corpus.

D:

Shard sizing and placement influence concurrency, memory pressure, and search fan-out; that is valuable when the goal is to distribute index capacity and measure query fan-out before scaling, but the reported failure and its causal repair instead depends on the ability to index embeddings and benchmark recall and query time. Adding shards without testing can increase coordination overhead instead of helping; it does not account for the condition in the reported failure and its causal repair: query latency grows linearly with a rapidly expanding document corpus.

E:

A stable interface centralizes filters, tracing, and error handling while different clients integrate; that is valuable when the goal is to standardize transport and authorization independently of model internals, but the reported failure and its causal repair instead depends on the ability to index embeddings and benchmark recall and query time. Embedding DB credentials in each agent increases both coupling and privilege spread; it does not account for the condition in the reported failure and its causal repair: query latency grows linearly with a rapidly expanding document corpus.

Question 167

An internal assistant is evaluated against multiple acceptable answer phrasings. A successful solution needs to use semantic task success rather than exact string equality alone. Which option is the most suitable design?

  1. Establish blind human reviews with adjudication for contested examples.
  2. Measure fairness metrics by relevant cohorts with human review.
  3. Score meaning and evidence consistency with a reviewed evaluation rubric.
  4. Use a two-stage RAG evaluation that scores retrieved context and generated claims.

Explanation

Correct Answer

C:

Semantic assessment accommodates valid paraphrases while still penalizing omitted obligations; it directly supports the architectural objective to use semantic task success rather than exact string equality alone. Exact-match tests reject correct answers that use different wording; that boundary is important when selecting the implementation.

Incorrect Answers

A:

For work that needs to use a documented annotation rubric and reconcile reviewer disagreement, consistent rubrics and disagreement handling improve label reliability; the specific the architecture selection instead requires use semantic task success rather than exact string equality alone in light of a correct answer receives a failing mark because it uses a synonym. A single uncalibrated reviewer can inject personal preference into evaluation; this is insufficient for the architecture selection, given the evidence that a correct answer receives a failing mark because it uses a synonym.

B:

For work that needs to test a representative evaluation set for differential error rates, disaggregated evaluation reveals uneven performance hidden by global averages; the specific the architecture selection instead requires use semantic task success rather than exact string equality alone in light of a correct answer receives a failing mark because it uses a synonym. Changing temperature cannot by itself eliminate training or retrieval bias; this is insufficient for the architecture selection, given the evidence that a correct answer receives a failing mark because it uses a synonym.

D:

The scope of this alternative is different: separating retrieval and generation identifies where evidence was lost or misused; it supports evaluate retrieval quality separately from answer groundedness, while the architecture selection needs use semantic task success rather than exact string equality alone after a correct answer receives a failing mark because it uses a synonym. A low answer score alone does not reveal whether retrieval or generation failed; for the architecture selection, the unresolved requirement remains to use semantic task success rather than exact string equality alone, as shown when a correct answer receives a failing mark because it uses a synonym.

Question 168

Production evidence: An injected instruction asks a read-only assistant to delete a source object. The original design context was: An agent can search documents but must never modify repositories. Which change prevents recurrence?

  1. Put parameter validation and authorization in the Lambda tool handler.
  2. Give tool handlers a least-privilege IAM role with read-only permissions.
  3. Apply least-privilege Bedrock IAM permissions in a trusted backend authorization layer.
  4. Publish typed tool definitions behind an authenticated tool gateway.

Explanation

Correct Answer

B:

Data-plane authorization blocks prohibited writes even when a model emits a malicious tool request; that explains the reported failure: an injected instruction asks a read-only assistant to delete a source object. Prompt-level denials alone cannot override permissions carried by a runtime role; a symptom-only workaround would not restore the requirement to restrict callable actions independently of the model's suggestions.

Incorrect Answers

A:

The scope of this alternative is different: the handler rejects malformed identifiers and disallowed amounts even if the FM requests them; it supports validate the tool schema and business limits in code before execution, while the reported failure and its causal repair needs restrict callable actions independently of the model's suggestions after an injected instruction asks a read-only assistant to delete a source object. Model-side tool descriptions do not enforce server-side transactional limits; for the reported failure and its causal repair, the unresolved requirement remains to restrict callable actions independently of the model's suggestions, as shown when an injected instruction asks a read-only assistant to delete a source object.

C:

IAM can constrain model invocation actions and resources, complementing application tenant rules; this explains its relevance to restrict invocation rights to approved model resources for each caller, not the the reported failure and its causal repair requirement to restrict callable actions independently of the model's suggestions after an injected instruction asks a read-only assistant to delete a source object. A prompt telling the model to use a cheaper provider is not an enforcement mechanism; choosing it for the reported failure and its causal repair would leave the underlying issue visible: an injected instruction asks a read-only assistant to delete a source object.

D:

Consistent discovery simplifies client integration, but the gateway still checks each action and caller; that is valuable when the goal is to standardize capability discovery while independently validating caller permissions, but the reported failure and its causal repair instead depends on the ability to restrict callable actions independently of the model's suggestions. A tool manifest is descriptive metadata rather than an authorization boundary; it does not account for the condition in the reported failure and its causal repair: an injected instruction asks a read-only assistant to delete a source object.

Question 169

Production evidence: A technical acronym dominates search even when the user's question is about its meaning. The original design context was: RAG results include relevant terms but poor conceptual matches. Which change prevents recurrence?

  1. Restructure integration calls to batch or parallelize independent work.
  2. Model throughput requirements using input/output token metrics and concurrency.
  3. Tune hybrid search using both exact-match and embedding scores.
  4. Use hybrid retrieval combining keyword scores and vector similarity.

Explanation

Correct Answer

C:

Hybrid retrieval covers identifier precision and natural-language similarity; that explains the reported failure: a technical acronym dominates search even when the user's question is about its meaning. Changing answer temperature cannot repair poor source selection; a symptom-only workaround would not restore the requirement to combine lexical and semantic signals in retrieval.

Incorrect Answers

A:

The scope of this alternative is different: minimizing critical-path service hops frees latency budget for the actual model response; it supports reduce network round trips and combine independent lookups, while the reported failure and its causal repair needs combine lexical and semantic signals in retrieval after a technical acronym dominates search even when the user's question is about its meaning. A faster FM cannot fully compensate for avoidable serial network calls; for the reported failure and its causal repair, the unresolved requirement remains to combine lexical and semantic signals in retrieval, as shown when a technical acronym dominates search even when the user's question is about its meaning.

B:

Token-aware capacity planning aligns resource needs with the actual decoding burden; that is valuable when the goal is to forecast workload from prompt and completion token distributions, but the reported failure and its causal repair instead depends on the ability to combine lexical and semantic signals in retrieval. Two requests can differ by orders of magnitude in compute even if counts match; it does not account for the condition in the reported failure and its causal repair: a technical acronym dominates search even when the user's question is about its meaning.

D:

The scope of this alternative is different: keyword search preserves exact identifiers while semantic retrieval handles paraphrases and conceptual similarity; it supports combine lexical precision with semantic matching, while the reported failure and its causal repair needs combine lexical and semantic signals in retrieval after a technical acronym dominates search even when the user's question is about its meaning. Vector-only retrieval can underweight rare literal identifiers; for the reported failure and its causal repair, the unresolved requirement remains to combine lexical and semantic signals in retrieval, as shown when a technical acronym dominates search even when the user's question is about its meaning.

Question 170

An application uses two Bedrock models and frequently changes the preferred provider. The engineering team is required to switch providers without editing every calling microservice. What should be built first?

  1. Use a versioned deprecation and rollback plan for model artifacts and endpoint clients.
  2. Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
  3. Use version-aware cache invalidation linked to freshness requirements.
  4. Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.

Explanation

Correct Answer

B:

The adapter abstracts model-specific requests while configuration changes routing independently of service releases; it directly supports the architectural objective to switch providers without editing every calling microservice. Embedding model IDs in each client couples every deployment to one provider; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Controlled retirement identifies dependent callers, preserves lineage, and gives clients a migration interval; this explains its relevance to remove old deployment access without losing the approved audit record, not the the architecture selection requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. Deleting a model before consumers migrate breaks inference without a recovery path; choosing it for the architecture selection would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.

C:

A cache can retain speed benefits while dropping answers based on stale documents; this explains its relevance to expire or invalidate cached responses when indexed source data changes, not the the architecture selection requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. A very long fixed TTL is unsuitable for volatile inventory decisions; choosing it for the architecture selection would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.

D:

Geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; this explains its relevance to gain cross-Region capacity without routing protected prompts worldwide, not the the architecture selection requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. A broad global routing profile can violate a location-specific processing restriction; choosing it for the architecture selection would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.

AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests