Certified Generative AI Engineer Associate Practice Test 44
Question 430
The team observes this failure in a GenAI application: Retriever surfaces whole unrelated chapters at high token cost. After implementing the fix to Try smaller heading-aware chunks and compare retrieval performance on labeled queries, which measurement or test most directly demonstrates success?
- Photo invoices yield verifiable extracted values and low-confidence flags
- Reviewers can trace each material claim to a passage or a documented abstention
- Summaries fit configured length and retain key safety caveat
- Precision at k improves while required step sequences remain intact
Explanation
Correct Answer
D:Precision at k improves while required step sequences remain intact. This specifically validates the remediation to Try smaller heading-aware chunks and compare retrieval performance on labeled queries for the failure that Retriever surfaces whole unrelated chapters at high token cost. Search granularity can improve precision when documents mix unrelated topics. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Photo invoices yield verifiable extracted values and low-confidence flags” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Precision at k improves while required step sequences remain intact”: Search granularity can improve precision when documents mix unrelated topics.
B:“Reviewers can trace each material claim to a passage or a documented abstention” is associated with this technical property: Fluency is not evidence of grounded correctness. The question instead turns on “Precision at k improves while required step sequences remain intact”: Search granularity can improve precision when documents mix unrelated topics.
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 “Precision at k improves while required step sequences remain intact”: Search granularity can improve precision when documents mix unrelated topics.
Question 431
A Databricks generative AI team is designing a solution with this requirement: A ticket agent needs deterministic JSON tool calls with strict parameters. Which engineering approach should it select first?
- Expose the API as a validated tool with constrained arguments and secrets management
- Use a retriever abstraction around the approved vector search implementation
- Compare groundedness and factuality on verified reference examples
- Choose a model evaluated on structured tool-use success and error recovery
Explanation
Correct Answer
D:Choose a model evaluated on structured tool-use success and error recovery directly addresses the described Databricks GenAI architecture: A ticket agent needs deterministic JSON tool calls with strict parameters. Tool calling reliability is a distinct operational capability from general language fluency. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Tool-call success rate and fallback behavior meet test targets.
Incorrect Answers
A:“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 “Choose a model evaluated on structured tool-use success and error recovery”: Tool calling reliability is a distinct operational capability from general language fluency.
B:“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 “Choose a model evaluated on structured tool-use success and error recovery”: Tool calling reliability is a distinct operational capability from general language fluency.
C:“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 “Choose a model evaluated on structured tool-use success and error recovery”: Tool calling reliability is a distinct operational capability from general language fluency.
Question 432
For the requirement that A medium-size knowledge base needs affordable index storage and fast search, the team proposes this change: Compare validated retrieval quality against vector dimensionality and compute cost. Which technical principle explains why it is appropriate?
- Larger embedding dimension increases storage and index work without universal quality improvement
- Language capability must be validated on representative user inputs
- Input modality support is a prerequisite for accurate task execution
- Model metadata constraints must shape processing and evaluation
Explanation
Correct Answer
A:Larger embedding dimension increases storage and index work without universal quality improvement. The proposed engineering step is to Compare validated retrieval quality against vector dimensionality and compute cost. It directly supports the requirement that A medium-size knowledge base needs affordable index storage and fast search. The operational test is that Chosen model meets recall target with lower measured index bytes and latency. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Language capability must be validated on representative user inputs” is associated with this technical property: It directly supports the requirement that A support assistant handles Arabic and German questions with domain terminology. The question instead turns on “Larger embedding dimension increases storage and index work without universal quality improvement”: It directly supports the requirement that A medium-size knowledge base needs affordable index storage and fast search.
C:“Input modality support is a prerequisite for accurate task execution” is associated with this technical property: It directly supports the requirement that An invoice archive includes scanned photos requiring OCR or vision. The question instead turns on “Larger embedding dimension increases storage and index work without universal quality improvement”: It directly supports the requirement that A medium-size knowledge base needs affordable index storage and fast search.
D:“Model metadata constraints must shape processing and evaluation” is associated with this technical property: It directly supports the requirement that A summarization model has promising scores but maximum input shorter than user documents. The question instead turns on “Larger embedding dimension increases storage and index work without universal quality improvement”: It directly supports the requirement that A medium-size knowledge base needs affordable index storage and fast search.
Question 433
The team observes this failure in a GenAI application: A free-text intermediate output silently changes date formats between steps. After implementing the fix to Connect typed retrieval and date calculation components before the prose stage, which measurement or test most directly demonstrates success?
- Authorized query retrieves only approved documents even when excluded items are semantically closer
- Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts
- Unit tests pass leap year and timezone examples with exact computed dates
- Release can switch back to prior model version with tested behavior
Explanation
Correct Answer
C:Unit tests pass leap year and timezone examples with exact computed dates. This specifically validates the remediation to Connect typed retrieval and date calculation components before the prose stage for the failure that A free-text intermediate output silently changes date formats between steps. Stable intermediate schemas reduce cascading format errors. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Authorized query retrieves only approved documents even when excluded items are semantically closer” is associated with this technical property: Similarity score is not authorization or publication status. The question instead turns on “Unit tests pass leap year and timezone examples with exact computed dates”: Stable intermediate schemas reduce cascading format errors.
B:“Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts” is associated with this technical property: A serving wrapper should enforce a stable input contract independent of model behavior. The question instead turns on “Unit tests pass leap year and timezone examples with exact computed dates”: Stable intermediate schemas reduce cascading format errors.
D:“Release can switch back to prior model version with tested behavior” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Unit tests pass leap year and timezone examples with exact computed dates”: Stable intermediate schemas reduce cascading format errors.
Question 434
For the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns, the team proposes this change: Choose an orchestration pattern that passes validated state and scoped conversation context. Which technical principle explains why it is appropriate?
- Abstention is preferable to fabricated specifics when retrieval lacks support
- Explicit state management is safer than assuming an isolated LLM call remembers prior inputs
- Technical suitability does not grant legal permission for deployment
- Genie-style analytics is suited to structured data rather than ungrounded numeric text generation
Explanation
Correct Answer
B:Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The proposed engineering step is to Choose an orchestration pattern that passes validated state and scoped conversation context. It directly supports the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns. The operational test is that Multi-turn tests use the correct authorized incident and reset state between users. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Abstention is preferable to fabricated specifics when retrieval lacks support” is associated with this technical property: It directly supports the requirement that Retrieval returns no passages on a newly launched internal feature. The question instead turns on “Explicit state management is safer than assuming an isolated LLM call remembers prior inputs”: It directly supports the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns.
C:“Technical suitability does not grant legal permission for deployment” is associated with this technical property: It directly supports the requirement that A model hub lists several capable text models for a commercial support service. The question instead turns on “Explicit state management is safer than assuming an isolated LLM call remembers prior inputs”: It directly supports the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns.
D:“Genie-style analytics is suited to structured data rather than ungrounded numeric text generation” is associated with this technical property: It directly supports the requirement that An operations agent must answer questions requiring aggregations over governed BI tables. The question instead turns on “Explicit state management is safer than assuming an isolated LLM call remembers prior inputs”: It directly supports the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns.
Question 435
A Databricks generative AI team is designing a solution with this requirement: A hosted model sometimes returns verbose markdown but the client expects text and citations fields. Which engineering approach should it select first?
- Add typed output parsing and schema validation in the pyfunc predict path
- Version and test retriever, prompt and answer model independently before combined rollout
- Configure supported workload identity and scoped service credentials for the endpoint
- Select batch SQL inference with controlled data volume and validation
Explanation
Correct Answer
A:Add typed output parsing and schema validation in the pyfunc predict path directly addresses the described Databricks GenAI architecture: A hosted model sometimes returns verbose markdown but the client expects text and citations fields. Preprocessing and postprocessing are deployable model behavior and need independent tests. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: All accepted requests return the specified response object with citations or explicit unavailable evidence.
Incorrect Answers
B:“Version and test retriever, prompt and answer model independently before combined rollout” is associated with this technical property: Component-level CI isolates root causes that end-to-end scores may hide. The question instead turns on “Add typed output parsing and schema validation in the pyfunc predict path”: Preprocessing and postprocessing are deployable model behavior and need independent tests.
C:“Configure supported workload identity and scoped service credentials for the endpoint” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Add typed output parsing and schema validation in the pyfunc predict path”: Preprocessing and postprocessing are deployable model behavior and need independent tests.
D:“Select batch SQL inference with controlled data volume and validation” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Add typed output parsing and schema validation in the pyfunc predict path”: Preprocessing and postprocessing are deployable model behavior and need independent tests.
Question 436
The team observes this failure in a GenAI application: An external foundation model sends full prompts to an incompatible region. After implementing the fix to Select compliant deployment and data-processing path after checking vendor terms, which measurement or test most directly demonstrates success?
- Injection attempts fail and approved parameter values return scoped results
- Indexed sample chunks and answers contain only authorized masked identifiers
- Cross-tenant input is denied at execution even if prompt asks for it
- Data flow diagram and processing logs show approved region and retention
Explanation
Correct Answer
D:Data flow diagram and processing logs show approved region and retention. This specifically validates the remediation to Select compliant deployment and data-processing path after checking vendor terms for the failure that An external foundation model sends full prompts to an incompatible region. Deployment architecture must respect jurisdictional and contractual data handling. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Injection attempts fail and approved parameter values return scoped results” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Data flow diagram and processing logs show approved region and retention”: Deployment architecture must respect jurisdictional and contractual data handling.
B:“Indexed sample chunks and answers contain only authorized masked identifiers” 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 “Data flow diagram and processing logs show approved region and retention”: Deployment architecture must respect jurisdictional and contractual data handling.
C:“Cross-tenant input is denied at execution even if prompt asks for it” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Data flow diagram and processing logs show approved region and retention”: Deployment architecture must respect jurisdictional and contractual data handling.
Question 437
An application intended to satisfy this requirement, A support portal must call an agent endpoint without leaking tokens into browser code, instead experiences: Frontend embeds a permanent access token in JavaScript. Which targeted engineering correction resolves this failure?
- Configure supported workload identity and scoped service credentials for the endpoint
- Test source table and index sync before promoting agent to production
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
- Configure supported sync/refresh behavior and verify index freshness
Explanation
Correct Answer
C:Use an authenticated Databricks App backend that holds server-side endpoint credentials targets the observed failure: Frontend embeds a permanent access token in JavaScript. Browser-side secrets undermine tenant isolation and can be extracted by users. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Browser code has no credentials and authenticated authorized requests succeed.
Incorrect Answers
A:“Configure supported workload identity and scoped service credentials for the endpoint” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Use an authenticated Databricks App backend that holds server-side endpoint credentials”: Browser-side secrets undermine tenant isolation and can be extracted by users.
B:“Test source table and index sync before promoting agent to production” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Use an authenticated Databricks App backend that holds server-side endpoint credentials”: Browser-side secrets undermine tenant isolation and can be extracted by users.
D:“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 “Use an authenticated Databricks App backend that holds server-side endpoint credentials”: Browser-side secrets undermine tenant isolation and can be extracted by users.
Question 438
A Databricks generative AI team is designing a solution with this requirement: An order-status agent must check current shipment events before writing a reply. Which engineering approach should it select first?
- Choose and evaluate a summarization-capable text generation model with a length instruction
- Require authenticated lookup before answer composition, with missing-data branch
- Choose the Information Extraction capability and define stable target schema
- Supply the allowed label vocabulary and validate each response against its enum
Explanation
Correct Answer
B:Require authenticated lookup before answer composition, with missing-data branch directly addresses the described Databricks GenAI architecture: An order-status agent must check current shipment events before writing a reply. Tool ordering matters when facts are volatile and cannot be inferred safely. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Audit trace shows lookup then formatted response, or explicit unavailable status.
Incorrect Answers
A:“Choose and evaluate a summarization-capable text generation model with a length instruction” is associated with this technical property: Task fit matters because extraction and summarization preserve different information. The question instead turns on “Require authenticated lookup before answer composition, with missing-data branch”: Tool ordering matters when facts are volatile and cannot be inferred safely.
C:“Choose the Information Extraction capability and define stable target schema” is associated with this technical property: Structured extraction differs from open-ended multi-step research orchestration. The question instead turns on “Require authenticated lookup before answer composition, with missing-data branch”: Tool ordering matters when facts are volatile and cannot be inferred safely.
D:“Supply the allowed label vocabulary and validate each response against its enum” is associated with this technical property: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The question instead turns on “Require authenticated lookup before answer composition, with missing-data branch”: Tool ordering matters when facts are volatile and cannot be inferred safely.
Question 439
The team observes this failure in a GenAI application: The tool runs with broad service privileges despite natural-language tenancy claim. After implementing the fix to Validate and bind tenant scope server-side for every tool call, which measurement or test most directly demonstrates success?
- Unauthorized users cannot obtain report passages beyond policy limits
- Data flow diagram and processing logs show approved region and retention
- Cross-tenant input is denied at execution even if prompt asks for it
- Injection benchmark fails to redirect agent behavior but still retrieves relevant facts
Explanation
Correct Answer
C:Cross-tenant input is denied at execution even if prompt asks for it. This specifically validates the remediation to Validate and bind tenant scope server-side for every tool call for the failure that The tool runs with broad service privileges despite natural-language tenancy claim. Model-generated arguments are not an authorization boundary. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Unauthorized users cannot obtain report passages beyond policy limits” is associated with this technical property: Retrieval authorization and permitted reproduction are distinct legal controls. The question instead turns on “Cross-tenant input is denied at execution even if prompt asks for it”: Model-generated arguments are not an authorization boundary.
B:“Data flow diagram and processing logs show approved region and retention” is associated with this technical property: Deployment architecture must respect jurisdictional and contractual data handling. The question instead turns on “Cross-tenant input is denied at execution even if prompt asks for it”: Model-generated arguments are not an authorization boundary.
D:“Injection benchmark fails to redirect agent behavior but still retrieves relevant facts” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. The question instead turns on “Cross-tenant input is denied at execution even if prompt asks for it”: Model-generated arguments are not an authorization boundary.
Question 440
An engineering review considers a safeguard for this situation: Several departments share one agent endpoint but must see distinct documents. The proposed action is: Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters. Which observed failure most strongly justifies that action?
- The endpoint uses broad service access and returns another department's records
- The deployed chain generates generic answers without retrieving any knowledge
- Agent treats an empty tool response as proof that the answer is no
- Serving cannot reconstruct the retrieval and processing logic
Explanation
Correct Answer
A:The endpoint uses broad service access and returns another department's records. This observation motivates the specific control to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters. Model-serving authentication alone does not automatically implement row-level retrieval access. The follow-up evidence would be: Cross-department adversarial requests cannot obtain unauthorized source passages. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The deployed chain generates generic answers without retrieving any knowledge” is associated with this technical property: This observation motivates the specific control to Include retriever configuration and embedding dependencies in deployment validation. The question instead turns on “The endpoint uses broad service access and returns another department's records”: This observation motivates the specific control to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters.
C:“Agent treats an empty tool response as proof that the answer is no” is associated with this technical property: This observation motivates the specific control to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain. The question instead turns on “The endpoint uses broad service access and returns another department's records”: This observation motivates the specific control to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters.
D:“Serving cannot reconstruct the retrieval and processing logic” is associated with this technical property: This observation motivates the specific control to Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements. The question instead turns on “The endpoint uses broad service access and returns another department's records”: This observation motivates the specific control to Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters.