SnowPro Advanced: MLOps Engineer free question 3 / 10 · Domain 2: MLOps Infrastructure and Management
A compute pool runs a long-running service that serves a demo app and two job services that are training models. To save cost over the weekend, an administrator suspends the pool with ALTER COMPUTE POOL. What happens to the two training jobs?
- They move to other nodes, as the pool keeps nodes for running jobs.
- They are suspended with the service and resume when the pool resumes.
- They are cancelled at once, because a STOPPING pool releases its nodes.
- They keep running until DONE or FAILED, and then the nodes are released.
Show the answer and explanation
Answer: D
Why this is correct
The section "Compute pool lifecycle" describes the transient STOPPING state. When you suspend a compute pool, it enters STOPPING until Snowflake has released all its nodes. Snowflake suspends all services except the job services, which continue to run until they reach a terminal state, DONE or FAILED; after that the compute pool nodes are released. So the demo service stops, while the two training jobs run to completion before the pool becomes SUSPENDED.
Why the other options are wrong
"They are suspended with the service and resume when the pool resumes." … Suspension treats the two kinds of work differently. The long-running service is suspended, but job services are the stated exception and are not paused for a later resume.
"They are cancelled at once, because a STOPPING pool releases its nodes." … The pool stays in the STOPPING state until Snowflake has released all nodes, and the job services keep running during that time. The nodes are released after the jobs reach a terminal state, not before.
"They move to other nodes, as the pool keeps nodes for running jobs." … A suspended pool ends up with no running virtual machine nodes. The jobs finish on the nodes they are already using, and those nodes are released afterwards rather than kept for other work.
Suspending is not the same as stopping jobs
Because job services run to completion, suspending a pool will not cut the cost of a training job that is already running. If a job has to stop, stop the job itself. A SUSPENDED pool with AUTO_RESUME set to TRUE resumes automatically when a service is next scheduled.