ML Model for Text Completion in AWS
A company has documents that are missing some words because of a database error. The company wants to build an ML model that can suggest potential words to fill in the missing text. Which type of model meets this requirement?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The question tests knowledge of NLP model capabilities, with the common trap being confusion between unsupervised clustering/topic modeling and supervised/fine-tuned generation tasks.
BERT-based models are the correct solution for predicting missing words in text due to their bidirectional context understanding. The community consensus confirms that BERT is specifically designed for masked token prediction tasks.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
BERT (Bidirectional Encoder Representations from Transformers) is a pre-trained language model that excels at understanding context by looking at both left and right sides of a word. This makes it ideal for 'fill-in-the-blank' or masked language modeling tasks, where the goal is to predict missing tokens based on surrounding context.Why the Other Options Are Wrong
Topic modeling (A) identifies abstract topics in documents rather than filling specific missing words. Clustering models (B) group similar data points without generating text. Prescriptive ML models (C) focus on recommending actions based on outcomes, not linguistic completion.Community Comment Notes
Comments consistently highlight BERT's bidirectional nature as the key differentiator. Users note that BERT is pre-trained for masked token prediction, making it the standard choice for this type of natural language processing task in AWS certification contexts.Official Reference
Exam Strategy
When asked about text completion, gap-filling, or semantic understanding, prioritize transformer-based models like BERT over traditional statistical methods. Distinguish clearly between generative tasks (creating text) and analytical tasks (clustering/topics).
Related Analysis
Practice All AIF-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AIF-C01 Practice Test →