Question 20

At a security incident response team, engineers need to require machine-readable responses for downstream schema validation. The next release must be evaluated against the previous baseline. An architecture review has rejected fixes that only conceal the symptoms. Which change should the team prioritize?

  1. Skip validation because the prompt requests JSON
  2. Increase response randomness to guarantee deterministic fields
  3. Specify an output schema and validate the parsed response before downstream actions
  4. Assume all natural-language answers are already valid JSON

Explanation

Correct Answer

C:

Structured generation still needs explicit schema enforcement at integration boundaries. In a security incident response team, the engineering team should verify this design against its stated objective to require machine-readable responses for downstream schema validation, including the requirement that the next release must be evaluated against the previous baseline.

Incorrect Answers

A:

The suggested action—skip validation because the prompt requests JSON—does not establish the required control for a security incident response team to require machine-readable responses for downstream schema validation. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a security incident response team. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—increase response randomness to guarantee deterministic fields—does not establish the required control for a security incident response team to require machine-readable responses for downstream schema validation. It replaces a verifiable engineering control with an untested shortcut in the a security incident response team deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—assume all natural-language answers are already valid JSON—does not establish the required control for a security incident response team to require machine-readable responses for downstream schema validation. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a security incident response team. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 21

At a university research portal, engineers need to reduce waste from overly long conversation histories. The engineers cannot depend on manual intervention for every request. The team wants a solution that can be validated through targeted test cases. What is the most appropriate production approach?

  1. Attach the entire history to every call indefinitely
  2. Maximize completion tokens regardless of user requirements
  3. Remove required source citations to save tokens
  4. Summarize or prune irrelevant context within a controlled token budget

Explanation

Correct Answer

D:

Context budgeting retains relevant information while limiting billed input tokens. In a university research portal, the engineering team should verify this design against its stated objective to reduce waste from overly long conversation histories, including the requirement that the engineers cannot depend on manual intervention for every request.

Incorrect Answers

A:

The suggested action—attach the entire history to every call indefinitely—does not establish the required control for a university research portal to reduce waste from overly long conversation histories. It replaces a verifiable engineering control with an untested shortcut in the a university research portal deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—maximize completion tokens regardless of user requirements—does not establish the required control for a university research portal to reduce waste from overly long conversation histories. The change is applied outside the component responsible for the requirement identified by a university research portal. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—remove required source citations to save tokens—does not establish the required control for a university research portal to reduce waste from overly long conversation histories. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a university research portal. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 22

At a multilingual contact center, engineers need to reject malformed or incomplete source records before RAG ingestion. Operators need measurable acceptance criteria before rollout. The initial assessment isolates this issue from unrelated infrastructure changes. Which implementation most directly satisfies the requirement?

  1. Implement schema and quality checks with quarantining and measurable failure thresholds
  2. Embed every record even if required fields are absent
  3. Silently discard rows while reporting full ingestion success
  4. Raise the generation temperature to repair corrupted source data

Explanation

Correct Answer

A:

Data validation catches ingestion defects before they contaminate retrieval results. In a multilingual contact center, the engineering team should verify this design against its stated objective to reject malformed or incomplete source records before RAG ingestion, including the requirement that operators need measurable acceptance criteria before rollout.

Incorrect Answers

B:

The suggested action—embed every record even if required fields are absent—does not establish the required control for a multilingual contact center to reject malformed or incomplete source records before RAG ingestion. It replaces a verifiable engineering control with an untested shortcut in the a multilingual contact center deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—silently discard rows while reporting full ingestion success—does not establish the required control for a multilingual contact center to reject malformed or incomplete source records before RAG ingestion. The change is applied outside the component responsible for the requirement identified by a multilingual contact center. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—raise the generation temperature to repair corrupted source data—does not establish the required control for a multilingual contact center to reject malformed or incomplete source records before RAG ingestion. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a multilingual contact center. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 23

At a digital publishing business, engineers need to switch model providers without modifying application business logic. The architecture must minimize avoidable data exposure. The team wants a solution that can be validated through targeted test cases. What should be implemented before scaling this workflow?

  1. Hard-code one model ID in all business services
  2. Depend on prompt wording to silently change cloud providers
  3. Introduce a model adapter and externalized routing configuration
  4. Embed provider-specific request formats in every user interface

Explanation

Correct Answer

C:

An abstraction layer isolates provider requests and lets configuration drive changes. In a digital publishing business, the engineering team should verify this design against its stated objective to switch model providers without modifying application business logic, including the requirement that the architecture must minimize avoidable data exposure.

Incorrect Answers

A:

The suggested action—hard-code one model ID in all business services—does not establish the required control for a digital publishing business to switch model providers without modifying application business logic. The change is applied outside the component responsible for the requirement identified by a digital publishing business. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—depend on prompt wording to silently change cloud providers—does not establish the required control for a digital publishing business to switch model providers without modifying application business logic. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a digital publishing business. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—embed provider-specific request formats in every user interface—does not establish the required control for a digital publishing business to switch model providers without modifying application business logic. The change is applied outside the component responsible for the requirement identified by a digital publishing business. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 24

At a multilingual contact center, engineers need to block policy-violating model outputs before they reach end users. The compliance team requires a traceable decision record. The initial assessment isolates this issue from unrelated infrastructure changes. Which implementation most directly satisfies the requirement?

  1. Apply Bedrock Guardrails or an equivalent output moderation step and verify enforcement
  2. Moderate only the first user message and never outputs
  3. Assume low temperature prevents harmful content
  4. Remove all user authentication instead of inspecting responses

Explanation

Correct Answer

A:

Output safeguards examine generated content at the appropriate serving boundary. In a multilingual contact center, the engineering team should verify this design against its stated objective to block policy-violating model outputs before they reach end users, including the requirement that the compliance team requires a traceable decision record.

Incorrect Answers

B:

The suggested action—moderate only the first user message and never outputs—does not establish the required control for a multilingual contact center to block policy-violating model outputs before they reach end users. The change is applied outside the component responsible for the requirement identified by a multilingual contact center. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—assume low temperature prevents harmful content—does not establish the required control for a multilingual contact center to block policy-violating model outputs before they reach end users. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a multilingual contact center. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—remove all user authentication instead of inspecting responses—does not establish the required control for a multilingual contact center to block policy-violating model outputs before they reach end users. It replaces a verifiable engineering control with an untested shortcut in the a multilingual contact center deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 25

At a public-sector document office, engineers need to reject malformed or incomplete source records before RAG ingestion. The architecture must minimize avoidable data exposure. An architecture review has rejected fixes that only conceal the symptoms. What should the lead engineer recommend?

  1. Embed every record even if required fields are absent
  2. Silently discard rows while reporting full ingestion success
  3. Raise the generation temperature to repair corrupted source data
  4. Implement schema and quality checks with quarantining and measurable failure thresholds

Explanation

Correct Answer

D:

Data validation catches ingestion defects before they contaminate retrieval results. In a public-sector document office, the engineering team should verify this design against its stated objective to reject malformed or incomplete source records before RAG ingestion, including the requirement that the architecture must minimize avoidable data exposure.

Incorrect Answers

A:

The suggested action—embed every record even if required fields are absent—does not establish the required control for a public-sector document office to reject malformed or incomplete source records before RAG ingestion. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a public-sector document office. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—silently discard rows while reporting full ingestion success—does not establish the required control for a public-sector document office to reject malformed or incomplete source records before RAG ingestion. It replaces a verifiable engineering control with an untested shortcut in the a public-sector document office deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—raise the generation temperature to repair corrupted source data—does not establish the required control for a public-sector document office to reject malformed or incomplete source records before RAG ingestion. The change is applied outside the component responsible for the requirement identified by a public-sector document office. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 26

At a regional insurer, engineers need to preserve user conversation context safely across stateless invocations. Monitoring should isolate failures to the responsible component. The initial assessment isolates this issue from unrelated infrastructure changes. Which change should the team prioritize?

  1. Store scoped conversation state with retention rules and replay only relevant history
  2. Put all users in a single shared memory record
  3. Store unlimited conversation history in every prompt
  4. Assume a stateless Lambda invocation retains memory between executions

Explanation

Correct Answer

A:

External state management preserves context without violating user isolation or token budgets. In a regional insurer, the engineering team should verify this design against its stated objective to preserve user conversation context safely across stateless invocations, including the requirement that monitoring should isolate failures to the responsible component.

Incorrect Answers

B:

The suggested action—put all users in a single shared memory record—does not establish the required control for a regional insurer to preserve user conversation context safely across stateless invocations. The change is applied outside the component responsible for the requirement identified by a regional insurer. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—store unlimited conversation history in every prompt—does not establish the required control for a regional insurer to preserve user conversation context safely across stateless invocations. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a regional insurer. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—assume a stateless Lambda invocation retains memory between executions—does not establish the required control for a regional insurer to preserve user conversation context safely across stateless invocations. It replaces a verifiable engineering control with an untested shortcut in the a regional insurer deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 27

At a municipal services portal, engineers need to keep an entire policy section together across chunk boundaries. The architecture must minimize avoidable data exposure. An architecture review has rejected fixes that only conceal the symptoms. Which design decision addresses the underlying issue?

  1. Use structure-aware or hierarchical chunking and test answer recall
  2. Split every document into single-character chunks
  3. Use randomly sized chunks without overlap or structure
  4. Increase model output tokens without improving context selection

Explanation

Correct Answer

A:

Structure-sensitive chunking preserves relationships between headings and text. In a municipal services portal, the engineering team should verify this design against its stated objective to keep an entire policy section together across chunk boundaries, including the requirement that the architecture must minimize avoidable data exposure.

Incorrect Answers

B:

The suggested action—split every document into single-character chunks—does not establish the required control for a municipal services portal to keep an entire policy section together across chunk boundaries. It replaces a verifiable engineering control with an untested shortcut in the a municipal services portal deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—use randomly sized chunks without overlap or structure—does not establish the required control for a municipal services portal to keep an entire policy section together across chunk boundaries. The change is applied outside the component responsible for the requirement identified by a municipal services portal. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—increase model output tokens without improving context selection—does not establish the required control for a municipal services portal to keep an entire policy section together across chunk boundaries. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a municipal services portal. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 28

At a shipping brokerage, engineers need to provide inspectable evidence for a generated compliance recommendation. The design must distinguish inference behavior from upstream data quality. An architecture review has rejected fixes that only conceal the symptoms. What should the lead engineer recommend?

  1. Invent citations to make the answer appear supported
  2. Hide uncertainty behind confident language
  3. Present internal unverified reasoning as an authoritative audit record
  4. Show relevant source citations and communicate uncertainty or limitations

Explanation

Correct Answer

D:

Transparency is strengthened by grounded evidence and calibrated limitations. In a shipping brokerage, the engineering team should verify this design against its stated objective to provide inspectable evidence for a generated compliance recommendation, including the requirement that the design must distinguish inference behavior from upstream data quality.

Incorrect Answers

A:

The suggested action—invent citations to make the answer appear supported—does not establish the required control for a shipping brokerage to provide inspectable evidence for a generated compliance recommendation. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a shipping brokerage. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—hide uncertainty behind confident language—does not establish the required control for a shipping brokerage to provide inspectable evidence for a generated compliance recommendation. It replaces a verifiable engineering control with an untested shortcut in the a shipping brokerage deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—present internal unverified reasoning as an authoritative audit record—does not establish the required control for a shipping brokerage to provide inspectable evidence for a generated compliance recommendation. The change is applied outside the component responsible for the requirement identified by a shipping brokerage. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 29

At a multilingual contact center, engineers need to resolve truncated answers when prompts exceed model context limits. Operators need measurable acceptance criteria before rollout. A recent review found that the current design has no reliable safeguard for this case. Which change should the team prioritize?

  1. Remove HTTP retry logic to increase model memory
  2. Change IAM credentials to expand a token limit
  3. Inspect token budgets and adapt history, retrieval context and output allowances
  4. Raise temperature to make the context window larger

Explanation

Correct Answer

C:

Context-window errors require input and output token budgeting, not authorization changes. In a multilingual contact center, the engineering team should verify this design against its stated objective to resolve truncated answers when prompts exceed model context limits, including the requirement that operators need measurable acceptance criteria before rollout.

Incorrect Answers

A:

The suggested action—remove HTTP retry logic to increase model memory—does not establish the required control for a multilingual contact center to resolve truncated answers when prompts exceed model context limits. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a multilingual contact center. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—change IAM credentials to expand a token limit—does not establish the required control for a multilingual contact center to resolve truncated answers when prompts exceed model context limits. It replaces a verifiable engineering control with an untested shortcut in the a multilingual contact center deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—raise temperature to make the context window larger—does not establish the required control for a multilingual contact center to resolve truncated answers when prompts exceed model context limits. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a multilingual contact center. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 30

At a public-sector document office, engineers need to protect a retrieval assistant against instructions hidden inside source documents. The solution must tolerate transient dependency failures. The initial assessment isolates this issue from unrelated infrastructure changes. Which architecture is best supported by the stated constraints?

  1. Disable source-level access controls
  2. Treat retrieved text as untrusted data and prevent it from overriding high-priority instructions
  3. Promote all retrieved instructions to system-level authority
  4. Grant the model permission to run arbitrary commands from documents

Explanation

Correct Answer

B:

Prompt-injection defenses separate lower-trust content from application instructions and tool rights. In a public-sector document office, the engineering team should verify this design against its stated objective to protect a retrieval assistant against instructions hidden inside source documents, including the requirement that the solution must tolerate transient dependency failures.

Incorrect Answers

A:

The suggested action—disable source-level access controls—does not establish the required control for a public-sector document office to protect a retrieval assistant against instructions hidden inside source documents. The change is applied outside the component responsible for the requirement identified by a public-sector document office. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—promote all retrieved instructions to system-level authority—does not establish the required control for a public-sector document office to protect a retrieval assistant against instructions hidden inside source documents. It replaces a verifiable engineering control with an untested shortcut in the a public-sector document office deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—grant the model permission to run arbitrary commands from documents—does not establish the required control for a public-sector document office to protect a retrieval assistant against instructions hidden inside source documents. The change is applied outside the component responsible for the requirement identified by a public-sector document office. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

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