Certified Generative AI Engineer Associate Practice Test 7
Question 60
A Databricks generative AI team is designing a solution with this requirement: A corpus produces too many nearly identical chunks and index cost exceeds budget. Which engineering approach should it select first?
- Remove irrelevant repeated chrome before chunking and index creation
- Reduce excessive overlap while checking boundary-question recall
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
- Rerank the candidate set against the full query with a suitable reranker
Explanation
Correct Answer
B:Reduce excessive overlap while checking boundary-question recall directly addresses the described Databricks GenAI architecture: A corpus produces too many nearly identical chunks and index cost exceeds budget. Overlap trades continuity against duplication, latency and storage footprint. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Index count falls and boundary reference questions remain answerable.
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 excessive overlap while checking boundary-question recall”: Overlap trades continuity against duplication, latency and storage footprint.
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 excessive overlap while checking boundary-question recall”: Overlap trades continuity against duplication, latency and storage footprint.
D:“Rerank the candidate set against the full query with a suitable reranker” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Reduce excessive overlap while checking boundary-question recall”: Overlap trades continuity against duplication, latency and storage footprint.
Question 61
A Databricks generative AI team is designing a solution with this requirement: A business wants controlled model versions shared across workspaces. Which engineering approach should it select first?
- Register the MLflow model in Unity Catalog using an approved three-part name
- Implement approved retry, quota handling and optional validated alternative model path
- Register external MCP connection and keep credentials in governed secret storage
- Implement explicit retrieve, evidence selection and answer generation stages
Explanation
Correct Answer
A:Register the MLflow model in Unity Catalog using an approved three-part name directly addresses the described Databricks GenAI architecture: A business wants controlled model versions shared across workspaces. Unity Catalog provides governed namespace and access for registered models. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized team can resolve the registered version and view audit metadata.
Incorrect Answers
B:“Implement approved retry, quota handling and optional validated alternative model path” is associated with this technical property: Inference service reliability requires explicit rate-limit and failure controls. The question instead turns on “Register the MLflow model in Unity Catalog using an approved three-part name”: Unity Catalog provides governed namespace and access for registered models.
C:“Register external MCP connection and keep credentials in governed secret storage” is associated with this technical property: Tool connection credentials must be isolated from model-generated content. The question instead turns on “Register the MLflow model in Unity Catalog using an approved three-part name”: Unity Catalog provides governed namespace and access for registered models.
D:“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 “Register the MLflow model in Unity Catalog using an approved three-part name”: Unity Catalog provides governed namespace and access for registered models.
Question 62
The team observes this failure in a GenAI application: A monolingual embedding model misses semantically equivalent policies. After implementing the fix to Evaluate a multilingual embedding model with paired multilingual query set, which measurement or test most directly demonstrates success?
- Response amounts reconcile with query output and user role scope
- Captured tool calls conform to schema and unauthorized API routes are never invoked
- Translated queries retrieve equivalent approved passages at measured recall
- Trend shows policy mismatch and updated evaluation verifies remediation
Explanation
Correct Answer
C:Translated queries retrieve equivalent approved passages at measured recall. This specifically validates the remediation to Evaluate a multilingual embedding model with paired multilingual query set for the failure that A monolingual embedding model misses semantically equivalent policies. Cross-lingual embedding performance cannot be assumed from English benchmarks. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Response amounts reconcile with query output and user role scope” is associated with this technical property: Structured analytics should be traceable to actual authorized data access. The question instead turns on “Translated queries retrieve equivalent approved passages at measured recall”: Cross-lingual embedding performance cannot be assumed from English benchmarks.
B:“Captured tool calls conform to schema and unauthorized API routes are never invoked” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Translated queries retrieve equivalent approved passages at measured recall”: Cross-lingual embedding performance cannot be assumed from English benchmarks.
D:“Trend shows policy mismatch and updated evaluation verifies remediation” is associated with this technical property: Production monitoring detects data shifts missed by one-time release tests. The question instead turns on “Translated queries retrieve equivalent approved passages at measured recall”: Cross-lingual embedding performance cannot be assumed from English benchmarks.
Question 63
A solution architect must balance this requirement: An operations team must extract purchase-order numbers and totals from vendor letters. During review the team anticipates the failure that A broad conversational model improvises absent numeric values. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Select information extraction with validation and optional citations before using generative prose
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Define typed document inputs, risk labels, source offsets and output schema before design
- Specify explicit JSON fields and enforce a structured output schema with validation
Explanation
Correct Answer
B:Use schema-guided extraction with explicit missing-value handling rather than creative completion directly addresses the described Databricks GenAI architecture: An operations team must extract purchase-order numbers and totals from vendor letters. Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Checked sample letters have faithful fields and missing values remain missing.
Incorrect Answers
A:“Select information extraction with validation and optional citations before using generative prose” is associated with this technical property: Matching a source paragraph is not equivalent to structured field extraction. The question instead turns on “Use schema-guided extraction with explicit missing-value handling rather than creative completion”: Entity extraction should preserve evidence spans and avoid inventing unavailable fields.
C:“Define typed document inputs, risk labels, source offsets and output schema before design” is associated with this technical property: Explicit data contracts make evaluation and downstream workflow integration possible. The question instead turns on “Use schema-guided extraction with explicit missing-value handling rather than creative completion”: Entity extraction should preserve evidence spans and avoid inventing unavailable fields.
D:“Specify explicit JSON fields and enforce a structured output schema with validation” is associated with this technical property: Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The question instead turns on “Use schema-guided extraction with explicit missing-value handling rather than creative completion”: Entity extraction should preserve evidence spans and avoid inventing unavailable fields.
Question 64
A Databricks generative AI team is designing a solution with this requirement: A team needs a supported hosted language model for summarization without managing GPUs. Which engineering approach should it select first?
- Choose a stable unique primary key and valid text/embedding fields for the index
- Use governed model versions and aliases or equivalent approved promotion controls
- Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota
- Gate prompt promotion on fixed accuracy, completeness, safety and cost tests
Explanation
Correct Answer
C:Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota directly addresses the described Databricks GenAI architecture: A team needs a supported hosted language model for summarization without managing GPUs. Hosted model APIs separate application logic from model infrastructure operations. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized API calls return summaries and quota/latency behavior is monitored.
Incorrect Answers
A:“Choose a stable unique primary key and valid text/embedding fields for the index” is associated with this technical property: A vector index needs consistent row identity to synchronize source mutations. The question instead turns on “Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota”: Hosted model APIs separate application logic from model infrastructure operations.
B:“Use governed model versions and aliases or equivalent approved promotion controls” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota”: Hosted model APIs separate application logic from model infrastructure operations.
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 “Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota”: Hosted model APIs separate application logic from model infrastructure operations.
Question 65
A solution architect must balance this requirement: A policy assistant needs factual answers from a private handbook. During review the team anticipates the failure that LLM replies cite nonexistent paragraphs because no authoritative text is supplied. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Supply the allowed label vocabulary and validate each response against its enum
- Choose and evaluate a summarization-capable text generation model with a length instruction
- Define typed document inputs, risk labels, source offsets and output schema before design
- Build a retrieval step that selects authorized passages before prompting the answer model
Explanation
Correct Answer
D:Build a retrieval step that selects authorized passages before prompting the answer model directly addresses the described Databricks GenAI architecture: A policy assistant needs factual answers from a private handbook. Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Answer traces show relevant handbook evidence for each supported response.
Incorrect Answers
A:“Supply the allowed label vocabulary and validate each response against its enum” is associated with this technical property: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The question instead turns on “Build a retrieval step that selects authorized passages before prompting the answer model”: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources.
B:“Choose and evaluate a summarization-capable text generation model with a length instruction” is associated with this technical property: Task fit matters because extraction and summarization preserve different information. The question instead turns on “Build a retrieval step that selects authorized passages before prompting the answer model”: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources.
C:“Define typed document inputs, risk labels, source offsets and output schema before design” is associated with this technical property: Explicit data contracts make evaluation and downstream workflow integration possible. The question instead turns on “Build a retrieval step that selects authorized passages before prompting the answer model”: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources.
Question 66
An application intended to satisfy this requirement, Error-code questions include precise strings absent from semantic synonyms, instead experiences: Vector-only search misses documents mentioning a rare literal error identifier. Which targeted engineering correction resolves this failure?
- Filter or version source records by approval status and effective date
- Parse JSON directly and normalize documented nested keys
- Chunk along semantic boundaries, carrying heading metadata into retrieval
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
Explanation
Correct Answer
D:Combine keyword and semantic retrieval, then optionally rerank shortlisted results targets the observed failure: Vector-only search misses documents mentioning a rare literal error identifier. Lexical exact matching complements dense retrieval for precise tokens. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Exact error-code passages appear in measured top-k results.
Incorrect Answers
A:“Filter or version source records by approval status and effective date” is associated with this technical property: Freshness and document authority should constrain eligible retrieval candidates. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
B:“Parse JSON directly and normalize documented nested keys” is associated with this technical property: Structured APIs should be read as structures rather than rendered web text. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
C:“Chunk along semantic boundaries, carrying heading metadata into retrieval” is associated with this technical property: Structure-aware chunking preserves context and filters better than indiscriminate splitting. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
Question 67
For the requirement that A deployed agent calls a governed knowledge index using a shared engineer token, the team proposes this change: Configure supported workload identity and scoped service credentials for the endpoint. Which technical principle explains why it is appropriate?
- Model packaging must preserve fields required to enforce data boundaries
- Index architecture is a workload tradeoff, not solely a storage-price decision
- Production service identities should not depend on individual user credentials
- Hosted model APIs separate application logic from model infrastructure operations
Explanation
Correct Answer
C:Production service identities should not depend on individual user credentials. The proposed engineering step is to Configure supported workload identity and scoped service credentials for the endpoint. It directly supports the requirement that A deployed agent calls a governed knowledge index using a shared engineer token. The operational test is that Endpoint retrieves approved documents after employee token revocation with auditable service identity. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Model packaging must preserve fields required to enforce data boundaries” is associated with this technical property: It directly supports the requirement that A chain's model signature omits the tenant field used for retrieval. The question instead turns on “Production service identities should not depend on individual user credentials”: It directly supports the requirement that A deployed agent calls a governed knowledge index using a shared engineer token.
B:“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 “Production service identities should not depend on individual user credentials”: It directly supports the requirement that A deployed agent calls a governed knowledge index using a shared engineer token.
D:“Hosted model APIs separate application logic from model infrastructure operations” is associated with this technical property: It directly supports the requirement that A team needs a supported hosted language model for summarization without managing GPUs. The question instead turns on “Production service identities should not depend on individual user credentials”: It directly supports the requirement that A deployed agent calls a governed knowledge index using a shared engineer token.
Question 68
A Databricks generative AI team is designing a solution with this requirement: Accounts payable must turn a large archive of invoices into normalized JSON fields. Which engineering approach should it select first?
- Compose a governed data-query tool followed by a separate response-generation step
- Require authenticated lookup before answer composition, with missing-data branch
- Build a retrieval step that selects authorized passages before prompting the answer model
- Choose the Information Extraction capability and define stable target schema
Explanation
Correct Answer
D:Choose the Information Extraction capability and define stable target schema directly addresses the described Databricks GenAI architecture: Accounts payable must turn a large archive of invoices into normalized JSON fields. Structured extraction differs from open-ended multi-step research orchestration. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Batch outputs validate schema and field accuracy against reviewed invoice samples.
Incorrect Answers
A:“Compose a governed data-query tool followed by a separate response-generation step” is associated with this technical property: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The question instead turns on “Choose the Information Extraction capability and define stable target schema”: Structured extraction differs from open-ended multi-step research orchestration.
B:“Require authenticated lookup before answer composition, with missing-data branch” is associated with this technical property: Tool ordering matters when facts are volatile and cannot be inferred safely. The question instead turns on “Choose the Information Extraction capability and define stable target schema”: Structured extraction differs from open-ended multi-step research orchestration.
C:“Build a retrieval step that selects authorized passages before prompting the answer model” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Choose the Information Extraction capability and define stable target schema”: Structured extraction differs from open-ended multi-step research orchestration.
Question 69
A Databricks generative AI team is designing a solution with this requirement: A Delta sync index is built from a frequently updated FAQ table. Which engineering approach should it select first?
- Configure supported workload identity and scoped service credentials for the endpoint
- Grant serving endpoint invocation only to approved service principals and groups
- Record representative input schema including tenant context in MLflow
- Configure supported sync/refresh behavior and verify index freshness
Explanation
Correct Answer
D:Configure supported sync/refresh behavior and verify index freshness directly addresses the described Databricks GenAI architecture: A Delta sync index is built from a frequently updated FAQ table. Index results reflect a materialized view whose update cadence must match source changes. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: After controlled update, intended new record becomes retrievable within approved delay.
Incorrect Answers
A:“Configure supported workload identity and scoped service credentials for the endpoint” is associated with this technical property: Production service identities should not depend on individual user credentials. 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.
B:“Grant serving endpoint invocation only to approved service principals and groups” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. 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:“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 “Configure supported sync/refresh behavior and verify index freshness”: Index results reflect a materialized view whose update cadence must match source changes.
Question 70
A Databricks generative AI team is designing a solution with this requirement: Error-code questions include precise strings absent from semantic synonyms. Which engineering approach should it select first?
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
- Use stable document and chunk IDs with change detection and Delta merge semantics
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
- Store raw records and curated chunk tables separately in governed Delta with lineage
Explanation
Correct Answer
C:Combine keyword and semantic retrieval, then optionally rerank shortlisted results directly addresses the described Databricks GenAI architecture: Error-code questions include precise strings absent from semantic synonyms. Lexical exact matching complements dense retrieval for precise tokens. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Exact error-code passages appear in measured top-k results.
Incorrect Answers
A:“Parse relevant HTML elements using an HTML parser such as BeautifulSoup” is associated with this technical property: Extraction tools must match source encoding and document format. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
B:“Use stable document and chunk IDs with change detection and Delta merge semantics” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
D:“Store raw records and curated chunk tables separately in governed Delta with lineage” is associated with this technical property: Layered data preparation supports reproducible source-to-chunk transformations. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.