Question 10

Containers fail security review because the model key is hard-coded in source control. Investigators also establish that a batch document service calls an FM from a container worker. Which implementation most directly addresses the cause?

  1. Implement content-aware model routing against an approved capability map.
  2. Use Bedrock Converse with a provider adapter for model-specific parameters.
  3. Correlate invocation traces and structured tool logs with request IDs.
  4. Use an AWS SDK credential provider and least-privilege role for model invocation.

Explanation

Correct Answer

D:

SDK signing and role credentials keep long-lived secrets out of application artifacts; that explains the reported failure: containers fail security review because the model key is hard-coded in source control. Storing static AWS keys in a container image increases credential leakage risk; a symptom-only workaround would not restore the requirement to sign runtime requests with service identity rather than embedded credentials.

Incorrect Answers

A:

For work that needs to route requests based on required capability rather than one fixed FM, task classification selects a model whose features and cost fit each input; the specific the reported failure and its causal repair instead requires sign runtime requests with service identity rather than embedded credentials in light of containers fail security review because the model key is hard-coded in source control. Uniform random routing can send image tasks to text-only models; this is insufficient for the reported failure and its causal repair, given the evidence that containers fail security review because the model key is hard-coded in source control.

B:

Converse presents a common messages API for supported models, with extensibility for unique fields; this explains its relevance to standardize message exchange across model families, not the the reported failure and its causal repair requirement to sign runtime requests with service identity rather than embedded credentials after containers fail security review because the model key is hard-coded in source control. A model-specific raw payload should not be assumed to work for every provider; choosing it for the reported failure and its causal repair would leave the underlying issue visible: containers fail security review because the model key is hard-coded in source control.

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 sign runtime requests with service identity rather than embedded credentials in light of containers fail security review because the model key is hard-coded in source control. Aggregate model success percentages obscure the failing tool request; this is insufficient for the reported failure and its causal repair, given the evidence that containers fail security review because the model key is hard-coded in source control.

Question 11

A sensitive chatbot needs controls before and after model inference. A successful solution needs to layer data classification, input safety, FM guardrails, and output checks. Which option is the most suitable design?

  1. Implement a defense-in-depth moderation pipeline at distinct trust boundaries.
  2. Enforce output moderation with Bedrock Guardrails and an application release gate.
  3. Use the Amazon Bedrock ApplyGuardrail API around input handling.
  4. Apply a Bedrock Guardrails sensitive-information filter with independent output validation.
  5. Configure Amazon Bedrock Guardrails content filters for the intended safety categories.

Explanation

Correct Answer

A:

Independent stages catch different failure modes: unsafe inputs, model behavior, and unsafe final outputs; it directly supports the architectural objective to layer data classification, input safety, FM guardrails, and output checks. A single prompt instruction cannot replace independent enforcement points; that boundary is important when selecting the implementation.

Incorrect Answers

B:

Response-side checks can intercept material produced despite safe-looking user input; this explains its relevance to screen the response after generation before delivering it, not the the architecture selection requirement to layer data classification, input safety, FM guardrails, and output checks after one bypass of the system prompt defeats every safety measure in the application. Input-only filtering cannot inspect harmful text newly created by the model; choosing it for the architecture selection would leave the underlying issue visible: one bypass of the system prompt defeats every safety measure in the application.

C:

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 architecture selection needs layer data classification, input safety, FM guardrails, and output checks after one bypass of the system prompt defeats every safety measure in the application. Attaching a guardrail only to a different invocation path leaves this custom path unprotected; for the architecture selection, the unresolved requirement remains to layer data classification, input safety, FM guardrails, and output checks, as shown when one bypass of the system prompt defeats every safety measure in the application.

D:

Output filters reduce accidental disclosure of detected sensitive data types; this explains its relevance to block configured PII patterns in generated output, not the the architecture selection requirement to layer data classification, input safety, FM guardrails, and output checks after one bypass of the system prompt defeats every safety measure in the application. Filtering final answers alone cannot replace source access restrictions; choosing it for the architecture selection would leave the underlying issue visible: one bypass of the system prompt defeats every safety measure in the application.

E:

Input filters evaluate configured harmful-content categories before or during protected inference workflows; this explains its relevance to apply managed content-policy checks to user input, not the the architecture selection requirement to layer data classification, input safety, FM guardrails, and output checks after one bypass of the system prompt defeats every safety measure in the application. IAM permission checks govern API access but do not classify harmful user language; choosing it for the architecture selection would leave the underlying issue visible: one bypass of the system prompt defeats every safety measure in the application.

Question 12

A multi-agent service needs to explain which step consumed its latency budget. The architecture must trace correlated agent and tool spans per user request. Which implementation best meets that requirement?

  1. Instrument retrieval, prompt assembly, model inference, and tool spans separately.
  2. Instrument each tool call and aggregate failures per tool and step.
  3. Create structured trace records for each model and tool invocation.
  4. Create end-to-end CloudWatch dashboards with request and business KPIs.

Explanation

Correct Answer

C:

Per-step observability distinguishes orchestration overhead from model response time; it directly supports the architectural objective to trace correlated agent and tool spans per user request. One log line per final answer cannot expose intermediate retries; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Per-stage profiling identifies where optimization actually reduces the critical path; this explains its relevance to trace end-to-end timings rather than assuming the FM is slow, not the the architecture selection requirement to trace correlated agent and tool spans per user request after an agent session lasts a minute without evidence identifying its slow tool. An aggregate duration metric hides slow vector queries; choosing it for the architecture selection would leave the underlying issue visible: an agent session lasts a minute without evidence identifying its slow tool.

B:

Tool-level metrics isolate external dependency issues from FM reasoning failures; that is valuable when the goal is to monitor tool success rate, latency, retries, and action counts, but the architecture selection instead depends on the ability to trace correlated agent and tool spans per user request. Final-response success alone can hide repeated expensive intermediate failures; it does not account for the condition in the architecture selection: an agent session lasts a minute without evidence identifying its slow tool.

D:

The scope of this alternative is different: latency, error rate, completion quality, and user outcomes together describe system health; it supports correlate operational metrics with task completion and conversion, while the architecture selection needs trace correlated agent and tool spans per user request after an agent session lasts a minute without evidence identifying its slow tool. Infrastructure CPU graphs alone do not show customer value; for the architecture selection, the unresolved requirement remains to trace correlated agent and tool spans per user request, as shown when an agent session lasts a minute without evidence identifying its slow tool.

Question 13

A RAG assistant seems plausible but users report unsupported claims. The architecture must evaluate retrieval quality separately from answer groundedness. Which implementation best meets that requirement?

  1. Use a two-stage RAG evaluation that scores retrieved context and generated claims.
  2. Use a multi-objective comparison on a fixed task distribution.
  3. Use paired regression evaluation for retrieved passages and final claims.
  4. Adjust structure-aware chunking and rerank evidence for completeness.

Explanation

Correct Answer

A:

Separating retrieval and generation identifies where evidence was lost or misused; it directly supports the architectural objective to evaluate retrieval quality separately from answer groundedness. A low answer score alone does not reveal whether retrieval or generation failed; that boundary is important when selecting the implementation.

Incorrect Answers

B:

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 architecture selection needs evaluate retrieval quality separately from answer groundedness after the right passage is retrieved but the final answer contradicts it. Ranking solely by benchmark accuracy hides operational disqualification; for the architecture selection, the unresolved requirement remains to evaluate retrieval quality separately from answer groundedness, as shown when the right passage is retrieved but the final answer contradicts it.

C:

For work that needs to compare old and new releases on the same retrieval-plus-generation test set, version-matched tests show whether embedding changes altered evidence selection and accuracy; the specific the architecture selection instead requires evaluate retrieval quality separately from answer groundedness in light of the right passage is retrieved but the final answer contradicts it. A model-only evaluation misses changes in vector retrieval quality; this is insufficient for the architecture selection, given the evidence that the right passage is retrieved but the final answer contradicts it.

D:

Chunk fragmentation can separate rules from exceptions even if a hit seems relevant; that is valuable when the goal is to inspect chunk boundaries, overlap, and ranking of adjacent sections, but the architecture selection instead depends on the ability to evaluate retrieval quality separately from answer groundedness. A longer final response cannot recreate omitted evidence; it does not account for the condition in the architecture selection: the right passage is retrieved but the final answer contradicts it.

Question 14

A partner service occasionally goes offline during data synchronization. The incident report says: A transient partner failure permanently drops document updates. Which specific design change best corrects the failure?

  1. Canary-route a small cohort through the deployment pipeline and compare quality signals.
  2. Run local filtering and use secure network routes to a permitted cloud inference endpoint.
  3. Place durable work in Amazon SQS with an idempotent consumer.
  4. Add idempotency checks and durable outcome records to tool integrations.

Explanation

Correct Answer

C:

Queueing absorbs outages and at-least-once deliveries require duplicate-safe processing; that explains the reported failure: a transient partner failure permanently drops document updates. Fire-and-forget HTTP calls can lose jobs during partner downtime; a symptom-only workaround would not restore the requirement to buffer outbound jobs and handle redelivery explicitly.

Incorrect Answers

A:

For work that needs to release incrementally with measurable rollback conditions, a limited release contains risk and allows metrics to trigger rollback before broad exposure; the specific the reported failure and its causal repair instead requires buffer outbound jobs and handle redelivery explicitly in light of a transient partner failure permanently drops document updates. Replacing the model globally makes attribution and rollback harder; this is insufficient for the reported failure and its causal repair, given the evidence that a transient partner failure permanently drops document updates.

B:

For work that needs to separate low-latency local preprocessing from remote model inference, edge processing can reduce payloads and protect connectivity without claiming that the FM itself runs at the edge; the specific the reported failure and its causal repair instead requires buffer outbound jobs and handle redelivery explicitly in light of a transient partner failure permanently drops document updates. Moving the web client to Wavelength does not move an unsupported managed FM there; this is insufficient for the reported failure and its causal repair, given the evidence that a transient partner failure permanently drops document updates.

D:

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 reported failure and its causal repair requirement to buffer outbound jobs and handle redelivery explicitly after a transient partner failure permanently drops document updates. A network timeout does not prove the original mutation failed; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a transient partner failure permanently drops document updates.

Question 15

Production evidence: A top-rated model violates the application service-level objective. The original design context was: The team must choose a model for a low-latency but safety-critical service. Which change prevents recurrence?

  1. Run a controlled Bedrock model evaluation with task-specific metrics.
  2. Create end-to-end CloudWatch dashboards with request and business KPIs.
  3. Use a two-stage RAG evaluation that scores retrieved context and generated claims.
  4. Use a multi-objective comparison on a fixed task distribution.

Explanation

Correct Answer

D:

A technically strong model still fails if it misses a mandatory response-time or safety target; that explains the reported failure: a top-rated model violates the application service-level objective. Ranking solely by benchmark accuracy hides operational disqualification; a symptom-only workaround would not restore the requirement to evaluate quality, p95 latency, and cost jointly against acceptance thresholds.

Incorrect Answers

A:

Matched evaluation sets support meaningful quality and operational comparisons; that is valuable when the goal is to compare models on the same representative inputs and cost/latency measurements, but the reported failure and its causal repair instead depends on the ability to evaluate quality, p95 latency, and cost jointly against acceptance thresholds. Comparing unrelated examples confounds model differences with question difficulty; it does not account for the condition in the reported failure and its causal repair: a top-rated model violates the application service-level objective.

B:

Latency, error rate, completion quality, and user outcomes together describe system health; this explains its relevance to correlate operational metrics with task completion and conversion, not the the reported failure and its causal repair requirement to evaluate quality, p95 latency, and cost jointly against acceptance thresholds after a top-rated model violates the application service-level objective. Infrastructure CPU graphs alone do not show customer value; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a top-rated model violates the application service-level objective.

C:

Separating retrieval and generation identifies where evidence was lost or misused; this explains its relevance to evaluate retrieval quality separately from answer groundedness, not the the reported failure and its causal repair requirement to evaluate quality, p95 latency, and cost jointly against acceptance thresholds after a top-rated model violates the application service-level objective. A low answer score alone does not reveal whether retrieval or generation failed; choosing it for the reported failure and its causal repair would leave the underlying issue visible: a top-rated model violates the application service-level objective.

Question 16

Production evidence: Two periods with equal request counts have very different GPU workloads. The original design context was: A self-hosted generative model wastes GPU memory at quiet times. Which change prevents recurrence?

  1. Tune endpoint autoscaling against throughput, queue depth, and token load.
  2. Profile GPU memory and model loading, then allocate suitable inference instances.
  3. Use token counting or model-aware estimation at the inference gateway.
  4. Enforce queue-based concurrency limits and bounded admission control.

Explanation

Correct Answer

A:

Token processing and memory requirements can predict resource pressure better than request count alone; that explains the reported failure: two periods with equal request counts have very different GPU workloads. CPU-only autoscaling can miss decoder saturation and KV-cache constraints; a symptom-only workaround would not restore the requirement to scale workers using token-related demand signals and minimum capacity needs.

Incorrect Answers

B:

The scope of this alternative is different: lLM serving must account for model parameters, activation and cache memory, and concurrent token generation; it supports size the runtime for weights, KV cache, and maximum concurrency, while the reported failure and its causal repair needs scale workers using token-related demand signals and minimum capacity needs after two periods with equal request counts have very different GPU workloads. CPU autoscaling alone does not fix GPU memory exhaustion; for the reported failure and its causal repair, the unresolved requirement remains to scale workers using token-related demand signals and minimum capacity needs, as shown when two periods with equal request counts have very different GPU workloads.

C:

Preflight estimates let the service allocate input, retrieval, and completion budgets; this explains its relevance to estimate token volume and enforce per-request spend ceilings, not the the reported failure and its causal repair requirement to scale workers using token-related demand signals and minimum capacity needs after two periods with equal request counts have very different GPU workloads. HTTP byte count is not a dependable substitute for model token accounting; choosing it for the reported failure and its causal repair would leave the underlying issue visible: two periods with equal request counts have very different GPU workloads.

D:

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 reported failure and its causal repair needs scale workers using token-related demand signals and minimum capacity needs after two periods with equal request counts have very different GPU workloads. Unrestricted retries increase load rather than creating capacity; for the reported failure and its causal repair, the unresolved requirement remains to scale workers using token-related demand signals and minimum capacity needs, as shown when two periods with equal request counts have very different GPU workloads.

Question 17

Embedding model IDs in each client couples every deployment to one provider. An architecture reviewer must still ensure the application can switch providers without editing every calling microservice. What recommendation is justified?

  1. Use a versioned deprecation and rollback plan for model artifacts and endpoint clients.
  2. Use a smaller default model with confidence or complexity-based escalation.
  3. Put model selection behind a versioned routing adapter with AWS AppConfig configuration.
  4. Implement circuit-breaking and controlled fallback to a vetted alternate model.

Explanation

Correct Answer

C:

The adapter abstracts model-specific requests while configuration changes routing independently of service releases; this is the behavior to validate in a release review concerned with switch providers without editing every calling microservice. Embedding model IDs in each client couples every deployment to one provider; the proposed shortcut would therefore be an inadequate guarantee.

Incorrect Answers

A:

Controlled retirement identifies dependent callers, preserves lineage, and gives clients a migration interval; this explains its relevance to remove old deployment access without losing the approved audit record, not the the release-control decision requirement to switch providers without editing every calling microservice after a vendor switch forces a coordinated redeployment of dozens of application consumers. Deleting a model before consumers migrate breaks inference without a recovery path; choosing it for the release-control decision would leave the underlying issue visible: a vendor switch forces a coordinated redeployment of dozens of application consumers.

B:

For work that needs to control spend without sacrificing difficult-case quality, a cascade pays premium inference costs for the minority of requests requiring deeper capability; the specific the release-control decision instead requires switch providers without editing every calling microservice in light of a vendor switch forces a coordinated redeployment of dozens of application consumers. Uniform model selection cannot exploit the workload's complexity distribution; this is insufficient for the release-control decision, given the evidence that a vendor switch forces a coordinated redeployment of dozens of application consumers.

D:

For work that needs to avoid indefinite retries and offer a preapproved fallback path, opening a circuit stops futile calls to a failing dependency while a documented fallback preserves partial service; the specific the release-control decision instead requires switch providers without editing every calling microservice in light of a vendor switch forces a coordinated redeployment of dozens of application consumers. Retrying every request without a limit amplifies failures and latency; this is insufficient for the release-control decision, given the evidence that a vendor switch forces a coordinated redeployment of dozens of application consumers.

Question 18

A batch document service calls an FM from a container worker. The architecture must sign runtime requests with service identity rather than embedded credentials. Which implementation best meets that requirement?

  1. Use an AWS SDK credential provider and least-privilege role for model invocation.
  2. Use Bedrock Converse with a provider adapter for model-specific parameters.
  3. Use capped exponential backoff with jitter in the AWS SDK client.
  4. Check effective IAM permissions, resource scope, and explicit deny policies.
  5. Implement content-aware model routing against an approved capability map.

Explanation

Correct Answer

A:

SDK signing and role credentials keep long-lived secrets out of application artifacts; it directly supports the architectural objective to sign runtime requests with service identity rather than embedded credentials. Storing static AWS keys in a container image increases credential leakage risk; that boundary is important when selecting the implementation.

Incorrect Answers

B:

The scope of this alternative is different: converse presents a common messages API for supported models, with extensibility for unique fields; it supports standardize message exchange across model families, while the architecture selection needs sign runtime requests with service identity rather than embedded credentials after containers fail security review because the model key is hard-coded in source control. A model-specific raw payload should not be assumed to work for every provider; for the architecture selection, the unresolved requirement remains to sign runtime requests with service identity rather than embedded credentials, as shown when containers fail security review because the model key is hard-coded in source control.

C:

Spreading retries reduces synchronized load and bounds time spent recovering from transient errors; this explains its relevance to retry safely without amplifying traffic spikes, not the the architecture selection requirement to sign runtime requests with service identity rather than embedded credentials after containers fail security review because the model key is hard-coded in source control. Immediate tight-loop retries worsen rate limits and increase failure latency; choosing it for the architecture selection would leave the underlying issue visible: containers fail security review because the model key is hard-coded in source control.

D:

Authorization depends on the caller identity and target action, not just account membership; this explains its relevance to trace which runtime role and model resource is actually used, not the the architecture selection requirement to sign runtime requests with service identity rather than embedded credentials after containers fail security review because the model key is hard-coded in source control. Changing the prompt cannot grant invoke permission to the backend role; choosing it for the architecture selection would leave the underlying issue visible: containers fail security review because the model key is hard-coded in source control.

E:

Task classification selects a model whose features and cost fit each input; that is valuable when the goal is to route requests based on required capability rather than one fixed FM, but the architecture selection instead depends on the ability to sign runtime requests with service identity rather than embedded credentials. Uniform random routing can send image tasks to text-only models; it does not account for the condition in the architecture selection: containers fail security review because the model key is hard-coded in source control.

Question 19

A vector-search system loses relevance after embedding model replacement. A successful solution needs to verify query and document vector compatibility and rebuild as needed. Which option is the most suitable design?

  1. Diff prompt templates and test quality regressions on a fixed dataset.
  2. Ensure both sides use compatible embedding spaces and reindex the corpus.
  3. Use paired retrieval tests with relevance labels and p95 query timing.
  4. Check sync history, source versions, and vector index update status.

Explanation

Correct Answer

B:

Similarity comparisons assume compatible vector representations; mixing model spaces invalidates ranking; it directly supports the architectural objective to verify query and document vector compatibility and rebuild as needed. Increasing nearest-neighbor candidate count cannot align incompatible embeddings; that boundary is important when selecting the implementation.

Incorrect Answers

A:

Holding test cases constant isolates instruction changes from input distribution shifts; this explains its relevance to compare exact prompt versions using controlled evaluation inputs, not the the architecture selection requirement to verify query and document vector compatibility and rebuild as needed after search returns unrelated items after only the query encoder is changed. Changing model and prompt simultaneously makes attribution harder; choosing it for the architecture selection would leave the underlying issue visible: search returns unrelated items after only the query encoder is changed.

C:

Search tuning is a quality-performance tradeoff, not a single latency metric; that is valuable when the goal is to benchmark answer evidence quality and query tail latency together, but the architecture selection instead depends on the ability to verify query and document vector compatibility and rebuild as needed. A faster index can be worse if approximate search loses key passages; it does not account for the condition in the architecture selection: search returns unrelated items after only the query encoder is changed.

D:

The scope of this alternative is different: stale embeddings can continue pointing to older text even if the source repository is current; it supports inspect ingestion freshness and whether changed chunks were re-embedded, while the architecture selection needs verify query and document vector compatibility and rebuild as needed after search returns unrelated items after only the query encoder is changed. Rephrasing the user prompt cannot fix a missing index update; for the architecture selection, the unresolved requirement remains to verify query and document vector compatibility and rebuild as needed, as shown when search returns unrelated items after only the query encoder is changed.

Question 20

A knowledge assistant must support both filtering and meaning-based search. The engineering team is required to combine metadata prefilters with semantic ranking instead of relying on prompts. What should be built first?

  1. Filter by trusted attributes before vector or hybrid scoring.
  2. Tune hybrid search using both exact-match and embedding scores.
  3. Use hybrid retrieval combining keyword scores and vector similarity.
  4. Expose a scoped retrieval function or MCP-compatible tool contract.

Explanation

Correct Answer

A:

Candidate restriction enforces contextual scope while ranking orders relevant allowed chunks; it directly supports the architectural objective to combine metadata prefilters with semantic ranking instead of relying on prompts. The FM cannot reliably undo a retrieval query that included unauthorized content; that boundary is important when selecting the implementation.

Incorrect Answers

B:

The scope of this alternative is different: hybrid retrieval covers identifier precision and natural-language similarity; it supports combine lexical and semantic signals in retrieval, while the architecture selection needs combine metadata prefilters with semantic ranking instead of relying on prompts after a well-ranked chunk is from the wrong jurisdiction and should not be eligible. Changing answer temperature cannot repair poor source selection; for the architecture selection, the unresolved requirement remains to combine metadata prefilters with semantic ranking instead of relying on prompts, as shown when a well-ranked chunk is from the wrong jurisdiction and should not be eligible.

C:

For work that needs to combine lexical precision with semantic matching, keyword search preserves exact identifiers while semantic retrieval handles paraphrases and conceptual similarity; the specific the architecture selection instead requires combine metadata prefilters with semantic ranking instead of relying on prompts in light of a well-ranked chunk is from the wrong jurisdiction and should not be eligible. Vector-only retrieval can underweight rare literal identifiers; this is insufficient for the architecture selection, given the evidence that a well-ranked chunk is from the wrong jurisdiction and should not be eligible.

D:

Typed query parameters and a controlled handler let the application validate and authorize retrieval requests; that is valuable when the goal is to offer retrieval as a typed tool with explicit input schema, but the architecture selection instead depends on the ability to combine metadata prefilters with semantic ranking instead of relying on prompts. Unstructured free-form tool strings are difficult to validate or restrict; it does not account for the condition in the architecture selection: a well-ranked chunk is from the wrong jurisdiction and should not be eligible.

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