McAfee Secured

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

Databricks Certified Generative AI Engineer Associate Bundle $14.99

Pass Databricks Certified Generative AI Engineer Associate with Real Questions From Testking

Download Web's Best Certified Generative AI Engineer Associate Exam Preparation Materials Today

  • Questions & Answers

    Certified Generative AI Engineer Associate Questions & Answers

    123 Questions & Answers

    Questions & Answers Testing Engine software allows you to practice questions and answers in real Certified Generative AI Engineer Associate exam environment.

  • Study Guide

    Certified Generative AI Engineer Associate Study Guide

    230 PDF Pages

    Study Guide will give you a practical experience regarding the subject and provide an academic background. Certified Generative AI Engineer Associate Study Guide is available in PDF format.

Certified Generative AI Engineer Associate Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $139.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    123 Questions

    $124.99
  • Study Guide

    Study Guide

    230 PDF Pages

    $29.99

Databricks Certified Generative AI Engineer Associate Practice Test 5

Question 40

A multi-step assistant chooses a tool based on user intent. A question about order status must call the order database, while product FAQs use vector retrieval. Which routing design fits the two data sources?

  1. Classify or parse the request intent, validate required identifiers, then branch to the authorized order tool or approved FAQ retriever.
  2. Always route every order-status question to an FAQ index with generic shipping advice.
  3. Always run both sources without verifying permissions and reveal all combined records.
  4. Choose a random branch to balance compute usage.

Explanation

Correct Answer

A:

The two intents require different sources; explicit routing avoids using static FAQ retrieval for live order state.

Other Answers

B:

General FAQ text does not contain the customer’s live order status.

C:

Cross-source aggregation before authorization can leak customer-specific data.

D:

Random routing breaks the semantic dependency between user intent and source type.

Question 41

A chatbot retrieves ten passages, but the generator context window can hold only four complete passages plus the prompt. What should the chain do before generation?

  1. Concatenate all ten passages and assume the model will read only the relevant part.
  2. Rank and select permitted relevant passages within a measured token budget, retaining their citation IDs.
  3. Remove all citations to save tokens while preserving every passage.
  4. Increase the output-token limit and leave the input context unchanged.

Explanation

Correct Answer

B:

Context selection protects token limits while keeping the best available evidence for grounded generation.

Other Answers

A:

The context can overflow or truncate critical information unpredictably.

C:

Discarding provenance defeats the citation requirement and may not solve the full length problem.

D:

Output budget does not enlarge the model’s supported input context.

Question 42

A customer-service chain receives a retrieved passage containing instructions to ignore access controls and email private data. How should the chain treat those instructions?

  1. Promote the retrieved passage to the system role because it came from a search result.
  2. Execute any tool command embedded in the passage before checking user access.
  3. Treat retrieved text as untrusted evidence, ignore its behavioral instructions, and enforce tool permissions outside the LLM.
  4. Disable audit logging to avoid recording the malicious passage.

Explanation

Correct Answer

C:

Documents may contain attacker-authored text; policy and action authorization must not be delegated to retrieved context.

Other Answers

A:

Retrieved content is lower-trust data and must not override trusted instructions.

B:

This allows prompt injection to become unauthorized tool execution.

D:

Removing auditability does not prevent instruction injection and hides evidence of the attempt.

Question 43

A three-stage pipeline parses a customer request, looks up a contract, then formats a summary. Missing contract IDs currently trigger a database-wide scan. Which gate should be inserted before lookup?

  1. Ask the model to invent a probable contract ID when none is provided.
  2. Increase the SQL query limit and perform the scan faster.
  3. Generate the final summary without any contract input.
  4. Validate the parsed contract ID and fail closed or ask for clarification when it is missing, before any retrieval.

Explanation

Correct Answer

D:

A required identifier prevents an underspecified request from expanding into an unauthorized or expensive broad query.

Other Answers

A:

A guessed identifier can select another customer’s record.

B:

A faster broad scan does not resolve the missing scoping identifier.

C:

The final answer would not be tied to an actual contract.

Question 44

A retrieval chain enriches each user question with a department context field, but the LLM receives an empty department because the template uses a different variable name. Which repair addresses the actual integration fault?

  1. Align the output key from the context stage with the exact input variable referenced by the prompt template.
  2. Increase vector-search index size to include more departments.
  3. Change the model temperature to zero without fixing input binding.
  4. Move user authentication after generation.

Explanation

Correct Answer

A:

Chain composition depends on matching input/output contracts; an inconsistent variable name drops the field before generation.

Other Answers

B:

The issue is a mismatched template variable, not missing index content.

C:

Deterministic sampling does not fill a missing template variable.

D:

Authentication order does not resolve the broken data binding and can worsen security.

Question 45

A summarization pipeline outputs a long draft, then must emit a single-line JSON object under a published schema. What final stage best satisfies the consumer contract?

  1. Return the original prose without schema checks and let callers guess fields.
  2. Validate and transform the draft into the schema using a supported structured-output stage and reject invalid parses.
  3. Append an unescaped JSON fragment to the end of markdown prose.
  4. Generate random key names to describe the same ideas more creatively.

Explanation

Correct Answer

B:

The final stage adapts natural-language content to a machine contract, including typed keys and predictable error handling.

Other Answers

A:

The consumer explicitly requires machine-readable structured data.

C:

Mixed formats and unescaped fragments create ambiguous or invalid payloads.

D:

Changing field names violates the published interface.

Question 46

A contract agent can use document retrieval and a numerical calculator. Retrieval finds a payment schedule; the calculator should sum installments. Which sequence preserves evidence and arithmetic correctness?

  1. Compute a guess before fetching the installment schedule.
  2. Ask the model for a plausible total and treat its text as a verified calculation.
  3. Retrieve the authorized payment schedule, extract typed installment amounts, compute the sum deterministically, then cite the schedule.
  4. Retrieve unrelated public contracts and average their payment values.

Explanation

Correct Answer

C:

Retrieved line items supply grounded inputs to an exact computation, and the answer can reference the source document.

Other Answers

A:

Without amounts the calculator has no valid operands.

B:

Fluent generation does not establish arithmetic accuracy.

D:

Other contracts are not evidence for the current schedule.

Question 47

A business assistant must wait for a user to approve a purchase before a tool submits the purchase order. The chain currently submits automatically. What composition best enforces the approval boundary?

  1. Move the purchase call to the beginning of the chain so the customer sees a quicker result.
  2. Replace the approval record with the model’s guess about what the user would approve.
  3. Run the purchase call and ask for approval afterward.
  4. Prepare a validated purchase proposal, present it for explicit approval, and invoke the purchase tool only after approval is recorded.

Explanation

Correct Answer

D:

A human authorization gate separates informational reasoning from a consequential external write action.

Other Answers

A:

Calling earlier makes the unauthorized purchase happen sooner.

B:

An LLM prediction is not explicit user authorization.

C:

Retroactive consent cannot prevent the already executed write.

Question 48

A RAG chain retrieves documents for a sales agent, but retrieved text contains employee-only price lists not authorized for the caller. Where must authorization be enforced to prevent disclosure?

  1. Filter retrieval candidates by the caller’s entitlements before presenting passages to the LLM, and check tool access independently.
  2. Send all price lists to the model and ask it politely not to quote restricted values.
  3. Hide citations in the final answer but include all restricted source text in the context.
  4. Increase the retrieval top-k until enough public passages drown out the restricted ones.

Explanation

Correct Answer

A:

Authorization must be applied before sensitive context reaches generation, because a later text filter cannot undo prompt exposure.

Other Answers

B:

The model has already seen confidential material; a prompt is not an access-control boundary.

C:

Omitting citations does not prevent private details from influencing or leaking through the answer.

D:

More context does not remove the forbidden documents or satisfy access policy.

Question 49

A question-answering chain calls a model, then validates that citations point to retrieved passages. A bad citation currently passes because only JSON syntax is checked. Which additional gate is required?

  1. Accept any citation token that looks like a UUID.
  2. Verify every claimed citation ID exists in the authorized retrieval set and that the cited passage supports the associated assertion.
  3. Add a higher temperature so citations become more varied.
  4. Drop the passage store after generation and rely on the response alone.

Explanation

Correct Answer

B:

JSON validity is only structural; groundedness requires checking references against actual retrieved evidence.

Other Answers

A:

Plausible syntax does not prove the passage was retrieved or supports the claim.

C:

Randomness can create more fabricated references and does not establish provenance.

D:

Without source records there is no evidence against which citations can be validated.

Question 50

A model chain can call a customer-profile tool but should avoid persisting private profile details in long-term conversation state. Which stage design best meets the constraint?

  1. Save the full raw customer profile as permanent chat history for every request.
  2. Write API credentials into conversation memory to simplify future tool calls.
  3. Retrieve only authorized minimal profile fields per request, use them transiently for generation, and store only approved non-sensitive session state.
  4. Skip authorization because the tool returned a record once before.

Explanation

Correct Answer

C:

The chain should minimize sensitive context and separate ephemeral tool data from persistent memory.

Other Answers

A:

Persistent raw profiles increase privacy and retention risk beyond the specified purpose.

B:

Credentials should be managed outside user-visible and model-visible memory.

D:

A previous success does not prove current authorization for the caller.