Certified Generative AI Engineer Associate Practice Test 61
Question 600
The team observes this failure in a GenAI application: The last paragraph of some chunks never contributes to the vectors. After implementing the fix to Select a model with enough effective input tokens or reduce chunk size, which measurement or test most directly demonstrates success?
- Boundary test passages are searchable without truncation warnings
- Red-team prompts trigger refusal and benign requests remain available
- Summaries fit configured length and retain key safety caveat
- Adversarial documents fail to redirect tools or disclose restricted content
Explanation
Correct Answer
A:Boundary test passages are searchable without truncation warnings. This specifically validates the remediation to Select a model with enough effective input tokens or reduce chunk size for the failure that The last paragraph of some chunks never contributes to the vectors. Embedding truncation silently removes evidence from retrieval. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Red-team prompts trigger refusal and benign requests remain available” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “Boundary test passages are searchable without truncation warnings”: Embedding truncation silently removes evidence from retrieval.
C:“Summaries fit configured length and retain key safety caveat” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “Boundary test passages are searchable without truncation warnings”: Embedding truncation silently removes evidence from retrieval.
D:“Adversarial documents fail to redirect tools or disclose restricted content” is associated with this technical property: Retrieved text is evidence, not a higher-priority instruction. The question instead turns on “Boundary test passages are searchable without truncation warnings”: Embedding truncation silently removes evidence from retrieval.
Question 601
An application intended to satisfy this requirement, An agent retrieves five chunks and produces an incorrect answer, instead experiences: Only final output is logged so engineers cannot diagnose retrieval versus generation. Which targeted engineering correction resolves this failure?
- Capture MLflow retriever and LLM spans and apply groundedness scorers
- Convert reviewed failure into a labeled regression case and rerun on new versions
- Enable governed inference tables and correlate request IDs with MLflow traces
- Record prompt/response token metrics by route, version and retrieval depth
Explanation
Correct Answer
A:Capture MLflow retriever and LLM spans and apply groundedness scorers targets the observed failure: Only final output is logged so engineers cannot diagnose retrieval versus generation. Traces connect observed errors to intermediate model and tool activity. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Reviewers identify the wrong source chunk and reproduce failure.
Incorrect Answers
B:“Convert reviewed failure into a labeled regression case and rerun on new versions” is associated with this technical property: Expert feedback improves quality only when incorporated into repeatable release gates. The question instead turns on “Capture MLflow retriever and LLM spans and apply groundedness scorers”: Traces connect observed errors to intermediate model and tool activity.
C:“Enable governed inference tables and correlate request IDs with MLflow traces” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Capture MLflow retriever and LLM spans and apply groundedness scorers”: Traces connect observed errors to intermediate model and tool activity.
D:“Record prompt/response token metrics by route, version and retrieval depth” is associated with this technical property: Token use diagnostics reveal cost regressions invisible in request counts. The question instead turns on “Capture MLflow retriever and LLM spans and apply groundedness scorers”: Traces connect observed errors to intermediate model and tool activity.
Question 602
A solution architect must balance this requirement: The support router must classify tickets into one of four named categories. During review the team anticipates the failure that The model invents labels that the dispatch workflow cannot handle. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities
- Supply the allowed label vocabulary and validate each response against its enum
- Define authenticated identity context as input and tenant-scoped answer objects as output
- Compose a governed data-query tool followed by a separate response-generation step
Explanation
Correct Answer
B:Supply the allowed label vocabulary and validate each response against its enum directly addresses the described Databricks GenAI architecture: The support router must classify tickets into one of four named categories. Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Test tickets yield only authorized labels and ambiguous inputs trigger defined fallback behavior.
Incorrect Answers
A:“Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities” is associated with this technical property: Tool requirements should determine orchestration rather than choosing components by popularity. The question instead turns on “Supply the allowed label vocabulary and validate each response against its enum”: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary.
C:“Define authenticated identity context as input and tenant-scoped answer objects as output” is associated with this technical property: Data boundaries are part of application design rather than optional prompt decoration. The question instead turns on “Supply the allowed label vocabulary and validate each response against its enum”: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary.
D:“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 “Supply the allowed label vocabulary and validate each response against its enum”: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary.
Question 603
An engineering review considers a safeguard for this situation: An engineering search system includes serial numbers and obscure device codes. The proposed action is: Pair appropriate embedding model with keyword/hybrid matching for identifiers. Which observed failure most strongly justifies that action?
- A guardrail prompt says to ask permission but backend accepts unauthorized calls
- A prompt emphasizing empathy leads to unsupported reassurance
- Team deploys a model whose license prohibits the desired use
- General embeddings match semantically adjacent manuals but miss exact code passages
Explanation
Correct Answer
D:General embeddings match semantically adjacent manuals but miss exact code passages. This observation motivates the specific control to Pair appropriate embedding model with keyword/hybrid matching for identifiers. Dense vectors and lexical matching capture complementary signals. The follow-up evidence would be: Exact serial and protocol error questions retrieve matching documents. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A guardrail prompt says to ask permission but backend accepts unauthorized calls” is associated with this technical property: This observation motivates the specific control to Verify authenticated user authority and explicit approval in the action service. The question instead turns on “General embeddings match semantically adjacent manuals but miss exact code passages”: This observation motivates the specific control to Pair appropriate embedding model with keyword/hybrid matching for identifiers.
B:“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 “General embeddings match semantically adjacent manuals but miss exact code passages”: This observation motivates the specific control to Pair appropriate embedding model with keyword/hybrid matching for identifiers.
C:“Team deploys a model whose license prohibits the desired use” is associated with this technical property: This observation motivates the specific control to Review model-card licensing and usage restrictions before selection. The question instead turns on “General embeddings match semantically adjacent manuals but miss exact code passages”: This observation motivates the specific control to Pair appropriate embedding model with keyword/hybrid matching for identifiers.
Question 604
An application intended to satisfy this requirement, A team proposes fine-tuning a public model on vendor documentation it does not own, instead experiences: Developers assume technical download access means commercial redistribution permission. Which targeted engineering correction resolves this failure?
- Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed
- Filter high-frequency spam and check source authority before indexing
- Parse, label and isolate untrusted document instructions while preserving legitimate factual content
- Check data provenance, license terms and documented permissible uses before training
Explanation
Correct Answer
D:Check data provenance, license terms and documented permissible uses before training targets the observed failure: Developers assume technical download access means commercial redistribution permission. Availability of source data does not imply redistribution or model-training rights. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Approved dataset manifest contains rights status for each source.
Incorrect Answers
A:“Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed” is associated with this technical property: Masking is more reliable at ingestion than hoping an output prompt hides every identifier. The question instead turns on “Check data provenance, license terms and documented permissible uses before training”: Availability of source data does not imply redistribution or model-training rights.
B:“Filter high-frequency spam and check source authority before indexing” is associated with this technical property: Preprocessing can prevent irrelevant content from dominating semantic search. The question instead turns on “Check data provenance, license terms and documented permissible uses before training”: Availability of source data does not imply redistribution or model-training rights.
C:“Parse, label and isolate untrusted document instructions while preserving legitimate factual content” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. The question instead turns on “Check data provenance, license terms and documented permissible uses before training”: Availability of source data does not imply redistribution or model-training rights.
Question 605
An application intended to satisfy this requirement, A product manual is embedded in huge sections and short troubleshooting queries match poorly, instead experiences: Retriever surfaces whole unrelated chapters at high token cost. Which targeted engineering correction resolves this failure?
- Try smaller heading-aware chunks and compare retrieval performance on labeled queries
- Verify authenticated user authority and explicit approval in the action service
- Treat user text as untrusted, enforce tool authorization outside model prompts and test injection
- Use specialist agents with a supervisor and per-tool permission boundaries
Explanation
Correct Answer
A:Try smaller heading-aware chunks and compare retrieval performance on labeled queries targets the observed failure: Retriever surfaces whole unrelated chapters at high token cost. Search granularity can improve precision when documents mix unrelated topics. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Precision at k improves while required step sequences remain intact.
Incorrect Answers
B:“Verify authenticated user authority and explicit approval in the action service” is associated with this technical property: Authorization enforced at tools cannot be bypassed by generated text. The question instead turns on “Try smaller heading-aware chunks and compare retrieval performance on labeled queries”: Search granularity can improve precision when documents mix unrelated topics.
C:“Treat user text as untrusted, enforce tool authorization outside model prompts and test injection” is associated with this technical property: Prompt-level safeguards must be backed by code-level privilege checks. The question instead turns on “Try smaller heading-aware chunks and compare retrieval performance on labeled queries”: Search granularity can improve precision when documents mix unrelated topics.
D:“Use specialist agents with a supervisor and per-tool permission boundaries” is associated with this technical property: Delegation can reduce cross-domain tool confusion when roles are explicit. The question instead turns on “Try smaller heading-aware chunks and compare retrieval performance on labeled queries”: Search granularity can improve precision when documents mix unrelated topics.
Question 606
An application intended to satisfy this requirement, A business wants controlled model versions shared across workspaces, instead experiences: Engineers store model binaries in local directories with no governance metadata. Which targeted engineering correction resolves this failure?
- Persist scoped state in an approved durable datastore with expiry and access policy
- Register the MLflow model in Unity Catalog using an approved three-part name
- Use approved Slack integration with channel allowlists and action confirmation
- Add typed output parsing and schema validation in the pyfunc predict path
Explanation
Correct Answer
B:Register the MLflow model in Unity Catalog using an approved three-part name targets the observed failure: Engineers store model binaries in local directories with no governance metadata. Unity Catalog provides governed namespace and access for registered models. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Authorized team can resolve the registered version and view audit metadata.
Incorrect Answers
A:“Persist scoped state in an approved durable datastore with expiry and access policy” is associated with this technical property: Durable application memory needs storage and governance beyond model context. 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:“Use approved Slack integration with channel allowlists and action confirmation” is associated with this technical property: User-interface integration requires target validation and side-effect 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.
D:“Add typed output parsing and schema validation in the pyfunc predict path” is associated with this technical property: Preprocessing and postprocessing are deployable model behavior and need independent tests. 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 607
An engineering review considers a safeguard for this situation: An invoice assistant must always return fields vendor and amount as valid JSON. The proposed action is: Specify explicit JSON fields and enforce a structured output schema with validation. Which observed failure most strongly justifies that action?
- The assistant sometimes emits markdown prose that breaks the consuming parser
- One single-purpose document agent routes payroll queries into IT answers
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
- The model invokes payment submission immediately after interpreting a natural-language request
Explanation
Correct Answer
A:The assistant sometimes emits markdown prose that breaks the consuming parser. This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation. Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The follow-up evidence would be: Contract tests parse JSON and verify required fields and data types on diverse invoices. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“One single-purpose document agent routes payroll queries into IT answers” is associated with this technical property: This observation motivates the specific control to Use a Multiagent Supervisor to delegate to narrowly scoped specialists. The question instead turns on “The assistant sometimes emits markdown prose that breaks the consuming parser”: This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation.
C:“A model selected for keyword extraction returns disconnected fragments instead of a synopsis” is associated with this technical property: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction. The question instead turns on “The assistant sometimes emits markdown prose that breaks the consuming parser”: This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation.
D:“The model invokes payment submission immediately after interpreting a natural-language request” is associated with this technical property: This observation motivates the specific control to Separate draft, validation, human approval and side-effecting submit tool calls. The question instead turns on “The assistant sometimes emits markdown prose that breaks the consuming parser”: This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation.
Question 608
A Databricks generative AI team is designing a solution with this requirement: A healthcare support bot must respond concisely without changing factual policy. Which engineering approach should it select first?
- Pass authenticated account ID and resolved invoice ID as structured retrieval filters
- Specify tone and brevity separately from factual evidence and noninvention constraints
- Compare model-card context limits with realistic inputs and adjust architecture
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
Explanation
Correct Answer
B:Specify tone and brevity separately from factual evidence and noninvention constraints directly addresses the described Databricks GenAI architecture: A healthcare support bot must respond concisely without changing factual policy. Style instructions should not override content validity. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Sample responses are concise and friendly while preserving all required cautions.
Incorrect Answers
A:“Pass authenticated account ID and resolved invoice ID as structured retrieval filters” is associated with this technical property: User intent must be coupled to trusted entity context before private lookup. The question instead turns on “Specify tone and brevity separately from factual evidence and noninvention constraints”: Style instructions should not override content validity.
C:“Compare model-card context limits with realistic inputs and adjust architecture” is associated with this technical property: Model metadata constraints must shape processing and evaluation. The question instead turns on “Specify tone and brevity separately from factual evidence and noninvention constraints”: Style instructions should not override content validity.
D:“Monitor live traces and perform periodic re-evaluation with refreshed ground truth” is associated with this technical property: Production monitoring detects data shifts missed by one-time release tests. The question instead turns on “Specify tone and brevity separately from factual evidence and noninvention constraints”: Style instructions should not override content validity.
Question 609
An application intended to satisfy this requirement, A RAG bot answers a policy question with a plausible paragraph unsupported by retrieval, instead experiences: The reviewer sees convincing language but no matching source evidence. Which targeted engineering correction resolves this failure?
- Use a retriever abstraction around the approved vector search implementation
- Route authorized structured questions to a governed Genie Space or conversational API
- Provide validated examples and a machine-enforced output schema for the target shape
- Score factual support against retrieved passages and flag unsupported claims
Explanation
Correct Answer
D:Score factual support against retrieved passages and flag unsupported claims targets the observed failure: The reviewer sees convincing language but no matching source evidence. Fluency is not evidence of grounded correctness. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Reviewers can trace each material claim to a passage or a documented abstention.
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 “Score factual support against retrieved passages and flag unsupported claims”: Fluency is not evidence of grounded correctness.
B:“Route authorized structured questions to a governed Genie Space or conversational API” is associated with this technical property: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. The question instead turns on “Score factual support against retrieved passages and flag unsupported claims”: Fluency is not evidence of grounded correctness.
C:“Provide validated examples and a machine-enforced output schema for the target shape” is associated with this technical property: Examples can guide style while schema checks enforce contract. The question instead turns on “Score factual support against retrieved passages and flag unsupported claims”: Fluency is not evidence of grounded correctness.
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.