Certified Generative AI Engineer Associate Practice Test 4
Question 30
A Databricks generative AI team is designing a solution with this requirement: Untrusted pages repeat irrelevant marketing phrases thousands of times. Which engineering approach should it select first?
- Apply policy-based redaction to tool output and answer rendering
- Validate and bind tenant scope server-side for every tool call
- Check data provenance, license terms and documented permissible uses before training
- Filter high-frequency spam and check source authority before indexing
Explanation
Correct Answer
D:Filter high-frequency spam and check source authority before indexing directly addresses the described Databricks GenAI architecture: Untrusted pages repeat irrelevant marketing phrases thousands of times. Preprocessing can prevent irrelevant content from dominating semantic search. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Top retrieved evidence excludes boilerplate and maintains legitimate recall.
Incorrect Answers
A:“Apply policy-based redaction to tool output and answer rendering” is associated with this technical property: Data minimization is a separate control from model answer quality. The question instead turns on “Filter high-frequency spam and check source authority before indexing”: Preprocessing can prevent irrelevant content from dominating semantic search.
B:“Validate and bind tenant scope server-side for every tool call” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Filter high-frequency spam and check source authority before indexing”: Preprocessing can prevent irrelevant content from dominating semantic search.
C:“Check data provenance, license terms and documented permissible uses before training” is associated with this technical property: Availability of source data does not imply redistribution or model-training rights. The question instead turns on “Filter high-frequency spam and check source authority before indexing”: Preprocessing can prevent irrelevant content from dominating semantic search.
Question 31
An application intended to satisfy this requirement, A large overnight document labeling job runs through an interactive agent endpoint, instead experiences: High concurrency saturates endpoint and raises latency for online users. Which targeted engineering correction resolves this failure?
- Weight critical evaluation strata and set nonnegotiable failure limits
- Move eligible bulk requests to governed batch inference with appropriate quotas
- Compare per-slice quality, token cost and latency against release thresholds
- Track p95/p99 latency and relevant request slices
Explanation
Correct Answer
B:Move eligible bulk requests to governed batch inference with appropriate quotas targets the observed failure: High concurrency saturates endpoint and raises latency for online users. Batch workloads can be decoupled from latency-critical online traffic. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Online p95 improves while nightly job finishes within budget.
Incorrect Answers
A:“Weight critical evaluation strata and set nonnegotiable failure limits” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Move eligible bulk requests to governed batch inference with appropriate quotas”: Batch workloads can be decoupled from latency-critical online traffic.
C:“Compare per-slice quality, token cost and latency against release thresholds” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Move eligible bulk requests to governed batch inference with appropriate quotas”: Batch workloads can be decoupled from latency-critical online traffic.
D:“Track p95/p99 latency and relevant request slices” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Move eligible bulk requests to governed batch inference with appropriate quotas”: Batch workloads can be decoupled from latency-critical online traffic.
Question 32
An engineering review considers a safeguard for this situation: Bi-encoder search finds loosely related candidates for complex entitlement questions. The proposed action is: Rerank the candidate set against the full query with a suitable reranker. Which observed failure most strongly justifies that action?
- A scanned-image OCR tool produces noise on native HTML pages
- High semantic similarity alone ranks a misleading policy clause first
- Long chunks are silently truncated and critical paragraph ends disappear
- A web scraper searches rendered strings and loses nested attribute semantics
Explanation
Correct Answer
B:High semantic similarity alone ranks a misleading policy clause first. This observation motivates the specific control to Rerank the candidate set against the full query with a suitable reranker. Second-stage reranking can improve relevance where first-stage vectors are approximate. The follow-up evidence would be: Labeled relevance ordering improves without discarding the true policy passage. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A scanned-image OCR tool produces noise on native HTML pages” is associated with this technical property: This observation motivates the specific control to Parse relevant HTML elements using an HTML parser such as BeautifulSoup. The question instead turns on “High semantic similarity alone ranks a misleading policy clause first”: This observation motivates the specific control to Rerank the candidate set against the full query with a suitable reranker.
C:“Long chunks are silently truncated and critical paragraph ends disappear” is associated with this technical property: This observation motivates the specific control to Reduce chunk tokens to fit effective embedding context with explicit truncation tests. The question instead turns on “High semantic similarity alone ranks a misleading policy clause first”: This observation motivates the specific control to Rerank the candidate set against the full query with a suitable reranker.
D:“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 “High semantic similarity alone ranks a misleading policy clause first”: This observation motivates the specific control to Rerank the candidate set against the full query with a suitable reranker.
Question 33
An application intended to satisfy this requirement, A bot handles contracts, SQL analytics and IT tickets via different tools, instead experiences: One general tool selection executes an unsafe IT command for legal question. Which targeted engineering correction resolves this failure?
- Normalize supported aliases to canonical product ID before retrieval
- Use specialist agents with a supervisor and per-tool permission boundaries
- Score factual support against retrieved passages and flag unsupported claims
- Evaluate a multilingual embedding model with paired multilingual query set
Explanation
Correct Answer
B:Use specialist agents with a supervisor and per-tool permission boundaries targets the observed failure: One general tool selection executes an unsafe IT command for legal question. Delegation can reduce cross-domain tool confusion when roles are explicit. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Mixed-intent tests route to the intended specialist and enforce permissions.
Incorrect Answers
A:“Normalize supported aliases to canonical product ID before retrieval” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Use specialist agents with a supervisor and per-tool permission boundaries”: Delegation can reduce cross-domain tool confusion when roles are explicit.
C:“Score factual support against retrieved passages and flag unsupported claims” is associated with this technical property: Fluency is not evidence of grounded correctness. The question instead turns on “Use specialist agents with a supervisor and per-tool permission boundaries”: Delegation can reduce cross-domain tool confusion when roles are explicit.
D:“Evaluate a multilingual embedding model with paired multilingual query set” is associated with this technical property: Cross-lingual embedding performance cannot be assumed from English benchmarks. The question instead turns on “Use specialist agents with a supervisor and per-tool permission boundaries”: Delegation can reduce cross-domain tool confusion when roles are explicit.
Question 34
A Databricks generative AI team is designing a solution with this requirement: Analysts compare dozens of clauses across a lengthy contract set. Which engineering approach should it select first?
- Expose the API as a validated tool with constrained arguments and secrets management
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Choose vision-capable processing or OCR extraction before text model use
- Compare model-card context limits with realistic inputs and adjust architecture
Explanation
Correct Answer
B:Benchmark long-context model or retrieval decomposition against actual evidence span directly addresses the described Databricks GenAI architecture: Analysts compare dozens of clauses across a lengthy contract set. Context-window size alone is insufficient; long-range reasoning quality must be measured. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Held-out cross-document cases preserve all required conditions.
Incorrect Answers
A:“Expose the API as a validated tool with constrained arguments and secrets management” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Benchmark long-context model or retrieval decomposition against actual evidence span”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
C:“Choose vision-capable processing or OCR extraction before text model use” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Benchmark long-context model or retrieval decomposition against actual evidence span”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
D:“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 “Benchmark long-context model or retrieval decomposition against actual evidence span”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
Question 35
For the requirement that A model hub lists several capable text models for a commercial support service, the team proposes this change: Review model-card licensing and usage restrictions before selection. Which technical principle explains why it is appropriate?
- Structured analytics should be traceable to actual authorized data access
- Technical suitability does not grant legal permission for deployment
- Guardrails should consider both user intent and produced content
- Correctness and completeness are separate response quality dimensions
Explanation
Correct Answer
B:Technical suitability does not grant legal permission for deployment. The proposed engineering step is to Review model-card licensing and usage restrictions before selection. It directly supports the requirement that A model hub lists several capable text models for a commercial support service. The operational test is that Selected model has documented permitted use and recorded provenance. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Structured analytics should be traceable to actual authorized data access” is associated with this technical property: It directly supports the requirement that A finance user asks for actual spend across departments. The question instead turns on “Technical suitability does not grant legal permission for deployment”: It directly supports the requirement that A model hub lists several capable text models for a commercial support service.
C:“Guardrails should consider both user intent and produced content” is associated with this technical property: It directly supports the requirement that A public assistant receives abusive requests and attempts to produce harmful content. The question instead turns on “Technical suitability does not grant legal permission for deployment”: It directly supports the requirement that A model hub lists several capable text models for a commercial support service.
D:“Correctness and completeness are separate response quality dimensions” is associated with this technical property: It directly supports the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval. The question instead turns on “Technical suitability does not grant legal permission for deployment”: It directly supports the requirement that A model hub lists several capable text models for a commercial support service.
Question 36
The team observes this failure in a GenAI application: A sentiment classifier returns positive or negative labels instead of answers. After implementing the fix to Use retrieval-grounded question answering with a suitable generative model, which measurement or test most directly demonstrates success?
- Answer traces show relevant handbook evidence for each supported response
- Output carries validated decimal amount and provenance for reviewed claims
- Held-out questions are answered using linked procedure passages instead of sentiment scores
- Traces show correct specialist selection and domain restrictions on mixed test cases
Explanation
Correct Answer
C:Held-out questions are answered using linked procedure passages instead of sentiment scores. This specifically validates the remediation to Use retrieval-grounded question answering with a suitable generative model for the failure that A sentiment classifier returns positive or negative labels instead of answers. Answer generation and sentiment classification optimize distinct model tasks. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Answer traces show relevant handbook evidence for each supported response” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Held-out questions are answered using linked procedure passages instead of sentiment scores”: Answer generation and sentiment classification optimize distinct model tasks.
B:“Output carries validated decimal amount and provenance for reviewed claims” is associated with this technical property: Matching a source paragraph is not equivalent to structured field extraction. The question instead turns on “Held-out questions are answered using linked procedure passages instead of sentiment scores”: Answer generation and sentiment classification optimize distinct model tasks.
D:“Traces show correct specialist selection and domain restrictions on mixed test cases” is associated with this technical property: Supervisor orchestration is appropriate when a request must select among specialist capabilities. The question instead turns on “Held-out questions are answered using linked procedure passages instead of sentiment scores”: Answer generation and sentiment classification optimize distinct model tasks.
Question 37
An application intended to satisfy this requirement, A model upgrade improves average quality but breaks previously reliable edge cases, instead experiences: Aggregate score hides a critical regression on regulated claims. Which targeted engineering correction resolves this failure?
- Evaluate fixed scenario strata and failure-critical tests before rollout
- Apply output redaction/masking under policy before responding
- Resolve follow-up reference against authorized conversation state before tool call
- Choose a model evaluated on structured tool-use success and error recovery
Explanation
Correct Answer
A:Evaluate fixed scenario strata and failure-critical tests before rollout targets the observed failure: Aggregate score hides a critical regression on regulated claims. A single benchmark mean can mask unacceptable failure modes. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Release gate checks per-slice regression and disallows critical behavior loss.
Incorrect Answers
B:“Apply output redaction/masking under policy before responding” is associated with this technical property: Data minimization applies to model outputs as well as retrieval. The question instead turns on “Evaluate fixed scenario strata and failure-critical tests before rollout”: A single benchmark mean can mask unacceptable failure modes.
C:“Resolve follow-up reference against authorized conversation state before tool call” is associated with this technical property: Coreference resolution should preserve scoped intent and entity continuity. The question instead turns on “Evaluate fixed scenario strata and failure-critical tests before rollout”: A single benchmark mean can mask unacceptable failure modes.
D:“Choose a model evaluated on structured tool-use success and error recovery” is associated with this technical property: Tool calling reliability is a distinct operational capability from general language fluency. The question instead turns on “Evaluate fixed scenario strata and failure-critical tests before rollout”: A single benchmark mean can mask unacceptable failure modes.
Question 38
The team observes this failure in a GenAI application: The endpoint uses broad service access and returns another department's records. After implementing the fix to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters, which measurement or test most directly demonstrates success?
- Results are reproducibly attached to rows and retries avoid duplicate output
- Controlled rate-limit tests return bounded failures or qualified fallback responses
- Agent calls approved managed tools with recorded permissions and results
- Cross-department adversarial requests cannot obtain unauthorized source passages
Explanation
Correct Answer
D:Cross-department adversarial requests cannot obtain unauthorized source passages. This specifically validates the remediation to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters for the failure that The endpoint uses broad service access and returns another department's records. Model-serving authentication alone does not automatically implement row-level retrieval access. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Results are reproducibly attached to rows and retries avoid duplicate output” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Cross-department adversarial requests cannot obtain unauthorized source passages”: Model-serving authentication alone does not automatically implement row-level retrieval access.
B:“Controlled rate-limit tests return bounded failures or qualified fallback responses” is associated with this technical property: Inference service reliability requires explicit rate-limit and failure controls. The question instead turns on “Cross-department adversarial requests cannot obtain unauthorized source passages”: Model-serving authentication alone does not automatically implement row-level retrieval access.
C:“Agent calls approved managed tools with recorded permissions and results” is associated with this technical property: Managed service tools reduce custom hosting and leverage workspace authorization. The question instead turns on “Cross-department adversarial requests cannot obtain unauthorized source passages”: Model-serving authentication alone does not automatically implement row-level retrieval access.
Question 39
An application intended to satisfy this requirement, A Delta sync index is built from a frequently updated FAQ table, instead experiences: Newly published answers are missing because source changes were never propagated. Which targeted engineering correction resolves this failure?
- Declare needed Python packages and artifacts when logging and packaging the pyfunc model
- Configure supported sync/refresh behavior and verify index freshness
- Track prompt versions and promote with a stable alias after evaluation
- Register the MLflow model in Unity Catalog using an approved three-part name
Explanation
Correct Answer
B:Configure supported sync/refresh behavior and verify index freshness targets the observed failure: Newly published answers are missing because source changes were never propagated. Index results reflect a materialized view whose update cadence must match source changes. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that After controlled update, intended new record becomes retrievable within approved delay.
Incorrect Answers
A:“Declare needed Python packages and artifacts when logging and packaging the pyfunc model” is associated with this technical property: A model artifact must include compatible runtime dependencies for reproducible serving. The question instead turns on “Configure supported sync/refresh behavior and verify index freshness”: Index results reflect a materialized view whose update cadence must match source changes.
C:“Track prompt versions and promote with a stable alias after evaluation” is associated with this technical property: Versioned prompts support audit, repeatability and rollback. The question instead turns on “Configure supported sync/refresh behavior and verify index freshness”: Index results reflect a materialized view whose update cadence must match source changes.
D:“Register the MLflow model in Unity Catalog using an approved three-part name” is associated with this technical property: Unity Catalog provides governed namespace and access for registered models. The question instead turns on “Configure supported sync/refresh behavior and verify index freshness”: Index results reflect a materialized view whose update cadence must match source changes.
Question 40
A Databricks generative AI team is designing a solution with this requirement: A Delta table holds product descriptions and needs a searchable embedding index. Which engineering approach should it select first?
- Choose a stable unique primary key and valid text/embedding fields for the index
- Implement explicit retrieve, evidence selection and answer generation stages
- Choose supported index synchronization mode and verify freshness SLA under updates
- Track prompt versions and promote with a stable alias after evaluation
Explanation
Correct Answer
A:Choose a stable unique primary key and valid text/embedding fields for the index directly addresses the described Databricks GenAI architecture: A Delta table holds product descriptions and needs a searchable embedding index. A vector index needs consistent row identity to synchronize source mutations. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Index queries return distinct expected records and change updates affect only intended ID.
Incorrect Answers
B:“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 “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.
C:“Choose supported index synchronization mode and verify freshness SLA under updates” is associated with this technical property: Update frequency is a key design input for choosing index deployment. 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:“Track prompt versions and promote with a stable alias after evaluation” is associated with this technical property: Versioned prompts support audit, repeatability and rollback. 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.