100% Latest & Updated Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Practice Test 23
Question 220
An engineering team uses Amazon Q Developer to suggest API code. What practice keeps its deployment safe?
- Version the prompt, model configuration, sanitized inputs, and expected outputs used in the failing test.
- Run code review, tests, and security scanning on suggested changes before merging.
- Execute code in an isolated test environment and check outcomes against expected assertions.
- Add consumer-driven schema tests for the model-tool interface and representative arguments.
Explanation
Correct Answer
B:AI coding assistance does not remove the developer's responsibility for correctness.
Incorrect Answers
A:Controlled reproduction requires the exact combination of relevant runtime artifacts. AI coding assistance does not remove the developer's responsibility for correctness.
C:Syntactically convincing model text is not a substitute for running tests, whereas aI coding assistance does not remove the developer's responsibility for correctness.
D:Breaking tool changes can be detected before they reach production agents. AI coding assistance does not remove the developer's responsibility for correctness.
Question 221
A Lambda-backed agent times out but only generic HTTP failures are logged. What should be instrumented?
- Execute code in an isolated test environment and check outcomes against expected assertions.
- Run code review, tests, and security scanning on suggested changes before merging.
- Add consumer-driven schema tests for the model-tool interface and representative arguments.
- Record correlated inference request IDs, model latency, tool timings, and failure categories.
Explanation
Correct Answer
D:Component-level telemetry separates model delay from downstream integration delay.
Incorrect Answers
A:Syntactically convincing model text is not a substitute for running tests; component-level telemetry separates model delay from downstream integration delay.
B:AI coding assistance does not remove the developer's responsibility for correctness, whereas component-level telemetry separates model delay from downstream integration delay.
C:Breaking tool changes can be detected before they reach production agents. Component-level telemetry separates model delay from downstream integration delay.
Question 222
A developer changes the prompt template but cannot reproduce a previously reported issue. What should be retained?
- Run code review, tests, and security scanning on suggested changes before merging.
- Record correlated inference request IDs, model latency, tool timings, and failure categories.
- Execute code in an isolated test environment and check outcomes against expected assertions.
- Version the prompt, model configuration, sanitized inputs, and expected outputs used in the failing test.
Explanation
Correct Answer
D:Controlled reproduction requires the exact combination of relevant runtime artifacts.
Incorrect Answers
A:AI coding assistance does not remove the developer's responsibility for correctness, whereas controlled reproduction requires the exact combination of relevant runtime artifacts.
B:Component-level telemetry separates model delay from downstream integration delay. Controlled reproduction requires the exact combination of relevant runtime artifacts.
C:Syntactically convincing model text is not a substitute for running tests, but controlled reproduction requires the exact combination of relevant runtime artifacts.
Question 223
An agent repeatedly fails after a new tool schema is deployed. What development test should be automated?
- Record correlated inference request IDs, model latency, tool timings, and failure categories.
- Add consumer-driven schema tests for the model-tool interface and representative arguments.
- Version the prompt, model configuration, sanitized inputs, and expected outputs used in the failing test.
- Run code review, tests, and security scanning on suggested changes before merging.
Explanation
Correct Answer
B:Breaking tool changes can be detected before they reach production agents.
Incorrect Answers
A:Component-level telemetry separates model delay from downstream integration delay. Breaking tool changes can be detected before they reach production agents.
C:Controlled reproduction requires the exact combination of relevant runtime artifacts. Breaking tool changes can be detected before they reach production agents.
D:AI coding assistance does not remove the developer's responsibility for correctness; breaking tool changes can be detected before they reach production agents.
Question 224
A team relies on output fluency to judge whether generated code is runnable. What developer workflow is needed?
- Add consumer-driven schema tests for the model-tool interface and representative arguments.
- Execute code in an isolated test environment and check outcomes against expected assertions.
- Record correlated inference request IDs, model latency, tool timings, and failure categories.
- Version the prompt, model configuration, sanitized inputs, and expected outputs used in the failing test.
Explanation
Correct Answer
B:Syntactically convincing model text is not a substitute for running tests.
Incorrect Answers
A:Breaking tool changes can be detected before they reach production agents, but syntactically convincing model text is not a substitute for running tests.
C:Component-level telemetry separates model delay from downstream integration delay; syntactically convincing model text is not a substitute for running tests.
D:Controlled reproduction requires the exact combination of relevant runtime artifacts, whereas syntactically convincing model text is not a substitute for running tests.
Question 225
A tool-using support agent can issue refunds and must produce a structured CRM outcome after processing. Choose THREE safeguards before production release.
- Require explicit account and amount authorization at the refund tool endpoint.
- Use idempotency keys and reconcile external transaction state after uncertain retries.
- Let a retrieved FAQ article grant the agent new payment permissions.
- Validate the generated CRM record against a schema before persisting it.
- Replace financial audit logs with the assistant's final natural-language summary.
- Allow unlimited tool iterations because the task is customer service.
Explanation
Correct Answers
A:Application-side checks prevent unapproved financial changes.
B:The same refund should not be executed more than once when acknowledgments fail.
D:Model output must meet deterministic business-data constraints.
Incorrect Answers
C:Retrieved content is data and has no authority to change tool roles.
E:A prose summary cannot reconstruct the actual approved transactions.
F:Unbounded execution increases risk and cost without guaranteeing completion.
Question 226
A workflow should ask a clarification question only when the entity resolver is uncertain. What capability is missing?
- Define explicit retry count, state transition, and terminal failure handling.
- Add a conditional branch based on a validated ambiguity signal.
- Use explicit ordered nodes for classification, retrieval, generation, and post-generation validation.
- Move schema, factual, and authorization checks ahead of all irreversible database writes.
Explanation
Correct Answer
B:Branching avoids unnecessary clarification while preventing arbitrary entity guesses.
Incorrect Answers
A:Retry loops must be bounded to prevent runaway requests and cost; branching avoids unnecessary clarification while preventing arbitrary entity guesses.
C:Staged orchestration makes dependent inputs and checks visible and recoverable. Branching avoids unnecessary clarification while preventing arbitrary entity guesses.
D:The workflow should validate generated data before exposing business side effects, but branching avoids unnecessary clarification while preventing arbitrary entity guesses.
Question 227
An agent combines several independent model responses into a final legal memo. What must the aggregator verify?
- Use explicit ordered nodes for classification, retrieval, generation, and post-generation validation.
- Define explicit retry count, state transition, and terminal failure handling.
- Compare source versions and reconcile contradictory claims before final synthesis.
- Add a conditional branch based on a validated ambiguity signal.
Explanation
Correct Answer
C:Aggregation without evidence reconciliation can turn disagreement into false certainty.
Incorrect Answers
A:Staged orchestration makes dependent inputs and checks visible and recoverable, whereas aggregation without evidence reconciliation can turn disagreement into false certainty.
B:Retry loops must be bounded to prevent runaway requests and cost. Aggregation without evidence reconciliation can turn disagreement into false certainty.
D:Branching avoids unnecessary clarification while preventing arbitrary entity guesses. Aggregation without evidence reconciliation can turn disagreement into false certainty.
Question 228
A chained model pipeline writes a database row before validating its generated record. What sequencing change is needed?
- Compare source versions and reconcile contradictory claims before final synthesis.
- Move schema, factual, and authorization checks ahead of all irreversible database writes.
- Add a conditional branch based on a validated ambiguity signal.
- Use explicit ordered nodes for classification, retrieval, generation, and post-generation validation.
Explanation
Correct Answer
B:The workflow should validate generated data before exposing business side effects.
Incorrect Answers
A:Aggregation without evidence reconciliation can turn disagreement into false certainty. The workflow should validate generated data before exposing business side effects.
C:Branching avoids unnecessary clarification while preventing arbitrary entity guesses. The workflow should validate generated data before exposing business side effects.
D:Staged orchestration makes dependent inputs and checks visible and recoverable; the workflow should validate generated data before exposing business side effects.
Question 229
A customer-facing assistant receives hostile input and sometimes generates unsafe replies. Which TWO applications of a configured Bedrock Guardrail are appropriate?
- Screen eligible user prompt content for configured harmful categories.
- Treat the model prompt as a replacement for the caller's IAM permissions.
- Evaluate generated response content before it is delivered under the approved content policy.
- Disable server-side authorization after the first guardrail passes.
- Assume one pass means a future model update requires no safety regression tests.
Explanation
Correct Answers
A:Input-side checks reduce unsafe content reaching the model workflow.
C:Output controls can prevent disallowed content being returned to users.
Incorrect Answers
B:Natural-language instructions do not grant or revoke AWS access.
D:A content filter cannot authorize business tools.
E:Guardrail and model behavior can change and must be tested again.
Question 230
A financial advice bot must not discuss prohibited investment schemes even when user wording is indirect. What guardrail component fits?
- Test allowed and prohibited samples before promoting the updated guardrail version.
- Apply a versioned Bedrock Guardrail with the relevant content-filter policy to prompts and responses.
- Configure a denied-topics policy and test representative paraphrases.
- Require the specified Guardrail identifier in IAM conditions on supported inference calls.
Explanation
Correct Answer
C:Topic controls enforce domain restrictions that a simple block-word list may miss.
Incorrect Answers
A:Guardrail tuning can trade harmful-content blocking against legitimate task availability. Topic controls enforce domain restrictions that a simple block-word list may miss.
B:A guardrail can evaluate configured harmful-content categories on model interactions; topic controls enforce domain restrictions that a simple block-word list may miss.
D:Authorization policy can deny invocations missing the mandated guardrail configuration. Topic controls enforce domain restrictions that a simple block-word list may miss.
AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests