Databases With AI Quiz

Databases With AI: ten practice questions on retrieval concepts and a vector calculation. Every answer is explained.

Free, with no sign-up.

For High school students and adults reviewing the topic.

About 12 minutes. 10 questions.

How does it work?

  1. Choose one answer or enter a number in the stated unit, then check it.
  2. Read the explanation after answering.
  3. Round only the final answer to the precision requested.

What will you get?

Review your score and the reasoning for each answer.

Question 1Two embeddings are (3, 4) and (4, 3). Calculate their cosine similarity as a decimal rounded to two decimal places.

Answers within 0.005 of the expected value are accepted.

Question 2One customer asks for waterproof boots below a stated price. Which operation should enforce the price limit?
Question 3An answer generator receives selected passages from a document store for its current response. What has the retrieval step supplied?
Question 4A generated query runs successfully but joins orders to the wrong customer field. What has the successful execution established?
Question 5An assistant proposes moving stock between warehouses. Which mechanism prevents a half-completed transfer?
Question 6The search index still returns passages from a withdrawn policy. Which process needs repair?
Question 7A team rates an AI database system by how polished its answers sound. What would expose a retrieval failure hidden by fluent prose?
Question 8An application needs current inventory, but its model learned about products months earlier. Where should the current quantity come from?
Question 9A read-only reporting assistant is given database administrator credentials. What change limits the damage from an erroneous query?
Question 10A small application needs semantic retrieval over a modest collection. Which principle supports choosing whether to add a separate vector service?

Answer every question to see and share your score.

Read the topic guide