GIAC Machine Learning Engineer (GMLE) Exam Prep
Free practice questions

Free GMLE Practice Questions

10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.

Start the free practice test → ★★★★★4.9/5 from 2,400+ candidates · No signup

The GMLE exam has 82 questions and runs 3 hours.

These 10 free GMLE questions are organized by exam domain, so you can see how each part of the GIAC Machine Learning Engineer (GMLE) blueprint is tested. Reveal the answer and explanation under each question.

Domain 1: Anomaly Detection and Optimization

Question 1

Minutes after a parser release, an isolation control driven by autoencoder reconstruction error starts disconnecting healthy production hosts. Feed A now reports durations in milliseconds, but its fitted scaler and model expect seconds; replay confirms that this unit change causes the false isolations. Feed B has a separate model and preprocessing, both verified unchanged and valid. The two feeds can trigger isolation independently. What should the on-call engineer change first?

Show answer & explanation

Correct answer: B - Pause feed A's isolation action and verify the unit correction before restoring it.

Domain 2: Clustering

Question 2

In a scikit-learn DBSCAN result using unweighted observations, the core points form two disconnected groups: no chain of core-to-core steps within eps connects them. A non-core point z lies within eps of a core point in each group. If the rows are processed in a different order, which property is preserved?

Show answer & explanation

Correct answer: A - Point z joins exactly one group; the core groups stay separate.

Domain 3: Convolutional Neural Networks

Question 3

A log-classification model receives 40 token vectors per log, each with 16 features, in channels-last order. It applies Conv1D with 32 filters, kernel width 3, stride 1, dilation 1 and valid padding, followed by GlobalMaxPooling1D over the token axis with keepdims=False. The dense classifier therefore receives:

Show answer & explanation

Correct answer: C - 32 features

Domain 4: Data Acquisition

Question 4

An enrichment query must retain every event exactly once, attaching 'high' only when the source IP has a high-risk intelligence record and NULL otherwise. The events table has one row per event. The intel table has at most one row per src_ip, with risk either 'high' or 'low'. Some events match high-risk records, some match low-risk records, and others have no match. Select the query that preserves all three groups.

Show answer & explanation

Correct answer: A - SELECT e.event_id, i.risk FROM events AS e LEFT JOIN intel AS i ON e.src_ip = i.src_ip AND i.risk = 'high';

Domain 5: Leveraging Python

Question 5

An engineer edits two NumPy subsets while preparing features from a raw flow array. Trace the following assignments: import numpy as np flows = np.array([[5, 50], [7, 70], [9, 90]]) durations = flows[:, 1] sample = flows[[0, 2], :] durations[0] = -1 sample[1, 0] = 0 What is flows.tolist() after both edits?

Show answer & explanation

Correct answer: D - [[5, -1], [7, 70], [9, 90]]

Domain 6: Neural Networks

Question 6

A host-monitoring model reports scanning, unusual data transfer, and repeated authentication failures. Each finding has its own 0/1 target, and any combination may occur in the same host-hour. The output must provide a probability for each finding. How should the output layer and loss be configured?

Show answer & explanation

Correct answer: B - Three sigmoid outputs with binary cross-entropy on probabilities.

Domain 7: Probability and Frequency

Question 7

A detector is deployed where 1% of hosts are compromised. At its operating threshold, it alerts on 95% of compromised hosts and 2% of uncompromised hosts. These rates apply to the deployment population. Policy permits automatic containment only when the probability of compromise exceeds 50%; other alerts go to an analyst. A host generates a positive alert with no additional evidence. Which routing decision and probability estimate are consistent with the evidence?

Show answer & explanation

Correct answer: C - Send the alert to an analyst; the probability of compromise is approximately 32%.

Domain 8: Regressions

Question 8

For a sandbox execution-time regressor, a held-out set of verified benign programs shows residuals centered near zero throughout the predicted-time range. Their spread, however, increases substantially for longer predicted runs. A single absolute-residual cutoff flags a much larger fraction of long-running programs. Which diagnosis best accounts for the uneven false-alert rate?

Show answer & explanation

Correct answer: A - Heteroscedasticity; equal-sized residuals need not be equally unusual across the prediction range.

Domain 9: Statistics Fundamentals

Question 9

Most transfers in a month's records are small, but a few scheduled backups are extremely large. The backup values have been verified as accurate and legitimate. A report needs both a description of a typical transfer and the full month's aggregate volume. Which combination keeps those two purposes distinct?

Show answer & explanation

Correct answer: D - Use the median and interquartile range for typical transfers; use the mean times the transfer count for aggregate volume.

Domain 10: Supervised Learning

Question 10

Two RBF support-vector classifiers use the same standardized telemetry, the same training and test sets, and C = 1. Raising gamma from 0.02 to 20 improves training accuracy but reduces test accuracy. The new decision surface has small isolated regions around training examples. This change is explained by:

Show answer & explanation

Correct answer: D - Narrower influence around each support vector, permitting more localized decision regions.

That's 10 of 1,030

The full bank has 1,020 more GMLE questions with explanations.

Continue in the free practice test →

View plans