Skip to content

Application Development Questions

Practice questions for Application Development topic in Databricks Certified Generative AI Engineer Associate. 60 questions covering this domain.

60 questions15 easy29 medium16 hard
Q1
easy

When using MLflow's code-based logging (Models from Code) for an AI agent, what is the purpose of calling `mlflow.models.set_model(agent)` in the agen...

Q2
medium

After logging an AI agent with `mlflow.langchain.log_model()`, what code registers it in Unity Catalog before deployment?

Q3
medium

A team configures an Anthropic Claude external model endpoint and wants to store the Anthropic API key securely using Databricks Secrets. How should t...

Q4
medium

A developer wants to query a Databricks-hosted foundation model using the OpenAI Python client after installing `databricks-openai`. Which client conf...

Q5
hard

A developer builds a LangChain RAG chain and adds MLflow tracing. Tracing confirms the retrieved context is passed correctly to the LLM, but the LLM s...

Q6
hard

A production RAG application on a standard Mosaic AI Vector Search endpoint experiences increased query latency. The index holds 50 million vectors at...

Q7
medium

When logging a LangChain or PyFunc AI agent with `mlflow.langchain.log_model()`, what does the `resources` parameter declare?

Q8
easy

Which three task types are supported by the Foundation Model APIs `task` parameter when configuring a model serving endpoint for external models?

Q9
hard

A RAG system returns 5 retrieved chunks per query. Evaluations show the system frequently includes irrelevant chunks when queries use nuanced paraphra...

Q10
medium

A company deploys an LLM chatbot with variable, unpredictable traffic patterns including long idle periods. Which Foundation Model API billing mode is...

Q11
easy

What are the two resources a developer must create before querying documents using Mosaic AI Vector Search?

Q12
easy

Which MLflow function is used to log a LangChain agent using the code-based logging approach on Databricks?

Q13
medium

A RAG system retrieves product support documents containing specialized component identifiers such as "Part-7X-A4-ENG22". Users often query using exac...

Q14
medium

A developer queries a Mosaic AI Vector Search index to find relevant customer support documents for a question. They want to restrict results to docum...

Q15
hard

An ML engineer logs a PyFunc agent that requires a Vector Search index and a Model Serving endpoint at inference time. The following code is used: ```...

Q16
medium

A developer builds a PyFunc AI agent and wants to define the expected input and output schema for the serving endpoint to enforce validation. Which ML...

Q17
medium

A team logs a LangChain LCEL chain using `mlflow.langchain.log_model(lcel_chain, artifact_path="agent")` and wants to run batch inference using the st...

Q18
easy

Which MLflow Python package flavor is used to log and load PyFunc models that implement the `mlflow.pyfunc.PythonModel` interface?

Q19
medium

A team uses LangChain to build a RAG chain. They want to add MLflow auto-tracing to automatically capture spans for each LangChain component (retrieve...

Q20
medium

An engineer uses `mlflow.langchain.log_model()` to log a LangChain RAG chain. They want to ensure the chain's `pip_requirements` are correctly capture...

Sign in to see all 60 questions

Create a free account to browse all questions — completely free during our launch phase.