Courseiva
LLM FundamentalshardMultiple ChoiceObjective-mapped

1Z0-1127-25 LLM Fundamentals Practice Question

In the self-attention mechanism, what is the role of the 'scaling factor' (division by sqrt(d_k)) in the softmax computation?

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

To prevent the softmax from saturating and producing small gradients

Scaling prevents the dot products from growing too large in magnitude, which would push softmax into regions with extremely small gradients.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • To make the attention mechanism translation invariant

    Why it's wrong here

    Scaling does not provide translation invariance.

  • To prevent the softmax from saturating and producing small gradients

    Why this is correct

    Scaling avoids large values that cause softmax saturation.

  • To increase the variance of attention scores

    Why it's wrong here

    Scaling reduces variance to maintain gradient flow.

  • To ensure the sum of attention weights equals 1

    Why it's wrong here

    Softmax already ensures normalization; scaling does not affect the sum.

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 →

How Courseiva writes practice questions · Editorial policy

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.