Skip to main content

Basic AI Fundamentals Quiz

No.Training UnitLectureTraining contentQuestionLevelMarkAnswerAnswer Option AAnswer Option BAnswer Option CAnswer Option DExplanation
1Unit 1: Basic AI FundamentalsLec1RAG ArchitectureWhat is RAG (Retrieval-Augmented Generation), a hybrid AI architecture, designed to do?Medium1CIncrease the speed of natural language processingReduce the cost of training language modelsEnhance the quality and reliability of Large Language ModelsIncrease the creativity of language modelsRAG is designed to enhance the quality and reliability of Large Language Models (LLMs) by integrating an information retrieval step from an external knowledge base before the LLM generates text.
2Unit 1: Basic AI FundamentalsLec1RAG Core ProblemsWhat is one of the core technical problems that RAG solves?Easy1AReduce hallucination (making up information)Improve data retrieval speedIncrease data storage capacityEnhance information securityRAG addresses limitations of traditional LLMs such as hallucination, outdated knowledge, lack of transparency, and difficulty accessing specialized knowledge.
3Unit 1: Basic AI FundamentalsLec1RAG vs Fine-tuningWhat is the advantage of RAG over fine-tuning when updating knowledge for LLMs?Medium1DRAG is only suitable for unstructured dataRAG requires greater computing resourcesRAG has lower transparencyRAG allows faster knowledge updatesRAG allows quick and nearly instant knowledge updates by updating the vector database, while fine-tuning requires retraining the model, which is expensive and slower.
4Unit 1: Basic AI FundamentalsLec1RAG Use CasesWhen should you choose RAG instead of fine-tuning an LLM?Medium1AWhen you need to add factual knowledge and answer questions based on new dataWhen you need to reduce model operating costsWhen you need to enhance the model's reasoning abilityWhen you need to adjust the model's behavior and styleRAG is suitable when you need to add factual knowledge and answer questions based on new data, while fine-tuning is appropriate when you need to adjust behavior, style, or learn a new skill.
5Unit 1: Basic AI FundamentalsLec1RAG PipelineIn the RAG architecture, which phase occurs once or periodically to prepare data?Easy1DQuery vectorization phaseSimilarity search phaseRetrieval and answer generation phase (Retrieval Generation Online)Data indexing phase (Indexing Offline)The Data Indexing phase (Indexing Offline) occurs once or periodically to prepare data for RAG.
6Unit 1: Basic AI FundamentalsLec1ChunkingWhat is the purpose of dividing data into smaller text chunks in the 'Load and Chunk' step?Easy1ATo ensure semantics are not lost and optimize for searchingTo simplify the vectorization processTo reduce the storage capacity of dataTo speed up data loading into the systemChunking ensures that semantics are not lost and optimizes for searching.
7Unit 1: Basic AI FundamentalsLec1Vector SimilarityWhat is the most common method for measuring similarity between query vectors and document vectors in a Vector Database?Medium1CManhattan distanceJaccard similarityCosine SimilarityEuclidean distanceCosine Similarity is the most common method for measuring the cosine angle between two vectors.
8Unit 1: Basic AI FundamentalsLec1RAG Online PhaseWhat happens to the user's question in the first step of the 'Retrieval and Answer Generation' phase?Easy1DThe question is stored in the databaseThe question is divided into smaller chunksThe question is translated to another languageThe question is vectorized using an Embedding modelThe user's question is vectorized using an Embedding model.
9Unit 1: Basic AI FundamentalsLec1Embedding QualityThe quality of which component directly affects the effectiveness of the entire RAG system?Medium1AEmbedding modelSimilarity search methodVector databasePrompting techniqueThe quality of the Embedding model directly affects the effectiveness of the entire system.
10Unit 1: Basic AI FundamentalsLec1Softmax FunctionIn the LLM model, what is the role of the Softmax function?Hard1AConvert scores (logits) into a probability distribution to select the most likely wordFilter out irrelevant sentences or information in text chunksCalculate scores (logits) for all words in the vocabularySearch for suitable text chunksThe Softmax function converts scores (logits) into a probability distribution, helping the model select the most likely word to appear.
11Unit 1: Basic AI FundamentalsLec1HyDE TechniqueWhat is the HyDE (Hypothetical Document Embeddings) technique used for?Hard1AExpand the input query to improve retrieval resultsRe-evaluate the relevance of each (question, chunk) pairFilter out irrelevant information in text chunksCombine the power of keyword search and vector searchHyDE uses a small LLM to generate a hypothetical document containing the answer, then uses this document's vector for searching, improving retrieval results.
12Unit 1: Basic AI FundamentalsLec1Hybrid SearchWhat is Hybrid Search?Medium1AA method that combines the power of keyword search and vector searchA method that re-evaluates the relevance of each (question, chunk) pairA method that transforms questions to improve retrieval resultsA method that compresses context before putting it into the promptHybrid Search combines keyword search (e.g., BM25) and vector search to achieve more comprehensive results.
13Unit 1: Basic AI FundamentalsLec1Context CompressionWhat is the purpose of Context Compression?Medium1DRearrange potential candidates to select the top quality chunksTransform input questions to improve retrieval resultsImprove the accuracy of information retrievalReduce prompt length and help LLM focus on core informationContext Compression helps reduce prompt length and helps the LLM focus on core information by filtering out irrelevant information.
14Unit 1: Basic AI FundamentalsLec1Re-rankerWhat is the role of a Re-ranker in the RAG process?Medium1CCompress text chunks to reduce prompt lengthTransform the original question to improve retrieval resultsRe-evaluate the relevance of each (question, chunk) pair and reorder themSearch for text chunks based on keywordsRe-ranker re-evaluates the relevance of each (question, chunk) pair and reorders them to select the top quality chunks.
15Unit 1: Basic AI FundamentalsLec1Retriever FailureWhat happens if the retrieval system (retriever) does not find accurate documents in the RAG system?Medium1BThe system will automatically adjust retrieval parameters to find more suitable documentsThe Large Language Model (LLM) cannot answer correctlyThe Large Language Model (LLM) will search for information from external sources to compensate for missing dataThe Large Language Model (LLM) can still generate accurate answers based on prior knowledgeIf the retriever does not find the correct documents, no matter how smart the LLM is, it cannot answer correctly.
16Unit 1: Basic AI FundamentalsLec1Lost in the MiddleWhat does the 'Lost in the Middle' syndrome in RAG systems refer to?Hard1AThe tendency of LLMs to focus on information at the beginning and end of long contexts, ignoring information in the middleText chunks having duplicate information in the middle, causing noise in processingDifficulty integrating LLMs in the middle of the retrieval and generation processDelays in information retrieval when relevant documents are in the middle position in the databaseWhen prompts contain long contexts, LLMs tend to focus only on information at the beginning and end, easily ignoring important details in the middle.
17Unit 1: Basic AI FundamentalsLec1Faithfulness EvaluationWhat does 'Faithfulness' evaluation in RAG systems measure?Medium1AThe degree to which the generated answer adheres to the provided contextThe speed of processing and generating answers by the systemThe relevance of the answer to the user's questionThe system's ability to retrieve information from different sourcesFaithfulness measures the degree to which the generated answer adheres to the provided context. Does the system add information on its own?
18Unit 1: Basic AI FundamentalsLec1Attention MechanismWhat role does the Attention Mechanism play in the Transformer architecture of RAG systems?Hard1CImprove the model's parallel processing capability, helping to speed up computationReduce dependence on fully connected layers in the modelAllow the model to weigh the importance of different words in the input sequence for deep context understandingEnhance the ability to encode input information into semantic vectorsThe Attention Mechanism allows the model to weigh the importance of different words in the input sequence for deep context understanding.
19Unit 1: Basic AI FundamentalsLec1MRR MetricWhat does the Mean Reciprocal Rank (MRR) metric measure in Retrieval Evaluation?Hard1CMeasure the system's ability to synthesize information from different sourcesMeasure the relevance between the question and the generated answerMeasure the position of the first correct chunk in the returned result listMeasure the percentage of questions for which the system retrieves at least one chunk containing correct answer informationMean Reciprocal Rank (MRR) measures the position of the first correct chunk in the returned result list. The higher the position, the higher the MRR score.
20Unit 1: Basic AI FundamentalsLec1Value in RAGIn the RAG model, which element represents the actual extracted information?Medium1DKeyQueryKey vector dimension (d_k)ValueValue represents the actual extracted information in the RAG model.
21Unit 1: Basic AI FundamentalsLec1Multimodal RAGWhich RAG development direction allows retrieving information from different types of data such as images, audio, and text?Easy1AMultimodal RAGInternal RAG systemAgentic RAGRAG ChatbotMultimodal RAG allows retrieving information from different data sources, not just text.
22Unit 1: Basic AI FundamentalsLec1Agentic RAGWhich type of RAG application has the ability to ask sub-questions and interact with external tools to gather information?Medium1BInternal document RAG systemAgentic RAGMultimodal RAGRAG ChatbotAgentic RAG is more proactive in gathering information by asking sub-questions and interacting with external tools.
23Unit 1: Basic AI FundamentalsLec1Enterprise RAGWhich RAG application helps employees search for information in the company's internal documents quickly and accurately?Easy1DMultimodal RAGResearch and specialized analysis assistantSmart customer support chatbotsEnterprise internal document RAG systemEnterprise internal document RAG systems help employees search for information quickly and accurately.
24Unit 1: Basic AI FundamentalsLec1Interactive LearningWhat problem does RAG (Retrieval-Augmented Generation) application solve in interactive learning?Medium1CLimited access to learning materialsInaccurate assessment of learning outcomesBoredom and passivity when learning through textbooksLack of updated information in textbooksRAG creates interactive tools that allow students to interact with learning materials more actively compared to reading traditional textbooks.
25Unit 1: Basic AI FundamentalsLec1Financial RAGIn the financial field, how can RAG support analysts?Medium1ASummarize and analyze risks from long financial reportsManage personal investment portfoliosPredict stock market fluctuationsAutomatically create financial reportsRAG can summarize and analyze risks from long financial reports, helping analysts save time and make decisions faster.
26Unit 1: Basic AI FundamentalsLec1E-commerce RAGHow does RAG improve product recommendation systems on e-commerce sites?Medium1ARetrieve information from detailed descriptions, product reviews, and technical specificationsOptimize product prices based on competitorsProvide 24/7 online customer support servicesEnhance the ability to predict customer needsRAG retrieves information from detailed descriptions, product reviews, and technical specifications to provide personalized recommendations, rather than relying solely on click history.
27Unit 1: Basic AI FundamentalsLec1RAG Distinctive FeatureWhat is the distinctive feature of RAG compared to traditional generative AI systems?Medium1DIntegration with cloud platforms to increase scalabilityUsing the most advanced deep learning algorithmsAbility to automatically adjust parameters to optimize performanceCombining the deep language capabilities of LLMs with the accuracy of external knowledge basesRAG combines the language capabilities of LLMs with the accuracy and up-to-date nature of external knowledge bases, creating more reliable and transparent AI applications.