BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

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

Actual exam question for Databricks's Databricks-Generative-AI-Engineer-Associate exam
Question #: 2
Topic #: 3
[All Databricks-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:

Della
1 days 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
...
Christiane
3 days 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
4 days ago
Option B is interesting, using the LLM to investigate the causes of stock volatility. That could provide some valuable insights.
upvoted 0 times
...
Ciara
13 days 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
...
Lavelle
21 days 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
21 days 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
Latanya
3 days 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
26 days 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