Which pairing of Python package and job is correct?
- Exam domain
- Multimodal Data15% of the exam
- Difficulty
- Easy
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Multimodal Data (15% of the exam)
Objective in the exam guide: Familiarity with the capabilities of Python natural language packages (spaCy, NumPy, vector databases, etc.).
The exam expects you to know which package fits which job.
Why C is the answer
spaCy for tokenization and named-entity recognition
spaCy is a natural language processing library for tokenization, tagging and named-entity recognition. NumPy handles arrays, and Keras builds neural networks.
Remember: spaCy does NLP; NumPy does arrays; Keras does models.
How it works
spaCy handles NLP tasks; NumPy provides arrays and math; vector databases store embeddings for similarity search.
In detail
- spaCy: NLP pipelines.
- NumPy: arrays. Keras: neural networks.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. NumPy for storing embeddings in a vector database serviceWrong
NumPy arrays are in memory; it is not a vector database.
B. Keras for tokenizing and tagging English textWrongMost tempting
Keras builds models; text processing is spaCy's job.
Why it tempts: Keras is a familiar name in deep learning, so it gets matched to any text task.
C. spaCy for tokenization and named-entity recognitionRight
spaCy does NLP; NumPy does arrays; Keras does models.
D. spaCy for GPU kernel tuningWrong
spaCy is not a GPU kernel tool.
Use case
An illustrative scenario, not a real incident.
Illustrative: a team uses spaCy to pull product names from tickets before embedding them.
See it in different ways
mindmap
root(("Python packages"))
n1["spaCy"]
n2["Tokens"]
n3["Entities"]
n4["NumPy"]
n5["Arrays"]
n6["Vector math"]
n7["Keras"]
n8["Neural network layers"]
n9["Vector DB"]
n10["Similarity search"]How to read this chart
- The centre is "Python packages".
- "spaCy" covers "Tokens", "Entities".
- "NumPy" covers "Arrays", "Vector math".
- "Keras" covers "Neural network layers".
- "Vector DB" covers "Similarity search".
flowchart LR S0["spaCy tokenizes"] --> S1["Embed text"] --> S2["NumPy array"] --> S3["Store in vector DB"] --> S4["Search"]
How to read this chart
- Read it in order: spaCy tokenizes, then Embed text, then NumPy array, then Store in vector DB, then Search.