Question 109 of 500
Fundamentals of Large Language ModelshardMultiple SelectObjective-mapped

Quick Answer

The correct statement is that the self-attention layer allows the model to weigh the importance of different tokens, as this mechanism computes attention scores by taking dot products between queries and keys, then applies a softmax function to normalize those scores into a probability distribution. This normalization ensures each token receives a relative weight, making the weighted sum of values both stable and interpretable. On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this concept tests your understanding of how transformers process sequential data without recurrence, often appearing in questions about attention mechanisms or multi-head attention. A common trap is confusing the softmax normalization step with the dot product calculation itself—remember that softmax is applied after the dot product to produce the final attention weights. For a memory tip, think of self-attention as a spotlight: the dot product finds where to shine, and softmax decides how bright each spot should be.

1Z0-1127 Fundamentals of Large Language Models Practice Question

This 1Z0-1127 practice question tests your understanding of fundamentals of large language models. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which three statements about transformer architecture are correct? (Choose three.)

Question 1hardmulti select
Full question →

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

The softmax function is used in the attention mechanism to normalize attention scores.

Option A is correct because the softmax function is applied to the raw attention scores (the dot products between queries and keys) to convert them into a probability distribution that sums to 1. This normalization allows the model to assign a relative weight to each token in the sequence, ensuring that the weighted sum of values is stable and interpretable.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • The softmax function is used in the attention mechanism to normalize attention scores.

    Why this is correct

    Softmax converts attention scores into probabilities.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The feed-forward network applies a different set of weights for each token position.

    Why it's wrong here

    The feed-forward network shares weights across all positions.

  • Positional encodings are necessary because the model is not recurrent.

    Why this is correct

    Without recurrence, positional info must be added via encodings.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The self-attention layer allows the model to weigh the importance of different tokens.

    Why this is correct

    Self-attention computes attention weights that determine token importance.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The encoder-decoder structure is used in GPT models.

    Why it's wrong here

    GPT uses a decoder-only architecture.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Oracle often tests the distinction between encoder-decoder and decoder-only architectures, trapping candidates who assume all transformer-based models follow the original encoder-decoder design, when in fact GPT and other autoregressive models use only the decoder stack.

Detailed technical explanation

How to think about this question

The softmax function in attention computes attention weights as exp(score_i) / sum(exp(score_j)), which not only normalizes but also amplifies differences between scores due to the exponential operation. In practice, a scaling factor of 1/sqrt(d_k) is applied to the dot products before softmax to prevent gradients from becoming too small in high-dimensional spaces, a detail known as scaled dot-product attention. This mechanism allows transformers to dynamically focus on relevant parts of the input, enabling parallel processing and long-range dependencies.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the 1Z0-1127 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 1Z0-1127 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 1Z0-1127 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 1Z0-1127 question test?

Fundamentals of Large Language Models — This question tests Fundamentals of Large Language Models — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The softmax function is used in the attention mechanism to normalize attention scores. — Option A is correct because the softmax function is applied to the raw attention scores (the dot products between queries and keys) to convert them into a probability distribution that sums to 1. This normalization allows the model to assign a relative weight to each token in the sequence, ensuring that the weighted sum of values is stable and interpretable.

What should I do if I get this 1Z0-1127 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 1Z0-1127 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 exam.