Courseiva
Design Applications →hardMultiple Select

Databricks-GenAI-Assoc Design Applications Practice Question

A generative AI engineer is designing a RAG application on Databricks that uses a foundation model served via Databricks Model Serving. The application must handle peak loads gracefully and provide consistent response times. The engineer is evaluating design patterns for scaling and reliability. Which TWO design choices should the engineer implement? (Choose two.)

⚠ Common exam trap

The trap here is focusing on caching or precomputation as primary scaling strategies, when the core requirements are elastic endpoint scaling and resilient client behavior under load.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Configure the Model Serving endpoint with autoscaling enabled and set a minimum and maximum number of concurrent requests per replica.

To handle peak loads and maintain consistent response times, the endpoint must scale elastically and the client must handle transient failures. Autoscaling with concurrency limits per replica ensures the serving infrastructure adapts to load, while client-side retries with backoff and timeouts improve resilience. These two choices together provide both server-side elasticity and client-side fault tolerance, which are essential for production reliability.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Configure the Model Serving endpoint with autoscaling enabled and set a minimum and maximum number of concurrent requests per replica.

    Why this is correct

    Autoscaling allows the endpoint to add or remove replicas based on load, which helps maintain consistent latency during peaks. Setting concurrency bounds per replica controls how many requests each replica handles, preventing overload. Together they balance throughput and response time. This is a supported configuration for Databricks Model Serving and directly addresses the reliability and scaling requirements.

  • ✗

    Deploy the model to a single large GPU replica with maximum memory to handle all traffic without autoscaling.

    Why it's wrong here

    A single large replica creates a single point of failure and cannot scale horizontally. If traffic exceeds its capacity, latency spikes and requests fail. Autoscaling is preferred for handling variable loads. While a large GPU may handle more concurrent requests, it does not provide the elasticity or fault tolerance needed for peak loads. This design is not recommended for production RAG applications.

  • ✓

    Implement client-side retries with exponential backoff and a timeout for each request to the serving endpoint.

    Why this is correct

    Retries with exponential backoff help the application recover from transient errors or throttling, improving reliability. A request timeout prevents hanging calls and allows the client to fail fast or retry. This pattern is essential when calling a model serving endpoint under load. It complements server-side autoscaling by handling temporary capacity issues gracefully, ensuring consistent user experience.

  • ✗

    Precompute all possible user questions and their answers and store them in a lookup table for instant retrieval.

    Why it's wrong here

    Precomputing all possible questions is infeasible for open-ended natural language and would not cover new or paraphrased queries. It also does not scale with a growing knowledge base. This approach does not address peak load handling or consistent response times for real user queries. It is not a practical design pattern for generative AI applications.

  • ✗

    Cache the LLM responses for identical user queries in a Delta table and serve them without invoking the model.

    Why it's wrong here

    Caching identical queries can reduce load, but it does not address scaling for diverse queries or peak loads. It also risks serving stale answers and is not a substitute for proper endpoint scaling. While caching is useful, it does not ensure consistent response times under varying load. It is not one of the two primary design choices for handling peak loads gracefully.

About these practice questions

Courseiva writes every Databricks-GenAI-Assoc question from scratch — 330 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Databricks exam blueprint

This Databricks-GenAI-Assoc practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-GenAI-Assoc exam.