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 22
Question 210
A team publishes a shared AI API to business partners and needs to prevent oversized requests and one partner consuming the entire model quota. Which TWO boundary controls fit?
- Validate input schemas and enforce accepted request-size limits before forwarding to Bedrock.
- Expose raw model-system instructions in response headers for debugging.
- Enforce authenticated per-partner usage limits in line with model request and token capacity.
- Treat a successful TLS connection as proof of authorization for any model.
- Remove all service-side logging so partners can call anonymously.
Explanation
Correct Answers
A:Malformed or excessive requests should fail before consuming inference capacity.
C:Tenant-level quotas prevent a single caller exhausting shared throughput.
Incorrect Answers
B:That would disclose internal policy and does not constrain the request.
D:Transport encryption does not establish permission to invoke a resource.
E:Anonymous operation prevents attribution and undermines abuse management.
Question 211
A partner accesses a generative API with no per-customer consumption limit. What control helps?
- Validate request schema and size before forwarding to the inference backend.
- Enforce authenticated client quotas and usage plans consistent with downstream Bedrock capacity.
- Apply identity checks, throttling, and WAF where applicable before inference.
- Restrict CORS allowed origins to the approved application domains and methods.
Explanation
Correct Answer
B:Caller-level limits prevent one tenant consuming all shared inference throughput.
Incorrect Answers
A:Boundary validation protects downstream model quota and application contracts; caller-level limits prevent one tenant consuming all shared inference throughput.
C:Edge controls reduce abusive traffic before it incurs FM cost or security risk. Caller-level limits prevent one tenant consuming all shared inference throughput.
D:Wildcard cross-origin access is unnecessary for a fixed trusted frontend set, but caller-level limits prevent one tenant consuming all shared inference throughput.
Question 212
An API returns internal system prompts in raw error responses. What handling should change?
- Restrict CORS allowed origins to the approved application domains and methods.
- Validate request schema and size before forwarding to the inference backend.
- Return sanitized errors with correlation IDs while keeping restricted diagnostics server-side.
- Enforce authenticated client quotas and usage plans consistent with downstream Bedrock capacity.
Explanation
Correct Answer
C:Useful error reporting must not expose privileged prompts or secrets.
Incorrect Answers
A:Wildcard cross-origin access is unnecessary for a fixed trusted frontend set, whereas useful error reporting must not expose privileged prompts or secrets.
B:Boundary validation protects downstream model quota and application contracts. Useful error reporting must not expose privileged prompts or secrets.
D:Caller-level limits prevent one tenant consuming all shared inference throughput. Useful error reporting must not expose privileged prompts or secrets.
Question 213
A public-facing chat API is flooded with malicious inputs and bursts. What layered protection is appropriate?
- Validate request schema and size before forwarding to the inference backend.
- Apply identity checks, throttling, and WAF where applicable before inference.
- Return sanitized errors with correlation IDs while keeping restricted diagnostics server-side.
- Enforce authenticated client quotas and usage plans consistent with downstream Bedrock capacity.
Explanation
Correct Answer
B:Edge controls reduce abusive traffic before it incurs FM cost or security risk.
Incorrect Answers
A:Boundary validation protects downstream model quota and application contracts. Edge controls reduce abusive traffic before it incurs FM cost or security risk.
C:Useful error reporting must not expose privileged prompts or secrets. Edge controls reduce abusive traffic before it incurs FM cost or security risk.
D:Caller-level limits prevent one tenant consuming all shared inference throughput; edge controls reduce abusive traffic before it incurs FM cost or security risk.
Question 214
A browser app requires CORS access to a GenAI API from only two known origins. What configuration fits?
- Enforce authenticated client quotas and usage plans consistent with downstream Bedrock capacity.
- Apply identity checks, throttling, and WAF where applicable before inference.
- Return sanitized errors with correlation IDs while keeping restricted diagnostics server-side.
- Restrict CORS allowed origins to the approved application domains and methods.
Explanation
Correct Answer
D:Wildcard cross-origin access is unnecessary for a fixed trusted frontend set.
Incorrect Answers
A:Caller-level limits prevent one tenant consuming all shared inference throughput, but wildcard cross-origin access is unnecessary for a fixed trusted frontend set.
B:Edge controls reduce abusive traffic before it incurs FM cost or security risk. Wildcard cross-origin access is unnecessary for a fixed trusted frontend set.
C:Useful error reporting must not expose privileged prompts or secrets; wildcard cross-origin access is unnecessary for a fixed trusted frontend set.
Question 215
An invoice assistant extracts totals and may post payments only after finance confirmation. What sequence should orchestrate it?
- Separate extraction, validation, and authenticated human approval from the posting step.
- Verify date and business constraints through deterministic validation before persisting the record.
- Publish a validated event and let independent consumers process their tasks asynchronously.
- Use Step Functions with explicit parse, model-call, validation, and failure branches.
Explanation
Correct Answer
A:A generated total is not sufficient authorization for a consequential payment.
Incorrect Answers
B:Model-generated dates are proposals until checked against calendar and business rules; a generated total is not sufficient authorization for a consequential payment.
C:Loose coupling prevents a slow notification destination delaying the intake workflow, whereas a generated total is not sufficient authorization for a consequential payment.
D:A durable state machine clarifies recovery and compensation for each step. A generated total is not sufficient authorization for a consequential payment.
Question 216
A CRM chatbot can call a shipping update API but must not mutate unrelated customer accounts. What check is needed?
- Validate ownership of the target customer record at the action API boundary.
- Separate extraction, validation, and authenticated human approval from the posting step.
- Verify date and business constraints through deterministic validation before persisting the record.
- Use Step Functions with explicit parse, model-call, validation, and failure branches.
Explanation
Correct Answer
A:Agent instructions cannot substitute for business resource authorization.
Incorrect Answers
B:A generated total is not sufficient authorization for a consequential payment, whereas agent instructions cannot substitute for business resource authorization.
C:Model-generated dates are proposals until checked against calendar and business rules. Agent instructions cannot substitute for business resource authorization.
D:A durable state machine clarifies recovery and compensation for each step, but agent instructions cannot substitute for business resource authorization.
Question 217
An agent processes an incoming support email and must notify two services without blocking the request. Which integration helps?
- Validate ownership of the target customer record at the action API boundary.
- Verify date and business constraints through deterministic validation before persisting the record.
- Separate extraction, validation, and authenticated human approval from the posting step.
- Publish a validated event and let independent consumers process their tasks asynchronously.
Explanation
Correct Answer
D:Loose coupling prevents a slow notification destination delaying the intake workflow.
Incorrect Answers
A:Agent instructions cannot substitute for business resource authorization, whereas loose coupling prevents a slow notification destination delaying the intake workflow.
B:Model-generated dates are proposals until checked against calendar and business rules. Loose coupling prevents a slow notification destination delaying the intake workflow.
C:A generated total is not sufficient authorization for a consequential payment, but loose coupling prevents a slow notification destination delaying the intake workflow.
Question 218
A workflow uses Lambda to clean OCR records before an FM but has no retry state. What orchestration can help?
- Publish a validated event and let independent consumers process their tasks asynchronously.
- Validate ownership of the target customer record at the action API boundary.
- Use Step Functions with explicit parse, model-call, validation, and failure branches.
- Separate extraction, validation, and authenticated human approval from the posting step.
Explanation
Correct Answer
C:A durable state machine clarifies recovery and compensation for each step.
Incorrect Answers
A:Loose coupling prevents a slow notification destination delaying the intake workflow. A durable state machine clarifies recovery and compensation for each step.
B:Agent instructions cannot substitute for business resource authorization, but a durable state machine clarifies recovery and compensation for each step.
D:A generated total is not sufficient authorization for a consequential payment; a durable state machine clarifies recovery and compensation for each step.
Question 219
A chatbot writes a delivery date derived from an LLM directly to the order database. What should be added?
- Validate ownership of the target customer record at the action API boundary.
- Use Step Functions with explicit parse, model-call, validation, and failure branches.
- Verify date and business constraints through deterministic validation before persisting the record.
- Publish a validated event and let independent consumers process their tasks asynchronously.
Explanation
Correct Answer
C:Model-generated dates are proposals until checked against calendar and business rules.
Incorrect Answers
A:Agent instructions cannot substitute for business resource authorization, but model-generated dates are proposals until checked against calendar and business rules.
B:A durable state machine clarifies recovery and compensation for each step. Model-generated dates are proposals until checked against calendar and business rules.
D:Loose coupling prevents a slow notification destination delaying the intake workflow, whereas model-generated dates are proposals until checked against calendar and business rules.
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.
AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests