Certified Generative AI Engineer Associate Practice Test 73
Question 720
An engineering review considers a safeguard for this situation: An internal summarizer endpoint contains confidential financial reports. The proposed action is: Grant serving endpoint invocation only to approved service principals and groups. Which observed failure most strongly justifies that action?
- Any workspace member can invoke it despite not being on the finance team
- Conversation memory stored only in the process disappears on deployment rollover
- The vector index refreshes once per day and returns stale inventory summaries
- Semantic search finds related explanations but misses exact error code
Explanation
Correct Answer
A:Any workspace member can invoke it despite not being on the finance team. This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups. Inference endpoint permissions should reflect least privilege and source sensitivity. The follow-up evidence would be: Authorized clients succeed while unrelated identities receive access denied. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Conversation memory stored only in the process disappears on deployment rollover” is associated with this technical property: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy. The question instead turns on “Any workspace member can invoke it despite not being on the finance team”: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups.
C:“The vector index refreshes once per day and returns stale inventory summaries” is associated with this technical property: This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates. The question instead turns on “Any workspace member can invoke it despite not being on the finance team”: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups.
D:“Semantic search finds related explanations but misses exact error code” is associated with this technical property: This observation motivates the specific control to Use hybrid lexical and dense search with measured relevance for the workload. The question instead turns on “Any workspace member can invoke it despite not being on the finance team”: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups.
Question 721
An application intended to satisfy this requirement, Two LLM candidates have equal average test accuracy but differ on high-risk financial queries, instead experiences: Overall mean hides severe unauthorized transaction advice from one model. Which targeted engineering correction resolves this failure?
- Weight critical evaluation strata and set nonnegotiable failure limits
- Use AI Gateway usage telemetry with endpoint/team attribution
- Record prompt/response token metrics by route, version and retrieval depth
- Capture MLflow retriever and LLM spans and apply groundedness scorers
Explanation
Correct Answer
A:Weight critical evaluation strata and set nonnegotiable failure limits targets the observed failure: Overall mean hides severe unauthorized transaction advice from one model. Risk-weighted model selection prevents average scores masking unacceptable errors. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that The chosen model passes critical high-risk cases and baseline quality.
Incorrect Answers
B:“Use AI Gateway usage telemetry with endpoint/team attribution” is associated with this technical property: Attribution requires identity and endpoint dimensions beyond total invoices. The question instead turns on “Weight critical evaluation strata and set nonnegotiable failure limits”: Risk-weighted model selection prevents average scores masking unacceptable errors.
C:“Record prompt/response token metrics by route, version and retrieval depth” is associated with this technical property: Token use diagnostics reveal cost regressions invisible in request counts. The question instead turns on “Weight critical evaluation strata and set nonnegotiable failure limits”: Risk-weighted model selection prevents average scores masking unacceptable errors.
D:“Capture MLflow retriever and LLM spans and apply groundedness scorers” is associated with this technical property: Traces connect observed errors to intermediate model and tool activity. The question instead turns on “Weight critical evaluation strata and set nonnegotiable failure limits”: Risk-weighted model selection prevents average scores masking unacceptable errors.
Question 722
The team observes this failure in a GenAI application: Conversation memory stored only in the process disappears on deployment rollover. After implementing the fix to Persist scoped state in an approved durable datastore with expiry and access policy, which measurement or test most directly demonstrates success?
- End-to-end smoke test retrieves expected vectors and returns source-grounded answer
- Index queries return distinct expected records and change updates affect only intended ID
- Authorized user resumes task after restart; another user cannot read the session
- Tool calls succeed under approved identity and red-team prompts cannot disclose key
Explanation
Correct Answer
C:Authorized user resumes task after restart; another user cannot read the session. This specifically validates the remediation to Persist scoped state in an approved durable datastore with expiry and access policy for the failure that Conversation memory stored only in the process disappears on deployment rollover. Durable application memory needs storage and governance beyond model context. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“End-to-end smoke test retrieves expected vectors and returns source-grounded answer” is associated with this technical property: A deployable RAG model requires all retrieval components, not just a text generator. The question instead turns on “Authorized user resumes task after restart; another user cannot read the session”: Durable application memory needs storage and governance beyond model context.
B:“Index queries return distinct expected records and change updates affect only intended ID” is associated with this technical property: A vector index needs consistent row identity to synchronize source mutations. The question instead turns on “Authorized user resumes task after restart; another user cannot read the session”: Durable application memory needs storage and governance beyond model context.
D:“Tool calls succeed under approved identity and red-team prompts cannot disclose key” is associated with this technical property: Tool connection credentials must be isolated from model-generated content. The question instead turns on “Authorized user resumes task after restart; another user cannot read the session”: Durable application memory needs storage and governance beyond model context.
Question 723
An engineering review considers a safeguard for this situation: A knowledge agent asks meaning-based questions over incident narratives. The proposed action is: Use semantic embedding similarity for unstructured retrieval while preserving structured filters. Which observed failure most strongly justifies that action?
- Source rows have duplicate IDs and updates replace the wrong indexed record
- Revoking the engineer's personal token unexpectedly breaks production access
- Developers attempt exact equality joins on free-text questions
- Change is promoted without checking citations and completeness
Explanation
Correct Answer
C:Developers attempt exact equality joins on free-text questions. This observation motivates the specific control to Use semantic embedding similarity for unstructured retrieval while preserving structured filters. Vector search ranks related text even when literal wording differs. The follow-up evidence would be: Paraphrase queries retrieve relevant incidents beyond exact-match keywords. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Source rows have duplicate IDs and updates replace the wrong indexed record” is associated with this technical property: This observation motivates the specific control to Choose a stable unique primary key and valid text/embedding fields for the index. The question instead turns on “Developers attempt exact equality joins on free-text questions”: This observation motivates the specific control to Use semantic embedding similarity for unstructured retrieval while preserving structured filters.
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 “Developers attempt exact equality joins on free-text questions”: This observation motivates the specific control to Use semantic embedding similarity for unstructured retrieval while preserving structured filters.
D:“Change is promoted without checking citations and completeness” is associated with this technical property: This observation motivates the specific control to Gate prompt promotion on fixed accuracy, completeness, safety and cost tests. The question instead turns on “Developers attempt exact equality joins on free-text questions”: This observation motivates the specific control to Use semantic embedding similarity for unstructured retrieval while preserving structured filters.
Question 724
The team observes this failure in a GenAI application: Final prompt repeats the same paragraphs and crowds out alternatives. After implementing the fix to Deduplicate overlapping candidates or use maximal marginal relevance before context assembly, which measurement or test most directly demonstrates success?
- Second run without changes adds no duplicates and changed documents re-embed
- Reviewed sampled pages have readable text and low-confidence items are flagged
- Sample entities retain IDs, numeric types and provenance fields
- Context retains distinct incident cases and minimizes repeated text
Explanation
Correct Answer
D:Context retains distinct incident cases and minimizes repeated text. This specifically validates the remediation to Deduplicate overlapping candidates or use maximal marginal relevance before context assembly for the failure that Final prompt repeats the same paragraphs and crowds out alternatives. Redundant retrieval reduces useful evidence diversity under a token budget. 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 “Context retains distinct incident cases and minimizes repeated text”: Redundant retrieval reduces useful evidence diversity under a token budget.
B:“Reviewed sampled pages have readable text and low-confidence items are flagged” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Context retains distinct incident cases and minimizes repeated text”: Redundant retrieval reduces useful evidence diversity under a token budget.
C:“Sample entities retain IDs, numeric types and provenance fields” is associated with this technical property: Structured APIs should be read as structures rather than rendered web text. The question instead turns on “Context retains distinct incident cases and minimizes repeated text”: Redundant retrieval reduces useful evidence diversity under a token budget.
Question 725
An engineering review considers a safeguard for this situation: A team proposes the largest chunk size without analyzing retrieval failures. The proposed action is: Select chunk size and overlap using recall, precision, groundedness and token budget together. Which observed failure most strongly justifies that action?
- Benchmarks show answers with unrelated source passages and excessive prompt tokens
- The last paragraph of some chunks never contributes to the vectors
- A simple answer-relevance score passes a dangerously incomplete response
- The reviewer sees convincing language but no matching source evidence
Explanation
Correct Answer
A:Benchmarks show answers with unrelated source passages and excessive prompt tokens. This observation motivates the specific control to Select chunk size and overlap using recall, precision, groundedness and token budget together. Chunking is an empirical quality-cost decision rather than a universal fixed size. The follow-up evidence would be: Evaluation report shows balanced recall and cost on held-out questions. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The last paragraph of some chunks never contributes to the vectors” is associated with this technical property: This observation motivates the specific control to Select a model with enough effective input tokens or reduce chunk size. The question instead turns on “Benchmarks show answers with unrelated source passages and excessive prompt tokens”: This observation motivates the specific control to Select chunk size and overlap using recall, precision, groundedness and token budget together.
C:“A simple answer-relevance score passes a dangerously incomplete response” is associated with this technical property: This observation motivates the specific control to Evaluate coverage of all required reference facts with a checklist or calibrated scorer. The question instead turns on “Benchmarks show answers with unrelated source passages and excessive prompt tokens”: This observation motivates the specific control to Select chunk size and overlap using recall, precision, groundedness and token budget together.
D:“The reviewer sees convincing language but no matching source evidence” is associated with this technical property: This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims. The question instead turns on “Benchmarks show answers with unrelated source passages and excessive prompt tokens”: This observation motivates the specific control to Select chunk size and overlap using recall, precision, groundedness and token budget together.
Question 726
For the requirement that A deployment changes prompt, retriever and model together, the team proposes this change: Version and test retriever, prompt and answer model independently before combined rollout. Which technical principle explains why it is appropriate?
- Component-level CI isolates root causes that end-to-end scores may hide
- A model artifact must include compatible runtime dependencies for reproducible serving
- Production service identities should not depend on individual user credentials
- Prompt changes can alter functional correctness and require quality control
Explanation
Correct Answer
A:Component-level CI isolates root causes that end-to-end scores may hide. The proposed engineering step is to Version and test retriever, prompt and answer model independently before combined rollout. It directly supports the requirement that A deployment changes prompt, retriever and model together. The operational test is that Release report identifies changed component and passes regression cases. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“A model artifact must include compatible runtime dependencies for reproducible serving” is associated with this technical property: A model artifact must include compatible runtime dependencies for reproducible serving. The question instead turns on “Component-level CI isolates root causes that end-to-end scores may hide”: It directly supports the requirement that A deployment changes prompt, retriever and model together.
C:“Production service identities should not depend on individual user credentials” is associated with this technical property: It directly supports the requirement that A deployed agent calls a governed knowledge index using a shared engineer token. The question instead turns on “Component-level CI isolates root causes that end-to-end scores may hide”: It directly supports the requirement that A deployment changes prompt, retriever and model together.
D:“Prompt changes can alter functional correctness and require quality control” is associated with this technical property: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release. The question instead turns on “Component-level CI isolates root causes that end-to-end scores may hide”: It directly supports the requirement that A deployment changes prompt, retriever and model together.
Question 727
An engineering review considers a safeguard for this situation: A production endpoint needs to move between validated model revisions. The proposed action is: Use governed model versions and aliases or equivalent approved promotion controls. Which observed failure most strongly justifies that action?
- A deployment hardcodes an artifact path and cannot roll back quickly
- Team provisions high-concurrency interactive serving for a one-time job
- The UI crashes when parser receives a free-form string
- Model serving fails with module not found even though local tests pass
Explanation
Correct Answer
A:A deployment hardcodes an artifact path and cannot roll back quickly. This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls. Versioned model identity supports rollback without overwriting the source model. The follow-up evidence would be: Release can switch back to prior model version with tested behavior. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Team provisions high-concurrency interactive serving for a one-time job” is associated with this technical property: This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation. The question instead turns on “A deployment hardcodes an artifact path and cannot roll back quickly”: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls.
C:“The UI crashes when parser receives a free-form string” is associated with this technical property: This observation motivates the specific control to Add typed output parsing and schema validation in the pyfunc predict path. The question instead turns on “A deployment hardcodes an artifact path and cannot roll back quickly”: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls.
D:“Model serving fails with module not found even though local tests pass” is associated with this technical property: This observation motivates the specific control to Declare needed Python packages and artifacts when logging and packaging the pyfunc model. The question instead turns on “A deployment hardcodes an artifact path and cannot roll back quickly”: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls.
Question 728
An application intended to satisfy this requirement, An engineering search system includes serial numbers and obscure device codes, instead experiences: General embeddings match semantically adjacent manuals but miss exact code passages. Which targeted engineering correction resolves this failure?
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Pair appropriate embedding model with keyword/hybrid matching for identifiers
- Try smaller heading-aware chunks and compare retrieval performance on labeled queries
- Implement task-aware moderation and safe-refusal handling with reviewable thresholds
Explanation
Correct Answer
B:Pair appropriate embedding model with keyword/hybrid matching for identifiers targets the observed failure: General embeddings match semantically adjacent manuals but miss exact code passages. Dense vectors and lexical matching capture complementary signals. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Exact serial and protocol error questions retrieve matching documents.
Incorrect Answers
A:“Select chunk size and overlap using recall, precision, groundedness and token budget together” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Pair appropriate embedding model with keyword/hybrid matching for identifiers”: Dense vectors and lexical matching capture complementary signals.
C:“Try smaller heading-aware chunks and compare retrieval performance on labeled queries” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “Pair appropriate embedding model with keyword/hybrid matching for identifiers”: Dense vectors and lexical matching capture complementary signals.
D:“Implement task-aware moderation and safe-refusal handling with reviewable thresholds” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “Pair appropriate embedding model with keyword/hybrid matching for identifiers”: Dense vectors and lexical matching capture complementary signals.
Question 729
For the requirement that Error-code questions include precise strings absent from semantic synonyms, the team proposes this change: Combine keyword and semantic retrieval, then optionally rerank shortlisted results. Which technical principle explains why it is appropriate?
- Freshness and document authority should constrain eligible retrieval candidates
- Optical character recognition extracts image text where text-layer parsers have none
- Lexical exact matching complements dense retrieval for precise tokens
- Source completeness matters more than a persuasive prompt for operational answers
Explanation
Correct Answer
C:Lexical exact matching complements dense retrieval for precise tokens. The proposed engineering step is to Combine keyword and semantic retrieval, then optionally rerank shortlisted results. It directly supports the requirement that Error-code questions include precise strings absent from semantic synonyms. The operational test is that Exact error-code passages appear in measured top-k results. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Freshness and document authority should constrain eligible retrieval candidates” is associated with this technical property: It directly supports the requirement that Compliance Q&A must answer from the latest approved policy revision. The question instead turns on “Lexical exact matching complements dense retrieval for precise tokens”: It directly supports the requirement that Error-code questions include precise strings absent from semantic synonyms.
B:“Optical character recognition extracts image text where text-layer parsers have none” is associated with this technical property: It directly supports the requirement that Knowledge source includes scanned handwritten or image-only policy pages. The question instead turns on “Lexical exact matching complements dense retrieval for precise tokens”: It directly supports the requirement that Error-code questions include precise strings absent from semantic synonyms.
D:“Source completeness matters more than a persuasive prompt for operational answers” is associated with this technical property: It directly supports the requirement that A shipping assistant needs expected delivery dates for a specific transaction. The question instead turns on “Lexical exact matching complements dense retrieval for precise tokens”: It directly supports the requirement that Error-code questions include precise strings absent from semantic synonyms.
Question 730
An application intended to satisfy this requirement, A team registers a question-answer agent that expects query and user context, instead experiences: Model serving infers a bare-string input and rejects client dictionaries. Which targeted engineering correction resolves this failure?
- Log a model signature and representative input example matching real requests
- Version and test retriever, prompt and answer model independently before combined rollout
- Record representative input schema including tenant context in MLflow
- Use supported SQL ai_query batch inference in a scalable governed data workflow
Explanation
Correct Answer
A:Log a model signature and representative input example matching real requests targets the observed failure: Model serving infers a bare-string input and rejects client dictionaries. A declared model interface allows serving validation and client integration. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Validation accepts correct query/context records and rejects unsupported fields.
Incorrect Answers
B:“Version and test retriever, prompt and answer model independently before combined rollout” is associated with this technical property: Component-level CI isolates root causes that end-to-end scores may hide. The question instead turns on “Log a model signature and representative input example matching real requests”: A declared model interface allows serving validation and client integration.
C:“Record representative input schema including tenant context in MLflow” is associated with this technical property: Model packaging must preserve fields required to enforce data boundaries. The question instead turns on “Log a model signature and representative input example matching real requests”: A declared model interface allows serving validation and client integration.
D:“Use supported SQL ai_query batch inference in a scalable governed data workflow” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Log a model signature and representative input example matching real requests”: A declared model interface allows serving validation and client integration.