Certified Generative AI Engineer Associate Practice Test 64
Question 630
An engineering review considers a safeguard for this situation: Untrusted pages repeat irrelevant marketing phrases thousands of times. The proposed action is: Filter high-frequency spam and check source authority before indexing. Which observed failure most strongly justifies that action?
- The tool runs with broad service privileges despite natural-language tenancy claim
- Experiment logging retains raw examples indefinitely with broad access
- The agent attempts a network call not required by the user's question
- Embedding similarity promotes spam-like text above useful handbook sections
Explanation
Correct Answer
D:Embedding similarity promotes spam-like text above useful handbook sections. This observation motivates the specific control to Filter high-frequency spam and check source authority before indexing. Preprocessing can prevent irrelevant content from dominating semantic search. The follow-up evidence would be: Top retrieved evidence excludes boilerplate and maintains legitimate recall. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The tool runs with broad service privileges despite natural-language tenancy claim” is associated with this technical property: This observation motivates the specific control to Validate and bind tenant scope server-side for every tool call. The question instead turns on “Embedding similarity promotes spam-like text above useful handbook sections”: This observation motivates the specific control to Filter high-frequency spam and check source authority before indexing.
B:“Experiment logging retains raw examples indefinitely with broad access” is associated with this technical property: This observation motivates the specific control to Apply retention, redaction and deletion rules to evaluation artifacts. The question instead turns on “Embedding similarity promotes spam-like text above useful handbook sections”: This observation motivates the specific control to Filter high-frequency spam and check source authority before indexing.
C:“The agent attempts a network call not required by the user's question” is associated with this technical property: This observation motivates the specific control to Constrain external tools, allowlisted destinations and approval for data egress. The question instead turns on “Embedding similarity promotes spam-like text above useful handbook sections”: This observation motivates the specific control to Filter high-frequency spam and check source authority before indexing.
Question 631
An engineering review considers a safeguard for this situation: An index mixes published and embargoed customer documents. The proposed action is: Apply authorized metadata or row-level eligibility filters before returning results. Which observed failure most strongly justifies that action?
- They provision self-managed inference nodes for a straightforward hosted API workload
- The app repeatedly retries without a bounded fallback and misses SLA
- Similarity search ranks an embargoed item before policy-relevant public content
- Directly passing raw request dictionaries causes downstream chain errors
Explanation
Correct Answer
C:Similarity search ranks an embargoed item before policy-relevant public content. This observation motivates the specific control to Apply authorized metadata or row-level eligibility filters before returning results. Similarity score is not authorization or publication status. The follow-up evidence would be: Authorized query retrieves only approved documents even when excluded items are semantically closer. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“They provision self-managed inference nodes for a straightforward hosted API workload” is associated with this technical property: This observation motivates the specific control to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota. The question instead turns on “Similarity search ranks an embargoed item before policy-relevant public content”: This observation motivates the specific control to Apply authorized metadata or row-level eligibility filters before returning results.
B:“The app repeatedly retries without a bounded fallback and misses SLA” is associated with this technical property: This observation motivates the specific control to Implement approved retry, quota handling and optional validated alternative model path. The question instead turns on “Similarity search ranks an embargoed item before policy-relevant public content”: This observation motivates the specific control to Apply authorized metadata or row-level eligibility filters before returning results.
D:“Directly passing raw request dictionaries causes downstream chain errors” is associated with this technical property: This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper. The question instead turns on “Similarity search ranks an embargoed item before policy-relevant public content”: This observation motivates the specific control to Apply authorized metadata or row-level eligibility filters before returning results.
Question 632
A solution architect must balance this requirement: A RAG system uses 500-token documents and an embedding model with a 384-token input limit. During review the team anticipates the failure that Long chunks are silently truncated and critical paragraph ends disappear. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Remove irrelevant repeated chrome before chunking and index creation
- Retrieve transaction-specific facts through governed structured data in addition to policy text
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
Explanation
Correct Answer
D:Reduce chunk tokens to fit effective embedding context with explicit truncation tests directly addresses the described Databricks GenAI architecture: A RAG system uses 500-token documents and an embedding model with a 384-token input limit. Embedding input length bounds what content contributes to searchable vectors. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Retrieval evaluations confirm relevant tail passages are indexed and retrievable.
Incorrect Answers
A:“Remove irrelevant repeated chrome before chunking and index creation” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Reduce chunk tokens to fit effective embedding context with explicit truncation tests”: Embedding input length bounds what content contributes to searchable vectors.
B:“Retrieve transaction-specific facts through governed structured data in addition to policy text” is associated with this technical property: Source completeness matters more than a persuasive prompt for operational answers. The question instead turns on “Reduce chunk tokens to fit effective embedding context with explicit truncation tests”: Embedding input length bounds what content contributes to searchable vectors.
C:“Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted” is associated with this technical property: Retrieval precision controls the fraction of presented evidence that is relevant. The question instead turns on “Reduce chunk tokens to fit effective embedding context with explicit truncation tests”: Embedding input length bounds what content contributes to searchable vectors.
Question 633
For the requirement that A reports pipeline needs sentiment labels before an overnight dashboard refresh, the team proposes this change: Select batch SQL inference with controlled data volume and validation. Which technical principle explains why it is appropriate?
- Workload latency requirements should determine batch versus online architecture
- A model artifact must include compatible runtime dependencies for reproducible serving
- A declared model interface allows serving validation and client integration
- Model logging format must represent the callable application's full behavior
Explanation
Correct Answer
A:Workload latency requirements should determine batch versus online architecture. The proposed engineering step is to Select batch SQL inference with controlled data volume and validation. It directly supports the requirement that A reports pipeline needs sentiment labels before an overnight dashboard refresh. The operational test is that The overnight job completes within window and no real-time endpoint is required. 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 “Workload latency requirements should determine batch versus online architecture”: It directly supports the requirement that A reports pipeline needs sentiment labels before an overnight dashboard refresh.
C:“A declared model interface allows serving validation and client integration” is associated with this technical property: It directly supports the requirement that A team registers a question-answer agent that expects query and user context. The question instead turns on “Workload latency requirements should determine batch versus online architecture”: It directly supports the requirement that A reports pipeline needs sentiment labels before an overnight dashboard refresh.
D:“Model logging format must represent the callable application's full behavior” is associated with this technical property: It directly supports the requirement that A chain with custom preprocessors is recorded as a generic text-only artifact. The question instead turns on “Workload latency requirements should determine batch versus online architecture”: It directly supports the requirement that A reports pipeline needs sentiment labels before an overnight dashboard refresh.
Question 634
An engineering review considers a safeguard for this situation: An invoice archive includes scanned photos requiring OCR or vision. The proposed action is: Choose vision-capable processing or OCR extraction before text model use. Which observed failure most strongly justifies that action?
- A text-only model receives file paths and hallucinates visual values
- Generic content classification misses context-specific prohibited procedures
- Retriever surfaces whole unrelated chapters at high token cost
- The last paragraph of some chunks never contributes to the vectors
Explanation
Correct Answer
A:A text-only model receives file paths and hallucinates visual values. This observation motivates the specific control to Choose vision-capable processing or OCR extraction before text model use. Input modality support is a prerequisite for accurate task execution. The follow-up evidence would be: Photo invoices yield verifiable extracted values and low-confidence flags. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Generic content classification misses context-specific prohibited procedures” is associated with this technical property: This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds. The question instead turns on “A text-only model receives file paths and hallucinates visual values”: This observation motivates the specific control to Choose vision-capable processing or OCR extraction before text model use.
C:“Retriever surfaces whole unrelated chapters at high token cost” is associated with this technical property: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries. The question instead turns on “A text-only model receives file paths and hallucinates visual values”: This observation motivates the specific control to Choose vision-capable processing or OCR extraction before text model use.
D:“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 “A text-only model receives file paths and hallucinates visual values”: This observation motivates the specific control to Choose vision-capable processing or OCR extraction before text model use.
Question 635
For the requirement that Finance needs per-team spend for several deployed agent endpoints, the team proposes this change: Use AI Gateway usage telemetry with endpoint/team attribution. Which technical principle explains why it is appropriate?
- Reference-free judgments can evaluate properties without one canonical text
- Production debugging depends on evidence of actual invocation payloads
- Human judgments need inter-rater consistency for reliable model comparisons
- Attribution requires identity and endpoint dimensions beyond total invoices
Explanation
Correct Answer
D:Attribution requires identity and endpoint dimensions beyond total invoices. The proposed engineering step is to Use AI Gateway usage telemetry with endpoint/team attribution. It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints. The operational test is that Usage reports reconcile agent tokens and billed amount by team. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Reference-free judgments can evaluate properties without one canonical text” is associated with this technical property: It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence. The question instead turns on “Attribution requires identity and endpoint dimensions beyond total invoices”: It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints.
B:“Production debugging depends on evidence of actual invocation payloads” is associated with this technical property: It directly supports the requirement that An agent endpoint has intermittent malformed tool calls after a model update. The question instead turns on “Attribution requires identity and endpoint dimensions beyond total invoices”: It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints.
C:“Human judgments need inter-rater consistency for reliable model comparisons” is associated with this technical property: It directly supports the requirement that Four subject experts grade the same RAG answer very differently. The question instead turns on “Attribution requires identity and endpoint dimensions beyond total invoices”: It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints.
Question 636
For the requirement that A public assistant receives abusive requests and attempts to produce harmful content, the team proposes this change: Implement task-aware moderation and safe-refusal handling with reviewable thresholds. Which technical principle explains why it is appropriate?
- Guardrails should consider both user intent and produced content
- Larger embedding dimension increases storage and index work without universal quality improvement
- Examples can guide style while schema checks enforce contract
- Typed interfaces constrain model actions and separate credentials from prompt text
Explanation
Correct Answer
A:Guardrails should consider both user intent and produced content. The proposed engineering step is to Implement task-aware moderation and safe-refusal handling with reviewable thresholds. It directly supports the requirement that A public assistant receives abusive requests and attempts to produce harmful content. The operational test is that Red-team prompts trigger refusal and benign requests remain available. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Larger embedding dimension increases storage and index work without universal quality improvement” is associated with this technical property: It directly supports the requirement that A medium-size knowledge base needs affordable index storage and fast search. The question instead turns on “Guardrails should consider both user intent and produced content”: It directly supports the requirement that A public assistant receives abusive requests and attempts to produce harmful content.
C:“Examples can guide style while schema checks enforce contract” is associated with this technical property: It directly supports the requirement that A triage model outputs inconsistent date and severity field formats. The question instead turns on “Guardrails should consider both user intent and produced content”: It directly supports the requirement that A public assistant receives abusive requests and attempts to produce harmful content.
D:“Typed interfaces constrain model actions and separate credentials from prompt text” is associated with this technical property: It directly supports the requirement that An assistant may fetch approved weather data from a licensed external API. The question instead turns on “Guardrails should consider both user intent and produced content”: It directly supports the requirement that A public assistant receives abusive requests and attempts to produce harmful content.
Question 637
An engineering review considers a safeguard for this situation: A user asks whether the second order has shipped after discussing three orders. The proposed action is: Resolve follow-up reference against authorized conversation state before tool call. Which observed failure most strongly justifies that action?
- Agent searches all orders because previous turn identifiers were discarded
- An agent returns a table not linked to executed data query
- English-only evaluation hides poor translation and answer quality
- The pipeline truncates product recalls and produces misleading summaries
Explanation
Correct Answer
A:Agent searches all orders because previous turn identifiers were discarded. This observation motivates the specific control to Resolve follow-up reference against authorized conversation state before tool call. Coreference resolution should preserve scoped intent and entity continuity. The follow-up evidence would be: Tests of sequential order questions refer to the expected order only. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“An agent returns a table not linked to executed data query” is associated with this technical property: This observation motivates the specific control to Require the governed Genie result and query provenance before final response. The question instead turns on “Agent searches all orders because previous turn identifiers were discarded”: This observation motivates the specific control to Resolve follow-up reference against authorized conversation state before tool call.
C:“English-only evaluation hides poor translation and answer quality” is associated with this technical property: This observation motivates the specific control to Select a model with measured multilingual task performance and adequate tokenization. The question instead turns on “Agent searches all orders because previous turn identifiers were discarded”: This observation motivates the specific control to Resolve follow-up reference against authorized conversation state before tool call.
D:“The pipeline truncates product recalls and produces misleading summaries” is associated with this technical property: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture. The question instead turns on “Agent searches all orders because previous turn identifiers were discarded”: This observation motivates the specific control to Resolve follow-up reference against authorized conversation state before tool call.
Question 638
An application intended to satisfy this requirement, A search index includes obscure error identifiers and natural-language descriptions, instead experiences: Semantic search finds related explanations but misses exact error code. Which targeted engineering correction resolves this failure?
- Use hybrid lexical and dense search with measured relevance for the workload
- Log a model signature and representative input example matching real requests
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
- Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters
Explanation
Correct Answer
A:Use hybrid lexical and dense search with measured relevance for the workload targets the observed failure: Semantic search finds related explanations but misses exact error code. Keyword and dense methods retrieve complementary kinds of evidence. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Test set improves exact error-code recall and paraphrase relevance.
Incorrect Answers
B:“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 “Use hybrid lexical and dense search with measured relevance for the workload”: Keyword and dense methods retrieve complementary kinds of evidence.
C:“Use an authenticated Databricks App backend that holds server-side endpoint credentials” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Use hybrid lexical and dense search with measured relevance for the workload”: Keyword and dense methods retrieve complementary kinds of evidence.
D:“Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters” is associated with this technical property: Model-serving authentication alone does not automatically implement row-level retrieval access. The question instead turns on “Use hybrid lexical and dense search with measured relevance for the workload”: Keyword and dense methods retrieve complementary kinds of evidence.
Question 639
An engineering review considers a safeguard for this situation: A multi-turn agent must recover an in-progress task after a server restart. The proposed action is: Persist scoped state in an approved durable datastore with expiry and access policy. Which observed failure most strongly justifies that action?
- A developer edits the production prompt in place and loses previous behavior
- Any workspace member can invoke it despite not being on the finance team
- The API key is copied into prompts and client-side source code
- Conversation memory stored only in the process disappears on deployment rollover
Explanation
Correct Answer
D:Conversation memory stored only in the process disappears on deployment rollover. This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy. Durable application memory needs storage and governance beyond model context. The follow-up evidence would be: Authorized user resumes task after restart; another user cannot read the session. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A developer edits the production prompt in place and loses previous behavior” is associated with this technical property: This observation motivates the specific control to Track prompt versions and promote with a stable alias after evaluation. The question instead turns on “Conversation memory stored only in the process disappears on deployment rollover”: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy.
B:“Any workspace member can invoke it despite not being on the finance team” is associated with this technical property: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups. The question instead turns on “Conversation memory stored only in the process disappears on deployment rollover”: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy.
C:“The API key is copied into prompts and client-side source code” is associated with this technical property: This observation motivates the specific control to Register external MCP connection and keep credentials in governed secret storage. The question instead turns on “Conversation memory stored only in the process disappears on deployment rollover”: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy.
Question 640
The team observes this failure in a GenAI application: A simple answer-relevance score passes a dangerously incomplete response. After implementing the fix to Evaluate coverage of all required reference facts with a checklist or calibrated scorer, which measurement or test most directly demonstrates success?
- Sample responses are concise and friendly while preserving all required cautions
- Multi-clause test cases detect missing mandatory steps and trigger remediation
- Trace shows scoped retrieval and no cross-account data exposure
- Evidence-supported accuracy determines model selection
Explanation
Correct Answer
B:Multi-clause test cases detect missing mandatory steps and trigger remediation. This specifically validates the remediation to Evaluate coverage of all required reference facts with a checklist or calibrated scorer for the failure that A simple answer-relevance score passes a dangerously incomplete response. Correctness and completeness are separate response quality dimensions. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Sample responses are concise and friendly while preserving all required cautions” is associated with this technical property: Style instructions should not override content validity. The question instead turns on “Multi-clause test cases detect missing mandatory steps and trigger remediation”: A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
C:“Trace shows scoped retrieval and no cross-account data exposure” is associated with this technical property: User intent must be coupled to trusted entity context before private lookup. The question instead turns on “Multi-clause test cases detect missing mandatory steps and trigger remediation”: A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
D:“Evidence-supported accuracy determines model selection” is associated with this technical property: Answer correctness must be measured against source evidence, not just readability. The question instead turns on “Multi-clause test cases detect missing mandatory steps and trigger remediation”: A response that merely looks fluent or a successful configuration save would not be sufficient evidence.