Certified Generative AI Engineer Associate Practice Test 55
Question 540
The team observes this failure in a GenAI application: High semantic similarity alone ranks a misleading policy clause first. After implementing the fix to Rerank the candidate set against the full query with a suitable reranker, which measurement or test most directly demonstrates success?
- Test queries retrieve full clause meaning with original heading metadata
- Sample entities retain IDs, numeric types and provenance fields
- Second run without changes adds no duplicates and changed documents re-embed
- Labeled relevance ordering improves without discarding the true policy passage
Explanation
Correct Answer
D:Labeled relevance ordering improves without discarding the true policy passage. This specifically validates the remediation to Rerank the candidate set against the full query with a suitable reranker for the failure that High semantic similarity alone ranks a misleading policy clause first. Second-stage reranking can improve relevance where first-stage vectors are approximate. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Test queries retrieve full clause meaning with original heading metadata” is associated with this technical property: Structure-aware chunking preserves context and filters better than indiscriminate splitting. The question instead turns on “Labeled relevance ordering improves without discarding the true policy passage”: Second-stage reranking can improve relevance where first-stage vectors are approximate.
B:“Sample entities retain IDs, numeric types and provenance fields” is associated with this technical property: Structured APIs should be read as structures rather than rendered web text. The question instead turns on “Labeled relevance ordering improves without discarding the true policy passage”: Second-stage reranking can improve relevance where first-stage vectors are approximate.
C:“Second run without changes adds no duplicates and changed documents re-embed” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Labeled relevance ordering improves without discarding the true policy passage”: Second-stage reranking can improve relevance where first-stage vectors are approximate.
Question 541
A Databricks generative AI team is designing a solution with this requirement: A lengthy engineering manual has chapters, headings and steps. Which engineering approach should it select first?
- Remove irrelevant repeated chrome before chunking and index creation
- Store child chunks for fine search with parent-section expansion for answer context
- Evaluate multilingual embedding and optional query translation on representative pairs
- Parse JSON directly and normalize documented nested keys
Explanation
Correct Answer
B:Store child chunks for fine search with parent-section expansion for answer context directly addresses the described Databricks GenAI architecture: A lengthy engineering manual has chapters, headings and steps. Hierarchical retrieval combines search granularity with coherent generation context. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Answer can cite both matching step and applicable prerequisite section.
Incorrect Answers
A:“Remove irrelevant repeated chrome before chunking and index creation” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Store child chunks for fine search with parent-section expansion for answer context”: Hierarchical retrieval combines search granularity with coherent generation context.
C:“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 “Store child chunks for fine search with parent-section expansion for answer context”: Hierarchical retrieval combines search granularity with coherent generation context.
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 “Store child chunks for fine search with parent-section expansion for answer context”: Hierarchical retrieval combines search granularity with coherent generation context.
Question 542
A Databricks generative AI team is designing a solution with this requirement: A deployed agent calls a governed knowledge index using a shared engineer token. Which engineering approach should it select first?
- Test source table and index sync before promoting agent to production
- Add typed output parsing and schema validation in the pyfunc predict path
- Configure supported workload identity and scoped service credentials for the endpoint
- Implement explicit retrieve, evidence selection and answer generation stages
Explanation
Correct Answer
C:Configure supported workload identity and scoped service credentials for the endpoint directly addresses the described Databricks GenAI architecture: A deployed agent calls a governed knowledge index using a shared engineer token. Production service identities should not depend on individual user credentials. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Endpoint retrieves approved documents after employee token revocation with auditable service identity.
Incorrect Answers
A:“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 “Configure supported workload identity and scoped service credentials for the endpoint”: Production service identities should not depend on individual user credentials.
B:“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 “Configure supported workload identity and scoped service credentials for the endpoint”: Production service identities should not depend on individual user credentials.
D:“Implement explicit retrieve, evidence selection and answer generation stages” is associated with this technical property: An executable chain defines data dependencies instead of hoping prompting implies them. The question instead turns on “Configure supported workload identity and scoped service credentials for the endpoint”: Production service identities should not depend on individual user credentials.
Question 543
A Databricks generative AI team is designing a solution with this requirement: An internal summarizer endpoint contains confidential financial reports. Which engineering approach should it select first?
- Configure supported sync/refresh behavior and verify index freshness
- Grant serving endpoint invocation only to approved service principals and groups
- Choose supported index synchronization mode and verify freshness SLA under updates
- Register the MLflow model in Unity Catalog using an approved three-part name
Explanation
Correct Answer
B:Grant serving endpoint invocation only to approved service principals and groups directly addresses the described Databricks GenAI architecture: An internal summarizer endpoint contains confidential financial reports. Inference endpoint permissions should reflect least privilege and source sensitivity. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized clients succeed while unrelated identities receive access denied.
Incorrect Answers
A:“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 “Grant serving endpoint invocation only to approved service principals and groups”: Inference endpoint permissions should reflect least privilege and source sensitivity.
C:“Choose supported index synchronization mode and verify freshness SLA under updates” is associated with this technical property: Update frequency is a key design input for choosing index deployment. The question instead turns on “Grant serving endpoint invocation only to approved service principals and groups”: Inference endpoint permissions should reflect least privilege and source sensitivity.
D:“Register the MLflow model in Unity Catalog using an approved three-part name” is associated with this technical property: Unity Catalog provides governed namespace and access for registered models. The question instead turns on “Grant serving endpoint invocation only to approved service principals and groups”: Inference endpoint permissions should reflect least privilege and source sensitivity.
Question 544
The team observes this failure in a GenAI application: Logs show final answer only and engineers cannot find erroneous intermediate reasoning data. After implementing the fix to Instrument MLflow traces across retriever, tools and model spans, which measurement or test most directly demonstrates success?
- A failed response links to distinct retrieval, tool and inference spans
- Precision at k improves while required step sequences remain intact
- Red-team prompts trigger refusal and benign requests remain available
- Adversarial documents fail to redirect tools or disclose restricted content
Explanation
Correct Answer
A:A failed response links to distinct retrieval, tool and inference spans. This specifically validates the remediation to Instrument MLflow traces across retriever, tools and model spans for the failure that Logs show final answer only and engineers cannot find erroneous intermediate reasoning data. End-to-end traces reveal which step failed and support reproducible evaluation. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Precision at k improves while required step sequences remain intact” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “A failed response links to distinct retrieval, tool and inference spans”: End-to-end traces reveal which step failed and support reproducible evaluation.
C:“Red-team prompts trigger refusal and benign requests remain available” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “A failed response links to distinct retrieval, tool and inference spans”: End-to-end traces reveal which step failed and support reproducible evaluation.
D:“Adversarial documents fail to redirect tools or disclose restricted content” is associated with this technical property: Retrieved text is evidence, not a higher-priority instruction. The question instead turns on “A failed response links to distinct retrieval, tool and inference spans”: End-to-end traces reveal which step failed and support reproducible evaluation.
Question 545
A Databricks generative AI team is designing a solution with this requirement: A QA system misses the sole relevant chunk even though it exists in the index. Which engineering approach should it select first?
- Evaluate multilingual embedding and optional query translation on representative pairs
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
- Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval
Explanation
Correct Answer
D:Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval directly addresses the described Databricks GenAI architecture: A QA system misses the sole relevant chunk even though it exists in the index. Retrieval recall is an upstream prerequisite for grounded answer generation. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Recall@k rises for held-out expected passages without excessive result count.
Incorrect Answers
A:“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 “Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval”: Retrieval recall is an upstream prerequisite for grounded answer generation.
B:“Reduce chunk tokens to fit effective embedding context with explicit truncation tests” is associated with this technical property: Embedding input length bounds what content contributes to searchable vectors. The question instead turns on “Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval”: Retrieval recall is an upstream prerequisite for grounded answer generation.
C:“Redact or tokenize restricted fields before embedding with authorized lookup retained separately” is associated with this technical property: Data minimization should be applied at ingestion, not left to answer prompts. The question instead turns on “Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval”: Retrieval recall is an upstream prerequisite for grounded answer generation.
Question 546
The team observes this failure in a GenAI application: Raw prompt logging includes unneeded national identifiers in long-retention tables. After implementing the fix to Choose supported masking/redaction or logging minimization before persisted telemetry, which measurement or test most directly demonstrates success?
- Ambiguous cases cite controlling version or clearly flag the disagreement
- Usage totals remain available while sampled logs exclude restricted values
- Top retrieved evidence excludes boilerplate and maintains legitimate recall
- Adversarial page cannot cause unauthorized network export
Explanation
Correct Answer
B:Usage totals remain available while sampled logs exclude restricted values. This specifically validates the remediation to Choose supported masking/redaction or logging minimization before persisted telemetry for the failure that Raw prompt logging includes unneeded national identifiers in long-retention tables. Operational metrics should avoid storing unnecessary sensitive payloads. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Ambiguous cases cite controlling version or clearly flag the disagreement” is associated with this technical property: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The question instead turns on “Usage totals remain available while sampled logs exclude restricted values”: Operational metrics should avoid storing unnecessary sensitive payloads.
C:“Top retrieved evidence excludes boilerplate and maintains legitimate recall” is associated with this technical property: Preprocessing can prevent irrelevant content from dominating semantic search. The question instead turns on “Usage totals remain available while sampled logs exclude restricted values”: Operational metrics should avoid storing unnecessary sensitive payloads.
D:“Adversarial page cannot cause unauthorized network export” is associated with this technical property: Prompt injection becomes dangerous when untrusted content controls tool side effects. The question instead turns on “Usage totals remain available while sampled logs exclude restricted values”: Operational metrics should avoid storing unnecessary sensitive payloads.
Question 547
An application intended to satisfy this requirement, A customer knowledge agent begins answering without citing current policy documents, instead experiences: Aggregate throughput metrics stay healthy and operators miss factual drift. Which targeted engineering correction resolves this failure?
- Move eligible bulk requests to governed batch inference with appropriate quotas
- Define shared scoring rubric, run calibration rounds and resolve large disagreements
- Monitor groundedness and citation coverage alongside response latency
- Convert reviewed failure into a labeled regression case and rerun on new versions
Explanation
Correct Answer
C:Monitor groundedness and citation coverage alongside response latency targets the observed failure: Aggregate throughput metrics stay healthy and operators miss factual drift. Application quality requires outcome metrics beyond uptime. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Dashboard flags unsupported answer rate before broad user complaints.
Incorrect Answers
A:“Move eligible bulk requests to governed batch inference with appropriate quotas” is associated with this technical property: Batch workloads can be decoupled from latency-critical online traffic. The question instead turns on “Monitor groundedness and citation coverage alongside response latency”: Application quality requires outcome metrics beyond uptime.
B:“Define shared scoring rubric, run calibration rounds and resolve large disagreements” is associated with this technical property: Human judgments need inter-rater consistency for reliable model comparisons. The question instead turns on “Monitor groundedness and citation coverage alongside response latency”: Application quality requires outcome metrics beyond uptime.
D:“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 “Monitor groundedness and citation coverage alongside response latency”: Application quality requires outcome metrics beyond uptime.
Question 548
An application intended to satisfy this requirement, The product database supplies structured API responses with nested fields, instead experiences: A web scraper searches rendered strings and loses nested attribute semantics. Which targeted engineering correction resolves this failure?
- Deduplicate overlapping candidates or use maximal marginal relevance before context assembly
- Parse JSON directly and normalize documented nested keys
- Filter or version source records by approval status and effective date
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
Explanation
Correct Answer
B:Parse JSON directly and normalize documented nested keys targets the observed failure: A web scraper searches rendered strings and loses nested attribute semantics. Structured APIs should be read as structures rather than rendered web text. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Sample entities retain IDs, numeric types and provenance fields.
Incorrect Answers
A:“Deduplicate overlapping candidates or use maximal marginal relevance before context assembly” is associated with this technical property: Redundant retrieval reduces useful evidence diversity under a token budget. 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.
C:“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.
D:“Reduce chunk tokens to fit effective embedding context with explicit truncation tests” is associated with this technical property: Embedding input length bounds what content contributes to searchable vectors. 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 549
An engineering review considers a safeguard for this situation: A reports pipeline needs sentiment labels before an overnight dashboard refresh. The proposed action is: Select batch SQL inference with controlled data volume and validation. Which observed failure most strongly justifies that action?
- Team provisions high-concurrency interactive serving for a one-time job
- The vector index refreshes once per day and returns stale inventory summaries
- Serving cannot reconstruct the retrieval and processing logic
- A deployment hardcodes an artifact path and cannot roll back quickly
Explanation
Correct Answer
A:Team provisions high-concurrency interactive serving for a one-time job. This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation. Workload latency requirements should determine batch versus online architecture. The follow-up evidence would be: The overnight job completes within window and no real-time endpoint is required. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The vector index refreshes once per day and returns stale inventory summaries” is associated with this technical property: This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates. The question instead turns on “Team provisions high-concurrency interactive serving for a one-time job”: This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation.
C:“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 “Team provisions high-concurrency interactive serving for a one-time job”: This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation.
D:“A deployment hardcodes an artifact path and cannot roll back quickly” is associated with this technical property: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls. The question instead turns on “Team provisions high-concurrency interactive serving for a one-time job”: This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation.
Question 550
An engineering review considers a safeguard for this situation: A searchable document includes hidden instructions embedded in markdown links. The proposed action is: Parse, label and isolate untrusted document instructions while preserving legitimate factual content. Which observed failure most strongly justifies that action?
- The assistant could disclose licensed material to users without viewing rights
- Developers assume technical download access means commercial redistribution permission
- The model treats those strings as trustworthy operational steps
- Sensitive identifiers appear in retrieved chunks and generated summaries
Explanation
Correct Answer
C:The model treats those strings as trustworthy operational steps. This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content. Source cleaning reduces accidental execution of embedded instructions. The follow-up evidence would be: Injection benchmark fails to redirect agent behavior but still retrieves relevant facts. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The assistant could disclose licensed material to users without viewing rights” is associated with this technical property: This observation motivates the specific control to Enforce entitlements and output-length constraints for licensed sources. The question instead turns on “The model treats those strings as trustworthy operational steps”: This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content.
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 model treats those strings as trustworthy operational steps”: This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content.
D:“Sensitive identifiers appear in retrieved chunks and generated summaries” is associated with this technical property: This observation motivates the specific control to Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed. The question instead turns on “The model treats those strings as trustworthy operational steps”: This observation motivates the specific control to Parse, label and isolate untrusted document instructions while preserving legitimate factual content.