0
0
MLOpsdevops~20 mins

Why serving architecture affects latency and cost in MLOps - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Serving Architecture Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How does a centralized serving architecture impact latency?

Imagine a machine learning model served from a single central server to users worldwide. What is the main effect of this setup on latency?

ALatency increases for distant users due to longer network travel times.
BLatency decreases because the server is optimized for all users.
CLatency stays the same regardless of user location.
DLatency is eliminated by using a central server.
Attempts:
2 left
💡 Hint

Think about how distance affects travel time for data packets.

🧠 Conceptual
intermediate
2:00remaining
Why does distributed serving architecture reduce latency?

What is the main reason a distributed serving architecture can reduce latency for users?

AIt uses more powerful servers in one location.
BIt compresses data to speed up processing.
CIt caches results on the client device.
DIt places model servers closer to users, reducing network travel time.
Attempts:
2 left
💡 Hint

Consider how physical proximity affects data travel time.

💻 Command Output
advanced
2:00remaining
Cost impact of autoscaling in serving architecture

Given this autoscaling configuration snippet for a model serving deployment, what is the expected effect on cost when traffic spikes?

MLOps
autoscaling:
  min_replicas: 1
  max_replicas: 10
  target_cpu_utilization_percentage: 50
ACost increases as replicas scale up to handle traffic spikes.
BCost decreases because fewer replicas are used during spikes.
CCost stays fixed regardless of traffic changes.
DCost is eliminated by autoscaling.
Attempts:
2 left
💡 Hint

Autoscaling adds more replicas when CPU usage is high.

Troubleshoot
advanced
2:00remaining
Troubleshooting high latency despite distributed serving

A distributed serving system still shows high latency for some users. Which issue is the most likely cause?

AAutoscaling is disabled.
BToo many replicas are running, causing overload.
CNetwork congestion between user and nearest server.
DModel size is too small to process requests quickly.
Attempts:
2 left
💡 Hint

Think about factors outside the server that affect latency.

Best Practice
expert
3:00remaining
Choosing serving architecture to balance cost and latency

Which serving architecture best balances low latency and controlled cost for a global user base with variable traffic?

AUse a single powerful central server running at full capacity all the time.
BUse distributed servers with autoscaling to add replicas only when needed.
CUse distributed servers without autoscaling, always running max replicas.
DUse client-side model inference to eliminate servers.
Attempts:
2 left
💡 Hint

Consider how autoscaling helps manage cost during low traffic.