0
0
Azurecloud~20 mins

Azure Spot VMs for cost savings - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Azure Spot VM Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Azure Spot VM eviction behavior

You deploy an Azure Spot VM to save costs. What happens when Azure needs the capacity back?

AThe VM is converted automatically to a standard pay-as-you-go VM.
BThe VM is immediately deleted without warning.
CThe VM continues running but with reduced performance.
DThe VM is stopped and deallocated, allowing you to restart it later.
Attempts:
2 left
💡 Hint

Think about how Azure handles temporary resources and your ability to restart.

Architecture
intermediate
2:00remaining
Designing a fault-tolerant application using Azure Spot VMs

You want to use Azure Spot VMs for a batch processing job that can tolerate interruptions. Which architecture best supports this?

AUse a Virtual Machine Scale Set with Spot VMs and automatic reimaging on eviction.
BDeploy Spot VMs behind a load balancer with no autoscaling.
CDeploy a single Spot VM with no backup and manually restart if evicted.
DUse only standard VMs with reserved instances for guaranteed uptime.
Attempts:
2 left
💡 Hint

Consider how to handle VM evictions automatically and scale out.

security
advanced
2:00remaining
Security considerations for Azure Spot VMs

Which security risk is most relevant when using Azure Spot VMs for sensitive workloads?

ASpot VMs do not support encryption at rest.
BSpot VMs cannot be joined to Azure Active Directory.
CSpot VMs can be evicted unexpectedly, risking data loss if not properly backed up.
DSpot VMs expose public IPs by default, increasing attack surface.
Attempts:
2 left
💡 Hint

Think about what happens when a Spot VM is evicted suddenly.

service_behavior
advanced
2:00remaining
Spot VM pricing and eviction policy behavior

You set a maximum price for your Azure Spot VM. What happens if the current Spot price exceeds your max price?

AYour VM continues running until Azure evicts it for capacity reasons only.
BYour VM is immediately evicted because the price exceeded your max price.
CAzure automatically lowers your max price to keep the VM running.
DYour VM price is capped at your max price and continues running.
Attempts:
2 left
💡 Hint

Consider how Spot VM pricing controls eviction.

Best Practice
expert
3:00remaining
Optimizing cost and availability with Azure Spot VMs

You want to minimize costs using Azure Spot VMs but keep your application highly available. Which strategy is best?

ACombine Spot VMs with standard VMs across scale sets and configure automatic fallback to standard VMs on eviction.
BUse only Spot VMs with no fallback to standard VMs.
CUse Spot VMs and manually redeploy when evicted to save costs.
DUse standard VMs with reserved instances and avoid Spot VMs for availability.
Attempts:
2 left
💡 Hint

Think about balancing cost savings with uptime guarantees.