
GIAC Machine Learning Engineer
Domain 1Objective 2
Leveraging Python GMLE Practice Questions (Page 3)
Part of the Foundational Data Science and Statistics domain, which makes up ~41% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~29–49 in this domain), expect 7–12 from this objective — we provide 36 practice questions to prepare you well beyond it. (estimate)
36questions here
8free pages
8concepts
Questions 11–15
- 11
A machine learning engineer is building a classification model with a highly imbalanced dataset. They want to evaluate the model's performance using cross-validation. They are considering using accuracy as the metric. Which approach is most appropriate?
Select an answer first - 12
Which Python data structure is ordered, changeable, and allows duplicate elements?
Select an answer first - 13
A developer is processing a stream of events. Each event is a dictionary with keys 'id', 'type', and 'value'. They need to aggregate the sum of 'value' for each 'type', but only for events that have a unique 'id' (i.e., ignore duplicate ids). The stream is large, and memory is a concern. Which data structure and approach is most efficient?
Select an answer first - 14
Which Scikit-learn method is used to train a model on training data?
Select an answer first - 15
Which Matplotlib function is used to create a simple line plot?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GMLE” is a trademark of its owner, used for identification only.