DatabricksFree levelPage 2 of 4

Databricks Generative AI Engineer Associate exam dumps: questions 101 to 200 of 305

Page 2 of the free Databricks Generative AI Engineer Associate question bank for the Databricks Certified Generative AI Engineer Associate exam. Questions 101 to 200 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated April 2025

Free Databricks Generative AI Engineer Associate practice questions

Questions 101 to 105 of 305

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

Databricks Generative AI Engineer Associate Question 101

Select 2

You are tasked with building a Generative AI application that integrates external data from multiple APIs, provides conversational capabilities, and requires document retrieval for prompt generation. Which of the following tools or approaches would be most appropriate to streamline the development of this application?

  1. A

    LangChain for managing the chain of prompts, data retrieval, and API integrations

  2. B

    Hugging Face Transformers for fine-tuning a pre-trained model to improve conversational accuracy

  3. C

    PyTorch for building and training a custom model from scratch

  4. D

    Vector databases (e.g., Pinecone, Weaviate) for efficient document retrieval and similarity search

  5. E

    OpenCV for processing and analyzing images within the application

Show answer and explanation

Correct answers: A, D

Explanation

The scenario involves building a Generative AI application with conversational capabilities, external API integrations, and document retrieval. LangChain is an excellent tool for managing workflows, such as chaining prompts and integrating APIs, while vector databases provide efficient document retrieval and similarity search. Together, these tools streamline the development of the required application. Other options, like fine-tuning a model or using OpenCV, are not directly relevant to the requirements described in the question.

  • A. Correct.

    LangChain is highly suitable for managing complex workflows in a Generative AI application, such as chaining prompts, retrieving data from APIs, and structuring interactions with external tools.

  • B. Incorrect.

    Fine-tuning a Hugging Face Transformers model can improve conversational accuracy, but it is not directly related to managing workflows or integrating external tools, which is the focus of the question.

  • C. Incorrect.

    Building a custom model from scratch using PyTorch is unnecessary for this scenario. Pre-trained models and existing frameworks (e.g., LangChain) are better suited for simplifying development.

  • D. Correct.

    Vector databases are essential for document retrieval and similarity search, which is a key part of the application's requirements. They work well with tools like LangChain to fetch relevant data efficiently.

  • E. Incorrect.

    OpenCV is a library for image processing and analysis. It is unrelated to the requirements of this Generative AI application, which focus on conversational capabilities, data retrieval, and APIs.

Databricks Generative AI Engineer Associate Question 102

Select 2

You are building a Generative AI application for summarizing customer support conversations. The application needs to integrate a Large Language Model (LLM) and retrieve conversation history stored in a database. Which of the following tool(s) would be most appropriate to use in this scenario?

  1. A

    LangChain

  2. B

    Hugging Face Transformers

  3. C

    Pandas

  4. D

    Pinecone

  5. E

    TensorFlow

Show answer and explanation

Correct answers: A, D

Explanation

LangChain is particularly useful for building workflows that connect LLMs with external data sources, like conversation history stored in databases. Pinecone adds value by serving as a vector database for efficient retrieval of conversation embeddings, making these tools ideal for this scenario. While Hugging Face Transformers and TensorFlow are powerful frameworks, they are not designed for the specific needs of this Generative AI application. Similarly, Pandas is better suited for data manipulation than for application or workflow development.

  • A. Correct.

    LangChain is designed for building applications that integrate LLMs with external data sources, such as databases. It provides tools for chaining prompts and retrieving data, making it highly suitable for this scenario.

  • B. Incorrect.

    Hugging Face Transformers is a library for working with pre-trained models, but it does not inherently handle integration with databases or provide tools for prompt chaining, which are necessary for this use case.

  • C. Incorrect.

    Pandas is a data manipulation tool, but it is not designed for interacting with LLMs or building applications that integrate databases with LLMs.

  • D. Correct.

    Pinecone is a vector database designed to store and retrieve embeddings efficiently, making it a good choice for retrieving conversation history in a way that complements LLM-based summarization.

  • E. Incorrect.

    TensorFlow is a machine learning framework primarily used for training and deploying models, but it is not designed for integrating LLMs with databases or handling application workflows.

Databricks Generative AI Engineer Associate Question 103

Single answer

You are working on a generative AI model to summarize articles. Initially, you use the prompt: 'Summarize this article in one sentence.' However, you notice the summaries are too vague. To improve the output, you modify the prompt to: 'Summarize this article in one sentence, focusing on key events and specific details.' What is the impact of this change in the prompt format?

  1. A

    The modified prompt helps the model generate more detailed and specific summaries.

  2. B

    The modified prompt reduces the model's ability to summarize articles accurately.

  3. C

    The modified prompt has no impact as the model outputs are entirely dependent on its training data.

  4. D

    The modified prompt causes the model to focus more on generating creative rather than factual summaries.

Show answer and explanation

Correct answer: A

Explanation

The way a prompt is structured can significantly impact the output of a generative AI model. By modifying the prompt to include specific instructions, such as focusing on key events and details, the model is better guided to produce the desired type of response. This demonstrates the importance of prompt engineering in leveraging generative AI effectively.

  • A. Correct.

    This is correct. The modified prompt provides additional guidance to the model, leading to more detailed and specific outputs.

  • B. Incorrect.

    This is incorrect. Adding specificity to the prompt usually improves the quality of the output, not reduces it.

  • C. Incorrect.

    This is incorrect. While the model's training data plays a role, the prompt format significantly influences the output by guiding the model's response.

  • D. Incorrect.

    This is incorrect. The modified prompt is designed to focus on factual details, not creative content.

Databricks Generative AI Engineer Associate Question 104

Select 3

You are fine-tuning a generative AI model with Databricks to summarize customer support tickets. During testing, you observe that the summaries are either too detailed or too vague depending on how the prompt is structured. Which of the following prompt adjustments can help you achieve more consistent and concise summaries?

  1. A

    Clearly specify the desired summary length, such as 'Summarize this in no more than 50 words.'

  2. B

    Include examples of desired outputs in the prompt to guide the model's response style.

  3. C

    Avoid using specific instructions in the prompt as they may confuse the model.

  4. D

    Use open-ended prompts such as 'What do you think about this?' to encourage creativity.

  5. E

    Incorporate keywords like 'concise' or 'brief' to influence the tone of the summary.

Show answer and explanation

Correct answers: A, B, E

Explanation

Prompt engineering is critical when working with generative AI models. Clear instructions, examples, and guiding keywords help models produce consistent and high-quality outputs. Ambiguous or open-ended prompts can lead to unpredictable results, especially in tasks like summarization where structure and precision are essential.

  • A. Correct.

    Specifying the desired summary length helps set clear expectations for the model, leading to outputs that align with your requirements.

  • B. Correct.

    Providing examples of desired outputs in the prompt helps the model better understand the expected format and tone, leading to more consistent results.

  • C. Incorrect.

    Avoiding specific instructions can lead to ambiguous outputs, as the model may not clearly understand your requirements.

  • D. Incorrect.

    Open-ended prompts like 'What do you think about this?' are unsuitable for tasks requiring specific outcomes, such as generating concise summaries.

  • E. Correct.

    Incorporating keywords like 'concise' or 'brief' provides additional guidance to the model, influencing the style and tone of the generated summaries.

Databricks Generative AI Engineer Associate Question 105

Single answer

You are working with a large language model (LLM) to generate customer support responses. You observe that when you include more detailed instructions in the prompt, the responses are more relevant to the query. Which of the following statements best explains why prompt formats impact model outputs?

  1. A

    Detailed prompts provide the model with more context, helping it generate better-aligned outputs.

  2. B

    Adding more details in the prompt increases the model's processing power, resulting in better responses.

  3. C

    Changing the prompt format alters the model's underlying training data, leading to different outputs.

  4. D

    Simpler prompts always produce better results as they reduce the complexity of the model's task.

Show answer and explanation

Correct answer: A

Explanation

The way a prompt is structured significantly influences the quality of the model's outputs. Detailed prompts provide the necessary context and constraints, enabling the model to generate responses that are better aligned with the desired outcome. This does not change the model's capabilities or training data but rather optimizes how the model interprets the input.

  • A. Correct.

    This is correct. Providing detailed and clear instructions in the prompt gives the model more context to generate outputs that align with the user's expectations.

  • B. Incorrect.

    This is incorrect. The model's processing power is fixed and does not change based on the input prompt.

  • C. Incorrect.

    This is incorrect. Adjusting prompt formats does not modify the model's training data; it only changes how the input is structured.

  • D. Incorrect.

    This is incorrect. While simpler prompts may work in some cases, they often lack sufficient detail to guide the model effectively, especially for complex tasks.

Timed practice exam

Take a Databricks Generative AI Engineer Associate practice test under exam conditions

45 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

Databricks Generative AI Engineer Associate practice questions 101 to 200 of 305

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 4 pages of up to 100 questions.

  1. 101.You are tasked with building a Generative AI application that integrates external data from multiple APIs,...
  2. 102.You are building a Generative AI application for summarizing customer support conversations. The application...
  3. 103.You are working on a generative AI model to summarize articles. Initially, you use the prompt: 'Summarize...
  4. 104.You are fine-tuning a generative AI model with Databricks to summarize customer support tickets. During...
  5. 105.You are working with a large language model (LLM) to generate customer support responses. You observe that...
  6. 106.You are designing a prompt to generate customer support responses using a language model. Initially, the...
  7. 107.You are tasked with generating a product description using a large language model (LLM). When using the...
  8. 108.You are tasked with generating a summary of a technical document using a language model. During testing, you...
  9. 109.You are training a generative AI model for a customer support chatbot. After testing the model, you notice...
  10. 110.You are tasked with evaluating responses generated by a large language model (LLM) for a customer service...
  11. 111.You are evaluating the responses generated by a fine-tuned language model integrated into a customer service...
  12. 112.You are evaluating the responses from a generative AI model deployed on Databricks for a customer-facing...
  13. 113.You are tasked with evaluating the responses of a generative AI model designed to assist customer service...
  14. 114.You are tasked with evaluating the responses generated by a Large Language Model (LLM) integrated into a...
  15. 115.You are designing a retrieval-augmented generation (RAG) pipeline using a large language model (LLM) for a...
  16. 116.You are designing a document retrieval system using a large language model (LLM) and need to select a...
  17. 117.You are building a retrieval-augmented generation (RAG) system using a large language model (LLM) and a...
  18. 118.You are building a retrieval-augmented generation (RAG) system using a large language model (LLM) for a...
  19. 119.You are designing a question-answering system using a transformer-based language model. The system retrieves...
  20. 120.You are designing a document retrieval system using a Generative AI model and need to determine the best...
  21. 121.You are building a customer support chatbot using a generative AI model on Databricks. You want to augment...
  22. 122.You are building a customer support chatbot using a generative AI model on Databricks. The chatbot receives a...
  23. 123.You are building a customer support chatbot using a large language model (LLM) in Databricks. A user submits...
  24. 124.You are building a generative AI chatbot using a large language model (LLM) to assist users in planning their...
  25. 125.You are building a chatbot using a generative AI model deployed on Databricks. The chatbot needs to provide...
  26. 126.You are building a customer support chatbot using a generative AI model on Databricks. The chatbot must...
  27. 127.You are using a large language model (LLM) to generate customer service email responses. The model's baseline...
  28. 128.You are tasked with adjusting a large language model's (LLM) response to provide more concise answers instead...
  29. 129.You are developing a customer support chatbot using a large language model (LLM). The baseline response of...
  30. 130.You are fine-tuning a prompt for a Large Language Model (LLM) in Databricks to provide detailed technical...
  31. 131.A data scientist is using a large language model (LLM) to generate customer support responses. Initially, the...
  32. 132.You are working with a large language model (LLM) to generate responses for a customer service chatbot. The...
  33. 133.You are developing a customer support chatbot using a large language model (LLM) on Databricks. To ensure the...
  34. 134.You are deploying a generative AI model for a customer support chatbot. To ensure the model does not generate...
  35. 135.You are deploying a large language model (LLM) for a customer support chatbot in a financial services...
  36. 136.You are deploying a large language model (LLM) within a customer-facing application to automate responses to...
  37. 137.You are deploying a large language model (LLM) in a customer service chatbot to handle user queries. During...
  38. 138.You are deploying a large language model (LLM) using Databricks, and your client requires safeguards to...
  39. 139.You are designing a metaprompt for a generative AI model to summarize documents while ensuring it does not...
  40. 140.You are tasked with designing a metaprompt for a generative AI model in Databricks to generate responses...
  41. 141.You are designing a metaprompt for a generative AI model that summarizes user-uploaded documents without...
  42. 142.You are designing a Generative AI application using Databricks to summarize customer feedback. To minimize...
  43. 143.You are designing a metaprompt for a customer-facing chatbot powered by a large language model (LLM). The...
  44. 144.You are designing a metaprompt for a generative AI model that summarizes sensitive legal documents. Your goal...
  45. 145.You are building a chatbot using Databricks that interacts with a large language model (LLM) to assist users...
  46. 146.You are designing a Databricks agent to assist users in querying a database. The agent must dynamically guide...
  47. 147.You are building an agent in Databricks that interacts with a generative AI model to summarize customer...
  48. 148.You are designing a generative AI-powered support assistant using the Databricks framework. The assistant...
  49. 149.You are designing a Generative AI agent in Databricks that can interact with users to retrieve data and...
  50. 150.You are tasked with designing a prompt template for a Generative AI agent in Databricks that uses multiple...
  51. 151.You are tasked with developing a chatbot for a financial services company that requires accurate and...
  52. 152.You are designing a customer support chatbot for a retail company. The chatbot must handle a wide variety of...
  53. 153.You are tasked with developing a customer support chatbot for a large e-commerce platform. The chatbot must...
  54. 154.Your team is developing an AI-powered customer service chatbot for a global e-commerce platform. The chatbot...
  55. 155.You are tasked with building a customer support chatbot for a global e-commerce platform. The chatbot must...
  56. 156.You are developing a customer support chatbot for a retail company that requires accurate context...
  57. 157.You are designing a generative AI solution that uses an embedding model to process customer support documents...
  58. 158.You are building a document retrieval system using a generative AI model with embeddings. Your source...
  59. 159.You are designing a semantic search solution using a generative AI model in Databricks. Your source documents...
  60. 160.You are designing a Generative AI application on Databricks that will use an embedding model to retrieve...
  61. 161.You are developing a generative AI solution for a legal firm to assist with document search and...
  62. 162.You are tasked with selecting an embedding model for a document retrieval system. The source documents are...
  63. 163.You are tasked with selecting a model from a model hub to perform sentiment analysis on customer reviews. The...
  64. 164.You are tasked with selecting a pre-trained language model from a model hub to perform a sentiment analysis...
  65. 165.You are tasked with selecting a pre-trained model from a model hub for summarizing long documents. The...
  66. 166.You are tasked with selecting a generative AI model from a model hub to perform text summarization on large...
  67. 167.You are tasked with selecting a pre-trained generative language model for summarizing long legal documents....
  68. 168.You are tasked with selecting a pre-trained model from a model hub to perform text summarization for a...
  69. 169.You have trained three different generative AI models for text summarization on a dataset. The evaluation...
  70. 170.You are training multiple generative AI models to generate customer support responses. The task requires...
  71. 171.You are building a text classification system on Databricks and have fine-tuned several generative AI models....
  72. 172.You are tasked with selecting the best generative AI model for a text summarization task. You have...
  73. 173.You are tasked with selecting the best model for a text classification task in a Databricks ML experiment....
  74. 174.You are working on a text classification task to categorize customer reviews into positive, neutral, or...
  75. 175.You are tasked with deploying a generative AI model that was fine-tuned on Databricks. The model will serve...
  76. 176.You are tasked with deploying a generative AI application on Databricks that generates product descriptions...
  77. 177.You are tasked with deploying a generative AI application on Databricks that uses a pre-trained large...
  78. 178.You are deploying a generative AI application on Databricks that uses a pre-trained foundation model for text...
  79. 179.You are assembling a generative AI application in Databricks that leverages a fine-tuned LLM for summarizing...
  80. 180.You are deploying a generative AI application on Databricks that serves a fine-tuned large language model...
  81. 181.You are tasked with building a machine learning pipeline in Databricks that includes pre-processing and...
  82. 182.You are tasked with building a chain in Databricks that uses a PyFunc model for performing text sentiment...
  83. 183.You are tasked with deploying a PyFunc model in Databricks for a machine learning pipeline. The model...
  84. 184.You are developing a machine learning pipeline in Databricks that uses a PyFunc model for generative AI...
  85. 185.You are building a machine learning workflow in Databricks using a pyfunc model. The model requires input...
  86. 186.You are tasked with deploying a machine learning model for sentiment analysis in Databricks. To improve the...
  87. 187.You are deploying a machine learning model using Databricks Model Serving and need to control access to the...
  88. 188.You are setting up a Databricks model serving endpoint for a machine learning model that provides predictions...
  89. 189.You are deploying a machine learning model using Databricks Model Serving. To ensure that only authorized...
  90. 190.You are deploying a machine learning model on Databricks Model Serving and need to control access to its...
  91. 191.You are tasked with setting up a Databricks model serving endpoint to serve predictions for a sensitive...
  92. 192.You are deploying a model serving endpoint in Databricks to provide predictions for an e-commerce...
  93. 193.You are designing a simple chain in Databricks to process user input through two sequential tasks. The first...
  94. 194.You are tasked with creating a simple chain in Databricks that consists of two steps. The first step prompts...
  95. 195.You are tasked with creating a simple chain in a Databricks notebook that processes customer input data using...
  96. 196.You are tasked with building a simple chain in Databricks that processes user input through two functions:...
  97. 197.You are tasked with creating a simple chain in Databricks to generate a product description based on given...
  98. 198.You are building a simple chain using the LangChain framework to create a conversational agent. The chain...
  99. 199.You are tasked with creating a simple chain using LangChain to process user input and pass it through a...
  100. 200.You are tasked with building a simple chain using LangChain that takes a user-provided question, retrieves...