Question 370

A new model version has uncertain production quality. A release proposal aims to release incrementally with measurable rollback conditions. Which architecture decision fits the constraint?

  1. Use a versioned enterprise GenAI gateway with shared policy enforcement.
  2. Coordinate bounded specialist tasks with a stateful orchestration framework.
  3. Publish source events through EventBridge and process them asynchronously.
  4. Canary-route a small cohort through the deployment pipeline and compare quality signals.

Explanation

Correct Answer

D:

A limited release contains risk and allows metrics to trigger rollback before broad exposure; it directly supports the architectural objective to release incrementally with measurable rollback conditions. Replacing the model globally makes attribution and rollback harder; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: a gateway can standardize access, request tracking, and model routing across clients; it supports centralize authentication, rate limiting, and telemetry at one AI service boundary, while the architecture selection needs release incrementally with measurable rollback conditions after a regression spreads to all customers immediately after rollout. Allowing every client to bypass the gateway makes policies inconsistent; for the architecture selection, the unresolved requirement remains to release incrementally with measurable rollback conditions, as shown when a regression spreads to all customers immediately after rollout.

B:

Task delegation and aggregation make dependencies and timeout behavior testable; that is valuable when the goal is to use explicit orchestration for specialist agents and merge conditions, but the architecture selection instead depends on the ability to release incrementally with measurable rollback conditions. Sending one open-ended prompt cannot guarantee each specialist completed its role; it does not account for the condition in the architecture selection: a regression spreads to all customers immediately after rollout.

C:

The scope of this alternative is different: events separate producers from consumers and allow independent scaling and failure handling; it supports decouple ingestion bursts from interactive response handling, while the architecture selection needs release incrementally with measurable rollback conditions after a regression spreads to all customers immediately after rollout. Synchronous calls from the chat request path make users wait for unrelated ingestion work; for the architecture selection, the unresolved requirement remains to release incrementally with measurable rollback conditions, as shown when a regression spreads to all customers immediately after rollout.

Question 371

A code-review note warns: A single free-form completion hides intermediate errors and cannot enforce deterministic gates. The business requirement is to coordinate multiple prompts with conditional processing stages. Which mechanism should replace the shortcut?

  1. Use Amazon Bedrock Flows or explicit workflow orchestration for multi-stage prompting.
  2. Compose modular prompt steps with explicit inputs, outputs, and failure handlers.
  3. Use Amazon Bedrock Prompt Management with versioned prompt templates.
  4. Add step-level logs and X-Ray spans around prompt and tool transitions.

Explanation

Correct Answer

A:

Distinct steps allow validation and routing between model calls instead of one opaque long prompt; this is the behavior to validate in a release review concerned with coordinate multiple prompts with conditional processing stages. A single free-form completion hides intermediate errors and cannot enforce deterministic gates; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

B:

For work that needs to publish reusable prompt-flow components with monitored I/O contracts, component reuse reduces inconsistent transformation logic and supports per-step tracing; the specific the release-control decision instead requires coordinate multiple prompts with conditional processing stages in light of the summarizer publishes output even though extracted fields failed validation. Duplicating prompt chains in every app makes fixes and safety checks uneven; this is insufficient for the release-control decision, given the evidence that the summarizer publishes output even though extracted fields failed validation.

C:

For work that needs to centralize parameterized prompts and promote immutable versions, versioning creates a reviewable artifact with variables, allowing controlled rollout and rollback; the specific the release-control decision instead requires coordinate multiple prompts with conditional processing stages in light of the summarizer publishes output even though extracted fields failed validation. Copying prompt strings into application code hides drift between clients; this is insufficient for the release-control decision, given the evidence that the summarizer publishes output even though extracted fields failed validation.

D:

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 release-control decision needs coordinate multiple prompts with conditional processing stages after the summarizer publishes output even though extracted fields failed validation. A final answer log alone cannot reconstruct lost intermediate fields; for the release-control decision, the unresolved requirement remains to coordinate multiple prompts with conditional processing stages, as shown when the summarizer publishes output even though extracted fields failed validation.

Question 372

A vector store returns increasingly stale or irrelevant hits. The incident report says: The search cluster is healthy yet answers use month-old policy documents. Which specific design change best corrects the failure?

  1. Instrument each tool call and aggregate failures per tool and step.
  2. Combine vector-index health metrics with source-sync freshness audits.
  3. Use Amazon Bedrock model invocation logging where supported and restrict log access.
  4. Use paired retrieval tests with relevance labels and p95 query timing.

Explanation

Correct Answer

B:

Operational health includes current content and quality, not just cluster availability; that explains the reported failure: the search cluster is healthy yet answers use month-old policy documents. Green storage health does not mean embeddings match updated documents; a symptom-only workaround would not restore the requirement to monitor index freshness, recall checks, and retrieval latency.

Incorrect Answers

A:

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 monitor index freshness, recall checks, and retrieval latency after the search cluster is healthy yet answers use month-old policy documents. Final-response success alone can hide repeated expensive intermediate failures; for the reported failure and its causal repair, the unresolved requirement remains to monitor index freshness, recall checks, and retrieval latency, as shown when the search cluster is healthy yet answers use month-old policy documents.

C:

Invocation details can support forensic analysis while requiring explicit data handling controls; this explains its relevance to enable protected model invocation logging with a privacy-conscious retention policy, not the the reported failure and its causal repair requirement to monitor index freshness, recall checks, and retrieval latency after the search cluster is healthy yet answers use month-old policy documents. CloudTrail control-plane events do not by themselves capture answer text for quality review; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the search cluster is healthy yet answers use month-old policy documents.

D:

The scope of this alternative is different: search tuning is a quality-performance tradeoff, not a single latency metric; it supports benchmark answer evidence quality and query tail latency together, while the reported failure and its causal repair needs monitor index freshness, recall checks, and retrieval latency after the search cluster is healthy yet answers use month-old policy documents. A faster index can be worse if approximate search loses key passages; for the reported failure and its causal repair, the unresolved requirement remains to monitor index freshness, recall checks, and retrieval latency, as shown when the search cluster is healthy yet answers use month-old policy documents.

Question 373

A training-free RAG ingestion process receives inconsistent product metadata. After deployment, search results cite items with missing identifiers or impossible effective dates. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Run deterministic normalization with Lambda and store original-source references.
  2. Apply AWS Glue Data Quality rules and quarantine invalid source records.
  3. Build properly structured Bedrock Converse messages rather than concatenating ad hoc JSON.
  4. Batch embedding requests where supported and throttle workers to quotas.

Explanation

Correct Answer

B:

Quality rules can check required fields, ranges, and patterns before downstream indexing uses the data; that explains the reported failure: search results cite items with missing identifiers or impossible effective dates. An embedding model can encode malformed text but cannot repair authoritative source accuracy; a symptom-only workaround would not restore the requirement to reject malformed rows before embedding and indexing.

Incorrect Answers

A:

Stable normalization reduces accidental embedding variation while preserving provenance for audit; this explains its relevance to normalize source text without losing cited meaning before indexing, not the the reported failure and its causal repair requirement to reject malformed rows before embedding and indexing after search results cite items with missing identifiers or impossible effective dates. Generative rewriting can alter a legal date or obligation if used without verification; choosing it for the reported failure and its causal repair would leave the underlying issue visible: search results cite items with missing identifiers or impossible effective dates.

C:

For work that needs to serialize each turn as a valid message with supported roles and content blocks, the Converse request schema distinguishes roles, message content, system instructions, and inference options; the specific the reported failure and its causal repair instead requires reject malformed rows before embedding and indexing in light of search results cite items with missing identifiers or impossible effective dates. A plain JSON-looking string is not equivalent to the required typed request structure; this is insufficient for the reported failure and its causal repair, given the evidence that search results cite items with missing identifiers or impossible effective dates.

D:

Rate-aware batching reduces per-document overhead while respecting provider limits; that is valuable when the goal is to schedule controlled embedding batches with bounded concurrency, but the reported failure and its causal repair instead depends on the ability to reject malformed rows before embedding and indexing. Unbounded parallelism turns a backlog into repeated throttling failures; it does not account for the condition in the reported failure and its causal repair: search results cite items with missing identifiers or impossible effective dates.

Question 374

Production evidence: An answer quotes a nonexistent paragraph number from an otherwise valid source. The original design context was: A policy assistant confidently cites fabricated sections. Which change prevents recurrence?

  1. Validate generated JSON against a strict application-side schema.
  2. Track retrieval provenance from the source object to the final citation.
  3. Use source-grounded RAG with a post-generation citation consistency check.
  4. Separate retrieved content from trusted instructions and deny tool authority to source text.

Explanation

Correct Answer

C:

Retrieval provides attributable evidence; the checker rejects claims unsupported by the cited passage; that explains the reported failure: an answer quotes a nonexistent paragraph number from an otherwise valid source. A plausible citation-looking string is not proof that the document says the claim; a symptom-only workaround would not restore the requirement to bind the answer to retrieved evidence and inspect citation support.

Incorrect Answers

A:

The scope of this alternative is different: machine validation catches missing keys and invalid types independently of model confidence; it supports reject responses that violate the agreed schema before automation, while the reported failure and its causal repair needs bind the answer to retrieved evidence and inspect citation support after an answer quotes a nonexistent paragraph number from an otherwise valid source. A JSON-shaped response is not guaranteed to satisfy downstream semantic rules; for the reported failure and its causal repair, the unresolved requirement remains to bind the answer to retrieved evidence and inspect citation support, as shown when an answer quotes a nonexistent paragraph number from an otherwise valid source.

B:

The scope of this alternative is different: stable source IDs and spans allow reviewers to verify claimed evidence; it supports carry document identifiers and chunk locations into the generated response, while the reported failure and its causal repair needs bind the answer to retrieved evidence and inspect citation support after an answer quotes a nonexistent paragraph number from an otherwise valid source. A generated footnote without a backing retrieval record can be fabricated; for the reported failure and its causal repair, the unresolved requirement remains to bind the answer to retrieved evidence and inspect citation support, as shown when an answer quotes a nonexistent paragraph number from an otherwise valid source.

D:

Trust boundaries prevent source passages from redefining policies or initiating privileged calls; this explains its relevance to treat retrieved document text as untrusted evidence, not executable authority, not the the reported failure and its causal repair requirement to bind the answer to retrieved evidence and inspect citation support after an answer quotes a nonexistent paragraph number from an otherwise valid source. RAG improves facts but does not make arbitrary retrieved text safe instructions; choosing it for the reported failure and its causal repair would leave the underlying issue visible: an answer quotes a nonexistent paragraph number from an otherwise valid source.

Question 375

A developer needs help understanding and refactoring an AWS SDK integration. After deployment, a copied SDK example uses incorrect resource policies and fails integration tests. Engineers need a cause-level fix, not a change in presentation. What should they implement?

  1. Use Amazon Q Developer for suggestions and validate output in CI.
  2. Combine coding assistance with automated IaC validation gates.
  3. Correlate invocation traces and structured tool logs with request IDs.
  4. Run output-diff and groundedness regression evaluations across versions.

Explanation

Correct Answer

A:

AI development assistance can generate candidate code, but normal review and testing establish fitness; that explains the reported failure: a copied SDK example uses incorrect resource policies and fails integration tests. Suggested source code should not be trusted as already deployed or secure; a symptom-only workaround would not restore the requirement to accelerate code exploration while retaining code review and tests.

Incorrect Answers

B:

The scope of this alternative is different: generation increases speed while compilation, security scans, and change review catch defects; it supports generate an IaC starting point then subject it to linting and policy tests, while the reported failure and its causal repair needs accelerate code exploration while retaining code review and tests after a copied SDK example uses incorrect resource policies and fails integration tests. A conversational explanation cannot replace policy enforcement; for the reported failure and its causal repair, the unresolved requirement remains to accelerate code exploration while retaining code review and tests, as shown when a copied SDK example uses incorrect resource policies and fails integration tests.

C:

For work that needs to find failed tool events across a complex runtime session, event-level traces reveal which reasoning step formed a bad function argument and where validation failed; the specific the reported failure and its causal repair instead requires accelerate code exploration while retaining code review and tests in light of a copied SDK example uses incorrect resource policies and fails integration tests. Aggregate model success percentages obscure the failing tool request; this is insufficient for the reported failure and its causal repair, given the evidence that a copied SDK example uses incorrect resource policies and fails integration tests.

D:

For work that needs to compare responses on a stable golden dataset and review divergences, controlled test inputs expose model-specific behavior changes separately from traffic variation; the specific the reported failure and its causal repair instead requires accelerate code exploration while retaining code review and tests in light of a copied SDK example uses incorrect resource policies and fails integration tests. A successful API status code proves only that a response was returned; this is insufficient for the reported failure and its causal repair, given the evidence that a copied SDK example uses incorrect resource policies and fails integration tests.

Question 376

The bot claims an order was canceled although the cancellation API failed. Investigators also establish that an agent executes a complex customer-service workflow across several tools. Which implementation most directly addresses the cause?

  1. Track verified task completion and tool side-effect correctness.
  2. Record tool calls per successful task and detect repeated action patterns.
  3. Use staged agent evaluations that check delegation and aggregation results.
  4. Create end-to-end CloudWatch dashboards with request and business KPIs.

Explanation

Correct Answer

A:

An agent must finish intended actions within policy, not merely produce a convincing narrative; that explains the reported failure: the bot claims an order was canceled although the cancellation API failed. Final-response fluency can conceal failed tool executions; a symptom-only workaround would not restore the requirement to measure successful end-to-end task completion, not only coherent text.

Incorrect Answers

B:

Efficiency metrics reveal unproductive loops that raise cost and risk; this explains its relevance to measure tool efficiency and stopping correctness, not the the reported failure and its causal repair requirement to measure successful end-to-end task completion, not only coherent text after the bot claims an order was canceled although the cancellation API failed. High model response quality does not imply economical orchestration; choosing it for the reported failure and its causal repair would leave the underlying issue visible: the bot claims an order was canceled although the cancellation API failed.

C:

For work that needs to evaluate handoff completion and ownership errors with trace-based tests, intermediate trace checks find tasks skipped or duplicated across specialists; the specific the reported failure and its causal repair instead requires measure successful end-to-end task completion, not only coherent text in light of the bot claims an order was canceled although the cancellation API failed. Judging only final wording may miss an unapproved side effect; this is insufficient for the reported failure and its causal repair, given the evidence that the bot claims an order was canceled although the cancellation API failed.

D:

For work that needs to correlate operational metrics with task completion and conversion, latency, error rate, completion quality, and user outcomes together describe system health; the specific the reported failure and its causal repair instead requires measure successful end-to-end task completion, not only coherent text in light of the bot claims an order was canceled although the cancellation API failed. Infrastructure CPU graphs alone do not show customer value; this is insufficient for the reported failure and its causal repair, given the evidence that the bot claims an order was canceled although the cancellation API failed.

Question 377

A code-review note warns: A model-specific raw payload should not be assumed to work for every provider. The business requirement is to standardize message exchange across model families. Which mechanism should replace the shortcut?

  1. Use Bedrock Converse with a provider adapter for model-specific parameters.
  2. Instrument end-to-end traces with AWS X-Ray and correlated request identifiers.
  3. Use ConverseStream or a supported streaming Bedrock operation with an appropriate client transport.
  4. Enforce residency eligibility before dynamic model selection.

Explanation

Correct Answer

A:

Converse presents a common messages API for supported models, with extensibility for unique fields; this is the behavior to validate in a release review concerned with standardize message exchange across model families. A model-specific raw payload should not be assumed to work for every provider; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

B:

For work that needs to identify slow spans across gateway, retrieval, and model calls, distributed tracing separates retrieval and tool overhead from model generation latency; the specific the release-control decision instead requires standardize message exchange across model families in light of the application fails after swapping models because request fields differ. CloudWatch aggregate invocation counts alone cannot locate an individual slow hop; this is insufficient for the release-control decision, given the evidence that the application fails after swapping models because request fields differ.

C:

Streaming sends response increments, improving perceived latency without changing total generated work; this explains its relevance to deliver incremental tokens through a supported streaming inference API, not the the release-control decision requirement to standardize message exchange across model families after the application fails after swapping models because request fields differ. A synchronous InvokeModel response provides output after completion rather than incremental display; choosing it for the release-control decision would leave the underlying issue visible: the application fails after swapping models because request fields differ.

D:

A policy gate removes prohibited destinations, leaving cost optimization within the allowed set; this explains its relevance to filter candidate model routes by permitted destination before optimizing cost, not the the release-control decision requirement to standardize message exchange across model families after the application fails after swapping models because request fields differ. The lowest-priced model is not eligible if its processing path violates a contract; choosing it for the release-control decision would leave the underlying issue visible: the application fails after swapping models because request fields differ.

Question 378

An executive dashboard displays generated forecasting narratives. The engineering team is required to avoid presenting uncertain statements as deterministic facts. What should be built first?

  1. Apply groundedness evaluation with an evidence-threshold fallback.
  2. Maintain deployment-linked model cards and policy attestations.
  3. Use versioned prompts and matched evaluation cohorts with documented scoring.
  4. Report confidence proxies, cited inputs, and caveats matched to evaluation results.

Explanation

Correct Answer

D:

Calibrated communication conveys reliability limits and source coverage; it directly supports the architectural objective to avoid presenting uncertain statements as deterministic facts. A confident tone setting does not measure uncertainty; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: a groundedness check assesses whether context supports the proposed claim, allowing refusal or review; it supports compare claims against the retrieved context and abstain when unsupported, while the architecture selection needs avoid presenting uncertain statements as deterministic facts after stakeholders treat weakly supported predictions as guaranteed outcomes. A high semantic similarity score alone does not establish entailment of each statement; for the architecture selection, the unresolved requirement remains to avoid presenting uncertain statements as deterministic facts, as shown when stakeholders treat weakly supported predictions as guaranteed outcomes.

B:

The scope of this alternative is different: written limits and tests make scope decisions reviewable across model updates; it supports connect deployed versions to model limitations and permitted-purpose policy, while the architecture selection needs avoid presenting uncertain statements as deterministic facts after stakeholders treat weakly supported predictions as guaranteed outcomes. A developer's informal note does not bind a runtime to the approved scope; for the architecture selection, the unresolved requirement remains to avoid presenting uncertain statements as deterministic facts, as shown when stakeholders treat weakly supported predictions as guaranteed outcomes.

C:

Comparable inputs isolate prompt changes from sample-composition differences; that is valuable when the goal is to run controlled A/B prompt evaluations on matched examples, but the architecture selection instead depends on the ability to avoid presenting uncertain statements as deterministic facts. Comparing unrelated traffic groups confounds prompt effect with user mix; it does not account for the condition in the architecture selection: stakeholders treat weakly supported predictions as guaranteed outcomes.

Question 379

An operations team needs to detect a steady decline in ingestion completeness. A release proposal aims to monitor quality-rule failures as a time series with alerts. Which architecture decision fits the constraint?

  1. Apply AWS Glue Data Quality rules and quarantine invalid source records.
  2. Publish quality outcomes as CloudWatch metrics and alarm on breach rates.
  3. Batch embedding requests where supported and throttle workers to quotas.
  4. Validate required attributes with Lambda before accepting documents for indexing.

Explanation

Correct Answer

B:

Quality telemetry exposes regressions before they propagate into retrieval results; it directly supports the architectural objective to monitor quality-rule failures as a time series with alerts. One-off pipeline success status can hide partial invalid batches; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Quality rules can check required fields, ranges, and patterns before downstream indexing uses the data; that is valuable when the goal is to reject malformed rows before embedding and indexing, but the architecture selection instead depends on the ability to monitor quality-rule failures as a time series with alerts. An embedding model can encode malformed text but cannot repair authoritative source accuracy; it does not account for the condition in the architecture selection: daily ingestion jobs pass while a rising share of documents lacks required metadata.

C:

Rate-aware batching reduces per-document overhead while respecting provider limits; that is valuable when the goal is to schedule controlled embedding batches with bounded concurrency, but the architecture selection instead depends on the ability to monitor quality-rule failures as a time series with alerts. Unbounded parallelism turns a backlog into repeated throttling failures; it does not account for the condition in the architecture selection: daily ingestion jobs pass while a rising share of documents lacks required metadata.

D:

Early validation avoids making unclassified or untraceable content searchable; this explains its relevance to enforce schema rules at the ingestion boundary rather than in generation, not the the architecture selection requirement to monitor quality-rule failures as a time series with alerts after daily ingestion jobs pass while a rising share of documents lacks required metadata. Prompt instructions do not create missing ownership metadata in the source system; choosing it for the architecture selection would leave the underlying issue visible: daily ingestion jobs pass while a rising share of documents lacks required metadata.

Question 380

A retrieval upgrade makes some important documents disappear from results. The architecture must measure recall using known relevant documents. Which implementation best meets that requirement?

  1. Evaluate retrieval precision at k against labeled source passages.
  2. Track verified task completion and tool side-effect correctness.
  3. Track recall at k on a representative retrieval benchmark.
  4. Diff prompt templates and test quality regressions on a fixed dataset.

Explanation

Correct Answer

C:

Recall reveals missing evidence that generation cannot cite if never retrieved; it directly supports the architectural objective to measure recall using known relevant documents. Improved precision can come from dropping too many useful results; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Precision quantifies ranking noise that wastes context and can distract the model; this explains its relevance to measure how many retrieved hits are relevant among top-k results, not the the architecture selection requirement to measure recall using known relevant documents after answers omit required exceptions because the relevant clause never reaches context. Final-answer accuracy alone does not expose redundant retrieval; choosing it for the architecture selection would leave the underlying issue visible: answers omit required exceptions because the relevant clause never reaches context.

B:

An agent must finish intended actions within policy, not merely produce a convincing narrative; that is valuable when the goal is to measure successful end-to-end task completion, not only coherent text, but the architecture selection instead depends on the ability to measure recall using known relevant documents. Final-response fluency can conceal failed tool executions; it does not account for the condition in the architecture selection: answers omit required exceptions because the relevant clause never reaches context.

D:

Holding test cases constant isolates instruction changes from input distribution shifts; that is valuable when the goal is to compare exact prompt versions using controlled evaluation inputs, but the architecture selection instead depends on the ability to measure recall using known relevant documents. Changing model and prompt simultaneously makes attribution harder; it does not account for the condition in the architecture selection: answers omit required exceptions because the relevant clause never reaches context.

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