Certified Generative AI Engineer Associate Practice Test 32
Question 310
For the requirement that A production retriever depends on a Delta sync index updated with the corpus, the team proposes this change: Test source table and index sync before promoting agent to production. Which technical principle explains why it is appropriate?
- Inference endpoint permissions should reflect least privilege and source sensitivity
- Browser-side secrets undermine tenant isolation and can be extracted by users
- A chain release depends on compatible data and index readiness
- Prompt changes can alter functional correctness and require quality control
Explanation
Correct Answer
C:A chain release depends on compatible data and index readiness. The proposed engineering step is to Test source table and index sync before promoting agent to production. It directly supports the requirement that A production retriever depends on a Delta sync index updated with the corpus. The operational test is that Smoke tests retrieve newly approved documents before production traffic switch. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Inference endpoint permissions should reflect least privilege and source sensitivity” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “A chain release depends on compatible data and index readiness”: It directly supports the requirement that A production retriever depends on a Delta sync index updated with the corpus.
B:“Browser-side secrets undermine tenant isolation and can be extracted by users” is associated with this technical property: It directly supports the requirement that A support portal must call an agent endpoint without leaking tokens into browser code. The question instead turns on “A chain release depends on compatible data and index readiness”: It directly supports the requirement that A production retriever depends on a Delta sync index updated with the corpus.
D:“Prompt changes can alter functional correctness and require quality control” is associated with this technical property: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release. The question instead turns on “A chain release depends on compatible data and index readiness”: It directly supports the requirement that A production retriever depends on a Delta sync index updated with the corpus.
Question 311
An engineering review considers a safeguard for this situation: A retrieved web page instructs an agent to send internal data to an external URL. The proposed action is: Constrain external tools, allowlisted destinations and approval for data egress. Which observed failure most strongly justifies that action?
- The model treats those strings as trustworthy operational steps
- Developers assume technical download access means commercial redistribution permission
- Experiment logging retains raw examples indefinitely with broad access
- The agent attempts a network call not required by the user's question
Explanation
Correct Answer
D:The agent attempts a network call not required by the user's question. This observation motivates the specific control to Constrain external tools, allowlisted destinations and approval for data egress. Prompt injection becomes dangerous when untrusted content controls tool side effects. The follow-up evidence would be: Adversarial page cannot cause unauthorized network export. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The model treats those strings as trustworthy operational steps” is associated with this technical property: This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content. The question instead turns on “The agent attempts a network call not required by the user's question”: This observation motivates the specific control to Constrain external tools, allowlisted destinations and approval for data egress.
B:“Developers assume technical download access means commercial redistribution permission” is associated with this technical property: This observation motivates the specific control to Check data provenance, license terms and documented permissible uses before training. The question instead turns on “The agent attempts a network call not required by the user's question”: This observation motivates the specific control to Constrain external tools, allowlisted destinations and approval for data egress.
C:“Experiment logging retains raw examples indefinitely with broad access” is associated with this technical property: This observation motivates the specific control to Apply retention, redaction and deletion rules to evaluation artifacts. The question instead turns on “The agent attempts a network call not required by the user's question”: This observation motivates the specific control to Constrain external tools, allowlisted destinations and approval for data egress.
Question 312
The team observes this failure in a GenAI application: Benchmarks show answers with unrelated source passages and excessive prompt tokens. After implementing the fix to Select chunk size and overlap using recall, precision, groundedness and token budget together, which measurement or test most directly demonstrates success?
- A failed response links to distinct retrieval, tool and inference spans
- Automated tests detect full identifier leaks while masked identifiers display correctly
- Attack strings cannot call restricted tools or bypass approval controls
- Evaluation report shows balanced recall and cost on held-out questions
Explanation
Correct Answer
D:Evaluation report shows balanced recall and cost on held-out questions. This specifically validates the remediation to Select chunk size and overlap using recall, precision, groundedness and token budget together for the failure that Benchmarks show answers with unrelated source passages and excessive prompt tokens. Chunking is an empirical quality-cost decision rather than a universal fixed size. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“A failed response links to distinct retrieval, tool and inference spans” is associated with this technical property: End-to-end traces reveal which step failed and support reproducible evaluation. The question instead turns on “Evaluation report shows balanced recall and cost on held-out questions”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
B:“Automated tests detect full identifier leaks while masked identifiers display correctly” is associated with this technical property: Data minimization applies to model outputs as well as retrieval. The question instead turns on “Evaluation report shows balanced recall and cost on held-out questions”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
C:“Attack strings cannot call restricted tools or bypass approval controls” is associated with this technical property: Prompt-level safeguards must be backed by code-level privilege checks. The question instead turns on “Evaluation report shows balanced recall and cost on held-out questions”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
Question 313
For the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence, the team proposes this change: Use a rubric-based safety judge with calibrated examples when no single reference exists. Which technical principle explains why it is appropriate?
- Risk-weighted model selection prevents average scores masking unacceptable errors
- Operational availability and response correctness require separate tracking
- Production debugging depends on evidence of actual invocation payloads
- Reference-free judgments can evaluate properties without one canonical text
Explanation
Correct Answer
D:Reference-free judgments can evaluate properties without one canonical text. The proposed engineering step is to Use a rubric-based safety judge with calibrated examples when no single reference exists. It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence. The operational test is that Adversarial drafts receive consistent safety classifications. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Risk-weighted model selection prevents average scores masking unacceptable errors” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Reference-free judgments can evaluate properties without one canonical text”: It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence.
B:“Operational availability and response correctness require separate tracking” is associated with this technical property: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh. The question instead turns on “Reference-free judgments can evaluate properties without one canonical text”: It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence.
C:“Production debugging depends on evidence of actual invocation payloads” is associated with this technical property: It directly supports the requirement that An agent endpoint has intermittent malformed tool calls after a model update. The question instead turns on “Reference-free judgments can evaluate properties without one canonical text”: It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence.
Question 314
A Databricks generative AI team is designing a solution with this requirement: A RAG system uses 500-token documents and an embedding model with a 384-token input limit. Which engineering approach should it select first?
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
- Use an appropriate OCR stage for image content with quality checks
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
- Store raw records and curated chunk tables separately in governed Delta with lineage
Explanation
Correct Answer
A:Reduce chunk tokens to fit effective embedding context with explicit truncation tests directly addresses the described Databricks GenAI architecture: A RAG system uses 500-token documents and an embedding model with a 384-token input limit. Embedding input length bounds what content contributes to searchable vectors. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Retrieval evaluations confirm relevant tail passages are indexed and retrievable.
Incorrect Answers
B:“Use an appropriate OCR stage for image content with quality checks” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Reduce chunk tokens to fit effective embedding context with explicit truncation tests”: Embedding input length bounds what content contributes to searchable vectors.
C:“Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted” is associated with this technical property: Retrieval precision controls the fraction of presented evidence that is relevant. The question instead turns on “Reduce chunk tokens to fit effective embedding context with explicit truncation tests”: Embedding input length bounds what content contributes to searchable vectors.
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 “Reduce chunk tokens to fit effective embedding context with explicit truncation tests”: Embedding input length bounds what content contributes to searchable vectors.
Question 315
A Databricks generative AI team is designing a solution with this requirement: A shipping assistant needs expected delivery dates for a specific transaction. Which engineering approach should it select first?
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
- Retrieve transaction-specific facts through governed structured data in addition to policy text
- Use an appropriate OCR stage for image content with quality checks
- Parse JSON directly and normalize documented nested keys
Explanation
Correct Answer
B:Retrieve transaction-specific facts through governed structured data in addition to policy text directly addresses the described Databricks GenAI architecture: A shipping assistant needs expected delivery dates for a specific transaction. Source completeness matters more than a persuasive prompt for operational answers. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Order answers match current shipment data and reference the right transaction.
Incorrect Answers
A:“Combine keyword and semantic retrieval, then optionally rerank shortlisted results” is associated with this technical property: Lexical exact matching complements dense retrieval for precise tokens. The question instead turns on “Retrieve transaction-specific facts through governed structured data in addition to policy text”: Source completeness matters more than a persuasive prompt for operational answers.
C:“Use an appropriate OCR stage for image content with quality checks” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Retrieve transaction-specific facts through governed structured data in addition to policy text”: Source completeness matters more than a persuasive prompt for operational answers.
D:“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 “Retrieve transaction-specific facts through governed structured data in addition to policy text”: Source completeness matters more than a persuasive prompt for operational answers.
Question 316
A Databricks generative AI team is designing a solution with this requirement: A new RAG agent has not shipped and has a labeled benchmark. Which engineering approach should it select first?
- Instrument MLflow traces across retriever, tools and model spans
- Require verified region input or clarify before selecting jurisdictional sources
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
- Apply output redaction/masking under policy before responding
Explanation
Correct Answer
C:Run offline evaluation on labeled cases before deployment and use live monitoring afterward directly addresses the described Databricks GenAI architecture: A new RAG agent has not shipped and has a labeled benchmark. Pre-release evaluation and post-release monitoring address different lifecycle questions. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Release includes benchmark scores and post-launch drift dashboard.
Incorrect Answers
A:“Instrument MLflow traces across retriever, tools and model spans” is associated with this technical property: End-to-end traces reveal which step failed and support reproducible evaluation. The question instead turns on “Run offline evaluation on labeled cases before deployment and use live monitoring afterward”: Pre-release evaluation and post-release monitoring address different lifecycle questions.
B:“Require verified region input or clarify before selecting jurisdictional sources” is associated with this technical property: Missing essential context should be surfaced instead of silently inferred. The question instead turns on “Run offline evaluation on labeled cases before deployment and use live monitoring afterward”: Pre-release evaluation and post-release monitoring address different lifecycle questions.
D:“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 “Run offline evaluation on labeled cases before deployment and use live monitoring afterward”: Pre-release evaluation and post-release monitoring address different lifecycle questions.
Question 317
An engineering review considers a safeguard for this situation: An assistant may fetch approved weather data from a licensed external API. The proposed action is: Expose the API as a validated tool with constrained arguments and secrets management. Which observed failure most strongly justifies that action?
- The pipeline truncates product recalls and produces misleading summaries
- The reviewer sees convincing language but no matching source evidence
- A standalone notebook prototype cannot be accessed consistently by app clients
- The model fabricates endpoint paths and sends free-text instead of typed parameters
Explanation
Correct Answer
D:The model fabricates endpoint paths and sends free-text instead of typed parameters. This observation motivates the specific control to Expose the API as a validated tool with constrained arguments and secrets management. Typed interfaces constrain model actions and separate credentials from prompt text. The follow-up evidence would be: Captured tool calls conform to schema and unauthorized API routes are never invoked. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The pipeline truncates product recalls and produces misleading summaries” is associated with this technical property: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture. The question instead turns on “The model fabricates endpoint paths and sends free-text instead of typed parameters”: This observation motivates the specific control to Expose the API as a validated tool with constrained arguments and secrets management.
B:“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 “The model fabricates endpoint paths and sends free-text instead of typed parameters”: This observation motivates the specific control to Expose the API as a validated tool with constrained arguments and secrets management.
C:“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 “The model fabricates endpoint paths and sends free-text instead of typed parameters”: This observation motivates the specific control to Expose the API as a validated tool with constrained arguments and secrets management.
Question 318
A Databricks generative AI team is designing a solution with this requirement: An internal agent is asked to reproduce entire paid research reports. Which engineering approach should it select first?
- Prioritize effective approved source versions and surface unresolved contradiction
- Enforce entitlements and output-length constraints for licensed sources
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Treat retrieved passages as untrusted data and enforce tool policies outside prompts
Explanation
Correct Answer
B:Enforce entitlements and output-length constraints for licensed sources directly addresses the described Databricks GenAI architecture: An internal agent is asked to reproduce entire paid research reports. Retrieval authorization and permitted reproduction are distinct legal controls. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Unauthorized users cannot obtain report passages beyond policy limits.
Incorrect Answers
A:“Prioritize effective approved source versions and surface unresolved contradiction” is associated with this technical property: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The question instead turns on “Enforce entitlements and output-length constraints for licensed sources”: Retrieval authorization and permitted reproduction are distinct legal controls.
C:“Use controlled pseudonymous tokens with restricted reidentification rights where appropriate” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. The question instead turns on “Enforce entitlements and output-length constraints for licensed sources”: Retrieval authorization and permitted reproduction are distinct legal controls.
D:“Treat retrieved passages as untrusted data and enforce tool policies outside prompts” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Enforce entitlements and output-length constraints for licensed sources”: Retrieval authorization and permitted reproduction are distinct legal controls.
Question 319
The team observes this failure in a GenAI application: Semantic similarity judges overlook a single wrong identifier. After implementing the fix to Write a code-based scorer that compares expected identifiers and formats, which measurement or test most directly demonstrates success?
- Usage reports reconcile agent tokens and billed amount by team
- One-digit corruption reliably fails while correct IDs pass
- Repeat scoring shows improved agreement and adjudicated benchmark cases
- New evaluation fails unsafe old version and passes remediated agent
Explanation
Correct Answer
B:One-digit corruption reliably fails while correct IDs pass. This specifically validates the remediation to Write a code-based scorer that compares expected identifiers and formats for the failure that Semantic similarity judges overlook a single wrong identifier. Exact-data correctness requires deterministic comparison not just prose similarity. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Usage reports reconcile agent tokens and billed amount by team” is associated with this technical property: Attribution requires identity and endpoint dimensions beyond total invoices. The question instead turns on “One-digit corruption reliably fails while correct IDs pass”: Exact-data correctness requires deterministic comparison not just prose similarity.
C:“Repeat scoring shows improved agreement and adjudicated benchmark cases” is associated with this technical property: Human judgments need inter-rater consistency for reliable model comparisons. The question instead turns on “One-digit corruption reliably fails while correct IDs pass”: Exact-data correctness requires deterministic comparison not just prose similarity.
D:“New evaluation fails unsafe old version and passes remediated agent” is associated with this technical property: Expert feedback improves quality only when incorporated into repeatable release gates. The question instead turns on “One-digit corruption reliably fails while correct IDs pass”: Exact-data correctness requires deterministic comparison not just prose similarity.
Question 320
An engineering review considers a safeguard for this situation: The agent must query governed data and call a custom exception-check API. The proposed action is: Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities. Which observed failure most strongly justifies that action?
- A single managed assistant answers documents but cannot complete the action workflow
- The assistant sometimes emits markdown prose that breaks the consuming parser
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
- A generic conversation design accepts account IDs supplied by untrusted users
Explanation
Correct Answer
A:A single managed assistant answers documents but cannot complete the action workflow. This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities. Tool requirements should determine orchestration rather than choosing components by popularity. The follow-up evidence would be: Functional tests show governed data query and approved custom exception tool execute in sequence. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The assistant sometimes emits markdown prose that breaks the consuming parser” is associated with this technical property: This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation. The question instead turns on “A single managed assistant answers documents but cannot complete the action workflow”: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities.
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 “A single managed assistant answers documents but cannot complete the action workflow”: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities.
D:“A generic conversation design accepts account IDs supplied by untrusted users” is associated with this technical property: This observation motivates the specific control to Define authenticated identity context as input and tenant-scoped answer objects as output. The question instead turns on “A single managed assistant answers documents but cannot complete the action workflow”: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities.