What Is the Shift from CapEx to OpEx in Cloud Computing?
A company is moving from an on-premises data center to the cloud. Previously, they paid a large upfront sum for servers and storage, plus annual maintenance fees. Now they pay a monthly subscription based on the amount of compute and storage they actually use. This shift represents moving from which type of expenditure to which?
Quick Answer
The answer is a shift from CapEx to OpEx. This is correct because Capital Expenditure (CapEx) involves large upfront purchases of physical assets like servers and storage, which are then depreciated over time, while Operational Expenditure (OpEx) follows a pay-as-you-go model where you pay only for the compute and storage you actually use, typically through a monthly subscription. On the Microsoft Azure Fundamentals AZ-900 exam, this concept tests your understanding of cloud pricing models and financial benefits, often appearing in scenario-based questions about moving from on-premises to cloud. A common trap is confusing OpEx with lower total cost—remember, OpEx shifts spending from a single large payment to ongoing variable costs. Memory tip: think of CapEx as buying a car outright (big upfront cost), and OpEx as leasing it with a monthly payment based on miles driven.
⚠ Common exam trap
Watch out — candidates often confuse the direction of the shift—candidates may incorrectly think moving from upfront payments to monthly subscriptions is from OpEx to CapEx, but OpEx is the ongoing operational cost, not the initial capital outlay.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
From CapEx to OpEx
This scenario describes a shift from Capital Expenditure (CapEx) to Operational Expenditure (OpEx). CapEx involves upfront purchases of physical assets like servers and storage, which are capitalized and depreciated over time. OpEx, on the other hand, is a pay-as-you-go model where costs are incurred based on actual usage, such as monthly cloud subscription fees for compute and storage resources.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
From CapEx to OpEx
Why this is correct
Correct. The move from upfront hardware purchases (CapEx) to monthly usage-based billing (OpEx) is a fundamental benefit of cloud computing.
- ✗
From OpEx to CapEx
Why it's wrong here
This reverses the direction. The scenario describes moving away from CapEx to OpEx.
When this WOULD be correct
Option B would be correct in a scenario where a company moves from a pay-as-you-go cloud model to purchasing on-premises hardware with a large upfront payment, transitioning from operational to capital expenditure.
- ✗
From direct cost to indirect cost
Why it's wrong here
These terms are not used to describe the shift in cloud spending. The key distinction is CapEx vs OpEx.
When this WOULD be correct
A company moves from paying for cloud services based on a fixed monthly fee (e.g., reserved instances) to paying for each individual resource usage (e.g., per-hour compute). This shift represents moving from direct cost (easily attributable to a specific service) to indirect cost (shared overhead).
- ✗
From variable cost to fixed cost
Why it's wrong here
Cloud spending is variable (pay for what you use), whereas on-premises often involves fixed costs plus variable maintenance.
When this WOULD be correct
This option would be correct in a scenario where a company moves from a pay-as-you-go model (variable cost) to a reserved instance or committed use discount model (fixed cost), where they pay a consistent amount regardless of actual usage.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-900 exam frequently reuses these exact scenarios with slightly different constraints.
✓From CapEx to OpExCorrect answer▾
Why this is correct
Correct. The move from upfront hardware purchases (CapEx) to monthly usage-based billing (OpEx) is a fundamental benefit of cloud computing.
✗From OpEx to CapExWrong answer — click to see why▾
Why this is wrong here
The question describes a shift from paying upfront for assets (CapEx) to paying a subscription based on usage (OpEx). Option B reverses this, stating a move from OpEx to CapEx, which is the opposite of the scenario.
★ When this WOULD be the correct answer
Option B would be correct in a scenario where a company moves from a pay-as-you-go cloud model to purchasing on-premises hardware with a large upfront payment, transitioning from operational to capital expenditure.
Why candidates choose this
Candidates may confuse the direction of the shift, mistakenly thinking that moving to the cloud involves moving from OpEx to CapEx, or they may not clearly understand the definitions of CapEx and OpEx.
✗From direct cost to indirect costWrong answer — click to see why▾
Why this is wrong here
The question describes a shift from upfront capital purchases (servers, storage) to a pay-as-you-go model (monthly subscription based on usage). This is a shift from capital expenditure (CapEx) to operational expenditure (OpEx), not from direct to indirect cost. Direct vs. indirect cost relates to cost attribution to a specific product or service, not the payment model.
★ When this WOULD be the correct answer
A company moves from paying for cloud services based on a fixed monthly fee (e.g., reserved instances) to paying for each individual resource usage (e.g., per-hour compute). This shift represents moving from direct cost (easily attributable to a specific service) to indirect cost (shared overhead).
Why candidates choose this
Candidates may confuse 'direct cost' with upfront payments and 'indirect cost' with ongoing subscriptions, but the terms actually refer to cost traceability, not payment timing.
✗From variable cost to fixed costWrong answer — click to see why▾
Why this is wrong here
The shift described is from upfront capital investment (CapEx) to ongoing usage-based payments (OpEx), not from variable to fixed cost. Variable costs change with usage, while fixed costs remain constant regardless of usage.
★ When this WOULD be the correct answer
This option would be correct in a scenario where a company moves from a pay-as-you-go model (variable cost) to a reserved instance or committed use discount model (fixed cost), where they pay a consistent amount regardless of actual usage.
Why candidates choose this
Candidates may confuse 'variable cost' with usage-based pricing and 'fixed cost' with predictable monthly subscriptions, not realizing that cloud subscriptions are typically variable based on consumption.
Analysis generated from the official AZ-900blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
Learn chapter
What is Cloud Computing?
Key term
CapEx
CapEx (Capital Expenditure) is the money a company spends upfront to buy, build, or improve physical assets like servers, buildings, or equipment, which are then owned and depreciated over time.
Key term
OpEx
Operational Expenditure (OpEx) is the ongoing cost for running a business, like paying for cloud services monthly instead of buying hardware upfront.
About these practice questions
Courseiva writes every AZ-900 question from scratch — 981 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on AZ-900
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company is moving from an on-premises data center to the cloud. Previously, they paid a large upfront sum for hardware and then annual maintenance fees. Now they pay a monthly subscription based on actual usage of compute and storage. This shift represents moving from which type of expenditure to which?
easy- A.From OpEx to CapEx
- ✓ B.From CapEx to OpEx
- C.From variable to fixed costs
- D.From direct to indirect costs
Why B: The scenario describes a shift from paying a large upfront sum for hardware (a capital expenditure, or CapEx) to a monthly subscription based on actual usage (an operational expenditure, or OpEx). In cloud computing, CapEx involves significant upfront costs for physical infrastructure, while OpEx involves ongoing, pay-as-you-go costs for services like compute and storage. This transition is a fundamental benefit of cloud adoption, allowing organizations to avoid large initial investments and instead pay for what they consume.
Variation 2. A company is moving its on-premises data center to the cloud. Previously, they purchased servers and paid for maintenance. Now they pay a monthly subscription for compute and storage based on actual usage. This is an example of shifting from capital expenditure (CapEx) to which type of expenditure?
easy- ✓ A.Operating expenditure (OpEx)
- B.Variable expenditure
- C.Direct expenditure
- D.Indirect expenditure
Why A: This scenario describes a shift from upfront capital investment in physical servers and maintenance (CapEx) to a pay-as-you-go model where costs are incurred based on actual usage. In cloud computing, this is the definition of operating expenditure (OpEx), as the company pays a recurring monthly subscription for compute and storage resources rather than making a large initial purchase.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-900 exam.