Question 350

A virtual assistant must handle tool reasoning and action limits. A release proposal aims to use an agent framework with controlled action execution and observability. Which architecture decision fits the constraint?

  1. Issue a task-scoped role with minimal S3 object permissions and caller-aware filters.
  2. Build a Strands-based tool agent with external policy and execution limits.
  3. Estimate input tokens and apply a configured context budget at the gateway.
  4. Correlate invocation traces and structured tool logs with request IDs.

Explanation

Correct Answer

B:

The framework coordinates tool calls, while independent handlers enforce identity and limits; it directly supports the architectural objective to use an agent framework with controlled action execution and observability. The presence of agent reasoning traces does not automatically authorize actions; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: the tool runtime's data-plane scope must match the action being executed; it supports avoid granting broad bucket permissions to the agent runtime, while the architecture selection needs use an agent framework with controlled action execution and observability after an agent invokes a forbidden system administration tool through an overly broad runtime role. Allowing s3:* on the bucket makes prompt injection more damaging; for the architecture selection, the unresolved requirement remains to use an agent framework with controlled action execution and observability, as shown when an agent invokes a forbidden system administration tool through an overly broad runtime role.

C:

For work that needs to reject or shorten over-budget requests before FM invocation, early budgeting allocates space for system instructions, retrieval context, and requested output; the specific the architecture selection instead requires use an agent framework with controlled action execution and observability in light of an agent invokes a forbidden system administration tool through an overly broad runtime role. Generic API payload byte limits do not reflect model token accounting; this is insufficient for the architecture selection, given the evidence that an agent invokes a forbidden system administration tool through an overly broad runtime role.

D:

The scope of this alternative is different: event-level traces reveal which reasoning step formed a bad function argument and where validation failed; it supports find failed tool events across a complex runtime session, while the architecture selection needs use an agent framework with controlled action execution and observability after an agent invokes a forbidden system administration tool through an overly broad runtime role. Aggregate model success percentages obscure the failing tool request; for the architecture selection, the unresolved requirement remains to use an agent framework with controlled action execution and observability, as shown when an agent invokes a forbidden system administration tool through an overly broad runtime role.

Question 351

Prompt instructions do not create missing ownership metadata in the source system. An architecture reviewer must still ensure the application can enforce schema rules at the ingestion boundary rather than in generation. What recommendation is justified?

  1. Validate required attributes with Lambda before accepting documents for indexing.
  2. Use Amazon Comprehend entity extraction followed by domain validation.
  3. Use separate model-specific payload adapters behind a common application interface.
  4. Create an authenticated ingestion adapter that records document IDs and source ACL metadata.

Explanation

Correct Answer

A:

Early validation avoids making unclassified or untraceable content searchable; this is the behavior to validate in a release review concerned with enforce schema rules at the ingestion boundary rather than in generation. Prompt instructions do not create missing ownership metadata in the source system; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

B:

Entity detection can populate searchable attributes, while a validation step controls accuracy and allowed values; this explains its relevance to derive structured metadata independently of the generation prompt, not the the release-control decision requirement to enforce schema rules at the ingestion boundary rather than in generation after chunks with unknown owners enter a searchable index and cannot be attributed. Asking a generation model to guess filters per query is less reproducible than indexed metadata; choosing it for the release-control decision would leave the underlying issue visible: chunks with unknown owners enter a searchable index and cannot be attributed.

C:

The scope of this alternative is different: a stable application contract can translate into the payload and headers expected by each runtime; it supports adapt each model's request serialization at the integration boundary, while the release-control decision needs enforce schema rules at the ingestion boundary rather than in generation after chunks with unknown owners enter a searchable index and cannot be attributed. One arbitrary prompt JSON format is not universal across inference endpoints; for the release-control decision, the unresolved requirement remains to enforce schema rules at the ingestion boundary rather than in generation, as shown when chunks with unknown owners enter a searchable index and cannot be attributed.

D:

A dedicated adapter preserves provenance and allows authorization-aware indexing of extracted content; this explains its relevance to keep an explicit ingestion identity and a reproducible source-to-chunk mapping, not the the release-control decision requirement to enforce schema rules at the ingestion boundary rather than in generation after chunks with unknown owners enter a searchable index and cannot be attributed. A broad anonymous crawler can violate source permissions and lose lineage; choosing it for the release-control decision would leave the underlying issue visible: chunks with unknown owners enter a searchable index and cannot be attributed.

Question 352

Vector search occasionally returns results from the wrong document class. The architecture must apply selective metadata constraints before similarity scoring. Which implementation best meets that requirement?

  1. Experiment with temperature and top-p settings on the creative task set.
  2. Filter by trusted attributes before vector or hybrid scoring.
  3. Use metadata prefilters and benchmark filtered recall.
  4. Optimize vector index search settings based on measured recall-latency curves.
  5. Tune hybrid search using both exact-match and embedding scores.

Explanation

Correct Answer

C:

Filters reduce the candidate pool to the right class before semantic ranking; it directly supports the architectural objective to apply selective metadata constraints before similarity scoring. Re-ranking unrelated classes cannot guarantee policy correctness; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Sampling changes diversity, but decisions should be validated against coherence and policy requirements; this explains its relevance to tune supported sampling controls while measuring quality and safety, not the the architecture selection requirement to apply selective metadata constraints before similarity scoring after the model cites a sales brochure when the user asks for an internal procedure. Increasing randomness without limits can raise factual and formatting error rates; choosing it for the architecture selection would leave the underlying issue visible: the model cites a sales brochure when the user asks for an internal procedure.

B:

Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; that is valuable when the goal is to combine metadata prefilters with semantic ranking instead of relying on prompts, but the architecture selection instead depends on the ability to apply selective metadata constraints before similarity scoring. The FM cannot reliably undo a retrieval query that included unauthorized content; it does not account for the condition in the architecture selection: the model cites a sales brochure when the user asks for an internal procedure.

D:

Vector index configuration trades candidate breadth, speed, and memory; this explains its relevance to profile and tune ANN index parameters and shard layout, not the the architecture selection requirement to apply selective metadata constraints before similarity scoring after the model cites a sales brochure when the user asks for an internal procedure. Increasing the top-k response size may worsen inference context overhead; choosing it for the architecture selection would leave the underlying issue visible: the model cites a sales brochure when the user asks for an internal procedure.

E:

The scope of this alternative is different: hybrid retrieval covers identifier precision and natural-language similarity; it supports combine lexical and semantic signals in retrieval, while the architecture selection needs apply selective metadata constraints before similarity scoring after the model cites a sales brochure when the user asks for an internal procedure. Changing answer temperature cannot repair poor source selection; for the architecture selection, the unresolved requirement remains to apply selective metadata constraints before similarity scoring, as shown when the model cites a sales brochure when the user asks for an internal procedure.

Question 353

An assistant needs masked customer records but authorized reviewers can see originals. A successful solution needs to maintain separate masked views and role-gated source access. Which option is the most suitable design?

  1. Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.
  2. Serve de-identified retrieval data by default with a controlled privileged lookup path.
  3. Combine source authorization checks with retrieval metadata filters.
  4. Use Glue Data Catalog or an equivalent governed inventory for source lineage.

Explanation

Correct Answer

B:

Separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; it directly supports the architectural objective to maintain separate masked views and role-gated source access. A model prompt cannot safely decide who may de-anonymize records; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Macie can identify sensitive data in S3 objects and trigger action before indexing; that is valuable when the goal is to detect sensitive content in S3 prior to making it searchable, but the architecture selection instead depends on the ability to maintain separate masked views and role-gated source access. Macie is not an inline filter for arbitrary model responses; it does not account for the condition in the architecture selection: a support agent requests an unrestricted personal-data export through a chat command.

C:

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 architecture selection instead requires maintain separate masked views and role-gated source access in light of a support agent requests an unrestricted personal-data export through a chat command. An FM refusal after retrieval is too late to protect raw context exposure; this is insufficient for the architecture selection, given the evidence that a support agent requests an unrestricted personal-data export through a chat command.

D:

A source inventory ties datasets to stewards, classifications, and downstream consumers; that is valuable when the goal is to record source registration and ownership metadata centrally, but the architecture selection instead depends on the ability to maintain separate masked views and role-gated source access. A vector embedding cannot inherently explain its source's licensing rights; it does not account for the condition in the architecture selection: a support agent requests an unrestricted personal-data export through a chat command.

Question 354

The assistant continues returning a deleted document after source cleanup. Investigators also establish that a source bucket has changed documents after the knowledge-base index was built. Which implementation most directly addresses the cause?

  1. Use incremental synchronization that processes only changed documents.
  2. Use document sensitivity labels as indexed filterable metadata and enforce access upstream.
  3. Use Amazon Bedrock Knowledge Bases with a supported vector store.
  4. Combine source authorization checks with retrieval metadata filters.
  5. Run an Amazon Bedrock Knowledge Bases data-source synchronization job.
  6. Trigger targeted removal or resynchronization when authoritative documents are deleted.

Explanation

Correct Answer

E:

Sync processes new, changed, and removed sources and updates corresponding vector content; that explains the reported failure: the assistant continues returning a deleted document after source cleanup. Uploading files to storage does not itself guarantee the index is refreshed; a symptom-only workaround would not restore the requirement to make the indexed corpus reflect additions, updates, and deletions.

Incorrect Answers

A:

The scope of this alternative is different: change-aware ingestion avoids re-embedding unchanged source content in routine refreshes; it supports reduce unnecessary embedding work during regular index updates, while the reported failure and its causal repair needs make the indexed corpus reflect additions, updates, and deletions after the assistant continues returning a deleted document after source cleanup. Rebuilding every vector daily increases processing cost without improving freshness; for the reported failure and its causal repair, the unresolved requirement remains to make the indexed corpus reflect additions, updates, and deletions, as shown when the assistant continues returning a deleted document after source cleanup.

B:

Label-aware queries exclude disallowed chunks rather than asking the model to ignore them; that is valuable when the goal is to partition retrieval by classification tags derived from trusted identity, but the reported failure and its causal repair instead depends on the ability to make the indexed corpus reflect additions, updates, and deletions. Generation-side disclaimers do not prevent confidential text entering context; it does not account for the condition in the reported failure and its causal repair: the assistant continues returning a deleted document after source cleanup.

C:

The scope of this alternative is different: managed knowledge bases coordinate data-source ingestion and semantic retrieval for FM augmentation; it supports avoid hand-building every retrieval integration component, while the reported failure and its causal repair needs make the indexed corpus reflect additions, updates, and deletions after the assistant continues returning a deleted document after source cleanup. The underlying vector store still requires data governance and access design; for the reported failure and its causal repair, the unresolved requirement remains to make the indexed corpus reflect additions, updates, and deletions, as shown when the assistant continues returning a deleted document after source cleanup.

D:

The application must carry trusted identity context into candidate selection so the FM never sees disallowed chunks; this explains its relevance to enforce source-specific access controls before constructing the retrieval context, not the the reported failure and its causal repair requirement to make the indexed corpus reflect additions, updates, and deletions after the assistant continues returning a deleted document after source cleanup. An FM refusal after retrieval is too late to protect raw context exposure; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the assistant continues returning a deleted document after source cleanup.

F:

Deletion-aware maintenance prevents removed sources remaining searchable after the source system revokes them; that is valuable when the goal is to propagate source deletion events into index removal workflows, but the reported failure and its causal repair instead depends on the ability to make the indexed corpus reflect additions, updates, and deletions. A retention policy on the raw bucket does not automatically eliminate an existing vector entry; it does not account for the condition in the reported failure and its causal repair: the assistant continues returning a deleted document after source cleanup.

Question 355

An API must preserve response quality during transient FM outages. An agent tool occasionally responds with transient HTTP failures. The deployment has these independent requirements: (1) provide a fallback model and mark degraded capability explicitly; (2) return typed success and recoverable error results to the orchestrator. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Accumulate streamed tool-use deltas until the structured call is complete.
  2. Add circuit breakers, bounded retries, and timeouts around tool adapters.
  3. Orchestrate a bounded tool loop with AWS Step Functions.
  4. Implement structured tool errors with idempotency and bounded retry semantics.
  5. Put parameter validation and authorization in the Lambda tool handler.
  6. Use a tested fallback strategy with clear quality and compatibility gates.

Explanation

Correct Answers

D:

Typed outcomes let the agent distinguish temporary failures from rejected requests without blindly repeating side effects; this fulfills return typed success and recoverable error results to the orchestrator within a combined design that must also provide a fallback model and mark degraded capability explicitly. Returning vague free text makes retries and compensation unreliable; the other required action(s) must additionally provide a fallback model and mark degraded capability explicitly.

F:

Fallback maintains limited service while the application checks schema, policy, and capability of alternate models; this fulfills provide a fallback model and mark degraded capability explicitly within a combined design that must also return typed success and recoverable error results to the orchestrator. Switching to any available model can violate modality or safety requirements; the other required action(s) must additionally return typed success and recoverable error results to the orchestrator.

Incorrect Answers

A:

Partial arguments are not safe transactional commands; validation should occur on the finalized tool input; its proper focus is to buffer and validate a completed tool-call payload before execution, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator. Executing the first JSON fragment can call a function with missing or wrong fields; in this combined design needing provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator, it does not directly meet the specified requirement to return typed success and recoverable error results to the orchestrator.

B:

Tool isolation stops a broken dependency from consuming every step and preserves controlled degradation; its proper focus is to prevent cascading tool retries from exhausting the agent session, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator. Increasing the maximum number of agent iterations can multiply the failure load; in this combined design needing provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator, it does not directly meet the specified requirement to provide a fallback model and mark degraded capability explicitly.

C:

A workflow engine tracks steps, retries, stop conditions, and state outside uncertain model output; its proper focus is to separate observation, action, and verification into explicit workflow steps, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator. Unconstrained recursive prompting can repeat unsafe actions without a terminal criterion; in this combined design needing provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator, it does not directly meet the specified requirement to provide a fallback model and mark degraded capability explicitly.

E:

The handler rejects malformed identifiers and disallowed amounts even if the FM requests them; its proper focus is to validate the tool schema and business limits in code before execution, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator. Model-side tool descriptions do not enforce server-side transactional limits; in this combined design needing provide a fallback model and mark degraded capability explicitly and return typed success and recoverable error results to the orchestrator, it does not directly meet the specified requirement to provide a fallback model and mark degraded capability explicitly.

Question 356

An on-demand deployment misses peak latency targets despite stable high usage. Investigators also establish that a steady production application needs predictable inference capacity. Which implementation most directly addresses the cause?

  1. Evaluate provisioned inference capacity with utilization and cost modeling.
  2. Use a validated small-model tier for straightforward requests.
  3. Invoke the selected Bedrock model through a Lambda-based request handler.
  4. Use supported batch inference or controlled application-side batching.
  5. Enforce queue-based concurrency limits and bounded admission control.

Explanation

Correct Answer

A:

Capacity commitment can stabilize throughput for a sufficiently steady supported workload; that explains the reported failure: an on-demand deployment misses peak latency targets despite stable high usage. A commitment is wasteful if traffic is highly sporadic and low volume; a symptom-only workaround would not restore the requirement to compare reserved model throughput against observed sustained demand.

Incorrect Answers

B:

Capability-based selection lowers average cost when simpler models meet quality thresholds; that is valuable when the goal is to compare smaller models against acceptance metrics before routing, but the reported failure and its causal repair instead depends on the ability to compare reserved model throughput against observed sustained demand. The cheapest model is not acceptable for tasks it fails in evaluation; it does not account for the condition in the reported failure and its causal repair: an on-demand deployment misses peak latency targets despite stable high usage.

C:

A short-lived function can call managed inference without hosting model weights; this explains its relevance to use on-demand inference from event-driven compute, not the the reported failure and its causal repair requirement to compare reserved model throughput against observed sustained demand after an on-demand deployment misses peak latency targets despite stable high usage. Provisioned capacity may be excessive for infrequent low-volume use; choosing it for the reported failure and its causal repair would leave the underlying issue visible: an on-demand deployment misses peak latency targets despite stable high usage.

D:

The scope of this alternative is different: bulk processing can trade turnaround time for efficiency and coordinated capacity use; it supports batch requests within latency and provider constraints, while the reported failure and its causal repair needs compare reserved model throughput against observed sustained demand after an on-demand deployment misses peak latency targets despite stable high usage. Interactive chat requests should not be delayed inside oversized batches; for the reported failure and its causal repair, the unresolved requirement remains to compare reserved model throughput against observed sustained demand, as shown when an on-demand deployment misses peak latency targets despite stable high usage.

E:

Concurrency gates prevent sudden bursts from overwhelming model quotas; that is valuable when the goal is to control concurrency and smooth demand before it reaches the FM, but the reported failure and its causal repair instead depends on the ability to compare reserved model throughput against observed sustained demand. Unrestricted retries increase load rather than creating capacity; it does not account for the condition in the reported failure and its causal repair: an on-demand deployment misses peak latency targets despite stable high usage.

Question 357

A model integration intermittently receives access-denied errors. The architecture must trace which runtime role and model resource is actually used. Which implementation best meets that requirement?

  1. Use schema validators and prompt-version logging in the test pipeline.
  2. Check effective IAM permissions, resource scope, and explicit deny policies.
  3. Use context-window accounting with retrieval pruning and safe truncation.
  4. Use capped exponential backoff with jitter in the AWS SDK client.
  5. Add step-level logs and X-Ray spans around prompt and tool transitions.

Explanation

Correct Answer

B:

Authorization depends on the caller identity and target action, not just account membership; it directly supports the architectural objective to trace which runtime role and model resource is actually used. Changing the prompt cannot grant invoke permission to the backend role; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Output validation localizes whether a template revision changed field structure; this explains its relevance to add automated contract checks and version-aware prompt diagnostics, not the the architecture selection requirement to trace which runtime role and model resource is actually used after the app works under a developer role but fails when deployed to a production function. Only measuring model latency cannot explain parser failures; choosing it for the architecture selection would leave the underlying issue visible: the app works under a developer role but fails when deployed to a production function.

C:

The scope of this alternative is different: model limits cover combined input context and expected output, so evidence needs explicit allocation; it supports budget system, retrieved, conversation, and output tokens before the call, while the architecture selection needs trace which runtime role and model resource is actually used after the app works under a developer role but fails when deployed to a production function. Blindly raising max output tokens can worsen a context-budget failure; for the architecture selection, the unresolved requirement remains to trace which runtime role and model resource is actually used, as shown when the app works under a developer role but fails when deployed to a production function.

D:

For work that needs to retry safely without amplifying traffic spikes, spreading retries reduces synchronized load and bounds time spent recovering from transient errors; the specific the architecture selection instead requires trace which runtime role and model resource is actually used in light of the app works under a developer role but fails when deployed to a production function. Immediate tight-loop retries worsen rate limits and increase failure latency; this is insufficient for the architecture selection, given the evidence that the app works under a developer role but fails when deployed to a production function.

E:

For work that needs to trace intermediate prompts and transformations with secure correlation IDs, tracing the boundaries reveals where context or formatting changes unexpectedly; the specific the architecture selection instead requires trace which runtime role and model resource is actually used in light of the app works under a developer role but fails when deployed to a production function. A final answer log alone cannot reconstruct lost intermediate fields; this is insufficient for the architecture selection, given the evidence that the app works under a developer role but fails when deployed to a production function.

Question 358

Putting base64 characters in a text field does not create an image input block. An architecture reviewer must still ensure the application can send supported image blocks with the surrounding user text. What recommendation is justified?

  1. Select an embedding approach that supports the required text-image retrieval relationship.
  2. Run deterministic normalization with Lambda and store original-source references.
  3. Combine OCR or document extraction with a multimodal-aware preprocessing pipeline.
  4. Build properly structured Bedrock Converse messages rather than concatenating ad hoc JSON.
  5. Construct content blocks with the correct media format and model-supported payload type.

Explanation

Correct Answer

E:

The API schema and selected model capability jointly determine how nontext input is accepted; this is the behavior to validate in a release review concerned with send supported image blocks with the surrounding user text. Putting base64 characters in a text field does not create an image input block; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

For work that needs to index compatible multimodal representations for image-to-text queries, aligned representations make semantically related pictures and phrases comparable in the chosen search system; the specific the release-control decision instead requires send supported image blocks with the surrounding user text in light of the model describes the payload as text instead of inspecting the uploaded picture. Text-only embeddings of file names do not capture image appearance; this is insufficient for the release-control decision, given the evidence that the model describes the payload as text instead of inspecting the uploaded picture.

B:

For work that needs to normalize source text without losing cited meaning before indexing, stable normalization reduces accidental embedding variation while preserving provenance for audit; the specific the release-control decision instead requires send supported image blocks with the surrounding user text in light of the model describes the payload as text instead of inspecting the uploaded picture. Generative rewriting can alter a legal date or obligation if used without verification; this is insufficient for the release-control decision, given the evidence that the model describes the payload as text instead of inspecting the uploaded picture.

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 release-control decision 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. Treating a scanned page as plain UTF-8 text loses its visual evidence; choosing it for the release-control decision would leave the underlying issue visible: the model describes the payload as text instead of inspecting the uploaded picture.

D:

The scope of this alternative is different: the Converse request schema distinguishes roles, message content, system instructions, and inference options; it supports serialize each turn as a valid message with supported roles and content blocks, while the release-control decision needs 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; for the release-control decision, 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.

Question 359

Every employee waits for the same static morning digest to be regenerated. Investigators also establish that an assistant serves predictable daily digests at fixed times. Which implementation most directly addresses the cause?

  1. Use lower-variance sampling and enforce an output schema.
  2. Experiment with temperature and top-p settings on the creative task set.
  3. Use version-aware cache invalidation linked to freshness requirements.
  4. Precompute and cache recurring summaries before their expected read window.

Explanation

Correct Answer

D:

Scheduled generation moves work away from interactive critical paths; that explains the reported failure: every employee waits for the same static morning digest to be regenerated. Precomputation is inappropriate for information requiring a fresh personalized answer; a symptom-only workaround would not restore the requirement to generate known content ahead of peak user traffic.

Incorrect Answers

A:

Predictable extraction benefits from constrained prompts and machine validation; that is valuable when the goal is to favor controlled generation and strict downstream validation, but the reported failure and its causal repair instead depends on the ability to generate known content ahead of peak user traffic. A temperature setting alone cannot prevent malformed JSON or fabricated fields; it does not account for the condition in the reported failure and its causal repair: every employee waits for the same static morning digest to be regenerated.

B:

The scope of this alternative is different: sampling changes diversity, but decisions should be validated against coherence and policy requirements; it supports tune supported sampling controls while measuring quality and safety, while the reported failure and its causal repair needs generate known content ahead of peak user traffic after every employee waits for the same static morning digest to be regenerated. Increasing randomness without limits can raise factual and formatting error rates; for the reported failure and its causal repair, the unresolved requirement remains to generate known content ahead of peak user traffic, as shown when every employee waits for the same static morning digest to be regenerated.

C:

A cache can retain speed benefits while dropping answers based on stale documents; that is valuable when the goal is to expire or invalidate cached responses when indexed source data changes, but the reported failure and its causal repair instead depends on the ability to generate known content ahead of peak user traffic. A very long fixed TTL is unsuitable for volatile inventory decisions; it does not account for the condition in the reported failure and its causal repair: every employee waits for the same static morning digest to be regenerated.

Question 360

A team observes that prompt improvements sometimes break older FAQ answers. The incident report says: A new prompt passes a showcase but breaks previously correct password-reset guidance. Which specific design change best corrects the failure?

  1. Build evidence-first prompts that require supporting passages for claims.
  2. Validate prompt revisions with a golden dataset and automated acceptance gates.
  3. Gate prompt version promotion and retain associated CloudTrail control-plane records.
  4. Diff prompt templates and test quality regressions on a fixed dataset.

Explanation

Correct Answer

B:

Representative input-output checks expose quality regressions before promotion; that explains the reported failure: a new prompt passes a showcase but breaks previously correct password-reset guidance. One handcrafted demo question is insufficient to test diverse user intents; a symptom-only workaround would not restore the requirement to run repeatable regression checks against a fixed evaluation set.

Incorrect Answers

A:

Grounding the answer to retrieved material and permitting uncertainty reduces unsupported completions; this explains its relevance to include bounded evidence and instructions to abstain when unsupported, not the the reported failure and its causal repair requirement to run repeatable regression checks against a fixed evaluation set after a new prompt passes a showcase but breaks previously correct password-reset guidance. Merely asking a model to be accurate cannot supply missing knowledge; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a new prompt passes a showcase but breaks previously correct password-reset guidance.

C:

Approval records and API audit trails complement template versioning for accountability; this explains its relevance to keep a reviewed prompt release process with change audit events, not the the reported failure and its causal repair requirement to run repeatable regression checks against a fixed evaluation set after a new prompt passes a showcase but breaks previously correct password-reset guidance. A model response log alone does not establish who deployed an instruction change; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a new prompt passes a showcase but breaks previously correct password-reset guidance.

D:

The scope of this alternative is different: holding test cases constant isolates instruction changes from input distribution shifts; it supports compare exact prompt versions using controlled evaluation inputs, while the reported failure and its causal repair needs run repeatable regression checks against a fixed evaluation set after a new prompt passes a showcase but breaks previously correct password-reset guidance. Changing model and prompt simultaneously makes attribution harder; for the reported failure and its causal repair, the unresolved requirement remains to run repeatable regression checks against a fixed evaluation set, as shown when a new prompt passes a showcase but breaks previously correct password-reset guidance.

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