Bird
Raised Fist0
Azurecloud~10 mins

VM sizes and series (B, D, E, F) in Azure - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to select a VM size optimized for burstable workloads.

Azure
vm_size = "Standard_[1]s"
Drag options to blanks, or click blank then click option'
AF2
BB1
CE2
DD2
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing D-series which is for general purpose but not burstable.
Selecting E-series which is memory optimized.
Picking F-series which is compute optimized.
2fill in blank
medium

Complete the code to select a VM size optimized for memory-intensive workloads.

Azure
vm_size = "Standard_[1]s"
Drag options to blanks, or click blank then click option'
AD4
BB2
CE4
DF4
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing B-series which is burstable but not memory optimized.
Selecting D-series which is general purpose.
Picking F-series which is compute optimized.
3fill in blank
hard

Fix the error in the VM size selection for compute-optimized workloads.

Azure
vm_size = "Standard_[1]s"
Drag options to blanks, or click blank then click option'
AB4
BD4
CE4
DF4
Attempts:
3 left
💡 Hint
Common Mistakes
Using B-series which is burstable but not compute optimized.
Choosing D-series which is general purpose.
Selecting E-series which is memory optimized.
4fill in blank
hard

Fill both blanks to create a dictionary mapping VM series to their optimization type.

Azure
vm_optimization = {"B": "[1]", "E": "[2]"}
Drag options to blanks, or click blank then click option'
Aburstable
Bcompute
Cmemory
Dgeneral
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing compute and burstable optimizations.
Confusing general purpose with memory optimized.
5fill in blank
hard

Fill all three blanks to create a dictionary mapping VM series to their typical use case.

Azure
vm_use_cases = {"B": "[1]", "D": "[2]", "F": "[3]"}
Drag options to blanks, or click blank then click option'
Aburstable workloads
Bgeneral purpose
Ccompute optimized
Dmemory optimized
Attempts:
3 left
💡 Hint
Common Mistakes
Assigning memory optimized to D-series.
Confusing compute optimized with burstable.

Practice

(1/5)
1. Which Azure VM series is best suited for applications that need to handle occasional spikes in CPU usage but are idle most of the time?
easy
A. E series (memory optimized)
B. D series (balanced CPU and memory)
C. B series (burstable VMs)
D. F series (compute optimized)

Solution

  1. Step 1: Understand the purpose of B series VMs

    B series VMs are designed for workloads that are idle most of the time but need to burst CPU power occasionally.
  2. Step 2: Compare with other series

    D series are balanced, E series focus on memory, and F series focus on CPU but not burstable. So B series fits the description best.
  3. Final Answer:

    B series (burstable VMs) -> Option C
  4. Quick Check:

    Bursty CPU needs = B series [OK]
Hint: Burstable CPU needs? Pick B series [OK]
Common Mistakes:
  • Choosing D series for bursty workloads
  • Confusing F series with burstable
  • Picking E series which is memory optimized
2. Which of the following is the correct way to describe the F series Azure VMs?
easy
A. Memory optimized VMs for heavy database workloads
B. Burstable VMs for low baseline CPU usage
C. Balanced VMs with equal CPU and memory
D. Compute optimized VMs with higher CPU-to-memory ratio

Solution

  1. Step 1: Identify F series characteristics

    F series VMs are compute optimized, meaning they have more CPU power relative to memory.
  2. Step 2: Eliminate other options

    Memory optimized describes E series, burstable describes B series, and balanced describes D series.
  3. Final Answer:

    Compute optimized VMs with higher CPU-to-memory ratio -> Option D
  4. Quick Check:

    F series = compute optimized [OK]
Hint: F series means more CPU power, less memory [OK]
Common Mistakes:
  • Mixing F series with memory optimized E series
  • Thinking F series are burstable
  • Confusing balanced D series with F series
3. You deploy an application that requires high memory but moderate CPU. Which VM series will likely give you the best performance and cost balance?
Options: B, D, E, F
medium
A. B series
B. E series
C. F series
D. D series

Solution

  1. Step 1: Match workload needs to VM series

    High memory and moderate CPU needs point to memory optimized VMs.
  2. Step 2: Identify E series as memory optimized

    E series VMs are designed for memory-intensive workloads, making them suitable here.
  3. Final Answer:

    E series -> Option B
  4. Quick Check:

    High memory need = E series [OK]
Hint: High memory? Choose E series [OK]
Common Mistakes:
  • Choosing F series which is CPU optimized
  • Picking B series which is burstable
  • Selecting D series which is balanced but not memory focused
4. A developer chose a B series VM for a high-CPU, always-on web server. What is the main issue with this choice?
medium
A. B series VMs are burstable and may throttle CPU under constant load
B. B series VMs do not support web servers
C. B series VMs have too much memory for web servers
D. B series VMs are more expensive than F series

Solution

  1. Step 1: Understand B series limitations

    B series VMs are designed for workloads with low baseline CPU and occasional bursts, not constant high CPU.
  2. Step 2: Identify why this is a problem for always-on high CPU

    Constant high CPU usage will cause B series VMs to throttle performance, hurting the web server.
  3. Final Answer:

    B series VMs are burstable and may throttle CPU under constant load -> Option A
  4. Quick Check:

    Constant high CPU ≠ B series [OK]
Hint: Burstable VMs throttle under constant CPU load [OK]
Common Mistakes:
  • Thinking B series can't run web servers
  • Assuming B series has too much memory
  • Believing B series is more expensive than F series
5. You need to deploy a data analytics application that requires high CPU power and large memory but must also be cost-effective. Which VM series combination should you consider to optimize performance and cost?
hard
A. Use F series for CPU-intensive tasks and E series for memory-intensive tasks
B. Use only B series VMs to save cost
C. Use D series VMs as they balance CPU and memory well
D. Use E series only because memory is most important

Solution

  1. Step 1: Analyze workload requirements

    The application needs both high CPU and large memory, which may not be met efficiently by a single VM series.
  2. Step 2: Consider splitting workload across VM series

    F series VMs provide high CPU power, while E series VMs provide large memory. Using both can optimize cost and performance.
  3. Step 3: Evaluate other options

    B series is burstable and not suitable for heavy workloads. D series is balanced but may not optimize cost as well. E series alone may lack CPU power.
  4. Final Answer:

    Use F series for CPU-intensive tasks and E series for memory-intensive tasks -> Option A
  5. Quick Check:

    Split CPU and memory needs = F + E series [OK]
Hint: Split CPU and memory tasks across F and E series [OK]
Common Mistakes:
  • Choosing only B series to save cost ignoring performance
  • Relying solely on D series without optimization
  • Using only E series and missing CPU needs
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard