Certified Generative AI Engineer Associate Practice Test 58
Question 570
The team observes this failure in a GenAI application: Team repeats old tests without incorporating reviewed failure examples. After implementing the fix to Convert adjudicated production failures into regression and evaluation cases, which measurement or test most directly demonstrates success?
- New test case fails old version and passes revised version
- Precision at k improves while required step sequences remain intact
- Prohibited requests are rejected consistently while harmless alternatives remain supported
- Multi-turn tests use the correct authorized incident and reset state between users
Explanation
Correct Answer
A:New test case fails old version and passes revised version. This specifically validates the remediation to Convert adjudicated production failures into regression and evaluation cases for the failure that Team repeats old tests without incorporating reviewed failure examples. Monitoring observations should feed iterative development evaluation. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Precision at k improves while required step sequences remain intact” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “New test case fails old version and passes revised version”: Monitoring observations should feed iterative development evaluation.
C:“Prohibited requests are rejected consistently while harmless alternatives remain supported” is associated with this technical property: Helpful tone does not substitute for authorized and safe behavior. The question instead turns on “New test case fails old version and passes revised version”: Monitoring observations should feed iterative development evaluation.
D:“Multi-turn tests use the correct authorized incident and reset state between users” is associated with this technical property: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The question instead turns on “New test case fails old version and passes revised version”: Monitoring observations should feed iterative development evaluation.
Question 571
An engineering review considers a safeguard for this situation: Investigators need to link repeated incidents without exposing original account numbers. The proposed action is: Use controlled pseudonymous tokens with restricted reidentification rights where appropriate. Which observed failure most strongly justifies that action?
- Naive masking replaces every identifier with same stars and destroys correlation
- A summarizer merges both and issues a false combined instruction
- The model treats those strings as trustworthy operational steps
- The agent follows document instructions to call a privileged tool
Explanation
Correct Answer
A:Naive masking replaces every identifier with same stars and destroys correlation. This observation motivates the specific control to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate. Privacy techniques must preserve only the minimum analytics purpose. The follow-up evidence would be: Authorized investigation correlates cases while general readers cannot recover identity. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“A summarizer merges both and issues a false combined instruction” is associated with this technical property: This observation motivates the specific control to Prioritize effective approved source versions and surface unresolved contradiction. The question instead turns on “Naive masking replaces every identifier with same stars and destroys correlation”: This observation motivates the specific control to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate.
C:“The model treats those strings as trustworthy operational steps” is associated with this technical property: This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content. The question instead turns on “Naive masking replaces every identifier with same stars and destroys correlation”: This observation motivates the specific control to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate.
D:“The agent follows document instructions to call a privileged tool” is associated with this technical property: This observation motivates the specific control to Treat retrieved passages as untrusted data and enforce tool policies outside prompts. The question instead turns on “Naive masking replaces every identifier with same stars and destroys correlation”: This observation motivates the specific control to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate.
Question 572
For the requirement that An index mixes published and embargoed customer documents, the team proposes this change: Apply authorized metadata or row-level eligibility filters before returning results. Which technical principle explains why it is appropriate?
- Index architecture is a workload tradeoff, not solely a storage-price decision
- Similarity score is not authorization or publication status
- Tool connection credentials must be isolated from model-generated content
- Component-level CI isolates root causes that end-to-end scores may hide
Explanation
Correct Answer
B:Similarity score is not authorization or publication status. The proposed engineering step is to Apply authorized metadata or row-level eligibility filters before returning results. It directly supports the requirement that An index mixes published and embargoed customer documents. The operational test is that Authorized query retrieves only approved documents even when excluded items are semantically closer. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Index architecture is a workload tradeoff, not solely a storage-price decision” is associated with this technical property: It directly supports the requirement that A merchandise catalog needs search over 80 million embedding rows. The question instead turns on “Similarity score is not authorization or publication status”: It directly supports the requirement that An index mixes published and embargoed customer documents.
C:“Tool connection credentials must be isolated from model-generated content” is associated with this technical property: It directly supports the requirement that A research agent calls an external ticket API requiring a provider key. The question instead turns on “Similarity score is not authorization or publication status”: It directly supports the requirement that An index mixes published and embargoed customer documents.
D:“Component-level CI isolates root causes that end-to-end scores may hide” is associated with this technical property: It directly supports the requirement that A deployment changes prompt, retriever and model together. The question instead turns on “Similarity score is not authorization or publication status”: It directly supports the requirement that An index mixes published and embargoed customer documents.
Question 573
For the requirement that A merchandise catalog needs search over 80 million embedding rows, the team proposes this change: Benchmark supported index types against collection size, update cadence, query latency and cost. Which technical principle explains why it is appropriate?
- Production service identities should not depend on individual user credentials
- Unity Catalog provides governed namespace and access for registered models
- Tool connection credentials must be isolated from model-generated content
- Index architecture is a workload tradeoff, not solely a storage-price decision
Explanation
Correct Answer
D:Index architecture is a workload tradeoff, not solely a storage-price decision. The proposed engineering step is to Benchmark supported index types against collection size, update cadence, query latency and cost. It directly supports the requirement that A merchandise catalog needs search over 80 million embedding rows. The operational test is that Chosen design meets measured throughput and p95 response targets at expected scale. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“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 “Index architecture is a workload tradeoff, not solely a storage-price decision”: It directly supports the requirement that A merchandise catalog needs search over 80 million embedding rows.
B:“Unity Catalog provides governed namespace and access for registered models” is associated with this technical property: It directly supports the requirement that A business wants controlled model versions shared across workspaces. The question instead turns on “Index architecture is a workload tradeoff, not solely a storage-price decision”: It directly supports the requirement that A merchandise catalog needs search over 80 million embedding rows.
C:“Tool connection credentials must be isolated from model-generated content” is associated with this technical property: It directly supports the requirement that A research agent calls an external ticket API requiring a provider key. The question instead turns on “Index architecture is a workload tradeoff, not solely a storage-price decision”: It directly supports the requirement that A merchandise catalog needs search over 80 million embedding rows.
Question 574
An engineering review considers a safeguard for this situation: An incident knowledge index retrieves repeated overlapping paragraphs. The proposed action is: Deduplicate overlapping candidates or use maximal marginal relevance before context assembly. Which observed failure most strongly justifies that action?
- A web scraper searches rendered strings and loses nested attribute semantics
- Developers increase overlap despite redundant boundaries and hit capacity
- A PDF text extractor returns empty strings from image scans
- Final prompt repeats the same paragraphs and crowds out alternatives
Explanation
Correct Answer
D:Final prompt repeats the same paragraphs and crowds out alternatives. This observation motivates the specific control to Deduplicate overlapping candidates or use maximal marginal relevance before context assembly. Redundant retrieval reduces useful evidence diversity under a token budget. The follow-up evidence would be: Context retains distinct incident cases and minimizes repeated text. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A web scraper searches rendered strings and loses nested attribute semantics” is associated with this technical property: This observation motivates the specific control to Parse JSON directly and normalize documented nested keys. The question instead turns on “Final prompt repeats the same paragraphs and crowds out alternatives”: This observation motivates the specific control to Deduplicate overlapping candidates or use maximal marginal relevance before context assembly.
B:“Developers increase overlap despite redundant boundaries and hit capacity” is associated with this technical property: This observation motivates the specific control to Reduce excessive overlap while checking boundary-question recall. The question instead turns on “Final prompt repeats the same paragraphs and crowds out alternatives”: This observation motivates the specific control to Deduplicate overlapping candidates or use maximal marginal relevance before context assembly.
C:“A PDF text extractor returns empty strings from image scans” is associated with this technical property: This observation motivates the specific control to Use an appropriate OCR stage for image content with quality checks. The question instead turns on “Final prompt repeats the same paragraphs and crowds out alternatives”: This observation motivates the specific control to Deduplicate overlapping candidates or use maximal marginal relevance before context assembly.
Question 575
The team observes this failure in a GenAI application: A developer edits the production prompt in place and loses previous behavior. After implementing the fix to Track prompt versions and promote with a stable alias after evaluation, which measurement or test most directly demonstrates success?
- Test set improves exact error-code recall and paraphrase relevance
- Browser code has no credentials and authenticated authorized requests succeed
- Production alias maps to approved version and can be restored to known-safe revision
- A changed catalog record appears in results within agreed refresh window
Explanation
Correct Answer
C:Production alias maps to approved version and can be restored to known-safe revision. This specifically validates the remediation to Track prompt versions and promote with a stable alias after evaluation for the failure that A developer edits the production prompt in place and loses previous behavior. Versioned prompts support audit, repeatability and rollback. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Test set improves exact error-code recall and paraphrase relevance” is associated with this technical property: Keyword and dense methods retrieve complementary kinds of evidence. The question instead turns on “Production alias maps to approved version and can be restored to known-safe revision”: Versioned prompts support audit, repeatability and rollback.
B:“Browser code has no credentials and authenticated authorized requests succeed” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Production alias maps to approved version and can be restored to known-safe revision”: Versioned prompts support audit, repeatability and rollback.
D:“A changed catalog record appears in results within agreed refresh window” is associated with this technical property: Update frequency is a key design input for choosing index deployment. The question instead turns on “Production alias maps to approved version and can be restored to known-safe revision”: Versioned prompts support audit, repeatability and rollback.
Question 576
An application intended to satisfy this requirement, A Delta table holds product descriptions and needs a searchable embedding index, instead experiences: Source rows have duplicate IDs and updates replace the wrong indexed record. Which targeted engineering correction resolves this failure?
- Version and test retriever, prompt and answer model independently before combined rollout
- Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota
- Choose a stable unique primary key and valid text/embedding fields for the index
- Gate prompt promotion on fixed accuracy, completeness, safety and cost tests
Explanation
Correct Answer
C:Choose a stable unique primary key and valid text/embedding fields for the index targets the observed failure: Source rows have duplicate IDs and updates replace the wrong indexed record. A vector index needs consistent row identity to synchronize source mutations. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Index queries return distinct expected records and change updates affect only intended ID.
Incorrect Answers
A:“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 “Choose a stable unique primary key and valid text/embedding fields for the index”: A vector index needs consistent row identity to synchronize source mutations.
B:“Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota” is associated with this technical property: Hosted model APIs separate application logic from model infrastructure operations. The question instead turns on “Choose a stable unique primary key and valid text/embedding fields for the index”: A vector index needs consistent row identity to synchronize source mutations.
D:“Gate prompt promotion on fixed accuracy, completeness, safety and cost tests” is associated with this technical property: Prompt changes can alter functional correctness and require quality control. The question instead turns on “Choose a stable unique primary key and valid text/embedding fields for the index”: A vector index needs consistent row identity to synchronize source mutations.
Question 577
An engineering review considers a safeguard for this situation: An expense agent can draft reimbursement requests but must not submit without consent. The proposed action is: Separate draft, validation, human approval and side-effecting submit tool calls. Which observed failure most strongly justifies that action?
- LLM replies cite nonexistent paragraphs because no authoritative text is supplied
- The model invokes payment submission immediately after interpreting a natural-language request
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
- Development starts prompts without defining input document versions or output evidence fields
Explanation
Correct Answer
B:The model invokes payment submission immediately after interpreting a natural-language request. This observation motivates the specific control to Separate draft, validation, human approval and side-effecting submit tool calls. State-changing operations require authorization gates distinct from read-only retrieval. The follow-up evidence would be: No submit call occurs without approval token and audit records exact submitted payload. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“LLM replies cite nonexistent paragraphs because no authoritative text is supplied” is associated with this technical property: This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model. The question instead turns on “The model invokes payment submission immediately after interpreting a natural-language request”: This observation motivates the specific control to Separate draft, validation, human approval and side-effecting submit tool calls.
C:“A model selected for keyword extraction returns disconnected fragments instead of a synopsis” is associated with this technical property: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction. The question instead turns on “The model invokes payment submission immediately after interpreting a natural-language request”: This observation motivates the specific control to Separate draft, validation, human approval and side-effecting submit tool calls.
D:“Development starts prompts without defining input document versions or output evidence fields” is associated with this technical property: This observation motivates the specific control to Define typed document inputs, risk labels, source offsets and output schema before design. The question instead turns on “The model invokes payment submission immediately after interpreting a natural-language request”: This observation motivates the specific control to Separate draft, validation, human approval and side-effecting submit tool calls.
Question 578
An engineering review considers a safeguard for this situation: Many users ask identical public policy questions but the app calls LLM each time. The proposed action is: Cache eligible nonprivate responses with document-version invalidation. Which observed failure most strongly justifies that action?
- Team averages disagreement into a misleading quality benchmark
- Only final output is logged so engineers cannot diagnose retrieval versus generation
- Team monitors only mean latency, concealing long-tail outliers
- Costs rise despite stable source documents and no personalization need
Explanation
Correct Answer
D:Costs rise despite stable source documents and no personalization need. This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation. Caching saves inference cost only when response scope and freshness permit reuse. The follow-up evidence would be: Repeat requests show lower token spend without serving stale or cross-user data. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Team averages disagreement into a misleading quality benchmark” is associated with this technical property: This observation motivates the specific control to Define shared scoring rubric, run calibration rounds and resolve large disagreements. The question instead turns on “Costs rise despite stable source documents and no personalization need”: This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation.
B:“Only final output is logged so engineers cannot diagnose retrieval versus generation” is associated with this technical property: This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers. The question instead turns on “Costs rise despite stable source documents and no personalization need”: This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation.
C:“Team monitors only mean latency, concealing long-tail outliers” is associated with this technical property: This observation motivates the specific control to Track p95/p99 latency and relevant request slices. The question instead turns on “Costs rise despite stable source documents and no personalization need”: This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation.
Question 579
An application intended to satisfy this requirement, An assistant retrieves account records after a user's vague request about their invoice, instead experiences: The prompt has no verified account identifier and mixes neighboring customers. Which targeted engineering correction resolves this failure?
- Use specialist agents with a supervisor and per-tool permission boundaries
- Pass authenticated account ID and resolved invoice ID as structured retrieval filters
- Compare model-card context limits with realistic inputs and adjust architecture
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
Explanation
Correct Answer
B:Pass authenticated account ID and resolved invoice ID as structured retrieval filters targets the observed failure: The prompt has no verified account identifier and mixes neighboring customers. User intent must be coupled to trusted entity context before private lookup. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Trace shows scoped retrieval and no cross-account data exposure.
Incorrect Answers
A:“Use specialist agents with a supervisor and per-tool permission boundaries” is associated with this technical property: Delegation can reduce cross-domain tool confusion when roles are explicit. The question instead turns on “Pass authenticated account ID and resolved invoice ID as structured retrieval filters”: User intent must be coupled to trusted entity context before private lookup.
C:“Compare model-card context limits with realistic inputs and adjust architecture” is associated with this technical property: Model metadata constraints must shape processing and evaluation. The question instead turns on “Pass authenticated account ID and resolved invoice ID as structured retrieval filters”: User intent must be coupled to trusted entity context before private lookup.
D:“Run offline evaluation on labeled cases before deployment and use live monitoring afterward” is associated with this technical property: Pre-release evaluation and post-release monitoring address different lifecycle questions. The question instead turns on “Pass authenticated account ID and resolved invoice ID as structured retrieval filters”: User intent must be coupled to trusted entity context before private lookup.
Question 580
For the requirement that An operations team must extract purchase-order numbers and totals from vendor letters, the team proposes this change: Use schema-guided extraction with explicit missing-value handling rather than creative completion. Which technical principle explains why it is appropriate?
- Entity extraction should preserve evidence spans and avoid inventing unavailable fields
- Tool results can supply fresh structured facts that pretrained model memory cannot guarantee
- Explicit data contracts make evaluation and downstream workflow integration possible
- Decomposing requirements into measurable stage constraints prevents expensive architecture surprises
Explanation
Correct Answer
A:Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The proposed engineering step is to Use schema-guided extraction with explicit missing-value handling rather than creative completion. It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters. The operational test is that Checked sample letters have faithful fields and missing values remain missing. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Tool results can supply fresh structured facts that pretrained model memory cannot guarantee” is associated with this technical property: It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation. The question instead turns on “Entity extraction should preserve evidence spans and avoid inventing unavailable fields”: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters.
C:“Explicit data contracts make evaluation and downstream workflow integration possible” is associated with this technical property: It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers. The question instead turns on “Entity extraction should preserve evidence spans and avoid inventing unavailable fields”: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters.
D:“Decomposing requirements into measurable stage constraints prevents expensive architecture surprises” is associated with this technical property: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic. The question instead turns on “Entity extraction should preserve evidence spans and avoid inventing unavailable fields”: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters.