Question 420

Geographic or global profile selection must respect contractual processing boundaries. An architecture reviewer must still ensure the application can maintain service continuity across supported Bedrock capacity pools. What recommendation is justified?

  1. Evaluate Amazon Bedrock Provisioned Throughput for the selected supported model.
  2. Use an appropriate cross-Region inference profile and bounded application retries.
  3. Implement circuit-breaking and controlled fallback to a vetted alternate model.
  4. Choose a geographic Bedrock cross-Region inference profile and verify its destination Regions.

Explanation

Correct Answer

B:

A Bedrock inference profile routes supported calls across allowed destination Regions, helping smooth regional capacity pressure; this is the behavior to validate in a release review concerned with maintain service continuity across supported Bedrock capacity pools. Geographic or global profile selection must respect contractual processing boundaries; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

The scope of this alternative is different: provisioned capacity is designed for workloads needing committed throughput rather than purely bursty on-demand access; it supports reserve supported inference capacity for steady traffic, while the release-control decision needs maintain service continuity across supported Bedrock capacity pools after a traffic burst produces throttling even though unused model capacity exists elsewhere. Cross-Region inference profiles do not become provisioned capacity reservations; for the release-control decision, the unresolved requirement remains to maintain service continuity across supported Bedrock capacity pools, as shown when a traffic burst produces throttling even though unused model capacity exists elsewhere.

C:

Opening a circuit stops futile calls to a failing dependency while a documented fallback preserves partial service; that is valuable when the goal is to avoid indefinite retries and offer a preapproved fallback path, but the release-control decision instead depends on the ability to maintain service continuity across supported Bedrock capacity pools. Retrying every request without a limit amplifies failures and latency; it does not account for the condition in the release-control decision: a traffic burst produces throttling even though unused model capacity exists elsewhere.

D:

The scope of this alternative is different: geographic profiles constrain request processing to their supported region set, unlike globally routed profiles; it supports gain cross-Region capacity without routing protected prompts worldwide, while the release-control decision needs maintain service continuity across supported Bedrock capacity pools after a traffic burst produces throttling even though unused model capacity exists elsewhere. A broad global routing profile can violate a location-specific processing restriction; for the release-control decision, the unresolved requirement remains to maintain service continuity across supported Bedrock capacity pools, as shown when a traffic burst produces throttling even though unused model capacity exists elsewhere.

Question 421

An application occasionally returns incorrect tool parameters. The engineering team is required to find failed tool events across a complex runtime session. What should be built first?

  1. Create structured trace records for each model and tool invocation.
  2. Build a Strands-based tool agent with external policy and execution limits.
  3. Add idempotency checks and durable outcome records to tool integrations.
  4. Add distributed X-Ray tracing to the application integration path.
  5. Correlate invocation traces and structured tool logs with request IDs.

Explanation

Correct Answer

E:

Event-level traces reveal which reasoning step formed a bad function argument and where validation failed; it directly supports the architectural objective to find failed tool events across a complex runtime session. Aggregate model success percentages obscure the failing tool request; that boundary is important when selecting the implementation.

Incorrect Answers

A:

For work that needs to trace correlated agent and tool spans per user request, per-step observability distinguishes orchestration overhead from model response time; the specific the architecture selection instead requires find failed tool events across a complex runtime session in light of a tool handler reports a schema error but no one can trace the originating prompt. One log line per final answer cannot expose intermediate retries; this is insufficient for the architecture selection, given the evidence that a tool handler reports a schema error but no one can trace the originating prompt.

B:

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 find failed tool events across a complex runtime session after a tool handler reports a schema error but no one can trace the originating prompt. The presence of agent reasoning traces does not automatically authorize actions; for the architecture selection, the unresolved requirement remains to find failed tool events across a complex runtime session, as shown when a tool handler reports a schema error but no one can trace the originating prompt.

C:

Duplicate-safe execution separates transport retries from unique business operations; this explains its relevance to associate requests with idempotency keys at state-changing handlers, not the the architecture selection requirement to find failed tool events across a complex runtime session after a tool handler reports a schema error but no one can trace the originating prompt. A network timeout does not prove the original mutation failed; choosing it for the architecture selection would leave the underlying issue visible: a tool handler reports a schema error but no one can trace the originating prompt.

D:

For work that needs to identify latency at each outbound call and tool boundary, correlated spans identify whether API validation, retrieval, tool execution, or inference dominates delay; the specific the architecture selection instead requires find failed tool events across a complex runtime session in light of a tool handler reports a schema error but no one can trace the originating prompt. A single total-response metric gives no localization of the bottleneck; this is insufficient for the architecture selection, given the evidence that a tool handler reports a schema error but no one can trace the originating prompt.

Question 422

A compliance review asks who updated an AI deployment configuration. A release proposal aims to capture AWS control-plane changes in an auditable event trail. Which architecture decision fits the constraint?

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

Explanation

Correct Answer

B:

CloudTrail records identity and control-plane events, complementing application-level inference traces; it directly supports the architectural objective to capture AWS control-plane changes in an auditable event trail. It is not a substitute for recording task-level answer quality and business decisions; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Release records join model, prompt, data, and guardrail revisions with validated test results; that is valuable when the goal is to require evidence-backed signoff before version promotion, but the architecture selection instead depends on the ability to capture AWS control-plane changes in an auditable event trail. An informal message about approval cannot be reliably enforced by automation; it does not account for the condition in the architecture selection: investigators can see a bad answer but not the policy update made before it.

C:

For work that needs to capture review events and protected application decision logs, audit evidence should identify who approved changes, which revision ran, and the action result; the specific the architecture selection 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. Only storing prompt text without actors or versions cannot reconstruct governance decisions; this is insufficient for the architecture selection, given the evidence that investigators can see a bad answer but not the policy update made before it.

D:

Cross-system correlation allows review of which version and policy were active during an incident; that is valuable when the goal is to correlate policy events, model version, and request identifiers, but the architecture selection instead depends on the ability to capture AWS control-plane changes in an auditable event trail. Independent uncoupled dashboards cannot reliably reconstruct an event sequence; it does not account for the condition in the architecture selection: investigators can see a bad answer but not the policy update made before it.

Question 423

A GenAI service fails only under load. The incident report says: Traffic bursts show unexplained errors without a grouped view of rate-limit responses. Which specific design change best corrects the failure?

  1. Instrument each tool call and aggregate failures per tool and step.
  2. Use Amazon Bedrock Flows for the supported visual orchestration use case.
  3. Coordinate bounded specialist tasks with a stateful orchestration framework.
  4. Correlate invocation traces and structured tool logs with request IDs.
  5. Use CloudWatch Logs Insights on structured application and inference logs.

Explanation

Correct Answer

E:

Queryable fields reveal time-correlated error clusters and affected deployment versions; that explains the reported failure: traffic bursts show unexplained errors without a grouped view of rate-limit responses. Inspecting one successful prompt does not explain a concurrency-dependent failure; a symptom-only workaround would not restore the requirement to search logs for throttles, retries, and model-specific exceptions.

Incorrect Answers

A:

Tool-level metrics isolate external dependency issues from FM reasoning failures; this explains its relevance to monitor tool success rate, latency, retries, and action counts, not the the reported failure and its causal repair requirement to search logs for throttles, retries, and model-specific exceptions after traffic bursts show unexplained errors without a grouped view of rate-limit responses. Final-response success alone can hide repeated expensive intermediate failures; choosing it for the reported failure and its causal repair would leave the underlying issue visible: traffic bursts show unexplained errors without a grouped view of rate-limit responses.

B:

The scope of this alternative is different: flow nodes represent ordered processing and routing steps while reducing bespoke glue; it supports compose managed model and function nodes into a reusable workflow, while the reported failure and its causal repair needs search logs for throttles, retries, and model-specific exceptions after traffic bursts show unexplained errors without a grouped view of rate-limit responses. A visual workflow does not eliminate the need for external authorization and data validation; for the reported failure and its causal repair, the unresolved requirement remains to search logs for throttles, retries, and model-specific exceptions, as shown when traffic bursts show unexplained errors without a grouped view of rate-limit responses.

C:

Task delegation and aggregation make dependencies and timeout behavior testable; this explains its relevance to use explicit orchestration for specialist agents and merge conditions, not the the reported failure and its causal repair requirement to search logs for throttles, retries, and model-specific exceptions after traffic bursts show unexplained errors without a grouped view of rate-limit responses. Sending one open-ended prompt cannot guarantee each specialist completed its role; choosing it for the reported failure and its causal repair would leave the underlying issue visible: traffic bursts show unexplained errors without a grouped view of rate-limit responses.

D:

The scope of this alternative is different: event-level traces reveal which reasoning step formed a bad function argument and where validation failed; it supports find failed tool events across a complex runtime session, while the reported failure and its causal repair needs search logs for throttles, retries, and model-specific exceptions after traffic bursts show unexplained errors without a grouped view of rate-limit responses. Aggregate model success percentages obscure the failing tool request; for the reported failure and its causal repair, the unresolved requirement remains to search logs for throttles, retries, and model-specific exceptions, as shown when traffic bursts show unexplained errors without a grouped view of rate-limit responses.

Question 424

An assistant outputs required fields for a financial workflow. The architecture must reject responses that violate the agreed schema before automation. Which implementation best meets that requirement?

  1. Run server-side output scanning and blocking for defined secret formats.
  2. Validate generated JSON against a strict application-side schema.
  3. Use structured message roles and explicit untrusted-content delimiters.
  4. Use a two-stage RAG evaluation that scores retrieved context and generated claims.

Explanation

Correct Answer

B:

Machine validation catches missing keys and invalid types independently of model confidence; it directly supports the architectural objective to reject responses that violate the agreed schema before automation. A JSON-shaped response is not guaranteed to satisfy downstream semantic rules; that boundary is important when selecting the implementation.

Incorrect Answers

A:

The scope of this alternative is different: post-processing can enforce exact patterns for credentials that a probabilistic model may miss; it supports apply deterministic secret-pattern detection before sending responses, while the architecture selection needs reject responses that violate the agreed schema before automation after a payout service crashes when the FM returns a string in an amount field. A safety classifier alone may not cover organization-specific token structures; for the architecture selection, the unresolved requirement remains to reject responses that violate the agreed schema before automation, as shown when a payout service crashes when the FM returns a string in an amount field.

C:

The scope of this alternative is different: keeping data separate from system directives reduces accidental instruction precedence confusion; it supports prevent user-supplied role delimiters from becoming trusted instructions, while the architecture selection needs reject responses that violate the agreed schema before automation after a payout service crashes when the FM returns a string in an amount field. Plain string concatenation can blur the boundary between user data and instructions; for the architecture selection, the unresolved requirement remains to reject responses that violate the agreed schema before automation, as shown when a payout service crashes when the FM returns a string in an amount field.

D:

Separating retrieval and generation identifies where evidence was lost or misused; that is valuable when the goal is to evaluate retrieval quality separately from answer groundedness, but the architecture selection instead depends on the ability to reject responses that violate the agreed schema before automation. A low answer score alone does not reveal whether retrieval or generation failed; it does not account for the condition in the architecture selection: a payout service crashes when the FM returns a string in an amount field.

Question 425

A production team must alternate between managed and self-hosted models. The architecture must separate inference abstraction from provider-specific deployment details. Which implementation best meets that requirement?

  1. Build a common service contract with adapters for Bedrock and SageMaker AI endpoints.
  2. Profile GPU memory and model loading, then allocate suitable inference instances.
  3. Use SageMaker AI real-time inference with a compatible custom model container.
  4. Tune endpoint autoscaling against throughput, queue depth, and token load.

Explanation

Correct Answer

A:

An application-level interface can translate payloads and propagate tracing while maintaining backend independence; it directly supports the architectural objective to separate inference abstraction from provider-specific deployment details. Trying to send identical provider-specific headers to every endpoint will break interoperability; that boundary is important when selecting the implementation.

Incorrect Answers

B:

LLM serving must account for model parameters, activation and cache memory, and concurrent token generation; this explains its relevance to size the runtime for weights, KV cache, and maximum concurrency, not the the architecture selection requirement to separate inference abstraction from provider-specific deployment details after a fallback fails because the second endpoint expects a different request schema. CPU autoscaling alone does not fix GPU memory exhaustion; choosing it for the architecture selection would leave the underlying issue visible: a fallback fails because the second endpoint expects a different request schema.

C:

Managed hosting of a custom container provides deployment control at the cost of endpoint operations; that is valuable when the goal is to deploy and operate a controlled custom inference endpoint, but the architecture selection instead depends on the ability to separate inference abstraction from provider-specific deployment details. A Bedrock model ID does not automatically expose arbitrary custom containers; it does not account for the condition in the architecture selection: a fallback fails because the second endpoint expects a different request schema.

D:

For work that needs to scale workers using token-related demand signals and minimum capacity needs, token processing and memory requirements can predict resource pressure better than request count alone; the specific the architecture selection instead requires separate inference abstraction from provider-specific deployment details in light of a fallback fails because the second endpoint expects a different request schema. CPU-only autoscaling can miss decoder saturation and KV-cache constraints; this is insufficient for the architecture selection, given the evidence that a fallback fails because the second endpoint expects a different request schema.

Question 426

Production evidence: A pasted fake system message changes the assistant's permitted tool behavior. The original design context was: An assistant reviews code snippets pasted by untrusted users. Which change prevents recurrence?

  1. Use the Amazon Bedrock ApplyGuardrail API around input handling.
  2. Use structured message roles and explicit untrusted-content delimiters.
  3. Use a two-stage RAG evaluation that scores retrieved context and generated claims.
  4. Validate generated JSON against a strict application-side schema.

Explanation

Correct Answer

B:

Keeping data separate from system directives reduces accidental instruction precedence confusion; that explains the reported failure: a pasted fake system message changes the assistant's permitted tool behavior. Plain string concatenation can blur the boundary between user data and instructions; a symptom-only workaround would not restore the requirement to prevent user-supplied role delimiters from becoming trusted instructions.

Incorrect Answers

A:

The scope of this alternative is different: standalone evaluation lets supported guardrail controls run independently of a full FM generation call; it supports screen user text with a standalone guardrail policy call when supported, while the reported failure and its causal repair needs prevent user-supplied role delimiters from becoming trusted instructions after a pasted fake system message changes the assistant's permitted tool behavior. Attaching a guardrail only to a different invocation path leaves this custom path unprotected; for the reported failure and its causal repair, the unresolved requirement remains to prevent user-supplied role delimiters from becoming trusted instructions, as shown when a pasted fake system message changes the assistant's permitted tool behavior.

C:

The scope of this alternative is different: separating retrieval and generation identifies where evidence was lost or misused; it supports evaluate retrieval quality separately from answer groundedness, while the reported failure and its causal repair needs prevent user-supplied role delimiters from becoming trusted instructions after a pasted fake system message changes the assistant's permitted tool behavior. A low answer score alone does not reveal whether retrieval or generation failed; for the reported failure and its causal repair, the unresolved requirement remains to prevent user-supplied role delimiters from becoming trusted instructions, as shown when a pasted fake system message changes the assistant's permitted tool behavior.

D:

Machine validation catches missing keys and invalid types independently of model confidence; this explains its relevance to reject responses that violate the agreed schema before automation, not the the reported failure and its causal repair requirement to prevent user-supplied role delimiters from becoming trusted instructions after a pasted fake system message changes the assistant's permitted tool behavior. A JSON-shaped response is not guaranteed to satisfy downstream semantic rules; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a pasted fake system message changes the assistant's permitted tool behavior.

Question 427

A classifier becomes inconsistent on borderline customer tickets. A successful solution needs to make decision criteria explicit and evaluate ambiguous examples. Which option is the most suitable design?

  1. Rewrite prompt criteria with boundary examples and validate expected classes.
  2. Use LLM-as-a-judge evaluations with reference labels and consistency checks.
  3. Use schema validators and prompt-version logging in the test pipeline.
  4. Diff prompt templates and test quality regressions on a fixed dataset.

Explanation

Correct Answer

A:

Specific instructions reduce unplanned interpretation, while edge tests reveal remaining uncertainty; it directly supports the architectural objective to make decision criteria explicit and evaluate ambiguous examples. Blindly lowering temperature cannot define missing decision boundaries; that boundary is important when selecting the implementation.

Incorrect Answers

B:

For work that needs to define an explicit judge rubric and calibrate against human examples, rubric-based judging scales measurement when evaluated for bias and agreement; the specific the architecture selection instead requires make decision criteria explicit and evaluate ambiguous examples in light of similar tickets flip between categories because thresholds were never specified. A single unverified judge score is not ground truth; this is insufficient for the architecture selection, given the evidence that similar tickets flip between categories because thresholds were never specified.

C:

Output validation localizes whether a template revision changed field structure; that is valuable when the goal is to add automated contract checks and version-aware prompt diagnostics, but the architecture selection instead depends on the ability to make decision criteria explicit and evaluate ambiguous examples. Only measuring model latency cannot explain parser failures; it does not account for the condition in the architecture selection: similar tickets flip between categories because thresholds were never specified.

D:

The scope of this alternative is different: holding test cases constant isolates instruction changes from input distribution shifts; it supports compare exact prompt versions using controlled evaluation inputs, while the architecture selection needs make decision criteria explicit and evaluate ambiguous examples after similar tickets flip between categories because thresholds were never specified. Changing model and prompt simultaneously makes attribution harder; for the architecture selection, the unresolved requirement remains to make decision criteria explicit and evaluate ambiguous examples, as shown when similar tickets flip between categories because thresholds were never specified.

Question 428

A shared AI gateway is released by several teams. The incident report says: A new prompt deploys without evaluation and causes unsafe completions. Which specific design change best corrects the failure?

  1. Use CodePipeline with automated tests, security scans, and gated promotion.
  2. Publish an OpenAPI specification with versioned endpoints.
  3. Apply least-privilege Bedrock IAM permissions in a trusted backend authorization layer.
  4. Place durable work in Amazon SQS with an idempotent consumer.

Explanation

Correct Answer

A:

Deployment pipelines enforce repeatable verification and allow controlled rollback of risky GenAI components; that explains the reported failure: a new prompt deploys without evaluation and causes unsafe completions. Manual direct production edits defeat the evidence trail of approvals; a symptom-only workaround would not restore the requirement to test prompts, IAM, and infrastructure changes before production.

Incorrect Answers

B:

An API-first contract lets clients validate integration expectations across language stacks; this explains its relevance to document request schemas and error contracts with machine-readable definitions, not the the reported failure and its causal repair requirement to test prompts, IAM, and infrastructure changes before production after a new prompt deploys without evaluation and causes unsafe completions. Undocumented request variations lead to deployment-time schema mismatches; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a new prompt deploys without evaluation and causes unsafe completions.

C:

IAM can constrain model invocation actions and resources, complementing application tenant rules; this explains its relevance to restrict invocation rights to approved model resources for each caller, not the the reported failure and its causal repair requirement to test prompts, IAM, and infrastructure changes before production after a new prompt deploys without evaluation and causes unsafe completions. A prompt telling the model to use a cheaper provider is not an enforcement mechanism; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a new prompt deploys without evaluation and causes unsafe completions.

D:

Queueing absorbs outages and at-least-once deliveries require duplicate-safe processing; that is valuable when the goal is to buffer outbound jobs and handle redelivery explicitly, but the reported failure and its causal repair instead depends on the ability to test prompts, IAM, and infrastructure changes before production. Fire-and-forget HTTP calls can lose jobs during partner downtime; it does not account for the condition in the reported failure and its causal repair: a new prompt deploys without evaluation and causes unsafe completions.

Question 429

Feedback data comes mostly from easy customer requests. The architecture must sample difficult and underrepresented cases for review. Which implementation best meets that requirement?

  1. Stratify evaluation and annotation examples by complexity and risk.
  2. Track verified task completion and tool side-effect correctness.
  3. Score meaning and evidence consistency with a reviewed evaluation rubric.
  4. Run output-diff and groundedness regression evaluations across versions.

Explanation

Correct Answer

A:

Representative sampling prevents popular easy flows from hiding rare critical failures; it directly supports the architectural objective to sample difficult and underrepresented cases for review. Random convenience feedback can leave high-risk classes almost unseen; that boundary is important when selecting the implementation.

Incorrect Answers

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 sample difficult and underrepresented cases for review. Final-response fluency can conceal failed tool executions; it does not account for the condition in the architecture selection: overall satisfaction rises while long-tail eligibility questions remain incorrect.

C:

The scope of this alternative is different: semantic assessment accommodates valid paraphrases while still penalizing omitted obligations; it supports use semantic task success rather than exact string equality alone, while the architecture selection needs sample difficult and underrepresented cases for review after overall satisfaction rises while long-tail eligibility questions remain incorrect. Exact-match tests reject correct answers that use different wording; for the architecture selection, the unresolved requirement remains to sample difficult and underrepresented cases for review, as shown when overall satisfaction rises while long-tail eligibility questions remain incorrect.

D:

Controlled test inputs expose model-specific behavior changes separately from traffic variation; this explains its relevance to compare responses on a stable golden dataset and review divergences, not the the architecture selection requirement to sample difficult and underrepresented cases for review after overall satisfaction rises while long-tail eligibility questions remain incorrect. A successful API status code proves only that a response was returned; choosing it for the architecture selection would leave the underlying issue visible: overall satisfaction rises while long-tail eligibility questions remain incorrect.

Question 430

A multi-tool agent should access a knowledge base through a narrow interface. The engineering team is required to offer retrieval as a typed tool with explicit input schema. What should be built first?

  1. Expose a scoped retrieval function or MCP-compatible tool contract.
  2. Apply a compatible reranker to an initial retrieval candidate set.
  3. Use document sensitivity labels as indexed filterable metadata and enforce access upstream.
  4. Publish an authenticated, versioned vector-search API contract.

Explanation

Correct Answer

A:

Typed query parameters and a controlled handler let the application validate and authorize retrieval requests; it directly supports the architectural objective to offer retrieval as a typed tool with explicit input schema. Unstructured free-form tool strings are difficult to validate or restrict; that boundary is important when selecting the implementation.

Incorrect Answers

B:

The scope of this alternative is different: reranking scores query-passage fit at a later stage so fewer low-value chunks consume context; it supports improve ordering of retrieved candidates before context construction, while the architecture selection needs offer retrieval as a typed tool with explicit input schema after the agent constructs malformed search calls and requests indexes it should not reach. Increasing model output length cannot fix the ranking of input evidence; for the architecture selection, the unresolved requirement remains to offer retrieval as a typed tool with explicit input schema, as shown when the agent constructs malformed search calls and requests indexes it should not reach.

C:

Label-aware queries exclude disallowed chunks rather than asking the model to ignore them; that is valuable when the goal is to partition retrieval by classification tags derived from trusted identity, but the architecture selection instead depends on the ability to offer retrieval as a typed tool with explicit input schema. Generation-side disclaimers do not prevent confidential text entering context; it does not account for the condition in the architecture selection: the agent constructs malformed search calls and requests indexes it should not reach.

D:

A stable interface centralizes filters, tracing, and error handling while different clients integrate; this explains its relevance to standardize transport and authorization independently of model internals, not the the architecture selection requirement to offer retrieval as a typed tool with explicit input schema after the agent constructs malformed search calls and requests indexes it should not reach. Embedding DB credentials in each agent increases both coupling and privilege spread; choosing it for the architecture selection would leave the underlying issue visible: the agent constructs malformed search calls and requests indexes it should not reach.

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