Question 500

A regression ticket has no record of which model input produced the bad answer. Investigators also establish that a team needs detailed examples of unexpectedly poor FM responses. Which implementation most directly addresses the cause?

  1. Publish token-usage and estimated-cost metrics with dimensions in CloudWatch.
  2. Execute schema and semantic contract tests against model responses.
  3. Create structured trace records for each model and tool invocation.
  4. Use Amazon Bedrock model invocation logging where supported and restrict log access.

Explanation

Correct Answer

D:

Invocation details can support forensic analysis while requiring explicit data handling controls; that explains the reported failure: a regression ticket has no record of which model input produced the bad answer. CloudTrail control-plane events do not by themselves capture answer text for quality review; a symptom-only workaround would not restore the requirement to enable protected model invocation logging with a privacy-conscious retention policy.

Incorrect Answers

A:

Attributed usage reveals which behavior or cohort drives spend; this explains its relevance to record input and output tokens per model, tenant, and feature, not the the reported failure and its causal repair requirement to enable protected model invocation logging with a privacy-conscious retention policy after a regression ticket has no record of which model input produced the bad answer. A single monthly total does not identify the feature creating token bursts; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a regression ticket has no record of which model input produced the bad answer.

B:

Schema checks detect field removal, type changes, and invalid required combinations; this explains its relevance to validate structured-output contracts before routing traffic, not the the reported failure and its causal repair requirement to enable protected model invocation logging with a privacy-conscious retention policy after a regression ticket has no record of which model input produced the bad answer. Matching a few output words does not establish API compatibility; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a regression ticket has no record of which model input produced the bad answer.

C:

Per-step observability distinguishes orchestration overhead from model response time; that is valuable when the goal is to trace correlated agent and tool spans per user request, but the reported failure and its causal repair instead depends on the ability to enable protected model invocation logging with a privacy-conscious retention policy. One log line per final answer cannot expose intermediate retries; it does not account for the condition in the reported failure and its causal repair: a regression ticket has no record of which model input produced the bad answer.

Question 501

A virtual assistant must handle tool reasoning and action limits. The incident report says: An agent invokes a forbidden system administration tool through an overly broad runtime role. Which specific design change best corrects the failure?

  1. Add idempotency checks and durable outcome records to tool integrations.
  2. Correlate invocation traces and structured tool logs with request IDs.
  3. Build a Strands-based tool agent with external policy and execution limits.
  4. Use AWS Amplify for app hosting and identity-aware frontend integration with a secured backend.
  5. Instrument each tool call and aggregate failures per tool and step.
  6. Estimate input tokens and apply a configured context budget at the gateway.

Explanation

Correct Answer

C:

The framework coordinates tool calls, while independent handlers enforce identity and limits; that explains the reported failure: an agent invokes a forbidden system administration tool through an overly broad runtime role. The presence of agent reasoning traces does not automatically authorize actions; a symptom-only workaround would not restore the requirement to use an agent framework with controlled action execution and observability.

Incorrect Answers

A:

For work that needs to associate requests with idempotency keys at state-changing handlers, duplicate-safe execution separates transport retries from unique business operations; the specific the reported failure and its causal repair 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. A network timeout does not prove the original mutation failed; this is insufficient for the reported failure and its causal repair, given the evidence that an agent invokes a forbidden system administration tool through an overly broad runtime role.

B:

Event-level traces reveal which reasoning step formed a bad function argument and where validation failed; this explains its relevance to find failed tool events across a complex runtime session, not the the reported failure and its causal repair requirement to 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; choosing it for the reported failure and its causal repair would leave the underlying issue visible: an agent invokes a forbidden system administration tool through an overly broad runtime role.

D:

The scope of this alternative is different: frontend tooling accelerates deployment while privileged model calls remain server-side; it supports provide UI authentication and API integration without shipping secrets, while the reported failure and its causal repair 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. A frontend framework is not a substitute for a protected model API; for the reported failure and its causal repair, 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.

E:

The scope of this alternative is different: tool-level metrics isolate external dependency issues from FM reasoning failures; it supports monitor tool success rate, latency, retries, and action counts, while the reported failure and its causal repair 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. Final-response success alone can hide repeated expensive intermediate failures; for the reported failure and its causal repair, 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.

F:

Early budgeting allocates space for system instructions, retrieval context, and requested output; that is valuable when the goal is to reject or shorten over-budget requests before FM invocation, but the reported failure and its causal repair instead depends on the ability to use an agent framework with controlled action execution and observability. Generic API payload byte limits do not reflect model token accounting; it does not account for the condition in the reported failure and its causal repair: an agent invokes a forbidden system administration tool through an overly broad runtime role.

Question 502

Raw identification numbers are indexed before the data-classification job finishes. Investigators also establish that a document assistant stores source files containing tax identifiers. Which implementation most directly addresses the cause?

  1. Configure explicit retention policies and S3 Lifecycle rules for eligible objects.
  2. Track retrieval provenance from the source object to the final citation.
  3. Use Amazon Macie for S3 sensitive-data discovery with remediation workflows.
  4. Serve de-identified retrieval data by default with a controlled privileged lookup path.

Explanation

Correct Answer

C:

Macie can identify sensitive data in S3 objects and trigger action before indexing; that explains the reported failure: raw identification numbers are indexed before the data-classification job finishes. Macie is not an inline filter for arbitrary model responses; a symptom-only workaround would not restore the requirement to detect sensitive content in S3 prior to making it searchable.

Incorrect Answers

A:

The scope of this alternative is different: storage lifecycle controls remove or transition stored data in accordance with policy; it supports apply lifecycle and retention controls to stored prompts and documents, while the reported failure and its causal repair needs detect sensitive content in S3 prior to making it searchable after raw identification numbers are indexed before the data-classification job finishes. Lifecycle expiry is distinct from immediate vector-index source deletion; for the reported failure and its causal repair, the unresolved requirement remains to detect sensitive content in S3 prior to making it searchable, as shown when raw identification numbers are indexed before the data-classification job finishes.

B:

For work that needs to carry document identifiers and chunk locations into the generated response, stable source IDs and spans allow reviewers to verify claimed evidence; the specific the reported failure and its causal repair instead requires detect sensitive content in S3 prior to making it searchable in light of raw identification numbers are indexed before the data-classification job finishes. A generated footnote without a backing retrieval record can be fabricated; this is insufficient for the reported failure and its causal repair, given the evidence that raw identification numbers are indexed before the data-classification job finishes.

D:

For work that needs to maintain separate masked views and role-gated source access, separate paths prevent broad FM context access to raw identifiers while preserving legitimate workflows; the specific the reported failure and its causal repair instead requires detect sensitive content in S3 prior to making it searchable in light of raw identification numbers are indexed before the data-classification job finishes. A model prompt cannot safely decide who may de-anonymize records; this is insufficient for the reported failure and its causal repair, given the evidence that raw identification numbers are indexed before the data-classification job finishes.

Question 503

A support bot answers FAQs that rarely change but also handles weekly price lists. The incident report says: Releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies. Which specific design change best corrects the failure?

  1. Use retrieval-augmented generation with authorization-filtered source retrieval.
  2. Use the AWS Well-Architected Tool with a GenAI-focused workload review.
  3. Separate versioned system prompts from an indexed, frequently refreshed product knowledge source.
  4. Run a bounded Amazon Bedrock proof of concept with golden questions and acceptance thresholds.
  5. Build evidence-first prompts that require supporting passages for claims.

Explanation

Correct Answer

C:

The prompt establishes behavioral policy while retrieval supplies volatile facts, so one can change without redeploying the other; that explains the reported failure: releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies. Embedding a full catalog in a static prompt makes updates fragile and can exceed context limits; a symptom-only workaround would not restore the requirement to isolate changing facts from stable instructions while controlling operational risk.

Incorrect Answers

A:

The scope of this alternative is different: retrieval supplies current authorized passages at request time, allowing the model to ground an answer without changing model weights; it supports produce evidence-backed answers from current contracts without teaching a new model the documents, while the reported failure and its causal repair needs isolate changing facts from stable instructions while controlling operational risk after releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies. Training or prompt-only recall cannot guarantee document freshness or per-user access control; for the reported failure and its causal repair, the unresolved requirement remains to isolate changing facts from stable instructions while controlling operational risk, as shown when releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies.

B:

A structured workload review captures risks and improvement actions across relevant pillars before production approval; this explains its relevance to map architectural risks to an explicit, repeatable review checklist, not the the reported failure and its causal repair requirement to isolate changing facts from stable instructions while controlling operational risk after releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies. A model leaderboard says little about disaster recovery, governance, and operations; choosing it for the reported failure and its causal repair would leave the underlying issue visible: releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies.

D:

For work that needs to establish a measurable feasibility decision using representative customer traffic, an evaluation pilot tests accuracy, safety, latency, and cost against representative inputs before architectural lock-in; the specific the reported failure and its causal repair instead requires isolate changing facts from stable instructions while controlling operational risk in light of releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies. A vendor demo on idealized prompts does not estimate production failures or cost; this is insufficient for the reported failure and its causal repair, given the evidence that releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies.

E:

For work that needs to include bounded evidence and instructions to abstain when unsupported, grounding the answer to retrieved material and permitting uncertainty reduces unsupported completions; the specific the reported failure and its causal repair instead requires isolate changing facts from stable instructions while controlling operational risk in light of releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies. Merely asking a model to be accurate cannot supply missing knowledge; this is insufficient for the reported failure and its causal repair, given the evidence that releasing a price update unexpectedly changes tone rules or leaves outdated prices in replies.

Question 504

An API must preserve response quality during transient FM outages. A container-hosted model has poor throughput on mixed-length requests. The deployment has these independent requirements: (1) provide a fallback model and mark degraded capability explicitly; (2) introduce serving-level batching and token-aware queue management. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Use an inference server with dynamic batching tuned to latency objectives.
  2. Profile GPU memory and model loading, then allocate suitable inference instances.
  3. Use ConverseStream or a supported streaming Bedrock operation with an appropriate client transport.
  4. Benchmark compact models against task-specific accuracy and latency criteria.
  5. Use a tested fallback strategy with clear quality and compatibility gates.

Explanation

Correct Answers

A:

Batching can improve accelerator utilization but must be bounded to protect interactive delay; this fulfills introduce serving-level batching and token-aware queue management within a combined design that must also provide a fallback model and mark degraded capability explicitly. Simply adding network load balancers does not optimize token scheduling; the other required action(s) must additionally provide a fallback model and mark degraded capability explicitly.

E:

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 introduce serving-level batching and token-aware queue management. Switching to any available model can violate modality or safety requirements; the other required action(s) must additionally introduce serving-level batching and token-aware queue management.

Incorrect Answers

B:

LLM serving must account for model parameters, activation and cache memory, and concurrent token generation; its proper focus is to size the runtime for weights, KV cache, and maximum concurrency, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and introduce serving-level batching and token-aware queue management. CPU autoscaling alone does not fix GPU memory exhaustion; in this combined design needing provide a fallback model and mark degraded capability explicitly and introduce serving-level batching and token-aware queue management, it does not directly meet the specified requirement to introduce serving-level batching and token-aware queue management.

C:

Streaming sends response increments, improving perceived latency without changing total generated work; its proper focus is to deliver incremental tokens through a supported streaming inference API, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and introduce serving-level batching and token-aware queue management. A synchronous InvokeModel response provides output after completion rather than incremental display; in this combined design needing provide a fallback model and mark degraded capability explicitly and introduce serving-level batching and token-aware queue management, it does not directly meet the specified requirement to introduce serving-level batching and token-aware queue management.

D:

A focused task may not require frontier-level capability if the acceptance set is narrow; its proper focus is to select a smaller validated model rather than the largest available, rather than the combined requirements to provide a fallback model and mark degraded capability explicitly and introduce serving-level batching and token-aware queue management. Generic leaderboard rank does not guarantee superior price-performance on this dataset; in this combined design needing provide a fallback model and mark degraded capability explicitly and introduce serving-level batching and token-aware queue management, it does not directly meet the specified requirement to introduce serving-level batching and token-aware queue management.

Question 505

The correct chunk is retrieved but usually ranked below noisy candidates. The architecture must rerank initial candidates with a query-aware model. Which implementation best meets that requirement?

  1. Apply a compatible reranker to an initial retrieval candidate set.
  2. Use supported Bedrock reranking or equivalent post-retrieval reranking.
  3. Profile prefill and decode bottlenecks with token-specific metrics.
  4. Restructure integration calls to batch or parallelize independent work.
  5. Tune hybrid search using both exact-match and embedding scores.

Explanation

Correct Answer

B:

A second-stage scorer can improve ordering before generation sees the passages; it directly supports the architectural objective to rerank initial candidates with a query-aware model. Expanding output tokens does not increase the quality of retrieved evidence; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Reranking scores query-passage fit at a later stage so fewer low-value chunks consume context; this explains its relevance to improve ordering of retrieved candidates before context construction, not the the architecture selection requirement to rerank initial candidates with a query-aware model after the answer relies on a broad overview instead of the exact exception paragraph. Increasing model output length cannot fix the ranking of input evidence; choosing it for the architecture selection would leave the underlying issue visible: the answer relies on a broad overview instead of the exact exception paragraph.

C:

Token-stage measurements distinguish long-prompt processing from slow completion generation; this explains its relevance to measure input and output token throughput separately, not the the architecture selection requirement to rerank initial candidates with a query-aware model after the answer relies on a broad overview instead of the exact exception paragraph. Request-per-second counts conceal large differences in token workload; choosing it for the architecture selection would leave the underlying issue visible: the answer relies on a broad overview instead of the exact exception paragraph.

D:

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 architecture selection instead depends on the ability to rerank initial candidates with a query-aware model. A faster FM cannot fully compensate for avoidable serial network calls; it does not account for the condition in the architecture selection: the answer relies on a broad overview instead of the exact exception paragraph.

E:

Hybrid retrieval covers identifier precision and natural-language similarity; this explains its relevance to combine lexical and semantic signals in retrieval, not the the architecture selection requirement to rerank initial candidates with a query-aware model after the answer relies on a broad overview instead of the exact exception paragraph. Changing answer temperature cannot repair poor source selection; choosing it for the architecture selection would leave the underlying issue visible: the answer relies on a broad overview instead of the exact exception paragraph.

Question 506

A compliance review asks who updated an AI deployment configuration. The incident report says: Investigators can see a bad answer but not the policy update made before it. Which specific design change best corrects the failure?

  1. Standardize audit dimensions for inference, deployment, and safety events.
  2. Write structured immutable-where-required audit records with retention and access control.
  3. Establish versioned approvals and automated policy gates in deployment pipelines.
  4. Use AWS CloudTrail for supported API audit events and correlate to deployment releases.
  5. Catalog sources with AWS Glue metadata and explicit lineage records.

Explanation

Correct Answer

D:

CloudTrail records identity and control-plane events, complementing application-level inference traces; that explains the reported failure: investigators can see a bad answer but not the policy update made before it. It is not a substitute for recording task-level answer quality and business decisions; a symptom-only workaround would not restore the requirement to capture AWS control-plane changes in an auditable event trail.

Incorrect Answers

A:

For work that needs to correlate policy events, model version, and request identifiers, cross-system correlation allows review of which version and policy were active during an incident; the specific the reported failure and its causal repair instead requires capture AWS control-plane changes in an auditable event trail in light of investigators can see a bad answer but not the policy update made before it. Independent uncoupled dashboards cannot reliably reconstruct an event sequence; this is insufficient for the reported failure and its causal repair, given the evidence that investigators can see a bad answer but not the policy update made before it.

B:

Audit evidence should identify who approved changes, which revision ran, and the action result; that is valuable when the goal is to capture review events and protected application decision logs, but the reported failure and its causal repair instead depends on the ability to capture AWS control-plane changes in an auditable event trail. Only storing prompt text without actors or versions cannot reconstruct governance decisions; it does not account for the condition in the reported failure and its causal repair: investigators can see a bad answer but not the policy update made before it.

C:

For work that needs to require evidence-backed signoff before version promotion, release records join model, prompt, data, and guardrail revisions with validated test results; the specific the reported failure and its causal repair instead requires capture AWS control-plane changes in an auditable event trail in light of investigators can see a bad answer but not the policy update made before it. An informal message about approval cannot be reliably enforced by automation; this is insufficient for the reported failure and its causal repair, given the evidence that investigators can see a bad answer but not the policy update made before it.

E:

The scope of this alternative is different: a dataset catalog and transformation history make source provenance independently reviewable; it supports record how inputs were transformed and where they came from, while the reported failure and its causal repair needs capture AWS control-plane changes in an auditable event trail after investigators can see a bad answer but not the policy update made before it. CloudTrail API events alone do not describe every semantic transformation of data; for the reported failure and its causal repair, the unresolved requirement remains to capture AWS control-plane changes in an auditable event trail, as shown when investigators can see a bad answer but not the policy update made before it.

Question 507

A support assistant already has a PostgreSQL-compatible data estate. A release proposal aims to store embeddings near relational metadata with SQL-compatible controls. Which architecture decision fits the constraint?

  1. Filter by trusted attributes before vector or hybrid scoring.
  2. Use a metadata-aware update path that preserves embeddings when the integration supports it.
  3. Use Amazon Aurora PostgreSQL with the pgvector extension where supported.
  4. Index effective-from and effective-to attributes and apply time-based retrieval filters.

Explanation

Correct Answer

C:

Vector columns and similarity operators allow embeddings to coexist with relational filtering and transactions; it directly supports the architectural objective to store embeddings near relational metadata with SQL-compatible controls. Ordinary relational equality indexes alone are not approximate-nearest-neighbor search; that boundary is important when selecting the implementation.

Incorrect Answers

A:

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 store embeddings near relational metadata with SQL-compatible controls. The FM cannot reliably undo a retrieval query that included unauthorized content; it does not account for the condition in the architecture selection: search works for exact product IDs but fails when queries paraphrase an issue.

B:

Separating metadata refresh from content re-embedding can save model calls for unchanged text; this explains its relevance to refresh classification attributes without needlessly regenerating document embeddings, not the the architecture selection requirement to store embeddings near relational metadata with SQL-compatible controls after search works for exact product IDs but fails when queries paraphrase an issue. Blindly reindexing every file for a label change spends tokens and compute; choosing it for the architecture selection would leave the underlying issue visible: search works for exact product IDs but fails when queries paraphrase an issue.

D:

The scope of this alternative is different: temporal metadata separates current guidance from superseded but textually similar versions; it supports filter retrieval on version and validity metadata, while the architecture selection needs store embeddings near relational metadata with SQL-compatible controls after search works for exact product IDs but fails when queries paraphrase an issue. Similarity ranking alone may favor obsolete documents with repeated phrasing; for the architecture selection, the unresolved requirement remains to store embeddings near relational metadata with SQL-compatible controls, as shown when search works for exact product IDs but fails when queries paraphrase an issue.

Question 508

Production evidence: The team cannot identify which owner must approve a document reindex. The original design context was: A knowledge base pulls regulated records from several locations. Which change prevents recurrence?

  1. Maintain versioned model cards associated with approved model artifacts.
  2. Use Glue Data Catalog or an equivalent governed inventory for source lineage.
  3. Catalog sources with AWS Glue metadata and explicit lineage records.
  4. Combine source authorization checks with retrieval metadata filters.

Explanation

Correct Answer

B:

A source inventory ties datasets to stewards, classifications, and downstream consumers; that explains the reported failure: the team cannot identify which owner must approve a document reindex. A vector embedding cannot inherently explain its source's licensing rights; a symptom-only workaround would not restore the requirement to record source registration and ownership metadata centrally.

Incorrect Answers

A:

The scope of this alternative is different: model cards record evaluation context and limitations for oversight and informed use; it supports publish reviewed model facts, intended uses, and known performance limits, while the reported failure and its causal repair needs record source registration and ownership metadata centrally after the team cannot identify which owner must approve a document reindex. A deployment timestamp alone does not communicate observed bias or failure domains; for the reported failure and its causal repair, the unresolved requirement remains to record source registration and ownership metadata centrally, as shown when the team cannot identify which owner must approve a document reindex.

C:

A dataset catalog and transformation history make source provenance independently reviewable; that is valuable when the goal is to record how inputs were transformed and where they came from, but the reported failure and its causal repair instead depends on the ability to record source registration and ownership metadata centrally. CloudTrail API events alone do not describe every semantic transformation of data; it does not account for the condition in the reported failure and its causal repair: the team cannot identify which owner must approve a document reindex.

D:

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 record source registration and ownership metadata centrally in light of the team cannot identify which owner must approve a document reindex. 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 team cannot identify which owner must approve a document reindex.

Question 509

Multiple teams share approved prompt templates with different revisions. After deployment, a prompt edit unexpectedly changes production responses without an identifiable revision. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Gate prompt version promotion and retain associated CloudTrail control-plane records.
  2. Add step-level logs and X-Ray spans around prompt and tool transitions.
  3. Use Amazon Bedrock Prompt Management with versioned prompt templates.
  4. Validate prompt revisions with a golden dataset and automated acceptance gates.

Explanation

Correct Answer

C:

Versioning creates a reviewable artifact with variables, allowing controlled rollout and rollback; that explains the reported failure: a prompt edit unexpectedly changes production responses without an identifiable revision. Copying prompt strings into application code hides drift between clients; a symptom-only workaround would not restore the requirement to centralize parameterized prompts and promote immutable versions.

Incorrect Answers

A:

The scope of this alternative is different: approval records and API audit trails complement template versioning for accountability; it supports keep a reviewed prompt release process with change audit events, while the reported failure and its causal repair needs centralize parameterized prompts and promote immutable versions after a prompt edit unexpectedly changes production responses without an identifiable revision. A model response log alone does not establish who deployed an instruction change; for the reported failure and its causal repair, the unresolved requirement remains to centralize parameterized prompts and promote immutable versions, as shown when a prompt edit unexpectedly changes production responses without an identifiable revision.

B:

The scope of this alternative is different: tracing the boundaries reveals where context or formatting changes unexpectedly; it supports trace intermediate prompts and transformations with secure correlation IDs, while the reported failure and its causal repair needs centralize parameterized prompts and promote immutable versions after a prompt edit unexpectedly changes production responses without an identifiable revision. A final answer log alone cannot reconstruct lost intermediate fields; for the reported failure and its causal repair, the unresolved requirement remains to centralize parameterized prompts and promote immutable versions, as shown when a prompt edit unexpectedly changes production responses without an identifiable revision.

D:

Representative input-output checks expose quality regressions before promotion; that is valuable when the goal is to run repeatable regression checks against a fixed evaluation set, but the reported failure and its causal repair instead depends on the ability to centralize parameterized prompts and promote immutable versions. One handcrafted demo question is insufficient to test diverse user intents; it does not account for the condition in the reported failure and its causal repair: a prompt edit unexpectedly changes production responses without an identifiable revision.

Question 510

Post-generation redaction cannot remove confidential data already supplied to an external call. An architecture reviewer must still ensure the application can redact or tokenize protected entities before inference. What recommendation is justified?

  1. Tokenize person-level fields while keeping the re-identification map in a protected store.
  2. Combine source authorization checks with retrieval metadata filters.
  3. Apply IAM least privilege to Bedrock inference operations and model ARNs.
  4. Configure an appropriate AWS PrivateLink interface VPC endpoint and endpoint policies.
  5. Use PII detection and deterministic redaction in the input preprocessing layer.

Explanation

Correct Answer

E:

Removing protected values upstream limits what is sent to the model and recorded in downstream logs; this is the behavior to validate in a release review concerned with redact or tokenize protected entities before inference. Post-generation redaction cannot remove confidential data already supplied to an external call; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

The scope of this alternative is different: tokenization preserves linkage for authorized workflows without exposing original identifiers to the model; it supports substitute pseudonymous identifiers before prompt assembly, while the release-control decision needs redact or tokenize protected entities before inference after prompt traces contain customer IDs even when the visible answer masks them. Hashing alone can remain reversible by guessing when the input space is small; for the release-control decision, the unresolved requirement remains to redact or tokenize protected entities before inference, as shown when prompt traces contain customer IDs even when the visible answer masks them.

B:

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 release-control decision requirement to redact or tokenize protected entities before inference after prompt traces contain customer IDs even when the visible answer masks them. An FM refusal after retrieval is too late to protect raw context exposure; choosing it for the release-control decision would leave the underlying issue visible: prompt traces contain customer IDs even when the visible answer masks them.

C:

The role's identity policies govern which invocation APIs and resources are authorized; that is valuable when the goal is to constrain model invocation by allowed resources and actions, but the release-control decision instead depends on the ability to redact or tokenize protected entities before inference. An application UI hiding a model does not prevent direct API invocation; it does not account for the condition in the release-control decision: prompt traces contain customer IDs even when the visible answer masks them.

D:

The scope of this alternative is different: private connectivity keeps service traffic on AWS network paths and provides a control point for allowed access; it supports use a private network connection where the service supports it, while the release-control decision needs redact or tokenize protected entities before inference after prompt traces contain customer IDs even when the visible answer masks them. A private subnet alone does not automatically provide a private route to every service; for the release-control decision, the unresolved requirement remains to redact or tokenize protected entities before inference, as shown when prompt traces contain customer IDs even when the visible answer masks them.

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