The answer is a memory leak in the model serving container causing gradual slowdown. This is the most likely root cause of the latency spike because the log entries show a gradual increase in response times over hours, not a sudden jump—a classic signature of memory exhaustion in ML model serving. As the container’s heap fills, the JVM or Python runtime triggers increasingly frequent and longer garbage collection pauses, which stall request processing and create the observed creeping latency. On the CompTIA AI+ AI0-001 exam, this question tests your ability to distinguish between gradual degradation (memory leaks) and abrupt spikes (network issues or resource contention); a common trap is to blame CPU throttling, but memory leaks produce a steady, compounding slowdown rather than a step change. Remember the mnemonic: “Gradual grows from garbage gluts”—if latency climbs slowly over time, suspect a memory leak before anything else.
AI0-001 AI Implementation and Operations Practice Question
This AI0-001 practice question tests your understanding of ai implementation and operations. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit.
```
Error Log:
[2025-03-15 10:23:45] ERROR: Model server 'prod-ml-01' failed health check.
[2025-03-15 10:23:46] WARNING: Inference latency exceeded threshold: 500ms (threshold 200ms).
[2025-03-15 10:23:47] INFO: Rolling restart initiated for 'prod-ml-01'.
```
An operations team sees the log entries above for a production ML model. What is the MOST likely root cause of the latency spike?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Refer to the exhibit.
```
Error Log:
[2025-03-15 10:23:45] ERROR: Model server 'prod-ml-01' failed health check.
[2025-03-15 10:23:46] WARNING: Inference latency exceeded threshold: 500ms (threshold 200ms).
[2025-03-15 10:23:47] INFO: Rolling restart initiated for 'prod-ml-01'.
```
A
A scheduled training job consuming GPU resources on the same node.
Why wrong: Training jobs are typically isolated from serving nodes.
B
A memory leak in the model serving container causing gradual slowdown.
Memory leak can cause garbage collection overhead and increased latency.
C
A network outage between the model server and the client.
Why wrong: Network outage would cause connection errors, not latency increase.
D
A bug in the model's preprocessing code causing incorrect predictions.
Why wrong: Incorrect predictions do not directly cause latency spikes.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
A memory leak in the model serving container causing gradual slowdown.
The log entries show a gradual increase in latency over time, which is characteristic of a memory leak in the model serving container. As memory consumption grows, garbage collection pauses become more frequent and longer, eventually causing request processing to slow down. This pattern is distinct from a sudden spike caused by resource contention or network issues.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
A scheduled training job consuming GPU resources on the same node.
Why it's wrong here
Training jobs are typically isolated from serving nodes.
✓
A memory leak in the model serving container causing gradual slowdown.
Why this is correct
Memory leak can cause garbage collection overhead and increased latency.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
A network outage between the model server and the client.
Why it's wrong here
Network outage would cause connection errors, not latency increase.
✗
A bug in the model's preprocessing code causing incorrect predictions.
Why it's wrong here
Incorrect predictions do not directly cause latency spikes.
Common exam traps
Common exam trap: answer the scenario, not the keyword
CompTIA often tests the distinction between gradual vs. sudden performance degradation patterns, where candidates mistakenly attribute a gradual latency increase to a transient resource contention event like a training job or network issue.
Detailed technical explanation
How to think about this question
Memory leaks in containerized ML models often occur when tensors or model weights are not properly released after inference, especially in frameworks like TensorFlow or PyTorch where default graph caching can accumulate references. The gradual latency increase is due to the JVM or Python garbage collector spending more time in stop-the-world phases as heap usage approaches the container's memory limit. Monitoring memory utilization via `nvidia-smi` or container-level metrics like `container_memory_working_set_bytes` would confirm the leak by showing a steady upward trend.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
AI Implementation and Operations — This question tests AI Implementation and Operations — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: A memory leak in the model serving container causing gradual slowdown. — The log entries show a gradual increase in latency over time, which is characteristic of a memory leak in the model serving container. As memory consumption grows, garbage collection pauses become more frequent and longer, eventually causing request processing to slow down. This pattern is distinct from a sudden spike caused by resource contention or network issues.
What should I do if I get this AI0-001 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.