Amazon Bedrock - RAG and knowledgebase Flashcards

(43 cards)

1
Q

What does RAG stand for?

A

Retrieval Augmented Generation

RAG allows foundation models to reference external data sources without fine-tuning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the role of Amazon Bedrock in RAG?

A

It builds and manages the knowledge base

Amazon Bedrock automates the creation of knowledge bases using data sources like Amazon S3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What type of database backs the knowledge base in RAG?

A

Vector database

The vector database allows for retrieval of relevant information from the knowledge base.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the process involved in creating data for the Vector database?

A

Creating Vector embeddings

Bedrock automates the process of generating vector embeddings from data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What types of data sources can be used with Amazon Bedrock?

A
  • Amazon S3
  • Confluence
  • Microsoft SharePoint
  • Salesforce
  • Webpages

These sources can include various types of files and web content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens when a user asks a question to the foundation model?

A

The model searches the knowledge base for relevant information

This process is done automatically behind the scenes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an example of a specific query a user might ask?

A

Who is John’s product manager?

Im assuming that stefane is refering to a particular manager to whome a

This query illustrates a specific and contextual request for information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are two services on AWS that can be used as Vector databases?

A
  • Open Search Service
  • Amazon Aurora

These services are designed to handle vector data efficiently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name three other options for Vector databases.

A
  • MongoDB
  • Redis
  • Pinecone

These options offer additional flexibility for database management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the function of the embeddings model in RAG?

A

To convert data into vectors

The embeddings model can differ from the foundation model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the preferred choice for high performance and real-time similarity queries?

A

OpenSearch Service

It offers scalable index management and fast nearest neighbor search capabilities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the two relational databases mentioned?

A
  • Amazon Aurora
  • Amazon RDS for PostgreSQL

Both are suitable for relational database needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a key feature of Amazon DocumentDB?

A

MongoDB compatibility

It provides real-time similarity queries and can store millions of vector embeddings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of database is Neptune?

A

Graph database

Neptune is specifically designed for graph data management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fill in the blank: Amazon Bedrock can be used to build a _______ that answers customer queries.

A

ChatBot

The ChatBot utilizes a knowledge base to provide responses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a use case for RAG in legal research?

A

Providing information on laws, regulations, and case precedents

RAG can facilitate legal queries through a specialized ChatBot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What kind of data can be included in a healthcare knowledge base?

A
  • Diseases
  • Treatments
  • Clinical guidelines
  • Research papers
  • Previous patient data

This data helps answer complex medical queries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

True or False: RAG can be used to answer complex medical queries.

A

True

RAG applications can be designed for healthcare-related inquiries.

19
Q

What is AWS Bedrock?

A

AWS Bedrock is a fully managed service that allows users to build and scale generative AI applications using foundation models.

20
Q

True or False: AWS Bedrock supports only one type of foundation model.

21
Q

Fill in the blank: AWS Bedrock provides access to a variety of __________ models.

22
Q

What is RAG in the context of AWS Bedrock?

A

RAG stands for Retrieval-Augmented Generation, a technique that combines retrieval and generation for improved AI performance.

23
Q

Which AWS service is primarily used for data storage when implementing RAG?

24
Q

Multiple Choice: Which of the following is a benefit of using AWS Bedrock?
A) Automatic scaling
B) Limited model access
C) High latency
D) Complex integration

A

A) Automatic scaling

25
What type of applications can be built using AWS Bedrock?
Generative AI applications
26
True or False: AWS Bedrock requires extensive machine learning knowledge to use.
False
27
What does RAG improve in AI applications?
The accuracy and relevance of generated content.
28
Fill in the blank: AWS Bedrock aims to simplify __________ for developers.
AI development
29
Multiple Choice: Which of the following tasks can AWS Bedrock models perform? A) Text generation B) Image recognition C) Data encryption D) Network monitoring
A) Text generation
30
What is the primary purpose of retrieval in RAG?
To fetch relevant information that can be used to enhance the generation process.
31
True or False: RAG only uses generative models without any retrieval component.
False
32
What does AWS stand for?
Amazon Web Services
33
Fill in the blank: AWS Bedrock is designed to work seamlessly with __________ services.
AWS
34
Multiple Choice: Which of the following is NOT a feature of AWS Bedrock? A) Integration with other AWS services B) On-premises deployment C) Model customization D) Easy model access
B) On-premises deployment
35
What is a foundation model?
A large model trained on diverse data that can be fine-tuned for specific tasks.
36
True or False: AWS Bedrock allows users to fine-tune models for their specific use cases.
True
37
Fill in the blank: RAG combines __________ with generative AI to enhance output.
retrieval
38
Which AWS service can be used alongside Bedrock for data analysis?
Amazon SageMaker
39
What is the advantage of using RAG in generative AI applications?
It helps generate more contextually relevant and accurate responses.
40
Multiple Choice: AWS Bedrock is primarily aimed at which type of users? A) Data scientists only B) Developers and businesses C) Hardware engineers D) Network administrators
B) Developers and businesses
41
True or False: AWS Bedrock provides a user-friendly interface for model deployment.
True
42
What role does Amazon S3 play in RAG?
It serves as a storage solution for data that can be retrieved during the generation process.
43
Fill in the blank: AWS Bedrock supports __________ deployment of AI models.
cloud-based