AZ-900 · Cloud foundations and economics
21 cards
Cloud Economics and Serverless
-
Quick check
A retailer expects a brief seasonal peak and does not want to own the extra capacity afterwards. What does the consumption-based model let it do?
ABuy capacity sized for the peak and keep it installed once the peak has passed
Buying for the peak is traditional capacity planning, and it leaves paid-for infrastructure sitting idle after the season ends.
BKeep the peak capacity idle on-site and count the idle hours as consumed
Idle hardware is not consumption: the model bills actual resource use, not capacity that is standing still.
CRent the extra capacity for the peak and release it once demand falls back
Right. Customers pay for the resources they use, adding resources when demand rises and releasing them when demand falls.
3 / 21
-
Quick check
A finance team must classify two lines: a purchase of rack servers, and a monthly cloud bill that tracks usage. How are they classified?
ABoth are capital expenditure, because each one pays for computing capacity
Capital expenditure is upfront spending on physical infrastructure, and a bill that follows consumption does not fit that definition.
BThe servers are capital expenditure, and the usage-based cloud bill is operational spending
Right. Servers, network hardware and datacenter space are bought upfront, while cloud services paid for as they are consumed are an operating expense.
CBoth are operational expenditure, because each of them is settled by a supplier invoice
Being invoiced does not make spending operational: buying the physical servers upfront is capital expenditure.
6 / 21
-
Quick check
A traditional datacenter was sized from an estimate that proved too low, and applications are now slow. What does fixing it require?
AOrdering, installing and provisioning more hardware, plus power and cooling
Right. Correcting an underestimate in a traditional datacenter means ordering, installing and provisioning additional hardware, power and cooling.
BReleasing installed capacity right away and continuing with a smaller footprint
Releasing capacity is a cloud adjustment, and here it would deepen the shortfall instead of fixing it.
CWaiting for an event-driven trigger to free up the hosts that are overloaded
Event-driven deallocation belongs to serverless compute and does nothing for hardware the organization owns.
9 / 21
-
Keep your progress in the app
That’s 3 of 7 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
What does a pay-as-you-go model give a team that a fixed hardware purchase does not?
AA guarantee that this team will never have to plan any of its operating costs again
The model helps customers plan and manage their operating costs; it does not remove the need to manage them.
BOwnership of the power, cooling and networking beneath the running services
The provider maintains the underlying power, cooling, hardware and networking, so the customer does not own them.
CCosts that follow the workload, so capacity can grow or shrink as needs change
Right. Paying for consumed services helps manage operating costs, run infrastructure more efficiently and scale as workload needs change.
12 / 21
-
Quick check
A message arrives every few hours and must trigger a short piece of code, with nothing provisioned in between. Which option fits?
AAn Azure Function triggered by the arriving message, with its resources deallocated when the run ends
Right. An event wakes the function, it runs, and its resources are deallocated when it finishes, with the charge based on CPU time used.
BA virtual machine left running so the code is ready whenever a message finally lands
A virtual machine has to keep running for the app to work, which is exactly the provisioned idle time the team wants to avoid.
CA container the team keeps reserved and maintained while no messages arrive
A reserved container is maintained and kept running by the team, so resources stay provisioned while nothing is happening.
16 / 21
-
Quick check
Which detail tells you a workload is a poor fit for the serverless option described here?
AIt starts from a REST request, a timer, or a message from another service
Those are precisely the triggers that wake a function, so this detail points towards Azure Functions rather than away from it.
BIt must hold resources running continuously for the application to work
Right. A design that must keep virtual machines or containers running is the one Azure Functions is explicitly contrasted with.
CIts demand is variable and the team would rather not size the platform
Functions scale automatically according to demand and let the team focus on code instead of the platform underneath.
19 / 21
-
Quick check
Which summary of cloud spending and serverless execution is correct?
ASpending follows the resources used, and a function frees them when it ends
Right. Consumption-based spending tracks actual use, and Azure Functions deallocates resources when a run finishes, charging for CPU time used.
BSpending is fixed once capacity is bought, and a function keeps its resources reserved
Fixed capacity bought in advance is the traditional model, and a function does not hold its resources between events.
CSpending is upfront capital expenditure, and a function bills for the hours it sits idle
Cloud services consumed over time are an operating expense, and idle hours are not what a function is charged for.
21 / 21
-
7 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
The whole course, on your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.