Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Practice Test 28
Question 270
A GenAI support assistant reduces first-draft time, but specialists spend extra minutes correcting inaccurate answers. Which TWO measurements best determine whether it delivers business value? Choose TWO.
- Measure the median model-generation latency while excluding manual review and later corrections.
- The number of parameters in the model without task-level evidence.
- Total handling time per accepted resolved case, including human correction effort.
- The total count of generated tokens regardless of whether they are useful.
- Customer resolution quality or satisfaction for comparable supported cases.
Explanation
Correct Answers
C:Include drafting, review, rework and escalation time in the same resolved-case metric. Compare case mix and staff cohorts to avoid attributing unrelated efficiency changes to the assistant. A shorter initial draft step may still lose money if correction dominates total handling. Include accepted first-contact resolutions and cases requiring repeated rework; a shorter draft is not an efficiency gain if staff correct it for longer than they previously composed an answer.
E:User-facing quality helps detect when speed gains are purchased at the expense of incorrect or incomplete resolution. Combine it with total staff time, not an isolated model accuracy or fluency score, and examine cases where the assistant caused repeat contacts. Pair satisfaction with audited factual correctness and repeat-contact rates for comparable customers. A pleasant but inaccurate response can lower total resolution quality even if it reduces the initial writing time.
Incorrect Answers
A:Draft latency captures only one part of the support workflow. It can improve even while specialist rework increases the total resolution time. The business decision needs accepted-case handling cost and customer-quality outcomes, including repeat contacts, not a speed-only model metric.
B:Parameter count is a model design property, not a direct business outcome. A smaller model can sometimes solve the task better or at lower full lifecycle cost. Measure real operations.
D:Token counts are useful for cost accounting but do not determine customer outcomes or staff efficiency. More text can mean greater correction burden. Evaluate accepted work. A high token count can mean a verbose but wrong response that takes more specialist time to correct. Track accepted case outcomes and full staff handling cost instead.
Question 271
A multilingual support corpus contains French manuals, while technicians often ask questions in English. An English-only embedding evaluation looks strong but the cross-language search returns irrelevant passages. What should the team test?
- Translate every answer into English without checking which French source was retrieved.
- Discard French documents and rely on model memory for foreign-language rules.
- Choose the embedder solely by its vector dimension because language support is implicit.
- Cross-lingual retrieval quality on paired English questions and labeled French passages before selecting the embedding model.
Explanation
Correct Answer
D:Create a judged bilingual query set including technical terms, product identifiers and ambiguous translations. Compare candidate multilingual embedding models, optional query translation and hybrid search on recall and citation fidelity. Preserve source language and version; verify that the resulting answer reflects the correct French passage, not just fluent English.
Incorrect Answers
A:Output translation cannot repair retrieval of the wrong underlying document. A fluent English response may still be based on irrelevant evidence. Evaluate retrieval first. Translate only after retrieving the appropriate French edition and verifying it supports the technical instruction. Fluency in English cannot reveal a wrong-language search result.
B:Dropping the authoritative French manuals removes the source of truth. Model pretraining is not a substitute for current controlled product documentation. The same current safety requirement may exist only in the French manual. Use multilingual embeddings or judged translation-assisted queries instead of unsupported model memory.
C:Embedding size does not establish cross-language alignment or technical vocabulary quality. Use model documentation and measured bilingual retrieval results. A 1,024-dimensional vector can still fail cross-language matching. Compare the actual embedding model on bilingual abbreviations and preserve source-language citations.
Question 272
A chat UI streams tokens as they arrive. A disallowed instruction sometimes appears early, before a whole-response safety filter can run. What architecture prevents premature disclosure?
- Disable output moderation for streaming because latency is more important than safety.
- Display every token immediately, then delete dangerous text after the user has already read it.
- Apply a streaming-aware safety policy that buffers or checks unsafe segments before exposing them and handles refusal states.
- Assume input filtering guarantees no unsafe text can ever be generated.
Explanation
Correct Answer
C:Design content moderation around incremental delivery, including appropriate buffering windows, policy checks, abort behavior and user-visible status. Test partial unsafe content and adversarial chunk boundaries. Model input filtering helps but cannot guarantee output safety; authorization and sensitive data controls must remain active during streaming. With Bedrock streaming, synchronous guardrail processing scans buffered chunks before delivery, while asynchronous scanning can expose a prohibited fragment first. Test both release timing and fail-safe UI behavior rather than assume a later whole-response moderation pass retracts already-displayed text.
Incorrect Answers
A:Latency optimization does not justify bypassing a required safety policy. Use bounded buffers, supported guardrails and measured acceptable delay. An unsafe fragment may reach users before a full-response check. Configure supported synchronous buffering or controlled segment checks so required filtering runs before release.
B:Removing already displayed text does not reverse exposure, screen capture or automated consumption by clients. Unsafe output must be blocked before delivery. Clients can copy the fragment or trigger downstream actions before it is deleted. Safety decisions must precede display, not merely clean up afterward.
D:Even well-filtered prompts can produce unexpected output or quote unsafe retrieved data. Evaluate both input and output paths and enforce streaming-time safeguards. A harmless user question can yield unsafe output or quote malicious retrieved content. Retain output-stage controls that inspect the bytes actually being delivered.
Question 273
A research report combines claims from two vendor reference books. Reviewers need to know which book and edition supports each generated statement. What is the best citation structure?
- Cite one book for the entire answer even when some facts came from the other.
- Generate plausible page numbers when original source locations are unavailable.
- Attach citation spans and immutable source-version metadata to each consequential claim rather than only a bibliography at the end.
- Strip edition information because citations should be shorter.
Explanation
Correct Answer
C:Carry source ID, edition, passage offsets and use rights from retrieval into generation and the final report. Map each factual assertion to the actual supporting passage and test disputed statements individually. A source list alone may be too coarse when two editions disagree, so preserve claim-level evidence and uncertainty.
Incorrect Answers
A:Blanket attribution can misrepresent which publication supports a particular figure or recommendation. Use separate evidence links for different claims. A technical statement from the second vendor must point to that edition's actual page, not inherit the first book's citation by convenience.
B:Fabricated pages create false confidence and prevent fact checking. If offsets are missing, repair the ingestion pipeline or disclose the limitation. A guessed offset cannot be checked by reviewers and may attribute a claim to the wrong edition. Preserve parser-derived source spans during retrieval.
D:Edition changes can alter recommendations and numeric values. Omitting version identity makes an older claim appear current. Preserve it alongside the citation. An updated edition can change a safety threshold or recommendation. Cite version, publication and passage so the asserted fact can be reproduced historically.
Question 274
An architect configures a Bedrock Knowledge Base with a supported vector backend. Document ingestion succeeds, but query-time retrieval fails after an embedding-model change. Which THREE components should be checked? Choose THREE.
- The knowledge-base service identity’s actual authorization to query the selected vector backend.
- The query embedding model’s compatibility with the stored vector dimensions and semantic space.
- Whether the generated chat answer uses more decorative headings.
- Whether model sampling temperature is high enough to enable storage permissions.
- The vector index mapping and required metadata fields.
Explanation
Correct Answers
A:Ingestion and querying may exercise different permissions or paths. Inspect the service role, resource policies, network access and backend-specific grants that apply at query time. Verify allowed and denied requests with the actual identity. A successful indexing job does not establish that the service role can query the configured OpenSearch or other vector backend. Verify query-path actions, resource policies and any required network access; a denied search call can look like an embedding failure at the client.
B:Query vectors must match the index’s expected dimensions and meaning; a changed embedding model often requires rebuilding stored embeddings. Verify consistent model versions before comparing similarity results. Use a controlled retrieval test and keep an old index until the migration passes. An embedding-model change can alter vector dimensions or semantic representations even when indexing previously succeeded. Compare the model IDs used for stored chunks and query vectors, then rebuild or migrate the index when their contracts differ.
E:The vector backend schema must support the configured embedding dimensions, field names and metadata filters. Check index configuration and whether the KB connector uses the intended collection. Test retrieval independently of the chat client. Inspect the expected vector field dimensions, text/source fields and metadata mapping in the selected backend. A schema mismatch can break retrieval despite healthy ingestion receipts, so validate a known document query end to end.
Incorrect Answers
C:Heading style affects presentation, not vector-index read authorization or schema compatibility. It cannot explain a backend query failure. Isolate retrieval before generating answers. A heading cannot grant vector-collection read permission or repair a query embedding dimension mismatch. Diagnose the backend schema and service role before adjusting answer styling.
D:Decoding temperature controls model output sampling and does not grant database permissions. A higher value could worsen answer reliability while leaving access denied. Random token sampling occurs after search results are returned. It cannot authorize a rejected index query or change the stored vector-field width.
Question 275
A technical policy is truncated because the app sends the first 30 pages of a document into a fixed-size prompt. The decisive exception is near the end. What should it change?
- Assume early pages always contain all controlling clauses.
- Retrieve and chunk relevant sections with complete provenance, explicitly budgeting context and output tokens.
- Switch to retaining only the last prompt pages, without testing whether definitions from earlier sections remain necessary.
- Remove headings and citations so more arbitrary text fits without source traceability.
Explanation
Correct Answer
B:Decompose the source into structure-aware retrievable units, preserve section identities and fetch evidence responsive to the actual question. Count total tokens and validate that important exceptions remain present in selected context. Cite exact source revisions and refuse when relevant text cannot be found, rather than silently truncating a legally meaningful tail.
Incorrect Answers
A:An exception or later amendment can change the meaning of earlier general rules. Fixed first-page selection is not a reliable relevance strategy. Test long-document answerability. An exception on page 38 may override an earlier general clause. Retrieve and cite the relevant sections instead of assuming that the first 30 pages contain complete governing policy.
C:A keep-last truncation rule may include the late exception but drop the definitions, scope or conditions that determine whether it applies. Relevance-aware retrieval should preserve the controlling passages and their source relationships. Test questions where earlier and later clauses must be read together for a defensible answer.
D:Dropping provenance may save tokens but makes answers uncheckable. Optimize chunking and passage selection while keeping evidence identity and key headings. Shortening by removing all provenance risks misquoting an out-of-date or incomplete policy. Use chunk selection with versions and offsets to fit the true context budget.
Question 276
A browser closes during an expensive streamed report generation. The server keeps invoking tools and generating tokens for minutes afterward. What should the service implement?
- Detect disconnects, cancel or bound unused work safely, and record cost and state for authorized resumptions.
- Retry from scratch on every reconnect without stable request identity.
- Ignore token usage metrics so the additional charges are invisible.
- Continue every task indefinitely because user disconnects can never indicate abandonment.
Explanation
Correct Answer
A:Propagate client cancellation or a bounded deadline through streaming, inference and tool stages where supported. For durable tasks, persist resumable state with an authorized job ID; for abandoned interactive work, stop unnecessary compute. Test partial stream closure, timeout cleanup and duplicate reconnects, and monitor consumption after disconnect.
Incorrect Answers
B:Uncoordinated restarts duplicate tokens and side effects while losing progress. Use idempotency and authenticated resumption when the task is designed to continue. Reconnect through an authenticated job ID when the report should persist. New independent executions may repeat paid model calls and non-idempotent tool actions.
C:Visibility suppression does not reduce cost or fix orphaned work. Collect privacy-safe usage and cancellation outcomes to identify waste. Correlate cancellation and billable invocation counts to identify lingering requests. Suppressing usage metrics conceals spend without stopping the orphaned computation. The client disconnect should generate a measured cancellation or durable-job transition.
D:An unlimited server job can waste model capacity and charges after the user no longer needs the result. Workload policy should distinguish background jobs from interactive requests. Cancel abandoned interactive work or keep it as an explicitly durable approved job with expiry and cost cap. A lost browser connection is not authority for unlimited spend.
Question 277
A PostgreSQL vector table uses `vector(768)`, but an updated embedder generates 1,024 values per passage. New inserts fail. What should the developer do?
- Disable query error handling and assume inserts are eventually accepted.
- Change only the source document filename to match the column name.
- Truncate every new vector to 768 dimensions without assessing semantic loss.
- Plan a compatible schema and index migration with regenerated document/query embeddings and retrieval regression checks.
Explanation
Correct Answer
D:Column dimensions and similarity index configuration must match the chosen embedding model. Rebuild vectors and compatible schema in a versioned migration, test database and query compatibility, and verify recall before promoting. Avoid mixing embedding spaces, even if an arbitrary truncation makes values fit the column type.
Incorrect Answers
A:Ignoring validation conceals failed ingestion and creates an incomplete index. Surface errors and follow a controlled migration with rollback. The backend rejected a 1,024-value vector against its 768-width column. Silence hides missing documents and permits incomplete answers; validate index compatibility before ingestion resumes.
B:Names are unrelated to numeric vector lengths. A different filename cannot resolve a database schema constraint violation. Update the actual data model. PostgreSQL vector dimensionality is enforced by the column type, not an S3 or document name. Migrate the field or use a compatible embedding model.
C:Blind truncation may destroy important dimensions and can produce distorted distances. It is not an automatically valid projection between learned spaces. Use supported validated transformations or full re-embedding. Truncation can invalidate the learned similarity geometry and break retrieval quality. Rebuild and benchmark compatible source and query embeddings rather than silently discard dimensions.
Question 278
Three business units are deploying separate generative assistants without assessing whether any can approve payments or expose sensitive data. What governance foundation is needed?
- A rule that the newest model version automatically has the lowest operational risk.
- A centralized inventory of use cases and agents, owners, risk tiers and controls proportional to their permissions and data sensitivity.
- Independent untracked deployments that avoid a central architecture review.
- A single generic prompt saying every assistant is low risk.
Explanation
Correct Answer
B:Catalog the actual application, model, tools, data classes, owners and permitted actions. Classify risk using business impact and access scope, then require controls and verification commensurate with the tier. A payment-capable agent warrants more restrictive approval and audit boundaries than a public brochure writer. Reassess material changes.
Incorrect Answers
A:Model recency does not establish safety, authorization or task quality. Evaluate the actual deployment and its connected systems under a documented policy. A newer model may still have unrestricted payment tools or weak data isolation. Risk classification must assess actual actions, permissions and business consequences.
C:Without a shared inventory, organizations cannot identify duplicated high-risk access, owners or missing controls. Autonomous release decisions need accountable evidence and change tracking. Without a common inventory, nobody knows which agent can move funds or access payroll information. Assign ownership and evaluate the risk tier before deployment.
D:Words in a prompt do not determine the application’s real ability to make payments or retrieve confidential information. Governance requires technical inventory and enforcement. A low-risk declaration in model instructions cannot revoke backend IAM grants or impose payment approval. Apply enforceable action boundaries, evidence and responsible owners.
Question 279
A production Bedrock workload’s token charges double overnight. The total request count barely changes. What observability should the team add?
- Only CPU temperature monitoring on unrelated office laptops.
- Per-model and per-tenant input/output token usage with anomalous prompt-size alerts and version correlation.
- Longer output limits so each request can consume even more tokens.
- A monthly invoice review with no request-level consumption breakdown.
Explanation
Correct Answer
B:Instrument consumed input and output tokens, cache behavior, model identifiers, prompt template versions and traffic cohorts. Alert on unusual average prompt size and request patterns, then investigate retrieval expansion, looping agents or a model pricing/configuration change. Preserve privacy by avoiding raw sensitive prompt capture in usage dashboards.
Incorrect Answers
A:Workstation hardware telemetry has no direct relation to managed model token billing. Focus on API usage and effective request configuration. Managed inference token usage is billed independently of an engineer's laptop temperature. Track prompt and output token counts by model, caller and prompt revision.
C:Increasing allowed output length can raise costs and does not explain the existing regression. Diagnose usage and adjust budgets based on measured business need. If an accidental prompt expansion caused doubled input tokens, allowing longer outputs could compound the bill. Inspect input/output breakdowns before changing limits.
D:Monthly totals reveal spending after the fact but are too coarse to isolate which prompts or callers caused the spike. Collect timely structured consumption data. Request-level usage metrics can reveal a new retrieval template sending larger contexts or a looping caller. A monthly aggregate cannot isolate that change promptly.
Question 280
Bedrock inference calls return HTTP 429 during bursts. The client responds by retrying immediately with no limit, making congestion worse. What resilience change should be made?
- Retry as fast as possible until the service stops throttling every caller.
- Delete request identifiers so duplicate calls are harder to detect.
- Use bounded exponential backoff with jitter, honor supported retry guidance, and evaluate model quotas and admission control.
- Raise request concurrency while preserving the client’s immediate unlimited retry policy.
Explanation
Correct Answer
C:A throttling response calls for traffic shaping, not a tight retry loop. Back off with jitter and a finite attempt/time budget, respect documented hints, queue when appropriate and track token/request quotas. Preserve idempotency for tool side effects and test burst behavior so recovery does not overload the service again.
Incorrect Answers
A:Immediate unbounded retries amplify load, increase cost and make it harder for legitimate requests to succeed. Apply a controlled client retry policy and capacity planning. The client should honor throttling signals with jittered exponential backoff and a finite retry budget; a synchronized storm competes with healthy users and extends recovery.
B:IDs support traceability and deduplication. Removing them does not solve traffic pressure and can conceal repeated side effects. Maintain correlation evidence. Stable request identifiers help distinguish a second transport attempt from a new business operation. Preserve them for tracing, rate limiting and idempotent tool side effects.
D:Higher concurrency can amplify a retry storm under a shared throughput quota. It does not correct the absence of a bounded backoff strategy, and clients may repeatedly contend for the same model capacity. Measure token and request quotas, impose admission control and add jittered retries with explicit attempt limits.