Certified Generative AI Engineer Associate Practice Test 53
Question 520
A Databricks generative AI team is designing a solution with this requirement: An agent proposes updating customer credit limits from a chat message. Which engineering approach should it select first?
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Compare groundedness and factuality on verified reference examples
- Try smaller heading-aware chunks and compare retrieval performance on labeled queries
- Verify authenticated user authority and explicit approval in the action service
Explanation
Correct Answer
D:Verify authenticated user authority and explicit approval in the action service directly addresses the described Databricks GenAI architecture: An agent proposes updating customer credit limits from a chat message. Authorization enforced at tools cannot be bypassed by generated text. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: API rejects unapproved write calls regardless of model phrasing.
Incorrect Answers
A:“Select chunk size and overlap using recall, precision, groundedness and token budget together” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Verify authenticated user authority and explicit approval in the action service”: Authorization enforced at tools cannot be bypassed by generated text.
B:“Compare groundedness and factuality on verified reference examples” is associated with this technical property: Answer correctness must be measured against source evidence, not just readability. The question instead turns on “Verify authenticated user authority and explicit approval in the action service”: Authorization enforced at tools cannot be bypassed by generated text.
C:“Try smaller heading-aware chunks and compare retrieval performance on labeled queries” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “Verify authenticated user authority and explicit approval in the action service”: Authorization enforced at tools cannot be bypassed by generated text.
Question 521
The team observes this failure in a GenAI application: The model follows the document's command instead of treating it as source data. After implementing the fix to Evaluate retrieval-boundary instruction-following and add untrusted-context handling, which measurement or test most directly demonstrates success?
- Traces show a retrieval call, calculation result and final text with handled tool errors
- Exact serial and protocol error questions retrieve matching documents
- Adversarial documents fail to redirect tools or disclose restricted content
- Translated queries retrieve equivalent approved passages at measured recall
Explanation
Correct Answer
C:Adversarial documents fail to redirect tools or disclose restricted content. This specifically validates the remediation to Evaluate retrieval-boundary instruction-following and add untrusted-context handling for the failure that The model follows the document's command instead of treating it as source data. Retrieved text is evidence, not a higher-priority instruction. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Traces show a retrieval call, calculation result and final text with handled tool errors” is associated with this technical property: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The question instead turns on “Adversarial documents fail to redirect tools or disclose restricted content”: Retrieved text is evidence, not a higher-priority instruction.
B:“Exact serial and protocol error questions retrieve matching documents” is associated with this technical property: Dense vectors and lexical matching capture complementary signals. The question instead turns on “Adversarial documents fail to redirect tools or disclose restricted content”: Retrieved text is evidence, not a higher-priority instruction.
D:“Translated queries retrieve equivalent approved passages at measured recall” is associated with this technical property: Cross-lingual embedding performance cannot be assumed from English benchmarks. The question instead turns on “Adversarial documents fail to redirect tools or disclose restricted content”: Retrieved text is evidence, not a higher-priority instruction.
Question 522
A Databricks generative AI team is designing a solution with this requirement: A model upgrade improves average quality but breaks previously reliable edge cases. Which engineering approach should it select first?
- Evaluate fixed scenario strata and failure-critical tests before rollout
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Add task-specific safety and authorization checks beyond stylistic quality scoring
- Select a model with measured multilingual task performance and adequate tokenization
Explanation
Correct Answer
A:Evaluate fixed scenario strata and failure-critical tests before rollout directly addresses the described Databricks GenAI architecture: A model upgrade improves average quality but breaks previously reliable edge cases. A single benchmark mean can mask unacceptable failure modes. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Release gate checks per-slice regression and disallows critical behavior loss.
Incorrect Answers
B:“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 “Evaluate fixed scenario strata and failure-critical tests before rollout”: A single benchmark mean can mask unacceptable failure modes.
C:“Add task-specific safety and authorization checks beyond stylistic quality scoring” is associated with this technical property: Helpful tone does not substitute for authorized and safe behavior. The question instead turns on “Evaluate fixed scenario strata and failure-critical tests before rollout”: A single benchmark mean can mask unacceptable failure modes.
D:“Select a model with measured multilingual task performance and adequate tokenization” is associated with this technical property: Language capability must be validated on representative user inputs. The question instead turns on “Evaluate fixed scenario strata and failure-critical tests before rollout”: A single benchmark mean can mask unacceptable failure modes.
Question 523
A Databricks generative AI team is designing a solution with this requirement: An internal assistant needs to retain a user's current incident ID across multiple turns. Which engineering approach should it select first?
- Convert adjudicated production failures into regression and evaluation cases
- Choose a model evaluated on structured tool-use success and error recovery
- Apply output redaction/masking under policy before responding
- Choose an orchestration pattern that passes validated state and scoped conversation context
Explanation
Correct Answer
D:Choose an orchestration pattern that passes validated state and scoped conversation context directly addresses the described Databricks GenAI architecture: An internal assistant needs to retain a user's current incident ID across multiple turns. Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Multi-turn tests use the correct authorized incident and reset state between users.
Incorrect Answers
A:“Convert adjudicated production failures into regression and evaluation cases” is associated with this technical property: Monitoring observations should feed iterative development evaluation. The question instead turns on “Choose an orchestration pattern that passes validated state and scoped conversation context”: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs.
B:“Choose a model evaluated on structured tool-use success and error recovery” is associated with this technical property: Tool calling reliability is a distinct operational capability from general language fluency. The question instead turns on “Choose an orchestration pattern that passes validated state and scoped conversation context”: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs.
C:“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 “Choose an orchestration pattern that passes validated state and scoped conversation context”: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs.
Question 524
An application intended to satisfy this requirement, A support answer may include an account number retrieved for legitimate backend processing, instead experiences: The model echoes a complete identifier where only four digits are authorized. Which targeted engineering correction resolves this failure?
- Apply output redaction/masking under policy before responding
- Plot cost, latency and quality tradeoffs under expected traffic mix
- Track model, code, prompt and evaluation datasets with versioned experiment artifacts
- Choose vision-capable processing or OCR extraction before text model use
Explanation
Correct Answer
A:Apply output redaction/masking under policy before responding targets the observed failure: The model echoes a complete identifier where only four digits are authorized. Data minimization applies to model outputs as well as retrieval. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Automated tests detect full identifier leaks while masked identifiers display correctly.
Incorrect Answers
B:“Plot cost, latency and quality tradeoffs under expected traffic mix” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Apply output redaction/masking under policy before responding”: Data minimization applies to model outputs as well as retrieval.
C:“Track model, code, prompt and evaluation datasets with versioned experiment artifacts” is associated with this technical property: Reproducibility requires linking outputs to immutable evaluated versions. The question instead turns on “Apply output redaction/masking under policy before responding”: Data minimization applies to model outputs as well as retrieval.
D:“Choose vision-capable processing or OCR extraction before text model use” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Apply output redaction/masking under policy before responding”: Data minimization applies to model outputs as well as retrieval.
Question 525
A Databricks generative AI team is designing a solution with this requirement: A retrieved web page instructs an agent to send internal data to an external URL. Which engineering approach should it select first?
- Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed
- Choose supported masking/redaction or logging minimization before persisted telemetry
- Enforce entitlements and output-length constraints for licensed sources
- Constrain external tools, allowlisted destinations and approval for data egress
Explanation
Correct Answer
D:Constrain external tools, allowlisted destinations and approval for data egress directly addresses the described Databricks GenAI architecture: A retrieved web page instructs an agent to send internal data to an external URL. Prompt injection becomes dangerous when untrusted content controls tool side effects. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Adversarial page cannot cause unauthorized network export.
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 “Constrain external tools, allowlisted destinations and approval for data egress”: Prompt injection becomes dangerous when untrusted content controls tool side effects.
B:“Choose supported masking/redaction or logging minimization before persisted telemetry” is associated with this technical property: Operational metrics should avoid storing unnecessary sensitive payloads. The question instead turns on “Constrain external tools, allowlisted destinations and approval for data egress”: Prompt injection becomes dangerous when untrusted content controls tool side effects.
C:“Enforce entitlements and output-length constraints for licensed sources” is associated with this technical property: Retrieval authorization and permitted reproduction are distinct legal controls. The question instead turns on “Constrain external tools, allowlisted destinations and approval for data egress”: Prompt injection becomes dangerous when untrusted content controls tool side effects.
Question 526
For the requirement that A support assistant handles Arabic and German questions with domain terminology, the team proposes this change: Select a model with measured multilingual task performance and adequate tokenization. Which technical principle explains why it is appropriate?
- Style instructions should not override content validity
- Language capability must be validated on representative user inputs
- Authorization enforced at tools cannot be bypassed by generated text
- Answer correctness must be measured against source evidence, not just readability
Explanation
Correct Answer
B:Language capability must be validated on representative user inputs. The proposed engineering step is to Select a model with measured multilingual task performance and adequate tokenization. It directly supports the requirement that A support assistant handles Arabic and German questions with domain terminology. The operational test is that Human-reviewed multilingual scenarios meet answer relevance and language constraints. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Style instructions should not override content validity” is associated with this technical property: It directly supports the requirement that A healthcare support bot must respond concisely without changing factual policy. The question instead turns on “Language capability must be validated on representative user inputs”: It directly supports the requirement that A support assistant handles Arabic and German questions with domain terminology.
C:“Authorization enforced at tools cannot be bypassed by generated text” is associated with this technical property: It directly supports the requirement that An agent proposes updating customer credit limits from a chat message. The question instead turns on “Language capability must be validated on representative user inputs”: It directly supports the requirement that A support assistant handles Arabic and German questions with domain terminology.
D:“Answer correctness must be measured against source evidence, not just readability” is associated with this technical property: It directly supports the requirement that Two candidates give fluent answers but one invents unsupported policy details. The question instead turns on “Language capability must be validated on representative user inputs”: It directly supports the requirement that A support assistant handles Arabic and German questions with domain terminology.
Question 527
A Databricks generative AI team is designing a solution with this requirement: An inventory assistant needs live stock totals and a readable customer explanation. Which engineering approach should it select first?
- Select information extraction with validation and optional citations before using generative prose
- Define output quality and latency objectives and budget stage latency before choosing chain topology
- Compose a governed data-query tool followed by a separate response-generation step
- Separate draft, validation, human approval and side-effecting submit tool calls
Explanation
Correct Answer
C:Compose a governed data-query tool followed by a separate response-generation step directly addresses the described Databricks GenAI architecture: An inventory assistant needs live stock totals and a readable customer explanation. Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Trace links each displayed stock number to a successful scoped query result.
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 “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
B:“Define output quality and latency objectives and budget stage latency before choosing chain topology” is associated with this technical property: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
D:“Separate draft, validation, human approval and side-effecting submit tool calls” is associated with this technical property: State-changing operations require authorization gates distinct from read-only retrieval. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
Question 528
For the requirement that Pricing tables span pages and values become ambiguous without column labels, the team proposes this change: Keep table captions and headers with row groups during structured extraction. Which technical principle explains why it is appropriate?
- Redundant retrieval reduces useful evidence diversity under a token budget
- Table cells depend on row and column context to retain correct semantics
- Retrieval precision controls the fraction of presented evidence that is relevant
- Data minimization should be applied at ingestion, not left to answer prompts
Explanation
Correct Answer
B:Table cells depend on row and column context to retain correct semantics. The proposed engineering step is to Keep table captions and headers with row groups during structured extraction. It directly supports the requirement that Pricing tables span pages and values become ambiguous without column labels. The operational test is that Retrieved pricing row includes correct units, customer tier and date. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Redundant retrieval reduces useful evidence diversity under a token budget” is associated with this technical property: It directly supports the requirement that An incident knowledge index retrieves repeated overlapping paragraphs. The question instead turns on “Table cells depend on row and column context to retain correct semantics”: It directly supports the requirement that Pricing tables span pages and values become ambiguous without column labels.
C:“Retrieval precision controls the fraction of presented evidence that is relevant” is associated with this technical property: It directly supports the requirement that Top results contain many neighboring but irrelevant product descriptions. The question instead turns on “Table cells depend on row and column context to retain correct semantics”: It directly supports the requirement that Pricing tables span pages and values become ambiguous without column labels.
D:“Data minimization should be applied at ingestion, not left to answer prompts” is associated with this technical property: It directly supports the requirement that Support transcripts contain account numbers irrelevant to troubleshooting. The question instead turns on “Table cells depend on row and column context to retain correct semantics”: It directly supports the requirement that Pricing tables span pages and values become ambiguous without column labels.
Question 529
The team observes this failure in a GenAI application: The model fabricates endpoint paths and sends free-text instead of typed parameters. After implementing the fix to Expose the API as a validated tool with constrained arguments and secrets management, which measurement or test most directly demonstrates success?
- Chosen variant meets minimum quality at sustainable expected monthly cost
- Selected candidate meets held-out accuracy and p95 latency thresholds
- Captured tool calls conform to schema and unauthorized API routes are never invoked
- Tool-call success rate and fallback behavior meet test targets
Explanation
Correct Answer
C:Captured tool calls conform to schema and unauthorized API routes are never invoked. This specifically validates the remediation to Expose the API as a validated tool with constrained arguments and secrets management for the failure that The model fabricates endpoint paths and sends free-text instead of typed parameters. Typed interfaces constrain model actions and separate credentials from prompt text. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Chosen variant meets minimum quality at sustainable expected monthly cost” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Captured tool calls conform to schema and unauthorized API routes are never invoked”: Typed interfaces constrain model actions and separate credentials from prompt text.
B:“Selected candidate meets held-out accuracy and p95 latency thresholds” is associated with this technical property: Model size and cost should match task complexity rather than marketing labels. The question instead turns on “Captured tool calls conform to schema and unauthorized API routes are never invoked”: Typed interfaces constrain model actions and separate credentials from prompt text.
D:“Tool-call success rate and fallback behavior meet test targets” is associated with this technical property: Tool calling reliability is a distinct operational capability from general language fluency. The question instead turns on “Captured tool calls conform to schema and unauthorized API routes are never invoked”: Typed interfaces constrain model actions and separate credentials from prompt text.
Question 530
An application intended to satisfy this requirement, A model hub lists several capable text models for a commercial support service, instead experiences: Team deploys a model whose license prohibits the desired use. Which targeted engineering correction resolves this failure?
- Compare groundedness and factuality on verified reference examples
- Review model-card licensing and usage restrictions before selection
- Pass authenticated account ID and resolved invoice ID as structured retrieval filters
- Expose the API as a validated tool with constrained arguments and secrets management
Explanation
Correct Answer
B:Review model-card licensing and usage restrictions before selection targets the observed failure: Team deploys a model whose license prohibits the desired use. Technical suitability does not grant legal permission for deployment. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Selected model has documented permitted use and recorded provenance.
Incorrect Answers
A:“Compare groundedness and factuality on verified reference examples” is associated with this technical property: Answer correctness must be measured against source evidence, not just readability. The question instead turns on “Review model-card licensing and usage restrictions before selection”: Technical suitability does not grant legal permission for deployment.
C:“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 “Review model-card licensing and usage restrictions before selection”: Technical suitability does not grant legal permission for deployment.
D:“Expose the API as a validated tool with constrained arguments and secrets management” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Review model-card licensing and usage restrictions before selection”: Technical suitability does not grant legal permission for deployment.