0
0
Azurecloud~20 mins

Right-sizing resources in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Right-Sizing Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding VM Size Impact on Cost and Performance

You have two Azure virtual machines (VMs): VM1 is Standard_D2s_v3 with 2 vCPUs and 8 GB RAM, VM2 is Standard_D4s_v3 with 4 vCPUs and 16 GB RAM. Both run the same workload, but VM2 costs roughly twice as much per hour.

Which statement best explains the right-sizing principle for these VMs?

AAlways choose the VM with the highest CPU and RAM to avoid performance issues.
BSelect the VM size that matches the workload needs to avoid paying for unused capacity.
CPick the smallest VM to save costs, regardless of workload requirements.
DUse the VM with the lowest cost per hour even if it causes slow performance.
Attempts:
2 left
💡 Hint

Think about balancing cost and performance based on actual workload needs.

Configuration
intermediate
2:00remaining
Identifying Overprovisioned Azure VM Using Metrics

You monitor an Azure VM and see the following average CPU utilization over a week: 5%. Memory usage is 30%. Disk I/O and network traffic are low.

Which action best reflects right-sizing this VM?

ADownsize the VM to a smaller size to reduce costs.
BKeep the VM size unchanged as low CPU means good performance.
CIncrease the VM size to handle potential spikes.
DAdd more disks to improve I/O performance.
Attempts:
2 left
💡 Hint

Low CPU and memory usage suggest the VM might be larger than needed.

Architecture
advanced
2:00remaining
Designing a Scalable Azure App with Right-Sized Resources

You design an Azure web app expected to have variable traffic. You want to ensure right-sizing while maintaining performance and cost efficiency.

Which architecture best supports this goal?

ADeploy a single large VM with maximum capacity to handle peak traffic.
BDeploy multiple small VMs manually and switch between them based on traffic.
CUse Azure App Service with auto-scaling rules based on CPU and memory usage.
DUse a fixed number of medium VMs without scaling to simplify management.
Attempts:
2 left
💡 Hint

Consider how Azure services can automatically adjust resources based on demand.

security
advanced
2:00remaining
Security Risks of Overprovisioned Resources

What is a potential security risk of keeping overprovisioned Azure resources running unnecessarily?

AIncreased attack surface due to more active resources than needed.
BSecurity risks are unrelated to resource sizing.
COverprovisioned resources disable Azure Security Center alerts.
DAutomatic patching will fail on larger VMs.
Attempts:
2 left
💡 Hint

Think about how more resources can affect exposure to threats.

service_behavior
expert
2:00remaining
Effect of Right-Sizing on Azure Cost Management Reports

You right-size several Azure VMs by downsizing them after monitoring usage. After one month, what change will you most likely see in Azure Cost Management reports?

AStorage costs increase because smaller VMs use more disks.
BThe cost remains the same because billing is based on VM count, not size.
CCosts increase due to additional monitoring charges for right-sizing.
DThe total compute cost decreases reflecting smaller VM sizes.
Attempts:
2 left
💡 Hint

Consider how VM size affects billing in Azure.