Courseiva

NCA-GENL Data Analysis and Visualization Practice Question

You are analyzing token probability distributions from an LLM inference service to detect hallucination risk. You need a single visualization that shows, for one generated response, how the model's confidence evolved token-by-token and where it suddenly dropped. Which visualization is most appropriate?

⚠ Common exam trap

The trap here is assuming any probability-based plot works, when aggregate distributions and embedding projections discard the sequential per-token ordering the scenario requires.

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 line chart of the top-1 token probability across generation steps, with a marked threshold line.

Tracking the top-1 token probability across generation steps preserves sequence order and directly encodes model confidence at each step. Adding a threshold line turns the chart into an alerting view where abrupt dips flag possible hallucination regions. Aggregated or embedding-based views lose the temporal resolution needed for this per-response diagnosis.

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 confusion matrix of predicted versus reference tokens for the entire batch.

    Why it's wrong here

    A confusion matrix aggregates correct and incorrect predictions over many samples, collapsing the sequential order of a single response. It cannot show token-by-token confidence evolution or pinpoint a sudden drop within one generation, so it fails the stated analytical goal.

  • ✗

    A t-SNE scatter plot of the final hidden state embeddings for the batch.

    Why it's wrong here

    A t-SNE projection of hidden states is useful for inspecting cluster structure, but it compresses each sequence into a point and loses per-token probability information. It cannot reveal where confidence dropped at a specific generation step.

  • ✓

    A line chart of the top-1 token probability across generation steps, with a marked threshold line.

    Why this is correct

    Plotting the top-1 token probability per generation step on a line chart directly shows confidence evolution, and a threshold line makes sudden drops visually obvious. This matches the need to detect where the model became uncertain within one response, enabling targeted review of hallucination-prone spans.

  • ✗

    A histogram of maximum token probabilities across all requests in the last hour.

    Why it's wrong here

    A histogram summarizes the distribution of a statistic across many requests, discarding sequence position. It would tell you how often confidence is low in aggregate, but not how confidence changed during the single response you are investigating.

About these practice questions

This NCA-GENL question is part of Courseiva's 367-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.