NCA-ADS - Advanced Data Structures - Section 7.3

Evaluate node importance.

Evaluate node importance in a graph using centrality metrics such as degree centrality, betweenness centrality, and PageRank. Compare these measures and choose the one that best reflects the domain definition of influence or connectivity in the specific graph.

Practice question for this objective

Free sampleAdvanced Data Structureshard

An analyst is scoring nodes in an undirected social influence network, where a node should receive a high score when its neighbours are themselves high-scoring, and no random-walk or teleportation behaviour is required. After building the graph with cuGraph, which centrality algorithm should the analyst apply?

  • APageRank
  • BBetweenness centrality
  • CDegree centrality
  • DEigenvector centrality Correct
Distinguish eigenvector centrality from PageRank and degree centrality when recursive neighbour prestige must drive node importance scores. Eigenvector centrality is the appropriate measure when a node's importance should be a linear function of the importance of the nodes pointing to it - the classic recursive-prestige or authority model. It is defined as the principal eigenvector of the adjacency matrix, found iteratively: each node's score is updated to be proportional to the sum of its neighbours' current scores until convergence. PageRank is a closely related but distinct algorithm that adds a damping factor (teleportation) to handle dangling nodes and convergence issues in web-scale directed graphs; it is not pure eigenvector centrality. Degree centrality is non-recursive. Betweenness centrality measures path-bridging, not prestige. In cuGraph, eigenvector centrality is available via cugraph.eigenvector_centrality, accepting a cuGraph DiGraph and a maximum-iterations parameter.

Why A is wrong: PageRank is a popular centrality and so is tempting, but it augments eigenvector centrality with a damping and teleportation factor designed for directed web link graphs; on a plain undirected influence network that random-walk behaviour is unnecessary and is not what the important-neighbours criterion asks for.

Why B is wrong: Betweenness centrality counts shortest-path passage frequency and is suited to finding structural bridges. It does not account for whether a node's neighbours are themselves important, so it cannot model the recursive prestige the question describes.

Why C is wrong: Degree centrality for a directed graph can be split into in-degree and out-degree counts. In-degree measures raw incoming link count but treats all source nodes as equally valuable, ignoring the recursive importance of those sources entirely.

Why D is correct: Eigenvector centrality assigns each node a score proportional to the sum of its neighbours' scores, solved iteratively as the principal eigenvector of the adjacency matrix. This directly encodes the recursive property that a node is important if its in-neighbours are important, matching the authority-scoring requirement.

See more NCA-ADS practice questions, answers explained.

More in this domain

Back to all Advanced Data Structures objectives, or the NCA-ADS cert hub.

Examworthy is not affiliated with or endorsed by NVIDIA. Original, blueprint-aligned practice material only.