0
0
Azurecloud~20 mins

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

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Spot VM Savings Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Spot VM eviction behavior
You deploy an Azure Spot VM to save costs. What happens when Azure needs the capacity back?
AThe Spot VM is immediately deallocated without warning.
BThe Spot VM continues running until you manually stop it.
CThe Spot VM automatically converts to a standard VM without interruption.
DThe Spot VM receives a notification and is evicted after a short time.
Attempts:
2 left
💡 Hint
Think about how Azure informs you before stopping a Spot VM.
Architecture
intermediate
2:00remaining
Designing a resilient app with Spot VMs
You want to use Spot VMs for batch processing but avoid job failures when VMs are evicted. Which architecture best supports this?
ACombine Spot VMs with standard VMs in a scale set and use a queue to track jobs.
BDeploy Spot VMs without any monitoring or retry logic.
CUse only standard VMs to avoid eviction interruptions.
DUse Spot VMs with no backup and restart jobs manually if evicted.
Attempts:
2 left
💡 Hint
Think about how to handle interruptions automatically.
Configuration
advanced
2:00remaining
Configuring eviction policy for Spot VMs
Which eviction policy setting allows a Spot VM to be stopped and deallocated instead of deleted upon eviction?
ASet eviction policy to 'Deallocate'.
BSet eviction policy to 'Stop'.
CSet eviction policy to 'Delete'.
DSet eviction policy to 'Retain'.
Attempts:
2 left
💡 Hint
Consider how to keep the VM's disk after eviction.
security
advanced
2:00remaining
Security considerations for Spot VMs
What is a key security best practice when using Spot VMs in Azure?
ADisable all network security groups to improve performance.
BAllow unrestricted inbound traffic to Spot VMs for easy access.
CUse managed identities and restrict access with network security groups.
DStore all secrets directly on the Spot VM's local disk.
Attempts:
2 left
💡 Hint
Think about secure access and identity management.
service_behavior
expert
2:00remaining
Spot VM pricing and availability behavior
Which statement correctly describes how Azure Spot VM pricing and availability behave?
ASpot VM prices are fixed and availability is guaranteed 24/7.
BSpot VM prices vary based on supply and demand, and availability can be interrupted anytime.
CSpot VMs automatically switch to standard VMs when prices rise.
DSpot VMs have a monthly quota limiting usage, but prices never change.
Attempts:
2 left
💡 Hint
Consider how cloud providers manage excess capacity.