mcAfee Secure Website
23

Databricks Certified Generative AI Engineer Associate Bundle

Exam Code: Certified Generative AI Engineer Associate

Exam Name Certified Generative AI Engineer Associate

Certification Provider: Databricks

Corresponding Certification: Databricks Certified Generative AI Engineer Associate

Certified Generative AI Engineer Associate Training Materials $19.99

Reliable & Actual Study Materials for Certified Generative AI Engineer Associate Exam Success

The Latest Certified Generative AI Engineer Associate Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    Certified Generative AI Engineer Associate Questions & Answers

    123 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • exam =30
    Study Guide

    Certified Generative AI Engineer Associate Study Guide

    230 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

Certified Generative AI Engineer Associate Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable Databricks Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    123 Questions

    $124.99
    exam =35
  • exam =36
    Study Guide

    Study Guide

    230 PDF Pages

    $29.99

Databricks Certified Generative AI Engineer Associate Practice Test 8

Question 70

A Databricks RAG or agent workflow behaves unexpectedly: A RAG assistant passes an internal evaluation set but receives complaints about new policy terms after launch. Which diagnostic check has the highest value?

  1. Inspect adversarial prompt examples, tool permissions and whether refusals are enforced outside the model.
  2. Inspect trace context passages, token distribution, coverage of necessary conditions and retrieval rank.
  3. Inspect user conversation state, current intent, entity resolution and selected tool trace.
  4. Inspect which indicators are measured before deployment versus on live traffic and feedback.

Explanation

Correct Answer

D:

Correct. Offline test datasets catch regressions pre-release; production monitoring detects drift, real-user failures and evolving prompts. In the given situation — A RAG assistant passes an internal evaluation set but receives complaints about new policy terms after launch. — the targeted diagnose action is: Inspect which indicators are measured before deployment versus on live traffic and feedback. It inspects the stage or constraint most likely to explain the observed failure before changing the system.

Incorrect Answers

A:

Not the strongest diagnose choice for this specific question. Inspect adversarial prompt examples, tool permissions and whether refusals are enforced outside the model. This action primarily relates to Unsafe model output and jailbreak response diagnosis: User-provided instructions may attempt to bypass agent policies or cause data leakage; classification and tool boundaries need separate tests. However, the described case — A RAG assistant passes an internal evaluation set but receives complaints about new policy terms after launch. — is testing Offline evaluation versus ongoing production monitoring. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

B:

Not the strongest diagnose choice for this specific question. Inspect trace context passages, token distribution, coverage of necessary conditions and retrieval rank. This action primarily relates to Chunk quality evaluation and boundary splitting: Retrieval failure can arise from overly small chunks that omit needed context or overly large chunks that dilute relevance. However, the described case — A RAG assistant passes an internal evaluation set but receives complaints about new policy terms after launch. — is testing Offline evaluation versus ongoing production monitoring. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest diagnose choice for this specific question. Inspect user conversation state, current intent, entity resolution and selected tool trace. This action primarily relates to Conversation context and intent routing: Multi-turn assistants need explicit conversational state while routing each new request to the correct tool or topic. However, the described case — A RAG assistant passes an internal evaluation set but receives complaints about new policy terms after launch. — is testing Offline evaluation versus ongoing production monitoring. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 71

Before changing the GenAI pipeline, which investigation is MOST useful? A retrieved wiki page tells the agent to email confidential documents to an external address.

  1. Inspect agent routing to Genie, space permissions, metric definitions and tool-returned values.
  2. Inspect encoder token limits, chunk length percentiles, truncation counters and source suffix omissions.
  3. Inspect runnable input/output schemas, prompt variables and invocation traces around the failing stage.
  4. Inspect tool-call traces, retrieved source text and permission decisions for instruction-origin confusion.

Explanation

Correct Answer

D:

Correct. Retrieved content is lower-trust data; embedded instructions must not trigger privileged tool calls or override assistant rules. In the given situation — A retrieved wiki page tells the agent to email confidential documents to an external address. — the targeted diagnose action is: Inspect tool-call traces, retrieved source text and permission decisions for instruction-origin confusion. It inspects the stage or constraint most likely to explain the observed failure before changing the system.

Incorrect Answers

A:

Not the strongest diagnose choice for this specific question. Inspect agent routing to Genie, space permissions, metric definitions and tool-returned values. This action primarily relates to Multi-agent Genie Space tool routing and governed answers: Genie Spaces can provide governed natural-language access to structured business metrics; an agent should choose authorized Genie tools over guessing SQL facts. However, the described case — A retrieved wiki page tells the agent to email confidential documents to an external address. — is testing Prompt-injection defenses for retrieved context. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

B:

Not the strongest diagnose choice for this specific question. Inspect encoder token limits, chunk length percentiles, truncation counters and source suffix omissions. This action primarily relates to Embedding context window and chunk token distribution: The embedding encoder must accept the actual tokenized chunk length; silently truncating chunks can drop relevant suffix facts. However, the described case — A retrieved wiki page tells the agent to email confidential documents to an external address. — is testing Prompt-injection defenses for retrieved context. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest diagnose choice for this specific question. Inspect runnable input/output schemas, prompt variables and invocation traces around the failing stage. This action primarily relates to LangChain runnable composition and invocation: Composable runnable chains pass typed values between retrieval, prompt and model stages; each binding must preserve expected input keys. However, the described case — A retrieved wiki page tells the agent to email confidential documents to an external address. — is testing Prompt-injection defenses for retrieved context. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 72 (Select TWO)

Choose TWO measures: one specific correction and one lasting safeguard. A helpdesk agent receives frequent negative user feedback but no monitoring process turns it into reproducible examples.

  1. Collect permitted feedback alongside inference traces and feed reviewed failures into a regression dataset.
  2. Keep monitoring schemas and retention governance versioned across model deployment changes.
  3. Build a custom code-based scorer checking required currency and amount fields alongside general quality judges.
  4. Do not treat request logging or gateway authentication as proof that underlying data access is authorized.

Explanation

Correct Answers

A:

Correct (immediate corrective action). Collect permitted feedback alongside inference traces and feed reviewed failures into a regression dataset. In this scenario, A helpdesk agent receives frequent negative user feedback but no monitoring process turns it into reproducible examples. The governing mechanism is: Inference tables and agent monitoring capture production request/response signals and traces for quality investigations. One selected option addresses the immediate workflow, while the other guards the same failure mode after deployment. Both satisfy the TWO-part requirement.

B:

Correct (continuing risk control). Keep monitoring schemas and retention governance versioned across model deployment changes. In this scenario, A helpdesk agent receives frequent negative user feedback but no monitoring process turns it into reproducible examples. The governing mechanism is: Inference tables and agent monitoring capture production request/response signals and traces for quality investigations. One selected option addresses the immediate workflow, while the other guards the same failure mode after deployment. Both satisfy the TWO-part requirement.

Incorrect Answers

C:

Not the strongest safeguard choice for this specific question. Build a custom code-based scorer checking required currency and amount fields alongside general quality judges. This action primarily relates to MLflow GenAI tracing, built-in and custom scorers: MLflow GenAI traces capture components, and scorers/judges can evaluate a full answer or individual retrieval and tool spans. However, the described case — A helpdesk agent receives frequent negative user feedback but no monitoring process turns it into reproducible examples. — is testing Inference tables and Agent Monitoring feedback loop. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

D:

Not the strongest safeguard choice for this specific question. Do not treat request logging or gateway authentication as proof that underlying data access is authorized. This action primarily relates to AI Gateway rate limits, usage tables and inference telemetry: AI Gateway offers controlled access, supported usage tracking and rate limiting to protect shared endpoints and measure consumption. However, the described case — A helpdesk agent receives frequent negative user feedback but no monitoring process turns it into reproducible examples. — is testing Inference tables and Agent Monitoring feedback loop. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 73

A Databricks RAG or agent workflow behaves unexpectedly: A public application generates harmful abusive content after an unusual user prompt despite sanitized inputs. Which diagnostic check has the highest value?

  1. Inspect request/response sensitive spans, redaction logs, moderation findings and business exceptions.
  2. Inspect changed prompt text, outcome metrics, case distribution and any regressed examples.
  3. Inspect adversarial prompt examples, tool permissions and whether refusals are enforced outside the model.
  4. Inspect runnable input/output schemas, prompt variables and invocation traces around the failing stage.

Explanation

Correct Answer

A:

Correct. Input redaction and output checks serve distinct purposes; retain only necessary identifiers and validate actions separately. In the given situation — A public application generates harmful abusive content after an unusual user prompt despite sanitized inputs. — the targeted diagnose action is: Inspect request/response sensitive spans, redaction logs, moderation findings and business exceptions. It inspects the stage or constraint most likely to explain the observed failure before changing the system.

Incorrect Answers

B:

Not the strongest diagnose choice for this specific question. Inspect changed prompt text, outcome metrics, case distribution and any regressed examples. This action primarily relates to Prompt changes evaluated against baseline: A prompt improvement should be measured against a fixed baseline set, not accepted because a few outputs sound better. However, the described case — A public application generates harmful abusive content after an unusual user prompt despite sanitized inputs. — is testing PII masking and output moderation as complementary guardrails. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest diagnose choice for this specific question. Inspect adversarial prompt examples, tool permissions and whether refusals are enforced outside the model. This action primarily relates to Unsafe model output and jailbreak response diagnosis: User-provided instructions may attempt to bypass agent policies or cause data leakage; classification and tool boundaries need separate tests. However, the described case — A public application generates harmful abusive content after an unusual user prompt despite sanitized inputs. — is testing PII masking and output moderation as complementary guardrails. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

D:

Not the strongest diagnose choice for this specific question. Inspect runnable input/output schemas, prompt variables and invocation traces around the failing stage. This action primarily relates to LangChain runnable composition and invocation: Composable runnable chains pass typed values between retrieval, prompt and model stages; each binding must preserve expected input keys. However, the described case — A public application generates harmful abusive content after an unusual user prompt despite sanitized inputs. — is testing PII masking and output moderation as complementary guardrails. It does not directly establish the diagnose outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 74

What long-term control is MOST directly justified by this Databricks GenAI situation? An order-status assistant needs real-time package state plus the carrier's public shipping policy.

  1. Keep authoritative structured values separate from explanatory unstructured content in the final answer.
  2. Keep instructions and examples versioned and test new patterns without allowing retrieved data to override policy.
  3. Retain audit trails and constrain retries, tool permissions and approval for high-impact actions.
  4. Do not use a document-answering assistant as an autonomous transaction engine without explicit tools and approvals.

Explanation

Correct Answer

A:

Correct. Combining structured lookup and semantic retrieval requires explicit routing, result joining, and downstream schema checks. In the given situation — An order-status assistant needs real-time package state plus the carrier's public shipping policy. — the targeted safeguard action is: Keep authoritative structured values separate from explanatory unstructured content in the final answer. It preserves an enduring engineering or governance boundary after the current issue is fixed.

Incorrect Answers

B:

Not the strongest safeguard choice for this specific question. Keep instructions and examples versioned and test new patterns without allowing retrieved data to override policy. This action primarily relates to Instruction hierarchy and bounded prompt examples: Few-shot examples and explicit boundaries can clarify expected outputs, but embedded source documents should not become new system instructions. However, the described case — An order-status assistant needs real-time package state plus the carrier's public shipping policy. — is testing Parallel retrieval and deterministic chain postprocessing. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest safeguard choice for this specific question. Retain audit trails and constrain retries, tool permissions and approval for high-impact actions. This action primarily relates to Agent tool schemas, least privilege and retries: Well-described tool schemas constrain parameters, and idempotent retries prevent duplicate side effects. However, the described case — An order-status assistant needs real-time package state plus the carrier's public shipping policy. — is testing Parallel retrieval and deterministic chain postprocessing. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

D:

Not the strongest safeguard choice for this specific question. Do not use a document-answering assistant as an autonomous transaction engine without explicit tools and approvals. This action primarily relates to Agent Bricks Knowledge Assistant suitability: A governed knowledge assistant grounds conversational responses in curated documents and access-controlled retrieval. However, the described case — An order-status assistant needs real-time package state plus the carrier's public shipping policy. — is testing Parallel retrieval and deterministic chain postprocessing. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 75 (Select TWO)

Which TWO complementary actions fix the active problem AND prevent recurrence? Document chunks average 700 tokens but the selected embedding model only accepts 512 tokens.

  1. Extract model/country fields and apply them as verified metadata filters to approved retrieval.
  2. Choose a compatible context-length model or rechunk with measured token counts before embedding.
  3. Recheck license and data handling when replacing proprietary with open-weight models.
  4. Reassess tokenizer and context limits when switching embedding models or input languages.

Explanation

Correct Answers

B:

Correct (immediate corrective action). Choose a compatible context-length model or rechunk with measured token counts before embedding. In this scenario, Document chunks average 700 tokens but the selected embedding model only accepts 512 tokens. The governing mechanism is: The embedding encoder must accept the actual tokenized chunk length; silently truncating chunks can drop relevant suffix facts. One selected option addresses the immediate workflow, while the other guards the same failure mode after deployment. Both satisfy the TWO-part requirement.

D:

Correct (continuing risk control). Reassess tokenizer and context limits when switching embedding models or input languages. In this scenario, Document chunks average 700 tokens but the selected embedding model only accepts 512 tokens. The governing mechanism is: The embedding encoder must accept the actual tokenized chunk length; silently truncating chunks can drop relevant suffix facts. One selected option addresses the immediate workflow, while the other guards the same failure mode after deployment. Both satisfy the TWO-part requirement.

Incorrect Answers

A:

Not the strongest safeguard choice for this specific question. Extract model/country fields and apply them as verified metadata filters to approved retrieval. This action primarily relates to Query-field driven prompt and retrieval filters: User intent and structured fields such as account_id should drive authorized SQL lookups or retrieval filters, not be ignored in free text. However, the described case — Document chunks average 700 tokens but the selected embedding model only accepts 512 tokens. — is testing Embedding context window and chunk token distribution. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest safeguard choice for this specific question. Recheck license and data handling when replacing proprietary with open-weight models. This action primarily relates to Open model license versus managed endpoint obligations: Model availability on a hub does not itself confer commercial training, redistribution or hosting rights. However, the described case — Document chunks average 700 tokens but the selected embedding model only accepts 512 tokens. — is testing Embedding context window and chunk token distribution. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 76

After revising the application, which test BEST demonstrates the intended behavior? An invoice workflow needs exact structured amounts and dates but developers choose an unconstrained chat generator only.

  1. Invoke the chain with a representative dictionary and check all intermediate variable mappings and final output.
  2. Check embedding dimensions or extracted-field validation against task-specific acceptance tests.
  3. Verify matched query and document vectors use the approved version and retrieval improves on held-out examples.
  4. Run reproducible pairwise experiments with confidence and segment-level result analysis.

Explanation

Correct Answer

B:

Correct. Embedding, reranking, extraction and generative models solve different stages and should be evaluated for their actual role. In the given situation — An invoice workflow needs exact structured amounts and dates but developers choose an unconstrained chat generator only. — the targeted verify action is: Check embedding dimensions or extracted-field validation against task-specific acceptance tests. It tests an observable outcome using realistic inputs rather than relying on a working demo alone.

Incorrect Answers

A:

Not the strongest verify choice for this specific question. Invoke the chain with a representative dictionary and check all intermediate variable mappings and final output. This action primarily relates to LangChain runnable composition and invocation: Composable runnable chains pass typed values between retrieval, prompt and model stages; each binding must preserve expected input keys. However, the described case — An invoice workflow needs exact structured amounts and dates but developers choose an unconstrained chat generator only. — is testing Specialized model versus general LLM. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest verify choice for this specific question. Verify matched query and document vectors use the approved version and retrieval improves on held-out examples. This action primarily relates to Embedding model swap and reindex compatibility: Changed embedding dimensions or model semantics typically require re-embedding and index consistency before comparing search quality. However, the described case — An invoice workflow needs exact structured amounts and dates but developers choose an unconstrained chat generator only. — is testing Specialized model versus general LLM. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.

D:

Not the strongest verify choice for this specific question. Run reproducible pairwise experiments with confidence and segment-level result analysis. This action primarily relates to Model evaluation with paired benchmarks: Accuracy, faithfulness, relevance and refusal behavior require task-specific scoring, and a model switch needs common test conditions. However, the described case — An invoice workflow needs exact structured amounts and dates but developers choose an unconstrained chat generator only. — is testing Specialized model versus general LLM. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 77 (Select TWO)

Select TWO: the immediate change and one ongoing control for this Databricks GenAI case. Four reviewers rate the same policy answers inconsistently and the team cannot determine whether prompt changes help.

  1. Enable authorized usage/inference tracking and per-principal attribution with clear quota alerts.
  2. Define scoring anchors, calibrate experts on disputed samples and use aligned feedback as reliable evaluation labels.
  3. Never label judge outputs as factual correctness when the required reference evidence is absent.
  4. Do not hide expert disagreement by excluding difficult cases or averaging away severe failures.

Explanation

Correct Answers

B:

Correct (immediate corrective action). Define scoring anchors, calibrate experts on disputed samples and use aligned feedback as reliable evaluation labels. In this scenario, Four reviewers rate the same policy answers inconsistently and the team cannot determine whether prompt changes help. The governing mechanism is: Domain experts should use a shared rubric, calibrate disagreements and maintain adjudicated examples to improve model evaluation. One selected option addresses the immediate workflow, while the other guards the same failure mode after deployment. Both satisfy the TWO-part requirement.

D:

Correct (continuing risk control). Do not hide expert disagreement by excluding difficult cases or averaging away severe failures. In this scenario, Four reviewers rate the same policy answers inconsistently and the team cannot determine whether prompt changes help. The governing mechanism is: Domain experts should use a shared rubric, calibrate disagreements and maintain adjudicated examples to improve model evaluation. One selected option addresses the immediate workflow, while the other guards the same failure mode after deployment. Both satisfy the TWO-part requirement.

Incorrect Answers

A:

Not the strongest safeguard choice for this specific question. Enable authorized usage/inference tracking and per-principal attribution with clear quota alerts. This action primarily relates to AI Gateway rate limits, usage tables and inference telemetry: AI Gateway offers controlled access, supported usage tracking and rate limiting to protect shared endpoints and measure consumption. However, the described case — Four reviewers rate the same policy answers inconsistently and the team cannot determine whether prompt changes help. — is testing Human SME feedback rubric and reviewer calibration. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest safeguard choice for this specific question. Never label judge outputs as factual correctness when the required reference evidence is absent. This action primarily relates to Ground-truth requirement for correctness versus reference-free judges: A correctness comparison often needs an expected answer; other judges such as format or safety can operate without a reference. However, the described case — Four reviewers rate the same policy answers inconsistently and the team cannot determine whether prompt changes help. — is testing Human SME feedback rubric and reviewer calibration. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 78

After revising the application, which test BEST demonstrates the intended behavior? A support assistant retrieves a full 60-page manual and overwhelms the model prompt with unrelated sections.

  1. Run side-by-side evaluations for baseline and candidate prompts with format, groundedness and latency metrics.
  2. Inject adversarial retrieved passages and verify they cannot cause unauthorized actions or data disclosure.
  3. Run equivalent retrieval tests including storage and refresh cost for candidate encoders.
  4. A/B test chunk segmentation on frozen questions and verify evidence sufficiency and prompt-budget compliance.

Explanation

Correct Answer

D:

Correct. Retrieval failure can arise from overly small chunks that omit needed context or overly large chunks that dilute relevance. In the given situation — A support assistant retrieves a full 60-page manual and overwhelms the model prompt with unrelated sections. — the targeted verify action is: A/B test chunk segmentation on frozen questions and verify evidence sufficiency and prompt-budget compliance. It tests an observable outcome using realistic inputs rather than relying on a working demo alone.

Incorrect Answers

A:

Not the strongest verify choice for this specific question. Run side-by-side evaluations for baseline and candidate prompts with format, groundedness and latency metrics. This action primarily relates to Prompt changes evaluated against baseline: A prompt improvement should be measured against a fixed baseline set, not accepted because a few outputs sound better. However, the described case — A support assistant retrieves a full 60-page manual and overwhelms the model prompt with unrelated sections. — is testing Chunk quality evaluation and boundary splitting. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.

B:

Not the strongest verify choice for this specific question. Inject adversarial retrieved passages and verify they cannot cause unauthorized actions or data disclosure. This action primarily relates to Prompt-injection defenses for retrieved context: Retrieved content is lower-trust data; embedded instructions must not trigger privileged tool calls or override assistant rules. However, the described case — A support assistant retrieves a full 60-page manual and overwhelms the model prompt with unrelated sections. — is testing Chunk quality evaluation and boundary splitting. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest verify choice for this specific question. Run equivalent retrieval tests including storage and refresh cost for candidate encoders. This action primarily relates to Embedding dimensions latency and index storage: Embedding width affects index storage and computation, and larger dimensions do not automatically improve task relevance. However, the described case — A support assistant retrieves a full 60-page manual and overwhelms the model prompt with unrelated sections. — is testing Chunk quality evaluation and boundary splitting. It does not directly establish the verify outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 79

After the immediate fix, what safeguard should remain in the release policy? A new Vector Search index is created in staging but production points at its previous source table version.

  1. Do not present nearest neighbors as verified answers without evidence validation and permission checks.
  2. Do not assert every index feature or hybrid/rerank option exists in every SKU, workspace or region.
  3. Require approval/rollback for prompt and index changes that alter user-facing model behavior.
  4. Do not equate registering a model with approving its business safety or access to all governed tables.

Explanation

Correct Answer

C:

Correct. Production promotions should test source index, prompt, model packaging and tool behavior independently before release. In the given situation — A new Vector Search index is created in staging but production points at its previous source table version. — the targeted safeguard action is: Require approval/rollback for prompt and index changes that alter user-facing model behavior. It preserves an enduring engineering or governance boundary after the current issue is fixed.

Incorrect Answers

A:

Not the strongest safeguard choice for this specific question. Do not present nearest neighbors as verified answers without evidence validation and permission checks. This action primarily relates to Vector Search retrieval workflow and query integration: Semantic retrieval uses an embedding model to query a compatible index, returns ranked passages and metadata for grounded generation. However, the described case — A new Vector Search index is created in staging but production points at its previous source table version. — is testing CI/CD pipelines for retrieval and agent components. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

B:

Not the strongest safeguard choice for this specific question. Do not assert every index feature or hybrid/rerank option exists in every SKU, workspace or region. This action primarily relates to Standard versus storage-optimized Vector Search index: Index choice trades capacity, update speed, latency and storage economics; availability and feature support may vary by cloud/region. However, the described case — A new Vector Search index is created in staging but production points at its previous source table version. — is testing CI/CD pipelines for retrieval and agent components. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

D:

Not the strongest safeguard choice for this specific question. Do not equate registering a model with approving its business safety or access to all governed tables. This action primarily relates to Unity Catalog registered model version and privileges: MLflow-logged models can be registered in Unity Catalog, with governed names, permissions and traceable version lineage. However, the described case — A new Vector Search index is created in staging but production points at its previous source table version. — is testing CI/CD pipelines for retrieval and agent components. It does not directly establish the safeguard outcome or constraint that the question requires; it may still be useful in a different stage or incident.

Question 80

A Databricks engineer is correcting the following workflow: An agent produces raw document objects but the serving client expects a JSON list of cited answers. Which change best addresses the documented requirement?

  1. Deploy synchronized index definitions and validate source freshness during production cutover.
  2. Implement response serialization within the serving wrapper and validate the declared output schema.
  3. Use `ai_query()` against a supported endpoint in a controlled batch-inference query with result checks.
  4. Bundle compatible index/embedding identifiers and validate query-embedding compatibility at initialization.

Explanation

Correct Answer

B:

Correct. A custom MLflow pyfunc model wraps request parsing, retriever/model invocation and output formatting inside a reproducible predict interface. In the given situation — An agent produces raw document objects but the serving client expects a JSON list of cited answers. — the targeted implement action is: Implement response serialization within the serving wrapper and validate the declared output schema. This directly meets the stated workflow constraint instead of addressing an adjacent capability.

Incorrect Answers

A:

Not the strongest implement choice for this specific question. Deploy synchronized index definitions and validate source freshness during production cutover. This action primarily relates to CI/CD pipelines for retrieval and agent components: Production promotions should test source index, prompt, model packaging and tool behavior independently before release. However, the described case — An agent produces raw document objects but the serving client expects a JSON list of cited answers. — is testing MLflow pyfunc packaging for pre- and post-processing. It does not directly establish the implement outcome or constraint that the question requires; it may still be useful in a different stage or incident.

C:

Not the strongest implement choice for this specific question. Use `ai_query()` against a supported endpoint in a controlled batch-inference query with result checks. This action primarily relates to SQL ai_query for governed batch inference: `ai_query()` invokes an available serving endpoint from SQL; suitability depends on supported runtimes, endpoint and workload. However, the described case — An agent produces raw document objects but the serving client expects a JSON list of cited answers. — is testing MLflow pyfunc packaging for pre- and post-processing. It does not directly establish the implement outcome or constraint that the question requires; it may still be useful in a different stage or incident.

D:

Not the strongest implement choice for this specific question. Bundle compatible index/embedding identifiers and validate query-embedding compatibility at initialization. This action primarily relates to RAG production bundle metadata and dependencies: A deployable RAG application needs tracked model code, retriever config, embedding model, dependency versions, signature and example input. However, the described case — An agent produces raw document objects but the serving client expects a JSON list of cited answers. — is testing MLflow pyfunc packaging for pre- and post-processing. It does not directly establish the implement outcome or constraint that the question requires; it may still be useful in a different stage or incident.