Certified Generative AI Engineer Associate Practice Test 46
Question 450
An engineering review considers a safeguard for this situation: Price availability text changes many times daily and must affect semantic search rapidly. The proposed action is: Choose supported index synchronization mode and verify freshness SLA under updates. Which observed failure most strongly justifies that action?
- The endpoint uses broad service access and returns another department's records
- Revoking the engineer's personal token unexpectedly breaks production access
- A deployment hardcodes an artifact path and cannot roll back quickly
- The vector index refreshes once per day and returns stale inventory summaries
Explanation
Correct Answer
D:The vector index refreshes once per day and returns stale inventory summaries. This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates. Update frequency is a key design input for choosing index deployment. The follow-up evidence would be: A changed catalog record appears in results within agreed refresh window. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The endpoint uses broad service access and returns another department's records” is associated with this technical property: This observation motivates the specific control to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters. The question instead turns on “The vector index refreshes once per day and returns stale inventory summaries”: This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates.
B:“Revoking the engineer's personal token unexpectedly breaks production access” is associated with this technical property: This observation motivates the specific control to Configure supported workload identity and scoped service credentials for the endpoint. The question instead turns on “The vector index refreshes once per day and returns stale inventory summaries”: This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates.
C:“A deployment hardcodes an artifact path and cannot roll back quickly” is associated with this technical property: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls. The question instead turns on “The vector index refreshes once per day and returns stale inventory summaries”: This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates.
Question 451
The team observes this failure in a GenAI application: Top retrieved hits are identical legal and navigation boilerplate rather than substance. After implementing the fix to Remove irrelevant repeated chrome before chunking and index creation, which measurement or test most directly demonstrates success?
- Sample retrieval hits prioritize policy sections and repeated footers are absent
- Parsed heading and FAQ answer match the original DOM without menus
- Order answers match current shipment data and reference the right transaction
- Exact error-code passages appear in measured top-k results
Explanation
Correct Answer
A:Sample retrieval hits prioritize policy sections and repeated footers are absent. This specifically validates the remediation to Remove irrelevant repeated chrome before chunking and index creation for the failure that Top retrieved hits are identical legal and navigation boilerplate rather than substance. High-frequency irrelevant text dilutes retrieval quality and raises noise. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Parsed heading and FAQ answer match the original DOM without menus” is associated with this technical property: Extraction tools must match source encoding and document format. The question instead turns on “Sample retrieval hits prioritize policy sections and repeated footers are absent”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
C:“Order answers match current shipment data and reference the right transaction” is associated with this technical property: Source completeness matters more than a persuasive prompt for operational answers. The question instead turns on “Sample retrieval hits prioritize policy sections and repeated footers are absent”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
D:“Exact error-code passages appear in measured top-k results” is associated with this technical property: Lexical exact matching complements dense retrieval for precise tokens. The question instead turns on “Sample retrieval hits prioritize policy sections and repeated footers are absent”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
Question 452
The team observes this failure in a GenAI application: They provision self-managed inference nodes for a straightforward hosted API workload. After implementing the fix to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota, which measurement or test most directly demonstrates success?
- Fresh environment can load and invoke the logged artifact identically
- Serving test shows scoped retrieval and rejects missing mandatory scope
- Authorized API calls return summaries and quota/latency behavior is monitored
- Clean deployment starts successfully without relying on notebook-local imports
Explanation
Correct Answer
C:Authorized API calls return summaries and quota/latency behavior is monitored. This specifically validates the remediation to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota for the failure that They provision self-managed inference nodes for a straightforward hosted API workload. Hosted model APIs separate application logic from model infrastructure operations. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Fresh environment can load and invoke the logged artifact identically” is associated with this technical property: Model logging format must represent the callable application's full behavior. The question instead turns on “Authorized API calls return summaries and quota/latency behavior is monitored”: Hosted model APIs separate application logic from model infrastructure operations.
B:“Serving test shows scoped retrieval and rejects missing mandatory scope” is associated with this technical property: Model packaging must preserve fields required to enforce data boundaries. The question instead turns on “Authorized API calls return summaries and quota/latency behavior is monitored”: Hosted model APIs separate application logic from model infrastructure operations.
D:“Clean deployment starts successfully without relying on notebook-local imports” is associated with this technical property: A model artifact must include compatible runtime dependencies for reproducible serving. The question instead turns on “Authorized API calls return summaries and quota/latency behavior is monitored”: Hosted model APIs separate application logic from model infrastructure operations.
Question 453
The team observes this failure in a GenAI application: The deployment chooses the premium model without considering volume. After implementing the fix to Plot cost, latency and quality tradeoffs under expected traffic mix, which measurement or test most directly demonstrates success?
- Reviewers can trace each material claim to a passage or a documented abstention
- Tool-call success rate and fallback behavior meet test targets
- Chosen variant meets minimum quality at sustainable expected monthly cost
- Photo invoices yield verifiable extracted values and low-confidence flags
Explanation
Correct Answer
C:Chosen variant meets minimum quality at sustainable expected monthly cost. This specifically validates the remediation to Plot cost, latency and quality tradeoffs under expected traffic mix for the failure that The deployment chooses the premium model without considering volume. Model selection is a multi-objective optimization with service constraints. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Reviewers can trace each material claim to a passage or a documented abstention” is associated with this technical property: Fluency is not evidence of grounded correctness. The question instead turns on “Chosen variant meets minimum quality at sustainable expected monthly cost”: Model selection is a multi-objective optimization with service constraints.
B:“Tool-call success rate and fallback behavior meet test targets” is associated with this technical property: Tool calling reliability is a distinct operational capability from general language fluency. The question instead turns on “Chosen variant meets minimum quality at sustainable expected monthly cost”: Model selection is a multi-objective optimization with service constraints.
D:“Photo invoices yield verifiable extracted values and low-confidence flags” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Chosen variant meets minimum quality at sustainable expected monthly cost”: Model selection is a multi-objective optimization with service constraints.
Question 454
An application intended to satisfy this requirement, A regulatory assistant must reproduce specific required policy amounts, instead experiences: A generic relevance judge scores a plausible but wrong amount as good. Which targeted engineering correction resolves this failure?
- Choose an evaluator using verified ground-truth expected values for numerical correctness
- Apply production monitoring with quality scorers and sampling policies
- Enable governed inference tables and correlate request IDs with MLflow traces
- Cache eligible nonprivate responses with document-version invalidation
Explanation
Correct Answer
A:Choose an evaluator using verified ground-truth expected values for numerical correctness targets the observed failure: A generic relevance judge scores a plausible but wrong amount as good. Ground-truth scoring is necessary when exact facts determine correctness. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Wrong but fluent amount receives a failing score against reference.
Incorrect Answers
B:“Apply production monitoring with quality scorers and sampling policies” is associated with this technical property: Operational availability and response correctness require separate tracking. The question instead turns on “Choose an evaluator using verified ground-truth expected values for numerical correctness”: Ground-truth scoring is necessary when exact facts determine correctness.
C:“Enable governed inference tables and correlate request IDs with MLflow traces” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Choose an evaluator using verified ground-truth expected values for numerical correctness”: Ground-truth scoring is necessary when exact facts determine correctness.
D:“Cache eligible nonprivate responses with document-version invalidation” is associated with this technical property: Caching saves inference cost only when response scope and freshness permit reuse. The question instead turns on “Choose an evaluator using verified ground-truth expected values for numerical correctness”: Ground-truth scoring is necessary when exact facts determine correctness.
Question 455
The team observes this failure in a GenAI application: Vector-only search misses documents mentioning a rare literal error identifier. After implementing the fix to Combine keyword and semantic retrieval, then optionally rerank shortlisted results, which measurement or test most directly demonstrates success?
- Second run without changes adds no duplicates and changed documents re-embed
- Exact error-code passages appear in measured top-k results
- Recall@k rises for held-out expected passages without excessive result count
- Sample retrieval hits prioritize policy sections and repeated footers are absent
Explanation
Correct Answer
B:Exact error-code passages appear in measured top-k results. This specifically validates the remediation to Combine keyword and semantic retrieval, then optionally rerank shortlisted results for the failure that Vector-only search misses documents mentioning a rare literal error identifier. Lexical exact matching complements dense retrieval for precise tokens. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Second run without changes adds no duplicates and changed documents re-embed” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Exact error-code passages appear in measured top-k results”: Lexical exact matching complements dense retrieval for precise tokens.
C:“Recall@k rises for held-out expected passages without excessive result count” is associated with this technical property: Retrieval recall is an upstream prerequisite for grounded answer generation. The question instead turns on “Exact error-code passages appear in measured top-k results”: Lexical exact matching complements dense retrieval for precise tokens.
D:“Sample retrieval hits prioritize policy sections and repeated footers are absent” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Exact error-code passages appear in measured top-k results”: Lexical exact matching complements dense retrieval for precise tokens.
Question 456
An application intended to satisfy this requirement, An index mixes published and embargoed customer documents, instead experiences: Similarity search ranks an embargoed item before policy-relevant public content. Which targeted engineering correction resolves this failure?
- Apply authorized metadata or row-level eligibility filters before returning results
- Test source table and index sync before promoting agent to production
- Benchmark supported index types against collection size, update cadence, query latency and cost
- Use hybrid lexical and dense search with measured relevance for the workload
Explanation
Correct Answer
A:Apply authorized metadata or row-level eligibility filters before returning results targets the observed failure: Similarity search ranks an embargoed item before policy-relevant public content. Similarity score is not authorization or publication status. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Authorized query retrieves only approved documents even when excluded items are semantically closer.
Incorrect Answers
B:“Test source table and index sync before promoting agent to production” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Apply authorized metadata or row-level eligibility filters before returning results”: Similarity score is not authorization or publication status.
C:“Benchmark supported index types against collection size, update cadence, query latency and cost” is associated with this technical property: Index architecture is a workload tradeoff, not solely a storage-price decision. The question instead turns on “Apply authorized metadata or row-level eligibility filters before returning results”: Similarity score is not authorization or publication status.
D:“Use hybrid lexical and dense search with measured relevance for the workload” is associated with this technical property: Keyword and dense methods retrieve complementary kinds of evidence. The question instead turns on “Apply authorized metadata or row-level eligibility filters before returning results”: Similarity score is not authorization or publication status.
Question 457
For the requirement that An agent API must enforce tenant-specific token and request budgets, the team proposes this change: Configure supported AI Gateway rate limits and usage monitoring by authorized identity. Which technical principle explains why it is appropriate?
- Gateway controls can govern resource consumption across model invocations
- Token use diagnostics reveal cost regressions invisible in request counts
- Operational availability and response correctness require separate tracking
- Domain quality criteria should be explicit, testable and tied to allowed evidence
Explanation
Correct Answer
A:Gateway controls can govern resource consumption across model invocations. The proposed engineering step is to Configure supported AI Gateway rate limits and usage monitoring by authorized identity. It directly supports the requirement that An agent API must enforce tenant-specific token and request budgets. The operational test is that Abusive burst is throttled and other tenant traffic remains within SLO. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Token use diagnostics reveal cost regressions invisible in request counts” is associated with this technical property: It directly supports the requirement that An agent's token consumption suddenly doubles after a retrieval change. The question instead turns on “Gateway controls can govern resource consumption across model invocations”: It directly supports the requirement that An agent API must enforce tenant-specific token and request budgets.
C:“Operational availability and response correctness require separate tracking” is associated with this technical property: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh. The question instead turns on “Gateway controls can govern resource consumption across model invocations”: It directly supports the requirement that An agent API must enforce tenant-specific token and request budgets.
D:“Domain quality criteria should be explicit, testable and tied to allowed evidence” is associated with this technical property: It directly supports the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus. The question instead turns on “Gateway controls can govern resource consumption across model invocations”: It directly supports the requirement that An agent API must enforce tenant-specific token and request budgets.
Question 458
For the requirement that Retrieval returns no passages on a newly launched internal feature, the team proposes this change: Prompt for evidence-conditioned answers and explicit unsupported-status handling. Which technical principle explains why it is appropriate?
- Answer correctness must be measured against source evidence, not just readability
- Production monitoring detects data shifts missed by one-time release tests
- Dense vectors and lexical matching capture complementary signals
- Abstention is preferable to fabricated specifics when retrieval lacks support
Explanation
Correct Answer
D:Abstention is preferable to fabricated specifics when retrieval lacks support. The proposed engineering step is to Prompt for evidence-conditioned answers and explicit unsupported-status handling. It directly supports the requirement that Retrieval returns no passages on a newly launched internal feature. The operational test is that Unknown-feature test prompts yield no false procedure and request approved documentation. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Answer correctness must be measured against source evidence, not just readability” is associated with this technical property: It directly supports the requirement that Two candidates give fluent answers but one invents unsupported policy details. The question instead turns on “Abstention is preferable to fabricated specifics when retrieval lacks support”: It directly supports the requirement that Retrieval returns no passages on a newly launched internal feature.
B:“Production monitoring detects data shifts missed by one-time release tests” is associated with this technical property: It directly supports the requirement that An approved assistant's answers degrade after policies change in production. The question instead turns on “Abstention is preferable to fabricated specifics when retrieval lacks support”: It directly supports the requirement that Retrieval returns no passages on a newly launched internal feature.
C:“Dense vectors and lexical matching capture complementary signals” is associated with this technical property: It directly supports the requirement that An engineering search system includes serial numbers and obscure device codes. The question instead turns on “Abstention is preferable to fabricated specifics when retrieval lacks support”: It directly supports the requirement that Retrieval returns no passages on a newly launched internal feature.
Question 459
An application intended to satisfy this requirement, A compliance agent needs approved prompt versions promoted through staging, instead experiences: A developer edits the production prompt in place and loses previous behavior. Which targeted engineering correction resolves this failure?
- Log a model signature and representative input example matching real requests
- Track prompt versions and promote with a stable alias after evaluation
- Implement explicit retrieve, evidence selection and answer generation stages
- Select batch SQL inference with controlled data volume and validation
Explanation
Correct Answer
B:Track prompt versions and promote with a stable alias after evaluation targets the observed failure: A developer edits the production prompt in place and loses previous behavior. Versioned prompts support audit, repeatability and rollback. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Production alias maps to approved version and can be restored to known-safe revision.
Incorrect Answers
A:“Log a model signature and representative input example matching real requests” is associated with this technical property: A declared model interface allows serving validation and client integration. The question instead turns on “Track prompt versions and promote with a stable alias after evaluation”: Versioned prompts support audit, repeatability and rollback.
C:“Implement explicit retrieve, evidence selection and answer generation stages” is associated with this technical property: An executable chain defines data dependencies instead of hoping prompting implies them. The question instead turns on “Track prompt versions and promote with a stable alias after evaluation”: Versioned prompts support audit, repeatability and rollback.
D:“Select batch SQL inference with controlled data volume and validation” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Track prompt versions and promote with a stable alias after evaluation”: Versioned prompts support audit, repeatability and rollback.
Question 460
The team observes this failure in a GenAI application: Long chunks are silently truncated and critical paragraph ends disappear. After implementing the fix to Reduce chunk tokens to fit effective embedding context with explicit truncation tests, which measurement or test most directly demonstrates success?
- Sample retrieval hits prioritize policy sections and repeated footers are absent
- Outdated policy text cannot appear as approved evidence after release cutover
- Rebuild can trace each chunk to original record/version and transformation
- Retrieval evaluations confirm relevant tail passages are indexed and retrievable
Explanation
Correct Answer
D:Retrieval evaluations confirm relevant tail passages are indexed and retrievable. This specifically validates the remediation to Reduce chunk tokens to fit effective embedding context with explicit truncation tests for the failure that Long chunks are silently truncated and critical paragraph ends disappear. Embedding input length bounds what content contributes to searchable vectors. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Sample retrieval hits prioritize policy sections and repeated footers are absent” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Retrieval evaluations confirm relevant tail passages are indexed and retrievable”: Embedding input length bounds what content contributes to searchable vectors.
B:“Outdated policy text cannot appear as approved evidence after release cutover” is associated with this technical property: Freshness and document authority should constrain eligible retrieval candidates. The question instead turns on “Retrieval evaluations confirm relevant tail passages are indexed and retrievable”: Embedding input length bounds what content contributes to searchable vectors.
C:“Rebuild can trace each chunk to original record/version and transformation” is associated with this technical property: Layered data preparation supports reproducible source-to-chunk transformations. The question instead turns on “Retrieval evaluations confirm relevant tail passages are indexed and retrievable”: Embedding input length bounds what content contributes to searchable vectors.