New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Generative AI Engineer Associate Exam - Topic 3 Question 2 Discussion

Actual exam question for Databricks's Databricks Certified Generative AI Engineer Associate exam
Question #: 2
Topic #: 3
[All Databricks Certified Generative AI Engineer Associate Questions]

A Generative AI Engineer is creating an LLM-powered application that will need access to up-to-date news articles and stock prices.

The design requires the use of stock prices which are stored in Delta tables and finding the latest relevant news articles by searching the internet.

How should the Generative AI Engineer architect their LLM system?

Show Suggested Answer Hide Answer
Suggested Answer: D

To build an LLM-powered system that accesses up-to-date news articles and stock prices, the best approach is to create an agent that has access to specific tools (option D).

Agent with SQL and Web Search Capabilities: By using an agent-based architecture, the LLM can interact with external tools. The agent can query Delta tables (for up-to-date stock prices) via SQL and perform web searches to retrieve the latest news articles. This modular approach ensures the system can access both structured (stock prices) and unstructured (news) data sources dynamically.

Why This Approach Works:

SQL Queries for Stock Prices: Delta tables store stock prices, which the agent can query directly for the latest data.

Web Search for News: For news articles, the agent can generate search queries and retrieve the most relevant and recent articles, then pass them to the LLM for processing.

Why Other Options Are Less Suitable:

A (Summarizing News for Stock Prices): This convoluted approach would not ensure accuracy when retrieving stock prices, which are already structured and stored in Delta tables.

B (Stock Price Volatility Queries): While this could retrieve relevant information, it doesn't address how to obtain the most up-to-date news articles.

C (Vector Store): Storing news articles and stock prices in a vector store might not capture the real-time nature of stock data and news updates, as it relies on pre-existing data rather than dynamic querying.

Thus, using an agent with access to both SQL for querying stock prices and web search for retrieving news articles is the best approach for ensuring up-to-date and accurate responses.


Contribute your Thoughts:

0/2000 characters
Franklyn
3 months ago
Wait, can an LLM really handle real-time updates effectively?
upvoted 0 times
...
Salley
3 months ago
A is too simplistic, it won't capture the full picture.
upvoted 0 times
...
Della
3 months ago
C is interesting, but storing all that data sounds heavy.
upvoted 0 times
...
Elly
4 months ago
I think B could lead to better insights on stock volatility.
upvoted 0 times
...
Hershel
4 months ago
Option D seems the most practical for real-time data access.
upvoted 0 times
...
Carman
4 months ago
I vaguely recall a similar question where we discussed summarizing articles. Option A seems like it could work, but I wonder if it’s the most efficient method.
upvoted 0 times
...
Janae
4 months ago
I feel like querying the Delta table directly, like in option B, could be effective, but I’m not confident about how the LLM would fit into that.
upvoted 0 times
...
Richelle
4 months ago
I'm not entirely sure, but I remember something about using RAG architectures. Option C might be the right approach for combining retrieval and generation.
upvoted 0 times
...
Craig
5 months ago
I think option D sounds familiar; it seems like it aligns with what we practiced about integrating different tools for data retrieval.
upvoted 0 times
...
Pamella
5 months ago
Option B seems like it could be a good way to go, especially if the stock price volatility is a key factor in the application. Using the LLM to generate a search query to investigate the causes of the volatility could provide some valuable insights. I'd want to make sure the LLM is well-trained on financial data, though.
upvoted 0 times
...
Carole
5 months ago
I think option C is an interesting approach. Building a vector store to hold the news articles and stock data, then using a RAG model to retrieve and generate the response, could provide a nice balance of speed and flexibility. The key would be ensuring the vector store is kept up-to-date and the retrieval process is optimized.
upvoted 0 times
...
Oren
5 months ago
Hmm, I'm a bit unsure about this one. The options all seem reasonable, but I'm not sure which one would be the most efficient or effective approach. I might need to do some more research on the different architectural patterns mentioned to decide which one would work best for this use case.
upvoted 0 times
...
Lonny
5 months ago
This looks like a classic information retrieval and integration problem. I'd go with option D - using an agent with SQL and web search tools to retrieve the necessary data, then feeding that into an LLM for generation. That way, we can leverage the strengths of both the structured data access and the language modeling capabilities.
upvoted 0 times
...
Della
1 year ago
I'm torn between options C and D. Both sound like they could work well, but I'm curious to see how the performance would compare.
upvoted 0 times
Misty
1 year ago
Agreed, performance testing would definitely help in making the final decision.
upvoted 0 times
...
Dana
1 year ago
It would be interesting to test both options and see which one performs better.
upvoted 0 times
...
Cathrine
1 year ago
Option D might provide more flexibility in querying and searching for data.
upvoted 0 times
...
Vivan
1 year ago
Option C could be more efficient in terms of retrieval and generation.
upvoted 0 times
...
...
Christiane
1 year ago
Haha, I bet the Generative AI Engineer is hoping the LLM doesn't start buying and selling stocks on its own! Option D seems the way to go.
upvoted 0 times
...
Alton
1 year ago
Option B is interesting, using the LLM to investigate the causes of stock volatility. That could provide some valuable insights.
upvoted 0 times
Patria
1 year ago
C: It's definitely a unique way to leverage LLM technology for financial analysis.
upvoted 0 times
...
Veta
1 year ago
B: I agree, it could help identify the reasons behind the fluctuations.
upvoted 0 times
...
Rosio
1 year ago
A: Option B sounds like a smart approach to analyze stock volatility.
upvoted 0 times
...
...
Ciara
1 year ago
I like the idea of a RAG architecture in option C. Storing the data in a vector store and retrieving it on the fly could be really efficient.
upvoted 0 times
Selma
1 year ago
Definitely, having a well-structured architecture is key for smooth operation.
upvoted 0 times
...
Elliott
1 year ago
It's important to have a system that can quickly access the necessary data.
upvoted 0 times
...
Graciela
1 year ago
I agree, using a RAG architecture could streamline the process.
upvoted 0 times
...
Mona
1 year ago
Option C sounds like a solid choice for efficient data retrieval.
upvoted 0 times
...
...
Lavelle
1 year ago
I agree with Krissy. Option A seems like the most practical approach for the Generative AI Engineer to architect their LLM system.
upvoted 0 times
...
Laurel
1 year ago
Option D seems like the most comprehensive approach. Using an agent with specific tools to handle the data retrieval and then feeding that to the LLM for generation sounds like a solid architecture.
upvoted 0 times
Mozell
1 year ago
C) Download and store news articles and stock price information in a vector store. Use a RAG architecture to retrieve and generate at runtime.
upvoted 0 times
...
Reuben
1 year ago
D) Create an agent with tools for SQL querying of Delta tables and web searching, provide retrieved values to an LLM for generation of response.
upvoted 0 times
...
Lizbeth
1 year ago
A) Use an LLM to summarize the latest news articles and lookup stock tickers from the summaries to find stock prices.
upvoted 0 times
...
Latanya
1 year ago
D) Create an agent with tools for SQL querying of Delta tables and web searching, provide retrieved values to an LLM for generation of response.
upvoted 0 times
...
...
Krissy
1 year ago
I think option A is the best choice because it allows the LLM to summarize news articles and find stock prices efficiently.
upvoted 0 times
...

Save Cancel