Question 670

A code-review note warns: Validating only the happy path leaves parser failure modes untested. The business requirement is to test malformed, adversarial, and boundary inputs before deployment. Which mechanism should replace the shortcut?

  1. Run prompt-injection and jailbreak evaluations against the full tool workflow.
  2. Validate prompt revisions with a golden dataset and automated acceptance gates.
  3. Compose modular prompt steps with explicit inputs, outputs, and failure handlers.
  4. Execute structured-output and safety test cases in an automated prompt test workflow.

Explanation

Correct Answer

D:

Edge cases reveal schema failures, instruction conflicts, and unsafe fallbacks that normal examples miss; this is the behavior to validate in a release review concerned with test malformed, adversarial, and boundary inputs before deployment. Validating only the happy path leaves parser failure modes untested; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

Testing realistic attacks surfaces gaps that benign user prompts and single-model demos miss; this explains its relevance to measure resistance using repeatable adversarial test suites, not the the release-control decision requirement to test malformed, adversarial, and boundary inputs before deployment after unexpected quotes in customer text cause generated JSON to become invalid. A policy document claiming safety is not a measured security result; choosing it for the release-control decision would leave the underlying issue visible: unexpected quotes in customer text cause generated JSON to become invalid.

B:

Representative input-output checks expose quality regressions before promotion; this explains its relevance to run repeatable regression checks against a fixed evaluation set, not the the release-control decision requirement to test malformed, adversarial, and boundary inputs before deployment after unexpected quotes in customer text cause generated JSON to become invalid. One handcrafted demo question is insufficient to test diverse user intents; choosing it for the release-control decision would leave the underlying issue visible: unexpected quotes in customer text cause generated JSON to become invalid.

C:

The scope of this alternative is different: component reuse reduces inconsistent transformation logic and supports per-step tracing; it supports publish reusable prompt-flow components with monitored I/O contracts, while the release-control decision needs test malformed, adversarial, and boundary inputs before deployment after unexpected quotes in customer text cause generated JSON to become invalid. Duplicating prompt chains in every app makes fixes and safety checks uneven; for the release-control decision, the unresolved requirement remains to test malformed, adversarial, and boundary inputs before deployment, as shown when unexpected quotes in customer text cause generated JSON to become invalid.

Question 671

An enterprise ERP runs behind a legacy HTTPS API and cannot be directly modified. A release proposal aims to connect GenAI workflows through a controlled adapter without database coupling. Which architecture decision fits the constraint?

  1. Build a Strands-based tool agent with external policy and execution limits.
  2. Publish source events through EventBridge and process them asynchronously.
  3. Use an authenticated API adapter to expose narrow ERP operations to the AI service.
  4. Use EventBridge rules to invoke a dedicated summary workflow.
  5. Partition the RAG architecture by residency domain and enforce region-aware routing.

Explanation

Correct Answer

C:

An integration layer translates protocol and policy without granting the model raw database authority; it directly supports the architectural objective to connect GenAI workflows through a controlled adapter without database coupling. Direct database credentials inside prompts are insecure and cannot enforce transactions; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: the framework coordinates tool calls, while independent handlers enforce identity and limits; it supports use an agent framework with controlled action execution and observability, while the architecture selection needs connect GenAI workflows through a controlled adapter without database coupling after generated orders bypass ERP validation by writing tables directly. The presence of agent reasoning traces does not automatically authorize actions; for the architecture selection, the unresolved requirement remains to connect GenAI workflows through a controlled adapter without database coupling, as shown when generated orders bypass ERP validation by writing tables directly.

B:

Events separate producers from consumers and allow independent scaling and failure handling; this explains its relevance to decouple ingestion bursts from interactive response handling, not the the architecture selection requirement to connect GenAI workflows through a controlled adapter without database coupling after generated orders bypass ERP validation by writing tables directly. Synchronous calls from the chat request path make users wait for unrelated ingestion work; choosing it for the architecture selection would leave the underlying issue visible: generated orders bypass ERP validation by writing tables directly.

D:

Event routing adds the AI consumer without requiring the order producer to know its implementation; this explains its relevance to trigger a generative customer summary without tightly coupling order code, not the the architecture selection requirement to connect GenAI workflows through a controlled adapter without database coupling after generated orders bypass ERP validation by writing tables directly. Adding synchronous FM inference into checkout makes checkout depend on model availability; choosing it for the architecture selection would leave the underlying issue visible: generated orders bypass ERP validation by writing tables directly.

E:

The scope of this alternative is different: data location and inference destination both matter when governing cross-border processing; it supports choose per-jurisdiction storage and processing paths before inference, while the architecture selection needs connect GenAI workflows through a controlled adapter without database coupling after generated orders bypass ERP validation by writing tables directly. Replicating all vector indexes into one region may violate source residency rules; for the architecture selection, the unresolved requirement remains to connect GenAI workflows through a controlled adapter without database coupling, as shown when generated orders bypass ERP validation by writing tables directly.

Question 672

A reply passes automatic checks but subject-matter reviewers flag a dangerous omission. Investigators also establish that an enterprise needs to compare an FM's safety with human perception. Which implementation most directly addresses the cause?

  1. Use model evaluations plus human expert review for ambiguous high-risk outcomes.
  2. Use LLM-as-a-judge evaluations with reference labels and consistency checks.
  3. Stratify evaluation and annotation examples by complexity and risk.
  4. Build dashboards correlating quality scores, policy interventions, latency, and token spend.
  5. Use a multi-objective comparison on a fixed task distribution.

Explanation

Correct Answer

A:

Human judgment complements scalable automated scoring where nuance or policy interpretation matters; that explains the reported failure: a reply passes automatic checks but subject-matter reviewers flag a dangerous omission. Automatic fluency scores cannot settle complex regulatory appropriateness; a symptom-only workaround would not restore the requirement to combine automatic metrics and targeted human evaluation.

Incorrect Answers

B:

The scope of this alternative is different: rubric-based judging scales measurement when evaluated for bias and agreement; it supports define an explicit judge rubric and calibrate against human examples, while the reported failure and its causal repair needs combine automatic metrics and targeted human evaluation after a reply passes automatic checks but subject-matter reviewers flag a dangerous omission. A single unverified judge score is not ground truth; for the reported failure and its causal repair, the unresolved requirement remains to combine automatic metrics and targeted human evaluation, as shown when a reply passes automatic checks but subject-matter reviewers flag a dangerous omission.

C:

For work that needs to sample difficult and underrepresented cases for review, representative sampling prevents popular easy flows from hiding rare critical failures; the specific the reported failure and its causal repair instead requires combine automatic metrics and targeted human evaluation in light of a reply passes automatic checks but subject-matter reviewers flag a dangerous omission. Random convenience feedback can leave high-risk classes almost unseen; this is insufficient for the reported failure and its causal repair, given the evidence that a reply passes automatic checks but subject-matter reviewers flag a dangerous omission.

D:

For work that needs to combine evaluation and runtime signals into a governed observability view, a holistic view supports trade-off decisions instead of optimizing a single proxy metric; the specific the reported failure and its causal repair instead requires combine automatic metrics and targeted human evaluation in light of a reply passes automatic checks but subject-matter reviewers flag a dangerous omission. Optimizing only throughput may degrade factuality or increase harm; this is insufficient for the reported failure and its causal repair, given the evidence that a reply passes automatic checks but subject-matter reviewers flag a dangerous omission.

E:

The scope of this alternative is different: a technically strong model still fails if it misses a mandatory response-time or safety target; it supports evaluate quality, p95 latency, and cost jointly against acceptance thresholds, while the reported failure and its causal repair needs combine automatic metrics and targeted human evaluation after a reply passes automatic checks but subject-matter reviewers flag a dangerous omission. Ranking solely by benchmark accuracy hides operational disqualification; for the reported failure and its causal repair, the unresolved requirement remains to combine automatic metrics and targeted human evaluation, as shown when a reply passes automatic checks but subject-matter reviewers flag a dangerous omission.

Question 673

Several agent frameworks need to share one corporate retrieval API. A document pipeline must classify, extract, validate, and then summarize. The deployment has these independent requirements: (1) standardize transport and authorization independently of model internals; (2) coordinate multiple prompts with conditional processing stages. Which TWO implementation actions jointly cover the stated requirements? Choose TWO.

  1. Expose a scoped retrieval function or MCP-compatible tool contract.
  2. Use Amazon Bedrock Prompt Management with versioned prompt templates.
  3. Publish an authenticated, versioned vector-search API contract.
  4. Use Amazon Bedrock Flows or explicit workflow orchestration for multi-stage prompting.
  5. Filter by trusted attributes before vector or hybrid scoring.

Explanation

Correct Answers

C:

A stable interface centralizes filters, tracing, and error handling while different clients integrate; this fulfills standardize transport and authorization independently of model internals within a combined design that must also coordinate multiple prompts with conditional processing stages. Embedding DB credentials in each agent increases both coupling and privilege spread; the other required action(s) must additionally coordinate multiple prompts with conditional processing stages.

D:

Distinct steps allow validation and routing between model calls instead of one opaque long prompt; this fulfills coordinate multiple prompts with conditional processing stages within a combined design that must also standardize transport and authorization independently of model internals. A single free-form completion hides intermediate errors and cannot enforce deterministic gates; the other required action(s) must additionally standardize transport and authorization independently of model internals.

Incorrect Answers

A:

Typed query parameters and a controlled handler let the application validate and authorize retrieval requests; its proper focus is to offer retrieval as a typed tool with explicit input schema, rather than the combined requirements to standardize transport and authorization independently of model internals and coordinate multiple prompts with conditional processing stages. Unstructured free-form tool strings are difficult to validate or restrict; in this combined design needing standardize transport and authorization independently of model internals and coordinate multiple prompts with conditional processing stages, it does not directly meet the specified requirement to coordinate multiple prompts with conditional processing stages.

B:

Versioning creates a reviewable artifact with variables, allowing controlled rollout and rollback; its proper focus is to centralize parameterized prompts and promote immutable versions, rather than the combined requirements to standardize transport and authorization independently of model internals and coordinate multiple prompts with conditional processing stages. Copying prompt strings into application code hides drift between clients; in this combined design needing standardize transport and authorization independently of model internals and coordinate multiple prompts with conditional processing stages, it does not directly meet the specified requirement to coordinate multiple prompts with conditional processing stages.

E:

Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; its proper focus is to combine metadata prefilters with semantic ranking instead of relying on prompts, rather than the combined requirements to standardize transport and authorization independently of model internals and coordinate multiple prompts with conditional processing stages. The FM cannot reliably undo a retrieval query that included unauthorized content; in this combined design needing standardize transport and authorization independently of model internals and coordinate multiple prompts with conditional processing stages, it does not directly meet the specified requirement to coordinate multiple prompts with conditional processing stages.

Question 674

Users submit the same public FAQ question many times. A successful solution needs to avoid regenerating identical approved answers while respecting freshness. Which option is the most suitable design?

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

Explanation

Correct Answer

D:

A response cache bypasses redundant FM calls when identity, version, and validity conditions match; it directly supports the architectural objective to avoid regenerating identical approved answers while respecting freshness. An unkeyed global cache risks serving private answers to the wrong user; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: semantic matching can reduce repeated inference even when phrasing differs; it supports reuse answers for meaning-equivalent inputs with strong safeguards, while the architecture selection needs avoid regenerating identical approved answers while respecting freshness after the same public refund-policy answer is generated thousands of times per day. Overbroad similarity thresholds can return an answer for a materially different question; for the architecture selection, the unresolved requirement remains to avoid regenerating identical approved answers while respecting freshness, as shown when the same public refund-policy answer is generated thousands of times per day.

B:

The scope of this alternative is different: workload-aware scheduling protects tail latency under mixed sequence lengths; it supports schedule inference workloads to avoid head-of-line blocking, while the architecture selection needs avoid regenerating identical approved answers while respecting freshness after the same public refund-policy answer is generated thousands of times per day. A single strict FIFO queue can let long generations delay short requests; for the architecture selection, the unresolved requirement remains to avoid regenerating identical approved answers while respecting freshness, as shown when the same public refund-policy answer is generated thousands of times per day.

C:

Cache identity must reflect user visibility and the evidence used to create the answer; that is valuable when the goal is to prevent cross-tenant reuse even when the prompt text is identical, but the architecture selection instead depends on the ability to avoid regenerating identical approved answers while respecting freshness. Hashing only the question ignores who is permitted to see the response; it does not account for the condition in the architecture selection: the same public refund-policy answer is generated thousands of times per day.

Question 675

Production evidence: Unexpected quotes in customer text cause generated JSON to become invalid. The original design context was: A model is asked to return strict machine-readable data across tricky inputs. Which change prevents recurrence?

  1. Run prompt-injection and jailbreak evaluations against the full tool workflow.
  2. Compose modular prompt steps with explicit inputs, outputs, and failure handlers.
  3. Implement a clarification branch using deterministic workflow state.
  4. Execute structured-output and safety test cases in an automated prompt test workflow.

Explanation

Correct Answer

D:

Edge cases reveal schema failures, instruction conflicts, and unsafe fallbacks that normal examples miss; that explains the reported failure: unexpected quotes in customer text cause generated JSON to become invalid. Validating only the happy path leaves parser failure modes untested; a symptom-only workaround would not restore the requirement to test malformed, adversarial, and boundary inputs before deployment.

Incorrect Answers

A:

The scope of this alternative is different: testing realistic attacks surfaces gaps that benign user prompts and single-model demos miss; it supports measure resistance using repeatable adversarial test suites, while the reported failure and its causal repair needs test malformed, adversarial, and boundary inputs before deployment after unexpected quotes in customer text cause generated JSON to become invalid. A policy document claiming safety is not a measured security result; for the reported failure and its causal repair, the unresolved requirement remains to test malformed, adversarial, and boundary inputs before deployment, as shown when unexpected quotes in customer text cause generated JSON to become invalid.

B:

Component reuse reduces inconsistent transformation logic and supports per-step tracing; this explains its relevance to publish reusable prompt-flow components with monitored I/O contracts, not the the reported failure and its causal repair requirement to test malformed, adversarial, and boundary inputs before deployment after unexpected quotes in customer text cause generated JSON to become invalid. Duplicating prompt chains in every app makes fixes and safety checks uneven; choosing it for the reported failure and its causal repair would leave the underlying issue visible: unexpected quotes in customer text cause generated JSON to become invalid.

C:

Explicit state transitions prevent the application from guessing mandatory values; that is valuable when the goal is to pause and obtain clarification before invoking expensive downstream tools, but the reported failure and its causal repair instead depends on the ability to test malformed, adversarial, and boundary inputs before deployment. Increasing temperature makes missing identifiers less reliable, not more available; it does not account for the condition in the reported failure and its causal repair: unexpected quotes in customer text cause generated JSON to become invalid.

Question 676

Encrypting all fields in transit does not justify sending unnecessary personal data. An architecture reviewer must still ensure the application can minimize prompt fields based on business need and document policy. What recommendation is justified?

  1. Implement identity-policy and network controls alongside document-level retrieval checks.
  2. Apply schema-based minimization before retrieval and inference.
  3. Use evidence verification and policy-based output review with human escalation.
  4. Tokenize person-level fields while keeping the re-identification map in a protected store.

Explanation

Correct Answer

B:

Sending only task-required fields reduces privacy exposure and token usage; this is the behavior to validate in a release review concerned with minimize prompt fields based on business need and document policy. Encrypting all fields in transit does not justify sending unnecessary personal data; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

For work that needs to separate IAM authorizations, endpoint policy, and data filtering responsibilities, the three layers serve different purposes: permitted API actions, permitted network paths, and permitted content; the specific the release-control decision instead requires minimize prompt fields based on business need and document policy in light of a classification prompt includes full addresses despite needing only postal regions. Granting VPC endpoint access does not confer document-level authorization; this is insufficient for the release-control decision, given the evidence that a classification prompt includes full addresses despite needing only postal regions.

C:

For work that needs to gate high-risk advice on evidence and policy review rather than fluency, a policy decision checks whether an answer is supported and within allowed scope; the specific the release-control decision instead requires minimize prompt fields based on business need and document policy in light of a classification prompt includes full addresses despite needing only postal regions. Lower temperature may reduce variability but cannot certify clinical correctness; this is insufficient for the release-control decision, given the evidence that a classification prompt includes full addresses despite needing only postal regions.

D:

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 minimize prompt fields based on business need and document policy after a classification prompt includes full addresses despite needing only postal regions. Hashing alone can remain reversible by guessing when the input space is small; for the release-control decision, the unresolved requirement remains to minimize prompt fields based on business need and document policy, as shown when a classification prompt includes full addresses despite needing only postal regions.

Question 677

An engineering knowledge base combines public and confidential documentation. The engineering team is required to partition retrieval by classification tags derived from trusted identity. What should be built first?

  1. Create an authenticated ingestion adapter that records document IDs and source ACL metadata.
  2. Combine source authorization checks with retrieval metadata filters.
  3. Trigger targeted removal or resynchronization when authoritative documents are deleted.
  4. Use document sensitivity labels as indexed filterable metadata and enforce access upstream.

Explanation

Correct Answer

D:

Label-aware queries exclude disallowed chunks rather than asking the model to ignore them; it directly supports the architectural objective to partition retrieval by classification tags derived from trusted identity. Generation-side disclaimers do not prevent confidential text entering context; that boundary is important when selecting the implementation.

Incorrect Answers

A:

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 architecture selection requirement to partition retrieval by classification tags derived from trusted identity after a public-facing answer includes quotations from a restricted design review. A broad anonymous crawler can violate source permissions and lose lineage; choosing it for the architecture selection would leave the underlying issue visible: a public-facing answer includes quotations from a restricted design review.

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 architecture selection requirement to partition retrieval by classification tags derived from trusted identity after a public-facing answer includes quotations from a restricted design review. An FM refusal after retrieval is too late to protect raw context exposure; choosing it for the architecture selection would leave the underlying issue visible: a public-facing answer includes quotations from a restricted design review.

C:

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 architecture selection instead depends on the ability to partition retrieval by classification tags derived from trusted identity. A retention policy on the raw bucket does not automatically eliminate an existing vector entry; it does not account for the condition in the architecture selection: a public-facing answer includes quotations from a restricted design review.

Question 678

A code-review note warns: Uniform model selection cannot exploit the workload's complexity distribution. The business requirement is to control spend without sacrificing difficult-case quality. Which mechanism should replace the shortcut?

  1. Enforce queue-based concurrency limits and bounded admission control.
  2. Use a smaller default model with confidence or complexity-based escalation.
  3. Use SageMaker AI real-time inference with a compatible custom model container.
  4. Evaluate Amazon Bedrock Provisioned Throughput for the selected supported model.
  5. Build a common service contract with adapters for Bedrock and SageMaker AI endpoints.

Explanation

Correct Answer

B:

A cascade pays premium inference costs for the minority of requests requiring deeper capability; this is the behavior to validate in a release review concerned with control spend without sacrificing difficult-case quality. Uniform model selection cannot exploit the workload's complexity distribution; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

The scope of this alternative is different: concurrency gates prevent sudden bursts from overwhelming model quotas; it supports control concurrency and smooth demand before it reaches the FM, while the release-control decision needs control spend without sacrificing difficult-case quality after the application's marginal cost remains high despite most queries being routine. Unrestricted retries increase load rather than creating capacity; for the release-control decision, the unresolved requirement remains to control spend without sacrificing difficult-case quality, as shown when the application's marginal cost remains high despite most queries being routine.

C:

For work that needs to deploy and operate a controlled custom inference endpoint, managed hosting of a custom container provides deployment control at the cost of endpoint operations; the specific the release-control decision instead requires control spend without sacrificing difficult-case quality in light of the application's marginal cost remains high despite most queries being routine. A Bedrock model ID does not automatically expose arbitrary custom containers; this is insufficient for the release-control decision, given the evidence that the application's marginal cost remains high despite most queries being routine.

D:

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 release-control decision 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 release-control decision would leave the underlying issue visible: the application's marginal cost remains high despite most queries being routine.

E:

An application-level interface can translate payloads and propagate tracing while maintaining backend independence; that is valuable when the goal is to separate inference abstraction from provider-specific deployment details, but the release-control decision instead depends on the ability to control spend without sacrificing difficult-case quality. Trying to send identical provider-specific headers to every endpoint will break interoperability; it does not account for the condition in the release-control decision: the application's marginal cost remains high despite most queries being routine.

Question 679

Metadata labels change more often than the underlying files. A release proposal aims to refresh classification attributes without needlessly regenerating document embeddings. Which architecture decision fits the constraint?

  1. Benchmark supported embedding models on a multilingual query-document relevance set.
  2. Use document sensitivity labels as indexed filterable metadata and enforce access upstream.
  3. Run an Amazon Bedrock Knowledge Bases data-source synchronization job.
  4. Use a metadata-aware update path that preserves embeddings when the integration supports it.

Explanation

Correct Answer

D:

Separating metadata refresh from content re-embedding can save model calls for unchanged text; it directly supports the architectural objective to refresh classification attributes without needlessly regenerating document embeddings. Blindly reindexing every file for a label change spends tokens and compute; that boundary is important when selecting the implementation.

Incorrect Answers

A:

For work that needs to select embeddings based on language fit and retrieval measurements, recall and ranking quality on target languages matter more than generic generation benchmarks; the specific the architecture selection instead requires refresh classification attributes without needlessly regenerating document embeddings in light of a simple ownership update triggers expensive reprocessing of an entire repository. An English-only evaluation cannot establish cross-language semantic matching; this is insufficient for the architecture selection, given the evidence that a simple ownership update triggers expensive reprocessing of an entire repository.

B:

Label-aware queries exclude disallowed chunks rather than asking the model to ignore them; this explains its relevance to partition retrieval by classification tags derived from trusted identity, not the the architecture selection requirement to refresh classification attributes without needlessly regenerating document embeddings after a simple ownership update triggers expensive reprocessing of an entire repository. Generation-side disclaimers do not prevent confidential text entering context; choosing it for the architecture selection would leave the underlying issue visible: a simple ownership update triggers expensive reprocessing of an entire repository.

C:

The scope of this alternative is different: sync processes new, changed, and removed sources and updates corresponding vector content; it supports make the indexed corpus reflect additions, updates, and deletions, while the architecture selection needs refresh classification attributes without needlessly regenerating document embeddings after a simple ownership update triggers expensive reprocessing of an entire repository. Uploading files to storage does not itself guarantee the index is refreshed; for the architecture selection, the unresolved requirement remains to refresh classification attributes without needlessly regenerating document embeddings, as shown when a simple ownership update triggers expensive reprocessing of an entire repository.

Question 680

A benign user question causes the model to emit disallowed content. Investigators also establish that a generated summary must not include prohibited sensitive terms. Which implementation most directly addresses the cause?

  1. Run server-side output scanning and blocking for defined secret formats.
  2. Implement a defense-in-depth moderation pipeline at distinct trust boundaries.
  3. Enforce output moderation with Bedrock Guardrails and an application release gate.
  4. Apply a Bedrock Guardrails sensitive-information filter with independent output validation.

Explanation

Correct Answer

C:

Response-side checks can intercept material produced despite safe-looking user input; that explains the reported failure: a benign user question causes the model to emit disallowed content. Input-only filtering cannot inspect harmful text newly created by the model; a symptom-only workaround would not restore the requirement to screen the response after generation before delivering it.

Incorrect Answers

A:

Post-processing can enforce exact patterns for credentials that a probabilistic model may miss; this explains its relevance to apply deterministic secret-pattern detection before sending responses, not the the reported failure and its causal repair requirement to screen the response after generation before delivering it after a benign user question causes the model to emit disallowed content. A safety classifier alone may not cover organization-specific token structures; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a benign user question causes the model to emit disallowed content.

B:

The scope of this alternative is different: independent stages catch different failure modes: unsafe inputs, model behavior, and unsafe final outputs; it supports layer data classification, input safety, FM guardrails, and output checks, while the reported failure and its causal repair needs screen the response after generation before delivering it after a benign user question causes the model to emit disallowed content. A single prompt instruction cannot replace independent enforcement points; for the reported failure and its causal repair, the unresolved requirement remains to screen the response after generation before delivering it, as shown when a benign user question causes the model to emit disallowed content.

D:

Output filters reduce accidental disclosure of detected sensitive data types; that is valuable when the goal is to block configured PII patterns in generated output, but the reported failure and its causal repair instead depends on the ability to screen the response after generation before delivering it. Filtering final answers alone cannot replace source access restrictions; it does not account for the condition in the reported failure and its causal repair: a benign user question causes the model to emit disallowed content.

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