Courseiva

NCA-GENL Data Analysis and Visualization Practice Question

You are analyzing the output of an LLM inference endpoint that returns a JSON payload containing a top-k token probability distribution for a single generated step. Which visualization most directly communicates the model's confidence ranking across the returned tokens?

⚠ Common exam trap

The trap here is assuming any chart of the probabilities works, when the scenario specifically requires conveying ranking and relative confidence among tokens.

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

✓

A horizontal bar chart with tokens on the y-axis sorted by probability descending.

Ranking data is best shown with sorted bar lengths because position and length are preattentively processed. A descending horizontal bar chart lets a reviewer instantly see the top token and the margin over runners-up, which is exactly the confidence information the JSON payload contains. Other chart types either distort magnitude judgments or plot against irrelevant dimensions.

Answer analysis

Option-by-option breakdown

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

  • ✗

    A scatter plot of probability versus vocabulary index position.

    Why it's wrong here

    Vocabulary index position has no semantic meaning for interpreting model confidence, so the scatter plot adds noise. While it could reveal patterns related to tokenizer ordering, it does not present a clean ranking of the returned tokens. The scenario needs a direct view of which tokens are most probable, which this visualization does not provide.

  • ✓

    A horizontal bar chart with tokens on the y-axis sorted by probability descending.

    Why this is correct

    A sorted horizontal bar chart maps each token to a bar whose length encodes probability, making the ranking and relative confidence gaps immediately visible. Because token labels can be long, horizontal orientation preserves readability. This directly answers the scenario's need to communicate confidence ranking across returned tokens without requiring additional transformation.

  • ✗

    A line chart plotting probability against token string length.

    Why it's wrong here

    Plotting probability against token string length answers a different question: whether longer tokens are more or less likely. The scenario asks for confidence ranking across tokens, which this chart obscures because token identity is collapsed onto a numeric x-axis. It cannot show which specific token is most probable, so it fails the requirement.

  • ✗

    A pie chart showing each token's probability as a slice of the total mass.

    Why it's wrong here

    A pie chart encodes value as angle and area, which humans judge poorly, especially when many slices have similar sizes. With top-k tokens the slices are often close in magnitude, so the ranking becomes ambiguous. It also wastes space on labels and cannot easily show descending order, making it a poor choice for communicating confidence ranking.

About these practice questions

One of 367 original NCA-GENL practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official NVIDIA exam blueprint

This NCA-GENL practice question is part of Courseiva's free NVIDIA 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 NCA-GENL exam.