Lesson 3 of 28 · see all lessons
Start here: cloud concepts (skill area 1, 25-30%)
- 1. Start here: the AZ-900 exam, the plan and what you already know
- 2. What cloud computing is: shared responsibility and cloud models
- 3. Paying for the cloud: the consumption-based model, pricing models and serverless
- 4. Why the cloud: availability, scalability, reliability, security and manageability
- 5. IaaS, PaaS and SaaS: cloud service types and when to use each
Azure architecture, compute and networking (skill area 2, 35-40%)
- 6. Azure global infrastructure: regions, region pairs, sovereign regions and availability zones
- 7. Organizing Azure: resources, resource groups, subscriptions and management groups
- 8. Azure virtual machines: VM options, scale sets, availability sets and Azure Virtual Desktop
- 9. Containers, Azure Functions and app hosting: choosing a compute type
- 10. Azure networking: virtual networks, subnets, peering and Azure DNS
- 11. Connecting to Azure: VPN Gateway, ExpressRoute, and public and private endpoints
Storage and migration (skill area 2)
Identity, access and security (skill area 2)
Management and governance (skill area 3, 30-35%)
- 19. Azure costs: cost factors, the pricing calculator, Cost Management and tags
- 20. Governance and compliance: Microsoft Purview, Azure Policy and resource locks
- 21. Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
- 22. Infrastructure as code: Azure Resource Manager and ARM templates
- 23. Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights
Final review and four mock exams
17 min
Paying for the cloud: the consumption-based model, pricing models and serverless
Understand CapEx vs OpEx, pay-as-you-go and other pricing models, and what serverless means.
By the end of this lesson you can
- Tell capital expenditure from operational expenditure
- Explain the consumption-based model and what it changes
- Pick pay-as-you-go, a reservation, a savings plan, Spot VMs or Azure Hybrid Benefit for a scenario
- Describe serverless and how it's billed
From earlier lessons · 1 of 2
Under the shared responsibility model, which item is always the customer's responsibility, whatever the service type?
Pick one answer.
From earlier lessons · 2 of 2
Copperleaf keeps its customer database on its own servers and runs the web app in Azure, connected. Which cloud model is this?
Pick one answer.
Copperleaf's finance director has a quote for new servers: a large bill, due now, for kit that sits half idle outside peak season. The IT lead suggests Azure instead. "Fine," she says, "but how is it billed, and can we get it cheaper if we commit?"
CapEx vs OpEx
Exam depth: know it cold.
- Capital expenditure (CapEx) is up-front spending on physical infrastructure, such as servers, network hardware and datacenter space.
- Operational expenditure (OpEx) is ongoing spending on services over time.
Because you pay for cloud services as you use them, cloud computing counts as an operational expense.
| CapEx | OpEx | |
|---|---|---|
| When you pay. | Up front. | As you go. |
| What you pay for. | Hardware you own. | Services you use. |
| Example. | Buying 10 servers. | A monthly Azure bill. |
Decision rule: if you buy it and own it, it's CapEx. If you rent it and pay as you use it, it's OpEx.
Copperleaf replaces a planned server purchase with Azure virtual machines billed monthly. How does this change its spending?
Pick one answer.
The consumption-based model
Exam depth: know it cold.
The consumption-based model means you pay for the IT resources you use, and nothing more. You rent computing power and storage, then release it when you're done.
It gives you:
- No up-front costs for hardware or datacenters.
- No paying for spare capacity that sits idle.
- More resources when demand rises.
- Fewer resources, and a smaller bill, when demand falls.
With your own servers, you guess demand in advance. Guess high and you waste money. Guess low and your apps slow down.
For this statement, select Yes if it's true. Otherwise, select No. "With the consumption-based model, Copperleaf must buy enough capacity up front for its busiest week of the year."
Pick one answer.
Comparing Azure pricing models
Exam depth: know it cold.
| Option | What it is | Pick it when |
|---|---|---|
| Pay-as-you-go. | Pay only for what you use. No commitment. | Usage is new, short-term or hard to predict. |
| Azure Reservations. | Commit for 1 or 3 years to a specific resource, size and region. Up to 72% off pay-as-you-go. | Usage is steady and predictable. |
| Azure savings plan. | Commit to a fixed amount per hour for 1 or 3 years. The discount applies across eligible services and regions. | You'll keep spending, but sizes or regions change. |
| Azure Spot Virtual Machines. | Unused Azure capacity at a big discount. Azure can evict them with 30 seconds' notice. | Work can stop and restart, like batch jobs or dev/test. |
| Azure Hybrid Benefit. | Reuse Windows Server licences you already own, with Software Assurance, on Azure. | You already pay for those licences on-premises. |
Copperleaf runs a route-optimization job overnight. If it stops partway, it simply restarts later. The company wants the lowest compute cost. What should you use?
Pick one answer.
Copperleaf's customer database server runs 24 hours a day on the same VM size in the same region. It will for at least three more years. Which option gives the biggest discount?
Pick one answer.
Serverless
Exam depth: know it cold.
Serverless is a cloud model where the provider manages the servers your code runs on. You write the code or workflow. Azure runs it, scales it out and in with demand, and patches the machines.
Billing follows use. If nothing runs, you typically pay nothing. On the Azure Functions Flex Consumption plan, for example, you're billed for executions and the memory used while code runs.
Azure's two core serverless services are Azure Functions (run code when an event happens) and Azure Logic Apps (build automated workflows with minimal code). Lesson 9 covers both.
Copperleaf wants to resize each delivery photo when a driver uploads it. Uploads come in bursts. It doesn't want to manage any servers and wants to pay only when photos are processed. Which approach fits?
Pick one answer.
Exam-style practice
A company moves 20 Windows Server machines to Azure. It already owns Windows Server licences with active Software Assurance. It wants to avoid paying for Windows again. What should it use?
Pick one answer.
A retailer will keep spending on Azure compute for three years. It expects to change VM sizes and move some apps between regions. It wants a commitment discount that follows those changes. What should it buy?
Pick one answer.
For this statement, select Yes if it's true. Otherwise, select No. "With a serverless service, you typically pay nothing during periods when your code doesn't run."
Pick one answer.
Worth keeping
- Cloud moves IT spending from CapEx (buy up front) to OpEx (pay as you use).
- The consumption-based model: no up-front cost, pay for what you use, release what you don't need.
- Steady fixed use: reservation. Steady but changing: savings plan. Interruptible: Spot. Own licences: Hybrid Benefit.
- Serverless: Azure manages the servers and scales them, and you pay per use. The servers still exist.
On the job
Copperleaf's finance director now has a plan she can explain to the board. The always-on database server gets a reservation. The overnight route job moves to Spot VMs. The web app stays on pay-as-you-go until its usage settles.
Project and sales people hear the same question from clients: "Why is the cloud bill different every month?" The answer is the consumption-based model. You pay for what you used, and commitments trade flexibility for a lower price.
Paying per use is one benefit. But what happens to Copperleaf's app when a server fails, or when peak season triples the traffic? Lesson 4 covers availability, scalability and the other benefits of the cloud.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (11)
Each fact in the lesson is marked with the number of the page it comes from.
- [1]Microsoft Learn: Study guide for Exam AZ-900: Microsoft Azure Fundamentals
- [7]Microsoft Learn: Describe the consumption-based model
- [8]Microsoft Learn: Define cloud models
- [13]Microsoft Learn: Describe the shared responsibility model
- [14]Microsoft Learn: What are Azure Reservations?
- [15]Microsoft Learn: What are savings plans?
- [16]Microsoft Learn: Azure Spot Virtual Machines
- [17]Microsoft Learn: Explore Azure Hybrid Benefit for Windows VMs
- [18]Microsoft Learn: Azure serverless overview: Create cloud-based apps and solutions with Azure Logic Apps and Azure Functions
- [19]Microsoft Learn: Leveraging serverless functions
- [20]Microsoft Learn: Azure Functions hosting options