You want to find the most influential accounts in a network of who-follows-whom. Which approach fits?
- Exam domain
- Advanced Data Structures7% of the exam
- Difficulty
- Medium
- In this mock
- 4 questions on this domainPractise this domain
Why the exam asks this
Advanced Data Structures (7% of the exam)
Objective in the exam guide: Node importance evaluation and network relationship visualization
Node importance and graph representation are named.
Why B is the answer
Run PageRank on the graph with cuGraph
PageRank scores nodes by how many important nodes link to them. cuGraph runs it on GPUs.
Remember: PageRank finds influential nodes.
How it works
Graph data uses nodes and edges. cuGraph provides GPU algorithms such as PageRank.
In detail
- Graphs: nodes and edges.
- PageRank measures importance.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Compute the average account ageWrong
Age ignores the network.
B. Run PageRank on the graph with cuGraphRight
PageRank finds influential nodes.
C. Sort accounts alphabetically and take the first ten names on the listWrong
Alphabetical order is meaningless here.
D. Count the rows in the accounts tableWrongMost tempting
Row counts ignore connections.
Why it tempts: Counts feel like a measure of size.
Use case
An illustrative scenario, not a real incident.
Illustrative: PageRank finds 20 accounts that drive most reshares.
See it in different ways
sequenceDiagram participant P0 as Edge list participant P1 as cuGraph participant P2 as Analyst P0->>P1: build graph P1->>P2: PageRank scores P2-->>P1: visualize top nodes
How to read this chart
- 1. Edge list sends "build graph" to cuGraph.
- 2. cuGraph sends "PageRank scores" to Analyst.
- 3. cuGraph gets a reply from Analyst: "visualize top nodes".
mindmap
root(("Graphs"))
n1["Structure"]
n2["Nodes"]
n3["Edges"]
n4["Importance"]
n5["PageRank"]
n6["Degree"]
n7["Groups"]
n8["Communities"]How to read this chart
- The centre is "Graphs".
- "Structure" covers "Nodes", "Edges".
- "Importance" covers "PageRank", "Degree".
- "Groups" covers "Communities".