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.

Question 31

At a clinical scheduling platform, engineers need to document model limitations and acceptable use before regulated deployment. The design must distinguish inference behavior from upstream data quality. An architecture review has rejected fixes that only conceal the symptoms. What should be implemented before scaling this workflow?

  1. Maintain model cards, risk assessments and accountable approvals
  2. Treat a model vendor marketing page as the complete risk assessment
  3. Skip governance if output is fluent
  4. Ask end users to discover limitations only after incidents

Explanation

Correct Answer

A:

Governance artifacts define limitations, ownership and acceptance criteria. In a clinical scheduling platform, the engineering team should verify this design against its stated objective to document model limitations and acceptable use before regulated deployment, including the requirement that the design must distinguish inference behavior from upstream data quality.

Incorrect Answers

B:

The suggested action—treat a model vendor marketing page as the complete risk assessment—does not establish the required control for a clinical scheduling platform to document model limitations and acceptable use before regulated deployment. It replaces a verifiable engineering control with an untested shortcut in the a clinical scheduling platform deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—skip governance if output is fluent—does not establish the required control for a clinical scheduling platform to document model limitations and acceptable use before regulated deployment. The change is applied outside the component responsible for the requirement identified by a clinical scheduling platform. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—ask end users to discover limitations only after incidents—does not establish the required control for a clinical scheduling platform to document model limitations and acceptable use before regulated deployment. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a clinical scheduling platform. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 32

At an airline operations unit, engineers need to assist developers with code changes while preserving review controls. The service must continue to support multiple independent tenants. The team wants a solution that can be validated through targeted test cases. What is the most appropriate production approach?

  1. Merge every generated suggestion without testing
  2. Assign the assistant production administrator privileges by default
  3. Treat generated code as inherently licensed and secure
  4. Use Amazon Q Developer as an assistant and keep tests and human code review

Explanation

Correct Answer

D:

Code assistance can accelerate work but does not replace engineering quality gates. In an airline operations unit, the engineering team should verify this design against its stated objective to assist developers with code changes while preserving review controls, including the requirement that the service must continue to support multiple independent tenants.

Incorrect Answers

A:

The suggested action—merge every generated suggestion without testing—does not establish the required control for an airline operations unit to assist developers with code changes while preserving review controls. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by an airline operations unit. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—assign the assistant production administrator privileges by default—does not establish the required control for an airline operations unit to assist developers with code changes while preserving review controls. It replaces a verifiable engineering control with an untested shortcut in the an airline operations unit deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—treat generated code as inherently licensed and secure—does not establish the required control for an airline operations unit to assist developers with code changes while preserving review controls. The change is applied outside the component responsible for the requirement identified by an airline operations unit. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 33

At a travel services company, engineers need to improve vector search scale across independent business collections. Operators need measurable acceptance criteria before rollout. The initial assessment isolates this issue from unrelated infrastructure changes. What should be implemented before scaling this workflow?

  1. Increase generation temperature to speed vector queries
  2. Assume vector dimensionality alone determines throughput
  3. Partition or shard indexes according to query patterns and monitor recall and latency
  4. Combine every document into a single giant chunk

Explanation

Correct Answer

C:

Index layout and capacity decisions need workload-specific search performance measurements. In a travel services company, the engineering team should verify this design against its stated objective to improve vector search scale across independent business collections, including the requirement that operators need measurable acceptance criteria before rollout.

Incorrect Answers

A:

The suggested action—increase generation temperature to speed vector queries—does not establish the required control for a travel services company to improve vector search scale across independent business collections. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a travel services company. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—assume vector dimensionality alone determines throughput—does not establish the required control for a travel services company to improve vector search scale across independent business collections. It replaces a verifiable engineering control with an untested shortcut in the a travel services company deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—combine every document into a single giant chunk—does not establish the required control for a travel services company to improve vector search scale across independent business collections. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a travel services company. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 34

At a legal case-management provider, engineers need to provide inspectable evidence for a generated compliance recommendation. Response reliability is more important than free-form creativity. The team wants a solution that can be validated through targeted test cases. Which change should the team prioritize?

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

Explanation

Correct Answer

A:

Transparency is strengthened by grounded evidence and calibrated limitations. In a legal case-management provider, the engineering team should verify this design against its stated objective to provide inspectable evidence for a generated compliance recommendation, including the requirement that response reliability is more important than free-form creativity.

Incorrect Answers

B:

The suggested action—invent citations to make the answer appear supported—does not establish the required control for a legal case-management provider to provide inspectable evidence for a generated compliance recommendation. It replaces a verifiable engineering control with an untested shortcut in the a legal case-management provider deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—hide uncertainty behind confident language—does not establish the required control for a legal case-management provider to provide inspectable evidence for a generated compliance recommendation. The change is applied outside the component responsible for the requirement identified by a legal case-management provider. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—present internal unverified reasoning as an authoritative audit record—does not establish the required control for a legal case-management provider 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 legal case-management provider. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 35

At a logistics marketplace, engineers need to explain new API invocation failures following an integration change. The next release must be evaluated against the previous baseline. The initial assessment isolates this issue from unrelated infrastructure changes. What is the most appropriate production approach?

  1. Reduce the retriever top-k without examining the failed request
  2. Increase model randomness to fix IAM denial
  3. Assume all 4xx and 5xx errors have the same root cause
  4. Inspect status codes, SDK errors, model access permissions and request shapes

Explanation

Correct Answer

D:

Integration debugging differentiates authorization, validation, throttling and service failures. In a logistics marketplace, the engineering team should verify this design against its stated objective to explain new API invocation failures following an integration change, including the requirement that the next release must be evaluated against the previous baseline.

Incorrect Answers

A:

The suggested action—reduce the retriever top-k without examining the failed request—does not establish the required control for a logistics marketplace to explain new API invocation failures following an integration change. The change is applied outside the component responsible for the requirement identified by a logistics marketplace. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—increase model randomness to fix IAM denial—does not establish the required control for a logistics marketplace to explain new API invocation failures following an integration change. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a logistics marketplace. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—assume all 4xx and 5xx errors have the same root cause—does not establish the required control for a logistics marketplace to explain new API invocation failures following an integration change. It replaces a verifiable engineering control with an untested shortcut in the a logistics marketplace deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 36

At a SaaS procurement platform, engineers need to improve ranking when several retrieved chunks are loosely relevant. The implementation must remain maintainable across model upgrades. An architecture review has rejected fixes that only conceal the symptoms. What is the most appropriate production approach?

  1. Eliminate retrieval and rely on model parametric knowledge
  2. Apply a reranking stage to candidate search results
  3. Send candidates in random order to the model
  4. Select the oldest document regardless of query relevance

Explanation

Correct Answer

B:

Reranking evaluates candidate relevance after initial search and before context assembly. In a SaaS procurement platform, the engineering team should verify this design against its stated objective to improve ranking when several retrieved chunks are loosely relevant, including the requirement that the implementation must remain maintainable across model upgrades.

Incorrect Answers

A:

The suggested action—eliminate retrieval and rely on model parametric knowledge—does not establish the required control for a SaaS procurement platform to improve ranking when several retrieved chunks are loosely relevant. It replaces a verifiable engineering control with an untested shortcut in the a SaaS procurement platform deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—send candidates in random order to the model—does not establish the required control for a SaaS procurement platform to improve ranking when several retrieved chunks are loosely relevant. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a SaaS procurement platform. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—select the oldest document regardless of query relevance—does not establish the required control for a SaaS procurement platform to improve ranking when several retrieved chunks are loosely relevant. It replaces a verifiable engineering control with an untested shortcut in the a SaaS procurement platform deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 37

At an airline operations unit, engineers need to build a multi-stage prompt workflow with conditional branching. The next release must be evaluated against the previous baseline. The team wants a solution that can be validated through targeted test cases. Which remediation addresses the root problem?

  1. Concatenate every instruction into one uncontrolled response
  2. Use a database index as the workflow orchestrator
  3. Depend on the model spontaneously executing external services
  4. Orchestrate explicit processing stages and validated transitions with Prompt Flows or Step Functions

Explanation

Correct Answer

D:

Explicit workflow control makes stages observable, testable and recoverable. In an airline operations unit, the engineering team should verify this design against its stated objective to build a multi-stage prompt workflow with conditional branching, including the requirement that the next release must be evaluated against the previous baseline.

Incorrect Answers

A:

The suggested action—concatenate every instruction into one uncontrolled response—does not establish the required control for an airline operations unit to build a multi-stage prompt workflow with conditional branching. The change is applied outside the component responsible for the requirement identified by an airline operations unit. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—use a database index as the workflow orchestrator—does not establish the required control for an airline operations unit to build a multi-stage prompt workflow with conditional branching. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by an airline operations unit. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—depend on the model spontaneously executing external services—does not establish the required control for an airline operations unit to build a multi-stage prompt workflow with conditional branching. It replaces a verifiable engineering control with an untested shortcut in the an airline operations unit deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 38

At a digital publishing business, engineers need to publish an internal GenAI service with an explicit, testable API schema. The service must continue to support multiple independent tenants. The initial assessment isolates this issue from unrelated infrastructure changes. Which design decision addresses the underlying issue?

  1. Let consumers guess request parameters from generated examples
  2. Use the vector dimension as the API version
  3. Define an OpenAPI contract with request validation and stable versions
  4. Describe the API exclusively in unversioned prompt instructions

Explanation

Correct Answer

C:

API-first contracts reduce ambiguous integration and support compatibility testing. In a digital publishing business, the engineering team should verify this design against its stated objective to publish an internal GenAI service with an explicit, testable API schema, including the requirement that the service must continue to support multiple independent tenants.

Incorrect Answers

A:

The suggested action—let consumers guess request parameters from generated examples—does not establish the required control for a digital publishing business to publish an internal GenAI service with an explicit, testable API schema. It replaces a verifiable engineering control with an untested shortcut in the a digital publishing business deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—use the vector dimension as the API version—does not establish the required control for a digital publishing business to publish an internal GenAI service with an explicit, testable API schema. 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.

D:

The suggested action—describe the API exclusively in unversioned prompt instructions—does not establish the required control for a digital publishing business to publish an internal GenAI service with an explicit, testable API schema. It replaces a verifiable engineering control with an untested shortcut in the a digital publishing business deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 39

At an airline operations unit, engineers need to validate customer-facing use-case feasibility before committing to a multimillion-request rollout. The architecture must minimize avoidable data exposure. A recent review found that the current design has no reliable safeguard for this case. What is the most appropriate production approach?

  1. Infer production throughput from a single successful request
  2. Build a limited Bedrock proof of concept and measure accuracy, latency and cost against acceptance thresholds
  3. Commit to the first model demonstrated without evaluating workloads
  4. Train a new foundation model before checking managed alternatives

Explanation

Correct Answer

B:

A scoped POC compares representative workload outcomes before making a deployment commitment. In an airline operations unit, the engineering team should verify this design against its stated objective to validate customer-facing use-case feasibility before committing to a multimillion-request rollout, including the requirement that the architecture must minimize avoidable data exposure.

Incorrect Answers

A:

The suggested action—infer production throughput from a single successful request—does not establish the required control for an airline operations unit to validate customer-facing use-case feasibility before committing to a multimillion-request rollout. It replaces a verifiable engineering control with an untested shortcut in the an airline operations unit deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—commit to the first model demonstrated without evaluating workloads—does not establish the required control for an airline operations unit to validate customer-facing use-case feasibility before committing to a multimillion-request rollout. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by an airline operations unit. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

D:

The suggested action—train a new foundation model before checking managed alternatives—does not establish the required control for an airline operations unit to validate customer-facing use-case feasibility before committing to a multimillion-request rollout. It replaces a verifiable engineering control with an untested shortcut in the an airline operations unit deployment. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

Question 40

At a SaaS procurement platform, engineers need to connect agents to tools with consistent contracts across services. A controlled rollout is required before broad user exposure. The initial assessment isolates this issue from unrelated infrastructure changes. What is the most appropriate production approach?

  1. Parse arbitrary unvalidated text as database commands
  2. Give agents raw internal credentials for every service
  3. Assume tool schemas never change between versions
  4. Define typed tool inputs and outputs and validate parameters at execution time

Explanation

Correct Answer

D:

Well-defined tool contracts reduce execution errors and enforce boundaries. In a SaaS procurement platform, the engineering team should verify this design against its stated objective to connect agents to tools with consistent contracts across services, including the requirement that a controlled rollout is required before broad user exposure.

Incorrect Answers

A:

The suggested action—parse arbitrary unvalidated text as database commands—does not establish the required control for a SaaS procurement platform to connect agents to tools with consistent contracts across services. The change is applied outside the component responsible for the requirement identified by a SaaS procurement platform. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

B:

The suggested action—give agents raw internal credentials for every service—does not establish the required control for a SaaS procurement platform to connect agents to tools with consistent contracts across services. No demonstrated capability in this scenario guarantees that this step resolves the concern raised by a SaaS procurement platform. In this deployment, engineers should verify the missing mechanism rather than assume the proposed step satisfies the acceptance conditions.

C:

The suggested action—assume tool schemas never change between versions—does not establish the required control for a SaaS procurement platform to connect agents to tools with consistent contracts across services. It replaces a verifiable engineering control with an untested shortcut in the a SaaS procurement platform deployment. 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