Certified Generative AI Engineer Associate Practice Test 70
Question 690
An application intended to satisfy this requirement, An assistant retains transient order selections and a separate verified customer preference, instead experiences: One global memory table stores both without retention or purpose separation. Which targeted engineering correction resolves this failure?
- Configure supported workload identity and scoped service credentials for the endpoint
- Store short-lived workflow state separately from approved persistent preferences
- Test source table and index sync before promoting agent to production
- Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper
Explanation
Correct Answer
B:Store short-lived workflow state separately from approved persistent preferences targets the observed failure: One global memory table stores both without retention or purpose separation. Different memory lifetimes require different access, consent and deletion controls. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Short-lived task state expires and verified preference remains only under policy.
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 “Store short-lived workflow state separately from approved persistent preferences”: Different memory lifetimes require different access, consent and deletion controls.
C:“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 “Store short-lived workflow state separately from approved persistent preferences”: Different memory lifetimes require different access, consent and deletion controls.
D:“Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper” is associated with this technical property: A serving wrapper should enforce a stable input contract independent of model behavior. The question instead turns on “Store short-lived workflow state separately from approved persistent preferences”: Different memory lifetimes require different access, consent and deletion controls.
Question 691
A Databricks generative AI team is designing a solution with this requirement: A support portal must call an agent endpoint without leaking tokens into browser code. Which engineering approach should it select first?
- Include retriever configuration and embedding dependencies in deployment validation
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
- Persist scoped state in an approved durable datastore with expiry and access policy
- Add typed output parsing and schema validation in the pyfunc predict path
Explanation
Correct Answer
B:Use an authenticated Databricks App backend that holds server-side endpoint credentials directly addresses the described Databricks GenAI architecture: A support portal must call an agent endpoint without leaking tokens into browser code. Browser-side secrets undermine tenant isolation and can be extracted by users. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Browser code has no credentials and authenticated authorized requests succeed.
Incorrect Answers
A:“Include retriever configuration and embedding dependencies in deployment validation” is associated with this technical property: A deployable RAG model requires all retrieval components, not just a text generator. The question instead turns on “Use an authenticated Databricks App backend that holds server-side endpoint credentials”: Browser-side secrets undermine tenant isolation and can be extracted by users.
C:“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 “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:“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 “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 692
A Databricks generative AI team is designing a solution with this requirement: Every policy page includes a long navigation footer repeated hundreds of times. Which engineering approach should it select first?
- Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval
- Rerank the candidate set against the full query with a suitable reranker
- Remove irrelevant repeated chrome before chunking and index creation
- Store raw records and curated chunk tables separately in governed Delta with lineage
Explanation
Correct Answer
C:Remove irrelevant repeated chrome before chunking and index creation directly addresses the described Databricks GenAI architecture: Every policy page includes a long navigation footer repeated hundreds of times. High-frequency irrelevant text dilutes retrieval quality and raises noise. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Sample retrieval hits prioritize policy sections and repeated footers are absent.
Incorrect Answers
A:“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 “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
B:“Rerank the candidate set against the full query with a suitable reranker” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
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 “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
Question 693
A Databricks generative AI team is designing a solution with this requirement: A policy agent must include a required disclaimer when advising on refunds. Which engineering approach should it select first?
- Choose an evaluator using verified ground-truth expected values for numerical correctness
- Convert reviewed failure into a labeled regression case and rerun on new versions
- Track p95/p99 latency and relevant request slices
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
Explanation
Correct Answer
D:Build a deterministic custom scorer for required phrase presence in addition to semantic judges directly addresses the described Databricks GenAI architecture: A policy agent must include a required disclaimer when advising on refunds. Code-based scoring is suitable for exact business-rule invariants. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: The scorer rejects every missing-disclaimer case regardless of writing style.
Incorrect Answers
A:“Choose an evaluator using verified ground-truth expected values for numerical correctness” is associated with this technical property: Ground-truth scoring is necessary when exact facts determine correctness. The question instead turns on “Build a deterministic custom scorer for required phrase presence in addition to semantic judges”: Code-based scoring is suitable for exact business-rule invariants.
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 “Build a deterministic custom scorer for required phrase presence in addition to semantic judges”: Code-based scoring is suitable for exact business-rule invariants.
C:“Track p95/p99 latency and relevant request slices” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Build a deterministic custom scorer for required phrase presence in addition to semantic judges”: Code-based scoring is suitable for exact business-rule invariants.
Question 694
A Databricks generative AI team is designing a solution with this requirement: The product database supplies structured API responses with nested fields. 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
- Parse JSON directly and normalize documented nested keys
- Evaluate multilingual embedding and optional query translation on representative pairs
Explanation
Correct Answer
C:Parse JSON directly and normalize documented nested keys directly addresses the described Databricks GenAI architecture: The product database supplies structured API responses with nested fields. Structured APIs should be read as structures rather than rendered web text. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Sample entities retain IDs, numeric types and provenance fields.
Incorrect Answers
A:“Filter or version source records by approval status and effective date” is associated with this technical property: Freshness and document authority should constrain eligible retrieval candidates. The question instead turns on “Parse JSON directly and normalize documented nested keys”: Structured APIs should be read as structures rather than rendered web text.
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 “Parse JSON directly and normalize documented nested keys”: Structured APIs should be read as structures rather than rendered web text.
D:“Evaluate multilingual embedding and optional query translation on representative pairs” is associated with this technical property: Query-language mismatch needs empirical retrieval coverage testing. The question instead turns on “Parse JSON directly and normalize documented nested keys”: Structured APIs should be read as structures rather than rendered web text.
Question 695
A Databricks generative AI team is designing a solution with this requirement: A marketplace model promises strong generic benchmark scores. Which engineering approach should it select first?
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Select a model with measured multilingual task performance and adequate tokenization
- Validate model-card claims on an application-specific held-out dataset
- Choose an orchestration pattern that passes validated state and scoped conversation context
Explanation
Correct Answer
C:Validate model-card claims on an application-specific held-out dataset directly addresses the described Databricks GenAI architecture: A marketplace model promises strong generic benchmark scores. Published benchmarks do not guarantee performance on a specialized dataset. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Selection record includes measured accuracy, costs and failures.
Incorrect Answers
A:“Benchmark long-context model or retrieval decomposition against actual evidence span” is associated with this technical property: Context-window size alone is insufficient; long-range reasoning quality must be measured. The question instead turns on “Validate model-card claims on an application-specific held-out dataset”: Published benchmarks do not guarantee performance on a specialized dataset.
B:“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 “Validate model-card claims on an application-specific held-out dataset”: Published benchmarks do not guarantee performance on a specialized dataset.
D:“Choose an orchestration pattern that passes validated state and scoped conversation context” is associated with this technical property: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The question instead turns on “Validate model-card claims on an application-specific held-out dataset”: Published benchmarks do not guarantee performance on a specialized dataset.
Question 696
For the requirement that A production endpoint needs to move between validated model revisions, the team proposes this change: Use governed model versions and aliases or equivalent approved promotion controls. Which technical principle explains why it is appropriate?
- Preprocessing and postprocessing are deployable model behavior and need independent tests
- Update frequency is a key design input for choosing index deployment
- Batch inference can process tabular rows where synchronous end-user serving is unnecessary
- Versioned model identity supports rollback without overwriting the source model
Explanation
Correct Answer
D:Versioned model identity supports rollback without overwriting the source model. The proposed engineering step is to Use governed model versions and aliases or equivalent approved promotion controls. It directly supports the requirement that A production endpoint needs to move between validated model revisions. The operational test is that Release can switch back to prior model version with tested behavior. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Preprocessing and postprocessing are deployable model behavior and need independent tests” is associated with this technical property: Preprocessing and postprocessing are deployable model behavior and need independent tests. The question instead turns on “Versioned model identity supports rollback without overwriting the source model”: It directly supports the requirement that A production endpoint needs to move between validated model revisions.
B:“Update frequency is a key design input for choosing index deployment” is associated with this technical property: It directly supports the requirement that Price availability text changes many times daily and must affect semantic search rapidly. The question instead turns on “Versioned model identity supports rollback without overwriting the source model”: It directly supports the requirement that A production endpoint needs to move between validated model revisions.
C:“Batch inference can process tabular rows where synchronous end-user serving is unnecessary” is associated with this technical property: It directly supports the requirement that A nightly Delta pipeline categorizes millions of support records before analysts use them. The question instead turns on “Versioned model identity supports rollback without overwriting the source model”: It directly supports the requirement that A production endpoint needs to move between validated model revisions.
Question 697
The team observes this failure in a GenAI application: Engineers build redundant custom REST wrappers for services already managed. After implementing the fix to Prefer supported managed MCP servers when their existing tools fit the task, which measurement or test most directly demonstrates success?
- The overnight job completes within window and no real-time endpoint is required
- Injected timeout returns a transparent transient-error message, not a fabricated fact
- Agent calls approved managed tools with recorded permissions and results
- End-to-end smoke test retrieves expected vectors and returns source-grounded answer
Explanation
Correct Answer
C:Agent calls approved managed tools with recorded permissions and results. This specifically validates the remediation to Prefer supported managed MCP servers when their existing tools fit the task for the failure that Engineers build redundant custom REST wrappers for services already managed. Managed service tools reduce custom hosting and leverage workspace authorization. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“The overnight job completes within window and no real-time endpoint is required” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Agent calls approved managed tools with recorded permissions and results”: Managed service tools reduce custom hosting and leverage workspace authorization.
B:“Injected timeout returns a transparent transient-error message, not a fabricated fact” is associated with this technical property: Transport failure is not equivalent to a negative result in business logic. The question instead turns on “Agent calls approved managed tools with recorded permissions and results”: Managed service tools reduce custom hosting and leverage workspace authorization.
D:“End-to-end smoke test retrieves expected vectors and returns source-grounded answer” is associated with this technical property: A deployable RAG model requires all retrieval components, not just a text generator. The question instead turns on “Agent calls approved managed tools with recorded permissions and results”: Managed service tools reduce custom hosting and leverage workspace authorization.
Question 698
For the requirement that The product database supplies structured API responses with nested fields, the team proposes this change: Parse JSON directly and normalize documented nested keys. Which technical principle explains why it is appropriate?
- Structured APIs should be read as structures rather than rendered web text
- Table cells depend on row and column context to retain correct semantics
- Overlap trades continuity against duplication, latency and storage footprint
- Structure-aware chunking preserves context and filters better than indiscriminate splitting
Explanation
Correct Answer
A:Structured APIs should be read as structures rather than rendered web text. The proposed engineering step is to Parse JSON directly and normalize documented nested keys. It directly supports the requirement that The product database supplies structured API responses with nested fields. The operational test is that Sample entities retain IDs, numeric types and provenance fields. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Table cells depend on row and column context to retain correct semantics” is associated with this technical property: It directly supports the requirement that Pricing tables span pages and values become ambiguous without column labels. The question instead turns on “Structured APIs should be read as structures rather than rendered web text”: It directly supports the requirement that The product database supplies structured API responses with nested fields.
C:“Overlap trades continuity against duplication, latency and storage footprint” is associated with this technical property: It directly supports the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget. The question instead turns on “Structured APIs should be read as structures rather than rendered web text”: It directly supports the requirement that The product database supplies structured API responses with nested fields.
D:“Structure-aware chunking preserves context and filters better than indiscriminate splitting” is associated with this technical property: It directly supports the requirement that Contracts have headings, numbered clauses and definitions referenced together. The question instead turns on “Structured APIs should be read as structures rather than rendered web text”: It directly supports the requirement that The product database supplies structured API responses with nested fields.
Question 699
An engineering review considers a safeguard for this situation: An agent's token consumption suddenly doubles after a retrieval change. The proposed action is: Record prompt/response token metrics by route, version and retrieval depth. Which observed failure most strongly justifies that action?
- Feedback stays in a comment thread and is not included in future evaluations
- The team relies on deployment success alone to declare healthy service
- Billing increases but response count is stable
- Team demands an exact answer string for every possible response
Explanation
Correct Answer
C:Billing increases but response count is stable. This observation motivates the specific control to Record prompt/response token metrics by route, version and retrieval depth. Token use diagnostics reveal cost regressions invisible in request counts. The follow-up evidence would be: Dashboard identifies the responsible version and oversized prompt stage. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Feedback stays in a comment thread and is not included in future evaluations” is associated with this technical property: This observation motivates the specific control to Convert reviewed failure into a labeled regression case and rerun on new versions. The question instead turns on “Billing increases but response count is stable”: This observation motivates the specific control to Record prompt/response token metrics by route, version and retrieval depth.
B:“The team relies on deployment success alone to declare healthy service” is associated with this technical property: This observation motivates the specific control to Apply production monitoring with quality scorers and sampling policies. The question instead turns on “Billing increases but response count is stable”: This observation motivates the specific control to Record prompt/response token metrics by route, version and retrieval depth.
D:“Team demands an exact answer string for every possible response” is associated with this technical property: This observation motivates the specific control to Use a rubric-based safety judge with calibrated examples when no single reference exists. The question instead turns on “Billing increases but response count is stable”: This observation motivates the specific control to Record prompt/response token metrics by route, version and retrieval depth.
Question 700
The team observes this failure in a GenAI application: Model emits an answer before any retrieval call is made. After implementing the fix to Implement explicit retrieve, evidence selection and answer generation stages, which measurement or test most directly demonstrates success?
- Trace shows evidence retrieval before every grounded answer
- Browser code has no credentials and authenticated authorized requests succeed
- Endpoint retrieves approved documents after employee token revocation with auditable service identity
- Smoke tests retrieve newly approved documents before production traffic switch
Explanation
Correct Answer
A:Trace shows evidence retrieval before every grounded answer. This specifically validates the remediation to Implement explicit retrieve, evidence selection and answer generation stages for the failure that Model emits an answer before any retrieval call is made. An executable chain defines data dependencies instead of hoping prompting implies them. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Browser code has no credentials and authenticated authorized requests succeed” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Trace shows evidence retrieval before every grounded answer”: An executable chain defines data dependencies instead of hoping prompting implies them.
C:“Endpoint retrieves approved documents after employee token revocation with auditable service identity” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Trace shows evidence retrieval before every grounded answer”: An executable chain defines data dependencies instead of hoping prompting implies them.
D:“Smoke tests retrieve newly approved documents before production traffic switch” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Trace shows evidence retrieval before every grounded answer”: An executable chain defines data dependencies instead of hoping prompting implies them.