1Z0-1127-25 LLM Fundamentals Practice Question
A developer wants to compare two sentences for semantic similarity using embeddings. Which distance or similarity metric is most commonly used for dense vector representations?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Cosine similarity
Cosine similarity measures the cosine of the angle between two vectors, is commonly used for comparing embedding vectors, and ranges from -1 to 1, where 1 indicates identical direction.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Cosine similarity
Why this is correct
Cosine similarity is the standard metric for comparing embedding vectors because it focuses on orientation, not magnitude.
- ✗
Jaccard similarity
Why it's wrong here
Jaccard similarity is used for set overlap, not for dense vector embeddings.
- ✗
Manhattan distance
Why it's wrong here
Manhattan distance is also sensitive to magnitude and less commonly used for embedding similarity.
- ✗
Euclidean distance
Why it's wrong here
Euclidean distance is sensitive to vector magnitude, which may not be ideal for embeddings where direction matters more than length.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 1Z0-1127-25 question from scratch — 768 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 1Z0-1127-25 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-1127-25 exam.