AWS Certified AI Practitioner (AIF-C01) — Question 153
A publishing company built a Retrieval Augmented Generation (RAG) based solution to give its users the ability to interact with published content. New content is published daily. The company wants to provide a near real-time experience to users.
Which steps in the RAG pipeline should the company implement by using offline batch processing to meet these requirements? (Choose two.)
Answer options
- A. Generation of content embeddings
- B. Generation of embeddings for user queries
- C. Creation of the search index
- D. Retrieval of relevant content
- E. Response generation for the user
Correct answer: A
Explanation
The correct answer is A, as generating content embeddings in an offline batch process allows for efficient updates without impacting real-time user interactions. Option B, generating embeddings for user queries, is typically done in real-time to ensure immediate relevance, while options C, D, and E involve processes that require real-time data handling rather than batch processing.