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 43

Question 420

A web application invokes an LLM serving endpoint using a developer's long-lived personal access token baked into front-end JavaScript. Which verification is strongest for this particular failure mode?

  1. Submit cross-tenant record IDs and verify the retrieval/tool layers reject them regardless of model output.
  2. Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity.
  3. Sign in as a test user and verify a chat question invokes the right endpoint without exposing tokens.
  4. Execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.

Explanation

Correct Answer

B:

Browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.

Other Answers

A:

Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity.

C:

Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity.

D:

Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity.

Question 421

A web application invokes an LLM serving endpoint using a developer's long-lived personal access token baked into front-end JavaScript. What change to engineering governance would reduce this risk over time?

  1. Use managed identities, secret rotation and least-privilege endpoint grants instead of hard-coded personal tokens.
  2. Define endpoint-specific service-principal roles and negative authorization tests in infrastructure-as-code.
  3. Separate tenant principals or scoped access policies and review access traces regularly.
  4. Require secret scanning, short-lived credentials and egress controls for custom MCP services.

Explanation

Correct Answer

A:

Browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.

Other Answers

B:

That browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.

C:

Browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.

D:

This control addresses a different exposure: An engineering team hosts a custom MCP server in a Databricks App but passes API keys through plain prompt text rather than through authenticated tool transport. It would not prevent this failure, because browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.

Question 422

A service principal can view an endpoint but receives an authorization error when attempting inference from a production agent. Which engineering action most directly addresses this specific requirement?

  1. Enforce per-tenant authorization in the data/tools layer and use an appropriately scoped serving identity rather than trusting a prompt.
  2. Grant the principal the appropriate endpoint query permission after checking workspace policy and remove unrelated broad privileges.
  3. Remove the client-side secret and use approved service or user authorization through a backend with only required endpoint permissions.
  4. Request minimal catalog/schema and model creation permissions for the release service principal rather than granting workspace admin.

Explanation

Correct Answer

B:

The action targets the stated cause: Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint. Check the repair by: execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.

Other Answers

A:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

C:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

D:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

Question 423

A service principal can view an endpoint but receives an authorization error when attempting inference from a production agent. What architectural constraint is most directly responsible?

  1. Browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.
  2. Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.
  3. A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.
  4. Unity Catalog evaluates authorization on its securables; notebook execution alone does not confer model-registration rights.

Explanation

Correct Answer

B:

Grant the principal the appropriate endpoint query permission after checking workspace policy and remove unrelated broad privileges.

Other Answers

A:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

C:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

D:

That mechanism describes another problem: A developer can create models in a sandbox schema but fails to register the production model after deployment due to missing UC privileges. It does not explain this case, where discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

Question 424

A service principal can view an endpoint but receives an authorization error when attempting inference from a production agent. What validation evidence would most specifically confirm the resolution?

  1. Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity.
  2. Execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.
  3. Attempt registration with a scoped principal, verify expected denial before grants and success after least-privilege grants.
  4. Submit cross-tenant record IDs and verify the retrieval/tool layers reject them regardless of model output.

Explanation

Correct Answer

B:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

Other Answers

A:

Execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.

C:

Execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.

D:

Execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.

Question 425

A service principal can view an endpoint but receives an authorization error when attempting inference from a production agent. What prevention measure is most targeted to this underlying cause?

  1. Define endpoint-specific service-principal roles and negative authorization tests in infrastructure-as-code.
  2. Use managed identities, secret rotation and least-privilege endpoint grants instead of hard-coded personal tokens.
  3. Manage registry grants through reviewed deployment identities and auditable permission policies.
  4. Separate tenant principals or scoped access policies and review access traces regularly.

Explanation

Correct Answer

A:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

Other Answers

B:

Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

C:

This control addresses a different exposure: A developer can create models in a sandbox schema but fails to register the production model after deployment due to missing UC privileges. It would not prevent this failure, because discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

D:

That discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.

Question 426

A multi-tenant app shares one high-privilege endpoint identity with every tenant and lets a prompt decide which records can be retrieved. Which implementation decision best restores the intended behavior?

  1. Use an approved user-authorization pattern or enforce equivalent per-user data access checks behind the app service.
  2. Grant the principal the appropriate endpoint query permission after checking workspace policy and remove unrelated broad privileges.
  3. Remove the client-side secret and use approved service or user authorization through a backend with only required endpoint permissions.
  4. Enforce per-tenant authorization in the data/tools layer and use an appropriately scoped serving identity rather than trusting a prompt.

Explanation

Correct Answer

D:

The action targets the stated cause: A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement. Check the repair by: submit cross-tenant record IDs and verify the retrieval/tool layers reject them regardless of model output.

Other Answers

A:

A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

B:

A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

C:

A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

Question 427

A multi-tenant app shares one high-privilege endpoint identity with every tenant and lets a prompt decide which records can be retrieved. Which underlying technical principle explains why this occurs?

  1. Discovery or viewing permissions do not necessarily include permission to invoke a Model Serving endpoint.
  2. Browser code exposes embedded secrets to users; endpoint access must be authenticated and authorized at a trusted server boundary.
  3. A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.
  4. The app service identity can have broader permissions than the caller; its successful query does not establish user entitlement.

Explanation

Correct Answer

C:

Enforce per-tenant authorization in the data/tools layer and use an appropriately scoped serving identity rather than trusting a prompt.

Other Answers

A:

A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

B:

That mechanism describes another problem: A web application invokes an LLM serving endpoint using a developer's long-lived personal access token baked into front-end JavaScript. It does not explain this case, where a model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

D:

A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

Question 428

A multi-tenant app shares one high-privilege endpoint identity with every tenant and lets a prompt decide which records can be retrieved. After correction, what targeted test should demonstrate success?

  1. Submit cross-tenant record IDs and verify the retrieval/tool layers reject them regardless of model output.
  2. Check only whether two users receive different displayed chat messages, without testing the data/tool-layer entitlements.
  3. Execute an inference as the principal with and without the minimal query grant, confirming expected allow/deny behavior.
  4. Inspect compiled assets for tokens, test requests with and without required permissions, and verify audit identity.

Explanation

Correct Answer

A:

A model endpoint credential is not a substitute for row-level or source-document entitlement enforcement.

Other Answers

B:

Different output wording is not proof that a shared high-privilege tool blocked unauthorized rows. The acceptance test must exercise cross-tenant tool authorization.

C:

Submit cross-tenant record IDs and verify the retrieval/tool layers reject them regardless of model output.

D:

Submit cross-tenant record IDs and verify the retrieval/tool layers reject them regardless of model output.

Question 429

A deterministic workflow must fetch three customer facts, compute a balance and format one response, but an engineer adds an unbounded agent planning loop. What should the implementation team change first to resolve the described defect?

  1. Build a fixed chain of validated retrieval, deterministic calculation and response formatting components with explicit error exits.
  2. Calculate the total from validated structured rows before invoking summarization, then present the checked number in the response.
  3. Serialize retrieved text into a bounded clearly labeled untrusted context field and apply a prompt-injection safe instruction hierarchy.
  4. Convert provider responses into a stable JSON-compatible typed output in post-processing, rejecting missing or invalid fields.

Explanation

Correct Answer

A:

The action targets the stated cause: A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost. Check the repair by: run test customers including missing account IDs and verify the exact stage order and returned totals.

Other Answers

B:

A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.

C:

A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.

D:

A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.

Question 430

A deterministic workflow must fetch three customer facts, compute a balance and format one response, but an engineer adds an unbounded agent planning loop. Why does the current approach fail under these conditions?

  1. SDK response objects are not necessarily serving wire-format values; pyfunc output must satisfy the declared interface.
  2. Tool data and developer instructions have different trust levels; accidental string interpolation can blur that boundary.
  3. Lossy natural-language summary cannot be an authoritative intermediate representation for exact arithmetic.
  4. A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.

Explanation

Correct Answer

D:

Build a fixed chain of validated retrieval, deterministic calculation and response formatting components with explicit error exits.

Other Answers

A:

A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.

B:

That mechanism describes another problem: A simple retrieval-plus-generation chain forwards raw tool output without escaping delimiters, allowing a document to overwrite the next prompt instruction. It does not explain this case, where a known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.

C:

A known dependency order does not require dynamic autonomous planning, which adds unnecessary unpredictability and cost.