Certified Generative AI Engineer Associate Practice Test 62
Question 610
A Databricks generative AI team is designing a solution with this requirement: Compliance Q&A must answer from the latest approved policy revision. Which engineering approach should it select first?
- Filter or version source records by approval status and effective date
- Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval
- Store raw records and curated chunk tables separately in governed Delta with lineage
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
Explanation
Correct Answer
A:Filter or version source records by approval status and effective date directly addresses the described Databricks GenAI architecture: Compliance Q&A must answer from the latest approved policy revision. Freshness and document authority should constrain eligible retrieval candidates. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Outdated policy text cannot appear as approved evidence after release cutover.
Incorrect Answers
B:“Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval” is associated with this technical property: Retrieval recall is an upstream prerequisite for grounded answer generation. The question instead turns on “Filter or version source records by approval status and effective date”: Freshness and document authority should constrain eligible retrieval candidates.
C:“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 “Filter or version source records by approval status and effective date”: Freshness and document authority should constrain eligible retrieval candidates.
D:“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 “Filter or version source records by approval status and effective date”: Freshness and document authority should constrain eligible retrieval candidates.
Question 611
An engineering review considers a safeguard for this situation: Compliance Q&A must answer from the latest approved policy revision. The proposed action is: Filter or version source records by approval status and effective date. Which observed failure most strongly justifies that action?
- A web scraper searches rendered strings and loses nested attribute semantics
- Sensitive identifiers are embedded into the vector index and appear in debug output
- The retriever includes superseded procedures that rank above current instructions
- Developers increase overlap despite redundant boundaries and hit capacity
Explanation
Correct Answer
C:The retriever includes superseded procedures that rank above current instructions. This observation motivates the specific control to Filter or version source records by approval status and effective date. Freshness and document authority should constrain eligible retrieval candidates. The follow-up evidence would be: Outdated policy text cannot appear as approved evidence after release cutover. 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 “The retriever includes superseded procedures that rank above current instructions”: This observation motivates the specific control to Filter or version source records by approval status and effective date.
B:“Sensitive identifiers are embedded into the vector index and appear in debug output” is associated with this technical property: This observation motivates the specific control to Redact or tokenize restricted fields before embedding with authorized lookup retained separately. The question instead turns on “The retriever includes superseded procedures that rank above current instructions”: This observation motivates the specific control to Filter or version source records by approval status and effective date.
D:“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 “The retriever includes superseded procedures that rank above current instructions”: This observation motivates the specific control to Filter or version source records by approval status and effective date.
Question 612
An engineering review considers a safeguard for this situation: An operations agent must answer questions requiring aggregations over governed BI tables. The proposed action is: Route authorized structured questions to a governed Genie Space or conversational API. Which observed failure most strongly justifies that action?
- The answer model invents undocumented steps to appear helpful
- English-only evaluation hides poor translation and answer quality
- It uses vector retrieval from policy PDFs to guess numerical warehouse totals
- A prompt emphasizing empathy leads to unsupported reassurance
Explanation
Correct Answer
C:It uses vector retrieval from policy PDFs to guess numerical warehouse totals. This observation motivates the specific control to Route authorized structured questions to a governed Genie Space or conversational API. Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. The follow-up evidence would be: Agent trace shows permitted query and correct aggregated figures. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The answer model invents undocumented steps to appear helpful” is associated with this technical property: This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling. The question instead turns on “It uses vector retrieval from policy PDFs to guess numerical warehouse totals”: This observation motivates the specific control to Route authorized structured questions to a governed Genie Space or conversational API.
B:“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 “It uses vector retrieval from policy PDFs to guess numerical warehouse totals”: This observation motivates the specific control to Route authorized structured questions to a governed Genie Space or conversational API.
D:“A prompt emphasizing empathy leads to unsupported reassurance” is associated with this technical property: This observation motivates the specific control to Specify tone and brevity separately from factual evidence and noninvention constraints. The question instead turns on “It uses vector retrieval from policy PDFs to guess numerical warehouse totals”: This observation motivates the specific control to Route authorized structured questions to a governed Genie Space or conversational API.
Question 613
For the requirement that Operators want to connect individual serving failures to the model version and response, the team proposes this change: Enable governed inference tables and correlate request IDs with MLflow traces. Which technical principle explains why it is appropriate?
- Code-based scoring is suitable for exact business-rule invariants
- Domain quality criteria should be explicit, testable and tied to allowed evidence
- Application quality requires outcome metrics beyond uptime
- Request-level observability supports diagnosis while usage aggregates support planning
Explanation
Correct Answer
D:Request-level observability supports diagnosis while usage aggregates support planning. The proposed engineering step is to Enable governed inference tables and correlate request IDs with MLflow traces. It directly supports the requirement that Operators want to connect individual serving failures to the model version and response. The operational test is that Incident trace reconstructs endpoint version and tool error for sampled request. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Code-based scoring is suitable for exact business-rule invariants” is associated with this technical property: It directly supports the requirement that A policy agent must include a required disclaimer when advising on refunds. The question instead turns on “Request-level observability supports diagnosis while usage aggregates support planning”: It directly supports the requirement that Operators want to connect individual serving failures to the model version and response.
B:“Domain quality criteria should be explicit, testable and tied to allowed evidence” is associated with this technical property: It directly supports the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus. The question instead turns on “Request-level observability supports diagnosis while usage aggregates support planning”: It directly supports the requirement that Operators want to connect individual serving failures to the model version and response.
C:“Application quality requires outcome metrics beyond uptime” is associated with this technical property: Application quality requires outcome metrics beyond uptime. The question instead turns on “Request-level observability supports diagnosis while usage aggregates support planning”: It directly supports the requirement that Operators want to connect individual serving failures to the model version and response.
Question 614
An engineering review considers a safeguard for this situation: A knowledge application searches English policy text using Hindi queries. The proposed action is: Evaluate a multilingual embedding model with paired multilingual query set. Which observed failure most strongly justifies that action?
- The reviewer sees convincing language but no matching source evidence
- A text-only model receives file paths and hallucinates visual values
- A monolingual embedding model misses semantically equivalent policies
- A standalone notebook prototype cannot be accessed consistently by app clients
Explanation
Correct Answer
C:A monolingual embedding model misses semantically equivalent policies. This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set. Cross-lingual embedding performance cannot be assumed from English benchmarks. The follow-up evidence would be: Translated queries retrieve equivalent approved passages at measured recall. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The reviewer sees convincing language but no matching source evidence” is associated with this technical property: This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims. The question instead turns on “A monolingual embedding model misses semantically equivalent policies”: This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set.
B:“A text-only model receives file paths and hallucinates visual values” is associated with this technical property: This observation motivates the specific control to Choose vision-capable processing or OCR extraction before text model use. The question instead turns on “A monolingual embedding model misses semantically equivalent policies”: This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set.
D:“A standalone notebook prototype cannot be accessed consistently by app clients” is associated with this technical property: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path. The question instead turns on “A monolingual embedding model misses semantically equivalent policies”: This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set.
Question 615
An application intended to satisfy this requirement, A user asks whether the second order has shipped after discussing three orders, instead experiences: Agent searches all orders because previous turn identifiers were discarded. Which targeted engineering correction resolves this failure?
- Use a retriever abstraction around the approved vector search implementation
- Select a model with enough effective input tokens or reduce chunk size
- Add a bounded summary instruction preserving critical qualifier and context
- Resolve follow-up reference against authorized conversation state before tool call
Explanation
Correct Answer
D:Resolve follow-up reference against authorized conversation state before tool call targets the observed failure: Agent searches all orders because previous turn identifiers were discarded. Coreference resolution should preserve scoped intent and entity continuity. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Tests of sequential order questions refer to the expected order only.
Incorrect Answers
A:“Use a retriever abstraction around the approved vector search implementation” is associated with this technical property: Separating retrieval contract from storage implementation reduces migration coupling. The question instead turns on “Resolve follow-up reference against authorized conversation state before tool call”: Coreference resolution should preserve scoped intent and entity continuity.
B:“Select a model with enough effective input tokens or reduce chunk size” is associated with this technical property: Embedding truncation silently removes evidence from retrieval. The question instead turns on “Resolve follow-up reference against authorized conversation state before tool call”: Coreference resolution should preserve scoped intent and entity continuity.
C:“Add a bounded summary instruction preserving critical qualifier and context” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “Resolve follow-up reference against authorized conversation state before tool call”: Coreference resolution should preserve scoped intent and entity continuity.
Question 616
An engineering review considers a safeguard for this situation: AI Gateway usage tables are needed for monitoring but requests may contain personal data. The proposed action is: Choose supported masking/redaction or logging minimization before persisted telemetry. Which observed failure most strongly justifies that action?
- Embedding similarity promotes spam-like text above useful handbook sections
- The tool runs with broad service privileges despite natural-language tenancy claim
- A summarizer merges both and issues a false combined instruction
- Raw prompt logging includes unneeded national identifiers in long-retention tables
Explanation
Correct Answer
D:Raw prompt logging includes unneeded national identifiers in long-retention tables. This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry. Operational metrics should avoid storing unnecessary sensitive payloads. The follow-up evidence would be: Usage totals remain available while sampled logs exclude restricted values. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Embedding similarity promotes spam-like text above useful handbook sections” is associated with this technical property: This observation motivates the specific control to Filter high-frequency spam and check source authority before indexing. The question instead turns on “Raw prompt logging includes unneeded national identifiers in long-retention tables”: This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry.
B:“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 “Raw prompt logging includes unneeded national identifiers in long-retention tables”: This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry.
C:“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 “Raw prompt logging includes unneeded national identifiers in long-retention tables”: This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry.
Question 617
An application intended to satisfy this requirement, A chain's model signature omits the tenant field used for retrieval, instead experiences: Serving accepts inputs but loses access scope in downstream tool execution. Which targeted engineering correction resolves this failure?
- Include retriever configuration and embedding dependencies in deployment validation
- Record representative input schema including tenant context in MLflow
- Configure supported sync/refresh behavior and verify index freshness
- Declare needed Python packages and artifacts when logging and packaging the pyfunc model
Explanation
Correct Answer
B:Record representative input schema including tenant context in MLflow targets the observed failure: Serving accepts inputs but loses access scope in downstream tool execution. Model packaging must preserve fields required to enforce data boundaries. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Serving test shows scoped retrieval and rejects missing mandatory scope.
Incorrect Answers
A:“Include retriever configuration and embedding dependencies in deployment validation” is associated with this technical property: A deployable RAG model requires all retrieval components, not just a text generator. The question instead turns on “Record representative input schema including tenant context in MLflow”: Model packaging must preserve fields required to enforce data boundaries.
C:“Configure supported sync/refresh behavior and verify index freshness” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Record representative input schema including tenant context in MLflow”: Model packaging must preserve fields required to enforce data boundaries.
D:“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 “Record representative input schema including tenant context in MLflow”: Model packaging must preserve fields required to enforce data boundaries.
Question 618
A solution architect must balance this requirement: A nightly source refresh modifies a subset of documents. During review the team anticipates the failure that Pipeline reprocesses every item and generates expensive duplicate embeddings. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Filter or version source records by approval status and effective date
- Retrieve transaction-specific facts through governed structured data in addition to policy text
- Use stable document and chunk IDs with change detection and Delta merge semantics
- Store child chunks for fine search with parent-section expansion for answer context
Explanation
Correct Answer
C:Use stable document and chunk IDs with change detection and Delta merge semantics directly addresses the described Databricks GenAI architecture: A nightly source refresh modifies a subset of documents. Idempotent updates prevent duplicate indexed chunks and limit processing cost. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Second run without changes adds no duplicates and changed documents re-embed.
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 “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
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 “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
D:“Store child chunks for fine search with parent-section expansion for answer context” is associated with this technical property: Hierarchical retrieval combines search granularity with coherent generation context. The question instead turns on “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
Question 619
An engineering review considers a safeguard for this situation: A corpus produces too many nearly identical chunks and index cost exceeds budget. The proposed action is: Reduce excessive overlap while checking boundary-question recall. Which observed failure most strongly justifies that action?
- Developers increase overlap despite redundant boundaries and hit capacity
- A web scraper searches rendered strings and loses nested attribute semantics
- Embedding and query retrieval quality falls for cross-language paraphrases
- The index contains generic shipping policy but not live tracking records
Explanation
Correct Answer
A:Developers increase overlap despite redundant boundaries and hit capacity. This observation motivates the specific control to Reduce excessive overlap while checking boundary-question recall. Overlap trades continuity against duplication, latency and storage footprint. The follow-up evidence would be: Index count falls and boundary reference questions remain answerable. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“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 “Developers increase overlap despite redundant boundaries and hit capacity”: This observation motivates the specific control to Reduce excessive overlap while checking boundary-question recall.
C:“Embedding and query retrieval quality falls for cross-language paraphrases” is associated with this technical property: This observation motivates the specific control to Evaluate multilingual embedding and optional query translation on representative pairs. The question instead turns on “Developers increase overlap despite redundant boundaries and hit capacity”: This observation motivates the specific control to Reduce excessive overlap while checking boundary-question recall.
D:“The index contains generic shipping policy but not live tracking records” is associated with this technical property: This observation motivates the specific control to Retrieve transaction-specific facts through governed structured data in addition to policy text. The question instead turns on “Developers increase overlap despite redundant boundaries and hit capacity”: This observation motivates the specific control to Reduce excessive overlap while checking boundary-question recall.
Question 620
An engineering review considers a safeguard for this situation: Daily product feeds must be re-embedded after validated text cleanup. The proposed action is: Store raw records and curated chunk tables separately in governed Delta with lineage. Which observed failure most strongly justifies that action?
- Developers increase overlap despite redundant boundaries and hit capacity
- The index contains generic shipping policy but not live tracking records
- A notebook overwrites raw data when producing chunks, losing rollback
- A web scraper searches rendered strings and loses nested attribute semantics
Explanation
Correct Answer
C:A notebook overwrites raw data when producing chunks, losing rollback. This observation motivates the specific control to Store raw records and curated chunk tables separately in governed Delta with lineage. Layered data preparation supports reproducible source-to-chunk transformations. The follow-up evidence would be: Rebuild can trace each chunk to original record/version and transformation. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“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 “A notebook overwrites raw data when producing chunks, losing rollback”: This observation motivates the specific control to Store raw records and curated chunk tables separately in governed Delta with lineage.
B:“The index contains generic shipping policy but not live tracking records” is associated with this technical property: This observation motivates the specific control to Retrieve transaction-specific facts through governed structured data in addition to policy text. The question instead turns on “A notebook overwrites raw data when producing chunks, losing rollback”: This observation motivates the specific control to Store raw records and curated chunk tables separately in governed Delta with lineage.
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 “A notebook overwrites raw data when producing chunks, losing rollback”: This observation motivates the specific control to Store raw records and curated chunk tables separately in governed Delta with lineage.