AI0-001 AI Concepts and Techniques Practice Question
A developer is using a pre-trained BERT model for a question-answering system. They want to ensure the model can handle out-of-vocabulary words. Which component of the BERT architecture is responsible for this?
⚠ Common exam trap
The trap here is that candidates often associate 'handling unknown words' with the attention mechanism or positional encoding, but the CompTIA exam specifically tests the understanding that tokenisation—not the model's internal layers—is what makes BERT robust to OOV words.
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
✓
WordPiece tokenisation
WordPiece tokenisation is the component of BERT that handles out-of-vocabulary (OOV) words by breaking them into subword units (e.g., 'playing' → 'play' + '##ing'). This allows the model to represent any word, even unseen ones, as a sequence of known subword tokens, ensuring no word is truly out of vocabulary.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Positional encoding
Why it's wrong here
Positional encoding adds information about token position, not OOV handling.
- ✗
Feed-forward layers
Why it's wrong here
Feed-forward layers transform representations but do not address tokenisation.
- ✓
WordPiece tokenisation
Why this is correct
WordPiece tokenisation splits rare words into subwords, enabling handling of any input.
- ✗
Attention mechanism
Why it's wrong here
Attention helps the model focus on relevant parts but does not handle OOV tokens.
About these practice questions
This AI0-001 question is part of Courseiva's 754-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI0-001 practice question is part of Courseiva's free CompTIA 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 AI0-001 exam.