Question 280

A support assistant already has a PostgreSQL-compatible data estate. A regulated team plans to retire a customized model endpoint next quarter. The deployment has these independent requirements: (1) store embeddings near relational metadata with SQL-compatible controls; (2) remove old deployment access without losing the approved audit record. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.
  2. Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
  3. Register model packages and versioned approvals in SageMaker Model Registry.
  4. Use Amazon Aurora PostgreSQL with the pgvector extension where supported.
  5. Use a versioned deprecation and rollback plan for model artifacts and endpoint clients.
  6. Index effective-from and effective-to attributes and apply time-based retrieval filters.

Explanation

Correct Answers

D:

Vector columns and similarity operators allow embeddings to coexist with relational filtering and transactions; this fulfills store embeddings near relational metadata with SQL-compatible controls within a combined design that must also remove old deployment access without losing the approved audit record. Ordinary relational equality indexes alone are not approximate-nearest-neighbor search; the other required action(s) must additionally remove old deployment access without losing the approved audit record.

E:

Controlled retirement identifies dependent callers, preserves lineage, and gives clients a migration interval; this fulfills remove old deployment access without losing the approved audit record within a combined design that must also store embeddings near relational metadata with SQL-compatible controls. Deleting a model before consumers migrate breaks inference without a recovery path; the other required action(s) must additionally store embeddings near relational metadata with SQL-compatible controls.

Incorrect Answers

A:

Geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; its proper focus is to gain cross-Region capacity without routing protected prompts worldwide, rather than the combined requirements to store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record. A broad global routing profile can violate a location-specific processing restriction; in this combined design needing store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record, it does not directly meet the specified requirement to remove old deployment access without losing the approved audit record.

B:

The adapter abstracts model-specific requests while configuration changes routing independently of service releases; its proper focus is to switch providers without editing every calling microservice, rather than the combined requirements to store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record. Embedding model IDs in each client couples every deployment to one provider; in this combined design needing store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record, it does not directly meet the specified requirement to store embeddings near relational metadata with SQL-compatible controls.

C:

Model-package versions and approval status provide an auditable deployment unit that pipelines can promote or revert; its proper focus is to track approved model artifacts and roll back a bad release, rather than the combined requirements to store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record. Replacing endpoint artifacts in place removes a reliable rollback reference; in this combined design needing store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record, it does not directly meet the specified requirement to remove old deployment access without losing the approved audit record.

F:

Temporal metadata separates current guidance from superseded but textually similar versions; its proper focus is to filter retrieval on version and validity metadata, rather than the combined requirements to store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record. Similarity ranking alone may favor obsolete documents with repeated phrasing; in this combined design needing store embeddings near relational metadata with SQL-compatible controls and remove old deployment access without losing the approved audit record, it does not directly meet the specified requirement to store embeddings near relational metadata with SQL-compatible controls.

Question 281

A batch document service calls an FM from a container worker. A self-hosted LLM saturates memory before accepting requests. A factory stores sensitive source records on premises. The deployment has these independent requirements: (1) sign runtime requests with service identity rather than embedded credentials; (2) size the runtime for weights, KV cache, and maximum concurrency; (3) integrate approved metadata with cloud inference over private connectivity. Which THREE implementation actions jointly cover the stated requirements? Choose THREE.

  1. Use an AWS SDK credential provider and least-privilege role for model invocation.
  2. Profile GPU memory and model loading, then allocate suitable inference instances.
  3. Use a controlled hybrid connectivity path and minimize transferred sensitive data.
  4. Use staged model loading and maintain the needed minimum warm workers.
  5. Use API Gateway with a Lambda integration that invokes Bedrock.
  6. Use an inference server with dynamic batching tuned to latency objectives.

Explanation

Correct Answers

A:

SDK signing and role credentials keep long-lived secrets out of application artifacts; this fulfills sign runtime requests with service identity rather than embedded credentials within a combined design that must also size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity. Storing static AWS keys in a container image increases credential leakage risk; the other required action(s) must additionally size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity.

B:

LLM serving must account for model parameters, activation and cache memory, and concurrent token generation; this fulfills size the runtime for weights, KV cache, and maximum concurrency within a combined design that must also sign runtime requests with service identity rather than embedded credentials and integrate approved metadata with cloud inference over private connectivity. CPU autoscaling alone does not fix GPU memory exhaustion; the other required action(s) must additionally sign runtime requests with service identity rather than embedded credentials and integrate approved metadata with cloud inference over private connectivity.

C:

Hybrid design separates locally governed source systems from cloud FM calls and permits explicit data movement policy; this fulfills integrate approved metadata with cloud inference over private connectivity within a combined design that must also sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency. Hosting other workloads on Outposts does not automatically place Bedrock inference on premises; the other required action(s) must additionally sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency.

Incorrect Answers

D:

Loading weights and initializing device memory dominate startup for large self-hosted models; its proper focus is to reduce cold-start impact through controlled artifact loading and warm capacity, rather than the combined requirements to sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity. Reducing HTTP keepalive alone does not reduce weight initialization time; in this combined design needing sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity, it does not directly meet the specified requirement to integrate approved metadata with cloud inference over private connectivity.

E:

The gateway handles API authentication and routing; Lambda holds the controlled inference integration; its proper focus is to expose a managed API while keeping FM credentials server-side, rather than the combined requirements to sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity. Embedding AWS credentials in the browser exposes the runtime privilege boundary; in this combined design needing sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity, it does not directly meet the specified requirement to sign runtime requests with service identity rather than embedded credentials.

F:

Batching can improve accelerator utilization but must be bounded to protect interactive delay; its proper focus is to introduce serving-level batching and token-aware queue management, rather than the combined requirements to sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity. Simply adding network load balancers does not optimize token scheduling; in this combined design needing sign runtime requests with service identity rather than embedded credentials and size the runtime for weights, KV cache, and maximum concurrency and integrate approved metadata with cloud inference over private connectivity, it does not directly meet the specified requirement to size the runtime for weights, KV cache, and maximum concurrency.

Question 282

A RAG assistant seems plausible but users report unsupported claims. A prompt revision makes answers verbose and less task-focused. The deployment has these independent requirements: (1) evaluate retrieval quality separately from answer groundedness; (2) compare exact prompt versions using controlled evaluation inputs. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Adjust structure-aware chunking and rerank evidence for completeness.
  2. Use a two-stage RAG evaluation that scores retrieved context and generated claims.
  3. Diff prompt templates and test quality regressions on a fixed dataset.
  4. Use a multi-objective comparison on a fixed task distribution.
  5. Use schema validators and prompt-version logging in the test pipeline.

Explanation

Correct Answers

B:

Separating retrieval and generation identifies where evidence was lost or misused; this fulfills evaluate retrieval quality separately from answer groundedness within a combined design that must also compare exact prompt versions using controlled evaluation inputs. A low answer score alone does not reveal whether retrieval or generation failed; the other required action(s) must additionally compare exact prompt versions using controlled evaluation inputs.

C:

Holding test cases constant isolates instruction changes from input distribution shifts; this fulfills compare exact prompt versions using controlled evaluation inputs within a combined design that must also evaluate retrieval quality separately from answer groundedness. Changing model and prompt simultaneously makes attribution harder; the other required action(s) must additionally evaluate retrieval quality separately from answer groundedness.

Incorrect Answers

A:

Chunk fragmentation can separate rules from exceptions even if a hit seems relevant; its proper focus is to inspect chunk boundaries, overlap, and ranking of adjacent sections, rather than the combined requirements to evaluate retrieval quality separately from answer groundedness and compare exact prompt versions using controlled evaluation inputs. A longer final response cannot recreate omitted evidence; in this combined design needing evaluate retrieval quality separately from answer groundedness and compare exact prompt versions using controlled evaluation inputs, it does not directly meet the specified requirement to evaluate retrieval quality separately from answer groundedness.

D:

A technically strong model still fails if it misses a mandatory response-time or safety target; its proper focus is to evaluate quality, p95 latency, and cost jointly against acceptance thresholds, rather than the combined requirements to evaluate retrieval quality separately from answer groundedness and compare exact prompt versions using controlled evaluation inputs. Ranking solely by benchmark accuracy hides operational disqualification; in this combined design needing evaluate retrieval quality separately from answer groundedness and compare exact prompt versions using controlled evaluation inputs, it does not directly meet the specified requirement to compare exact prompt versions using controlled evaluation inputs.

E:

Output validation localizes whether a template revision changed field structure; its proper focus is to add automated contract checks and version-aware prompt diagnostics, rather than the combined requirements to evaluate retrieval quality separately from answer groundedness and compare exact prompt versions using controlled evaluation inputs. Only measuring model latency cannot explain parser failures; in this combined design needing evaluate retrieval quality separately from answer groundedness and compare exact prompt versions using controlled evaluation inputs, it does not directly meet the specified requirement to compare exact prompt versions using controlled evaluation inputs.

Question 283

Replacing endpoint artifacts in place removes a reliable rollback reference. An architecture reviewer must still ensure the application can track approved model artifacts and roll back a bad release. What recommendation is justified?

  1. Run a multilingual task-specific model benchmark with native-speaker review.
  2. Implement circuit-breaking and controlled fallback to a vetted alternate model.
  3. Register model packages and versioned approvals in SageMaker Model Registry.
  4. Use a versioned deprecation and rollback plan for model artifacts and endpoint clients.
  5. Use a compatible parameter-efficient fine-tuning method such as LoRA.

Explanation

Correct Answer

C:

Model-package versions and approval status provide an auditable deployment unit that pipelines can promote or revert; this is the behavior to validate in a release review concerned with track approved model artifacts and roll back a bad release. Replacing endpoint artifacts in place removes a reliable rollback reference; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

For work that needs to validate accuracy and safety per language before selecting a provider, language-specific tests reveal quality disparities that English-only benchmarks conceal; the specific the release-control decision instead requires track approved model artifacts and roll back a bad release in light of a new model worsens specialized tasks and there is no identified previous artifact. Provider marketing claims about multilingual capability do not prove compliance with the target domain; this is insufficient for the release-control decision, given the evidence that a new model worsens specialized tasks and there is no identified previous artifact.

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 release-control decision needs track approved model artifacts and roll back a bad release after a new model worsens specialized tasks and there is no identified previous artifact. Retrying every request without a limit amplifies failures and latency; for the release-control decision, the unresolved requirement remains to track approved model artifacts and roll back a bad release, as shown when a new model worsens specialized tasks and there is no identified previous artifact.

D:

For work that needs to remove old deployment access without losing the approved audit record, controlled retirement identifies dependent callers, preserves lineage, and gives clients a migration interval; the specific the release-control decision instead requires track approved model artifacts and roll back a bad release in light of a new model worsens specialized tasks and there is no identified previous artifact. Deleting a model before consumers migrate breaks inference without a recovery path; this is insufficient for the release-control decision, given the evidence that a new model worsens specialized tasks and there is no identified previous artifact.

E:

Low-rank adapters change a relatively small set of learnable parameters, reducing adaptation resource needs where supported; this explains its relevance to reduce the number of parameters that must be updated for customization, not the the release-control decision requirement to track approved model artifacts and roll back a bad release after a new model worsens specialized tasks and there is no identified previous artifact. This is customization, not a substitute for retrieving fresh private facts per request; choosing it for the release-control decision would leave the underlying issue visible: a new model worsens specialized tasks and there is no identified previous artifact.

Question 284

A code-review note warns: Reducing HTTP keepalive alone does not reduce weight initialization time. The business requirement is to reduce cold-start impact through controlled artifact loading and warm capacity. Which mechanism should replace the shortcut?

  1. Restructure integration calls to batch or parallelize independent work.
  2. Use SageMaker AI real-time inference with a compatible custom model container.
  3. Profile GPU memory and model loading, then allocate suitable inference instances.
  4. Use staged model loading and maintain the needed minimum warm workers.

Explanation

Correct Answer

D:

Loading weights and initializing device memory dominate startup for large self-hosted models; this is the behavior to validate in a release review concerned with reduce cold-start impact through controlled artifact loading and warm capacity. Reducing HTTP keepalive alone does not reduce weight initialization time; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

Minimizing critical-path service hops frees latency budget for the actual model response; that is valuable when the goal is to reduce network round trips and combine independent lookups, but the release-control decision instead depends on the ability to reduce cold-start impact through controlled artifact loading and warm capacity. A faster FM cannot fully compensate for avoidable serial network calls; it does not account for the condition in the release-control decision: a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts.

B:

Managed hosting of a custom container provides deployment control at the cost of endpoint operations; this explains its relevance to deploy and operate a controlled custom inference endpoint, not the the release-control decision requirement to reduce cold-start impact through controlled artifact loading and warm capacity after a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts. A Bedrock model ID does not automatically expose arbitrary custom containers; choosing it for the release-control decision would leave the underlying issue visible: a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts.

C:

For work that needs to size the runtime for weights, KV cache, and maximum concurrency, lLM serving must account for model parameters, activation and cache memory, and concurrent token generation; the specific the release-control decision instead requires reduce cold-start impact through controlled artifact loading and warm capacity in light of a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts. CPU autoscaling alone does not fix GPU memory exhaustion; this is insufficient for the release-control decision, given the evidence that a scale-out event creates a queue while new workers repeatedly load multi-gigabyte artifacts.

Question 285

A team wants relational filters and semantic similarity in one query. After deployment, customers filter by product family but synonym queries still produce no results. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Use Amazon OpenSearch Service vector search indexes.
  2. Use a pgvector-enabled relational design with validated ANN indexes.
  3. Publish an authenticated, versioned vector-search API contract.
  4. Use hybrid retrieval combining keyword scores and vector similarity.

Explanation

Correct Answer

B:

Vector operators select semantically close rows while SQL predicates enforce structured constraints; that explains the reported failure: customers filter by product family but synonym queries still produce no results. A full-text B-tree lookup does not represent semantic distance; a symptom-only workaround would not restore the requirement to combine SQL conditions with supported nearest-neighbor vector search.

Incorrect Answers

A:

The scope of this alternative is different: openSearch supports vector indexing and search features alongside text retrieval and filtering; it supports run vector similarity search with operationally tunable indexes, while the reported failure and its causal repair needs combine SQL conditions with supported nearest-neighbor vector search after customers filter by product family but synonym queries still produce no results. Storing vectors as arbitrary JSON fields without index support will not provide efficient similarity retrieval; for the reported failure and its causal repair, the unresolved requirement remains to combine SQL conditions with supported nearest-neighbor vector search, as shown when customers filter by product family but synonym queries still produce no results.

C:

The scope of this alternative is different: a stable interface centralizes filters, tracing, and error handling while different clients integrate; it supports standardize transport and authorization independently of model internals, while the reported failure and its causal repair needs combine SQL conditions with supported nearest-neighbor vector search after customers filter by product family but synonym queries still produce no results. Embedding DB credentials in each agent increases both coupling and privilege spread; for the reported failure and its causal repair, the unresolved requirement remains to combine SQL conditions with supported nearest-neighbor vector search, as shown when customers filter by product family but synonym queries still produce no results.

D:

Keyword search preserves exact identifiers while semantic retrieval handles paraphrases and conceptual similarity; that is valuable when the goal is to combine lexical precision with semantic matching, but the reported failure and its causal repair instead depends on the ability to combine SQL conditions with supported nearest-neighbor vector search. Vector-only retrieval can underweight rare literal identifiers; it does not account for the condition in the reported failure and its causal repair: customers filter by product family but synonym queries still produce no results.

Question 286

An agent tool occasionally responds with transient HTTP failures. A successful solution needs to return typed success and recoverable error results to the orchestrator. Which option is the most suitable design?

  1. Add circuit breakers, bounded retries, and timeouts around tool adapters.
  2. Record tool calls per successful task and detect repeated action patterns.
  3. Implement structured tool errors with idempotency and bounded retry semantics.
  4. Orchestrate a bounded tool loop with AWS Step Functions.

Explanation

Correct Answer

C:

Typed outcomes let the agent distinguish temporary failures from rejected requests without blindly repeating side effects; it directly supports the architectural objective to return typed success and recoverable error results to the orchestrator. Returning vague free text makes retries and compensation unreliable; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: tool isolation stops a broken dependency from consuming every step and preserves controlled degradation; it supports prevent cascading tool retries from exhausting the agent session, while the architecture selection needs return typed success and recoverable error results to the orchestrator after the same purchase order is created twice after a network timeout. Increasing the maximum number of agent iterations can multiply the failure load; for the architecture selection, the unresolved requirement remains to return typed success and recoverable error results to the orchestrator, as shown when the same purchase order is created twice after a network timeout.

B:

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 return typed success and recoverable error results to the orchestrator in light of the same purchase order is created twice after a network timeout. High model response quality does not imply economical orchestration; this is insufficient for the architecture selection, given the evidence that the same purchase order is created twice after a network timeout.

D:

The scope of this alternative is different: a workflow engine tracks steps, retries, stop conditions, and state outside uncertain model output; it supports separate observation, action, and verification into explicit workflow steps, while the architecture selection needs return typed success and recoverable error results to the orchestrator after the same purchase order is created twice after a network timeout. Unconstrained recursive prompting can repeat unsafe actions without a terminal criterion; for the architecture selection, the unresolved requirement remains to return typed success and recoverable error results to the orchestrator, as shown when the same purchase order is created twice after a network timeout.

Question 287

A tool-using agent fails intermittently and service health checks stay green. After deployment, an inventory integration degrades while model availability remains unchanged. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Record tool calls per successful task and detect repeated action patterns.
  2. Create structured trace records for each model and tool invocation.
  3. Instrument each tool call and aggregate failures per tool and step.
  4. Combine vector-index health metrics with source-sync freshness audits.

Explanation

Correct Answer

C:

Tool-level metrics isolate external dependency issues from FM reasoning failures; that explains the reported failure: an inventory integration degrades while model availability remains unchanged. Final-response success alone can hide repeated expensive intermediate failures; a symptom-only workaround would not restore the requirement to monitor tool success rate, latency, retries, and action counts.

Incorrect Answers

A:

Efficiency metrics reveal unproductive loops that raise cost and risk; that is valuable when the goal is to measure tool efficiency and stopping correctness, but the reported failure and its causal repair instead depends on the ability to monitor tool success rate, latency, retries, and action counts. High model response quality does not imply economical orchestration; it does not account for the condition in the reported failure and its causal repair: an inventory integration degrades while model availability remains unchanged.

B:

For work that needs to trace correlated agent and tool spans per user request, per-step observability distinguishes orchestration overhead from model response time; the specific the reported failure and its causal repair instead requires monitor tool success rate, latency, retries, and action counts in light of an inventory integration degrades while model availability remains unchanged. One log line per final answer cannot expose intermediate retries; this is insufficient for the reported failure and its causal repair, given the evidence that an inventory integration degrades while model availability remains unchanged.

D:

The scope of this alternative is different: operational health includes current content and quality, not just cluster availability; it supports monitor index freshness, recall checks, and retrieval latency, while the reported failure and its causal repair needs monitor tool success rate, latency, retries, and action counts after an inventory integration degrades while model availability remains unchanged. Green storage health does not mean embeddings match updated documents; for the reported failure and its causal repair, the unresolved requirement remains to monitor tool success rate, latency, retries, and action counts, as shown when an inventory integration degrades while model availability remains unchanged.

Question 288

A code documentation assistant finds function signatures but misses examples. The incident report says: Questions about a function return value retrieve its name but not the immediately following definition. Which specific design change best corrects the failure?

  1. Use hierarchical or structure-aware chunking with parent-child context.
  2. Configure a supported ANN vector index and tune search parameters.
  3. Configure bounded chunk overlap with semantic section boundaries where possible.
  4. Adjust structure-aware chunking and rerank evidence for completeness.
  5. Filter by trusted attributes before vector or hybrid scoring.

Explanation

Correct Answer

C:

Overlap can retain details straddling adjacent segments without duplicating entire chapters; that explains the reported failure: questions about a function return value retrieve its name but not the immediately following definition. Excessive overlap increases index size and repeated retrieval noise; a symptom-only workaround would not restore the requirement to preserve overlap between segments split at arbitrary boundaries.

Incorrect Answers

A:

The scope of this alternative is different: section-aware segmentation keeps retrieved evidence coherent and limits unrelated text in prompts; it supports keep chunks small enough to rank while preserving section relationships, while the reported failure and its causal repair needs preserve overlap between segments split at arbitrary boundaries after questions about a function return value retrieve its name but not the immediately following definition. Giant whole-document chunks dilute similarity, while tiny isolated fragments lose meaning; for the reported failure and its causal repair, the unresolved requirement remains to preserve overlap between segments split at arbitrary boundaries, as shown when questions about a function return value retrieve its name but not the immediately following definition.

B:

For work that needs to index embeddings and benchmark recall and query time, nearest-neighbor indexing avoids exhaustive comparison for every request, with measurable speed-versus-recall tradeoffs; the specific the reported failure and its causal repair instead requires preserve overlap between segments split at arbitrary boundaries in light of questions about a function return value retrieve its name but not the immediately following definition. Storing vectors without a search index can cause costly full scans; this is insufficient for the reported failure and its causal repair, given the evidence that questions about a function return value retrieve its name but not the immediately following definition.

D:

For work that needs to inspect chunk boundaries, overlap, and ranking of adjacent sections, chunk fragmentation can separate rules from exceptions even if a hit seems relevant; the specific the reported failure and its causal repair instead requires preserve overlap between segments split at arbitrary boundaries in light of questions about a function return value retrieve its name but not the immediately following definition. A longer final response cannot recreate omitted evidence; this is insufficient for the reported failure and its causal repair, given the evidence that questions about a function return value retrieve its name but not the immediately following definition.

E:

Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; this explains its relevance to combine metadata prefilters with semantic ranking instead of relying on prompts, not the the reported failure and its causal repair requirement to preserve overlap between segments split at arbitrary boundaries after questions about a function return value retrieve its name but not the immediately following definition. The FM cannot reliably undo a retrieval query that included unauthorized content; choosing it for the reported failure and its causal repair would leave the underlying issue visible: questions about a function return value retrieve its name but not the immediately following definition.

Question 289

Most questions are simple, but a small fraction needs high-reasoning models. A successful solution needs to control spend without sacrificing difficult-case quality. Which option is the most suitable design?

  1. Evaluate Amazon Bedrock Provisioned Throughput for the selected supported model.
  2. Use a smaller default model with confidence or complexity-based escalation.
  3. Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
  4. Invoke the selected Bedrock model through a Lambda-based request handler.

Explanation

Correct Answer

B:

A cascade pays premium inference costs for the minority of requests requiring deeper capability; it directly supports the architectural objective to control spend without sacrificing difficult-case quality. Uniform model selection cannot exploit the workload's complexity distribution; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Provisioned capacity is designed for workloads needing committed throughput rather than purely bursty on-demand access; this explains its relevance to reserve supported inference capacity for steady traffic, not the the architecture selection requirement to control spend without sacrificing difficult-case quality after the application's marginal cost remains high despite most queries being routine. Cross-Region inference profiles do not become provisioned capacity reservations; choosing it for the architecture selection would leave the underlying issue visible: the application's marginal cost remains high despite most queries being routine.

C:

For work that needs to switch providers without editing every calling microservice, the adapter abstracts model-specific requests while configuration changes routing independently of service releases; the specific the architecture selection instead requires control spend without sacrificing difficult-case quality in light of the application's marginal cost remains high despite most queries being routine. Embedding model IDs in each client couples every deployment to one provider; this is insufficient for the architecture selection, given the evidence that the application's marginal cost remains high despite most queries being routine.

D:

A short-lived function can call managed inference without hosting model weights; that is valuable when the goal is to use on-demand inference from event-driven compute, but the architecture selection instead depends on the ability to control spend without sacrificing difficult-case quality. Provisioned capacity may be excessive for infrequent low-volume use; it does not account for the condition in the architecture selection: the application's marginal cost remains high despite most queries being routine.

Question 290

Searching for a red jacket returns products whose filenames mention red but images do not match. Investigators also establish that a product-search pipeline includes photos and captions for every catalog item. Which implementation most directly addresses the cause?

  1. Construct content blocks with the correct media format and model-supported payload type.
  2. Select an embedding approach that supports the required text-image retrieval relationship.
  3. Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.
  4. Test supported embedding dimensionality settings against recall, size, and latency.

Explanation

Correct Answer

B:

Aligned representations make semantically related pictures and phrases comparable in the chosen search system; that explains the reported failure: searching for a red jacket returns products whose filenames mention red but images do not match. Text-only embeddings of file names do not capture image appearance; a symptom-only workaround would not restore the requirement to index compatible multimodal representations for image-to-text queries.

Incorrect Answers

A:

The API schema and selected model capability jointly determine how nontext input is accepted; that is valuable when the goal is to send supported image blocks with the surrounding user text, but the reported failure and its causal repair instead depends on the ability to index compatible multimodal representations for image-to-text queries. Putting base64 characters in a text field does not create an image input block; it does not account for the condition in the reported failure and its causal repair: searching for a red jacket returns products whose filenames mention red but images do not match.

C:

Extraction makes printed content searchable, while image-aware handling preserves details ordinary text extraction misses; this explains its relevance to extract usable text and relevant visual context before retrieval, not the the reported failure and its causal repair 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. Treating a scanned page as plain UTF-8 text loses its visual evidence; choosing it for the reported failure and its causal repair would leave the underlying issue visible: searching for a red jacket returns products whose filenames mention red but images do not match.

D:

Reduced vector size can lower index storage and search cost, but may change semantic discrimination; that is valuable when the goal is to compare lower-dimensional representations against observed retrieval quality, but the reported failure and its causal repair instead depends on the ability to index compatible multimodal representations for image-to-text queries. A smaller vector is not automatically better when hard queries lose recall; it does not account for the condition in the reported failure and its causal repair: searching for a red jacket returns products whose filenames mention red but images do not match.

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