mediumMultiple ChoiceObjective-mapped
MLA-C01 Practice Question: A team notices that inference requests to their…
A team notices that inference requests to their SageMaker endpoint are failing with '504 Gateway Timeout' for large payloads. What change should be made?
⚠ Common exam trap
Candidates often confuse a 504 timeout with a 413 payload too large error, leading them to incorrectly consider multi-model endpoints or data capture instead of adjusting the invocation timeout.
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
✓
Increase the endpoint's invocation timeout
A 504 Gateway Timeout indicates that the SageMaker endpoint's invocation timeout (default 60 seconds) was exceeded while processing a large payload. Increasing the invocation timeout allows the endpoint more time to complete inference for large payloads, resolving the timeout error.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable data capture on the endpoint
Why it's wrong here
Data capture logs requests but does not affect timeout behavior.
- ✓
Increase the endpoint's invocation timeout
Why this is correct
Increasing the invocation timeout allows more time for large payloads to be processed.
- ✗
Deploy a shadow endpoint for testing
Why it's wrong here
A shadow endpoint is for A/B testing, not for fixing timeout issues.
- ✗
Switch to a multi-model endpoint
Why it's wrong here
Multi-model endpoints do not inherently change timeout handling.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 835 original MLA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MLA-C01 practice question is part of Courseiva's free Amazon Web Services 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 MLA-C01 exam.