Prepstellar
Sign in Get it on Google Play

AZ-900 · Cloud foundations and economics

21 cards

Cloud Economics and Serverless

Swipe, scroll or use ← →
  1. Paying for what you use

    Cloud economics rests on one sentence. Cloud computing uses a consumption-based model in which customers pay for the IT resources they use. Instead of buying and maintaining datacenter infrastructure, a customer can rent compute power and storage, then release those resources when they are no longer needed.

    Compare the two ways of obtaining the same capacity:

    Buying infrastructure Consumption-based cloud
    How capacity arrives Purchased and installed in advance Rented when it is needed
    How capacity leaves It stays; it is an owned asset You release it when it is no longer needed
    What idle capacity costs The full purchase, whether used or not Allocated capacity can still cost money until you release it

    This approach lets you avoid idle capacity costs when you release resources after demand falls.

    1 / 21
  2. Paying for what you use

    Two abilities follow directly from that, and they are the ones scenarios are built on. A consumption-based model can avoid upfront hardware and datacenter costs. It also lets a customer add resources when demand rises and release resources when demand falls.

    The financial effect follows actual resource use rather than a permanently installed capacity level. That is the difference worth carrying into the exam: spending tracks a curve of real usage, not a flat line drawn by a purchase order signed a year earlier.

    A seasonal business shows it most clearly. Capacity goes up for the peak, comes down afterwards, and the bill follows the same shape.

    2 / 21
  3. 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?

    1. 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.

    2. BKeep the peak capacity idle on-site and count the idle hours as consumed

      Hardware you already own does not become consumption by standing idle. In the consumption model you pay for the resources you use and stop paying for them once they are released.

    3. 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

  4. Capital and operational expenditure

    Traditional IT budgeting splits spending into two categories, and the cloud lands squarely in one of them.

    Capital expenditure is upfront spending on physical infrastructure such as servers, network hardware, and datacenter space. Operational expenditure is ongoing spending on services over time.

    Capital expenditure Operational expenditure
    When it is paid Upfront, before use Over time, as services are used
    What it buys Servers, network hardware, datacenter space Services consumed
    Example A rack of purchased servers A cloud bill that tracks usage

    Because cloud services are paid for as they are consumed, cloud computing is classified as an operational expense.

    4 / 21
  5. Capital and operational expenditure

    The test is when and for what, not who sends the invoice. An upfront purchase of physical infrastructure is capital expenditure even if it is financed over several years. A charge that accrues while a service is being used is operational expenditure even if it turns out to be large.

    This is also why the classification does not change with size. A single virtual machine billed by the hour and an estate of thousands are both operational spending, because both follow consumption. And buying one server for a rack is capital spending, because the money went into physical infrastructure before anything ran on it.

    5 / 21
  6. 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?

    1. 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.

    2. 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.

    3. 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

  7. The capacity-planning problem it solves

    Traditional capacity planning requires an estimate of future resource needs, and an estimate can miss in either direction. Both misses cost money, but they cost it differently.

    Estimate What happens What it costs
    Overestimate Infrastructure sits idle Spending on capacity nobody uses
    Underestimate Applications suffer degraded performance Lost performance, then a slow repair

    Overestimating creates spending on infrastructure that sits idle, while underestimating can cause degraded application performance.

    7 / 21
  8. The capacity-planning problem it solves

    The asymmetry is in the repair. Correcting an underestimate requires ordering, installing, and provisioning more hardware, power, and cooling, a sequence measured in weeks while the application keeps running slowly.

    Cloud reduces the need to buy peak capacity in advance because resources can be adjusted as demand changes; teams still forecast demand, cost, quotas, and performance needs.

    This is why "we sized it wrong" means something entirely different on each side. In a traditional datacenter it is a procurement project; in a consumption-based model it is an adjustment.

    8 / 21
  9. Quick check

    A traditional datacenter was sized from an estimate that proved too low, and applications are now slow. What does fixing it require?

    1. 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.

    2. 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.

    3. 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

  10. 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.

    Opens in your browser. Nothing to install.

    Start studying

    On your phone, with the same account

    Get it on Google Play
    Keep reading here
  11. Pay-as-you-go pricing

    Cloud providers use a pay-as-you-go pricing model. It is the commercial expression of everything above: you are billed for the services you consume rather than for a capacity level you declared in advance.

    Paying for consumed services helps customers do three things:

    • Manage operating costs, because spending follows the workload instead of a fixed asset.
    • Use infrastructure more efficiently, because unused capacity can be released rather than absorbed.
    • Scale when workload needs change, in either direction.
    10 / 21
  12. Pay-as-you-go pricing

    There is a matching obligation on the other side of the deal. The provider maintains the underlying power, cooling, hardware, and networking.

    That is what the customer is really buying out of: not just the servers, but the facility around them and the work of keeping it running. A team that moves to pay-as-you-go stops budgeting for cooling capacity and starts budgeting for consumption.

    Note the limit, because scenarios exploit it. Pay-as-you-go makes costs manageable and proportional; it does not make them disappear or remove the need to plan them.

    11 / 21
  13. Quick check

    What does a pay-as-you-go model give a team that a fixed hardware purchase does not?

    1. 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.

    2. 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.

    3. 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

  14. Serverless execution with Azure Functions

    A traditionally provisioned virtual machine or customer-managed container can remain allocated between events, so it keeps costing money while it sits idle. Serverless options, including Functions and serverless container platforms, can scale with event-driven demand.

    Azure Functions is an event-driven, serverless compute option that does not require maintaining virtual machines or containers. On eligible consumption-based hosting plans, a function app can scale to zero while idle. Other hosting plans can keep instances allocated or always ready.

    13 / 21
  15. Serverless execution with Azure Functions

    What counts as an event is specific. Common triggers include a REST request, a timer, or a message from another Azure service.

    Trigger Typical use
    REST request Code that runs when an endpoint is called
    Timer Work on a schedule
    Message from another Azure service Reacting to something that happened elsewhere in the platform

    On event-driven hosting plans, Azure Functions also scales automatically according to demand. That makes it a reasonable fit when demand is variable rather than steady. A Dedicated plan uses manual scaling or autoscale instead.

    14 / 21
  16. Serverless execution with Azure Functions

    On eligible consumption-based hosting plans, charges follow executions and resource consumption, and the app can scale to zero while idle. Premium and dedicated hosting can retain allocated or always-ready instances and use different billing models.

    One behavioral detail completes the picture. Stateless behavior is the default: a function acts as though it restarts on every event. If one event adds a book to a shopping cart and the next event starts the checkout, a stateless function has already forgotten the book. When state is needed, Durable Functions passes context through the function to track prior activity, so the whole sequence is remembered.

    15 / 21
  17. Quick check

    A message arrives every few hours and no compute should remain allocated between messages. Which option fits?

    1. AAn Azure Function triggered by the message on a hosting plan that can scale to zero

      Right. The message supplies the event, and an eligible consumption-based plan can scale the function app to zero while idle.

    2. BAn Azure Function on a dedicated plan that retains allocated instances

      A dedicated plan can retain allocated instances, so the product name alone does not meet the zero-idle-capacity requirement.

    3. CA customer-managed container reserved while no messages arrive

      A reserved customer-managed container keeps capacity allocated between messages.

    16 / 21

  18. When serverless is the right shape

    Serverless is appropriate when the team wants to focus on code rather than the underlying platform or infrastructure, and the work responds to events.

    Microsoft calls these common uses, not strict rules. Functions can also run continuously on a Premium plan. Look for two signals that usually appear together:

    Signal What points towards it What points away from it
    The work is event-driven Requests, timers, service messages Work with no trigger for code execution
    The team wants no platform to maintain Code as the only artifact Designs built around owning a VM or container
    17 / 21
  19. When serverless is the right shape

    The contrast is what makes it examinable. A traditionally provisioned VM or customer-managed container can remain allocated between events. Serverless options, including Functions and serverless container platforms, can scale with event-driven demand.

    The direction of the clue matters too.

    Clue in the scenario Points to
    Short bursts of work, or demand that varies Azure Functions
    Code that runs on a trigger: a request, a timer, a message Azure Functions
    Resources that must stay allocated continuously Azure Functions on a Premium plan with always-ready instances, or dedicated hosting; virtual machines or customer-managed containers if the team must manage the host
    A container to maintain and restart before each execution Virtual machines or containers
    18 / 21
  20. Quick check

    Which detail tells you a workload is a poor fit for the serverless option described here?

    1. 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.

    2. BThe team must manage the virtual machine or container host between runs

      Right. Azure Functions manages the host, so it does not fit a requirement to manage that host yourself.

    3. CIts demand is variable and the team would rather not size the platform

      On event-driven hosting plans, Functions scale automatically according to demand and let the team focus on code instead of the platform underneath.

    19 / 21

  21. Key takeaways

    • Consumption-based cloud spending follows the resources used, so capacity can be rented and released instead of purchased and left idle.
    • Capital expenditure is upfront infrastructure spending; operational expenditure is ongoing service spending, and cloud services paid for as they are consumed are an operating expense.
    • Cloud capacity can be added as demand rises and released as demand falls, which removes the traditional planning risk: overestimating pays for idle infrastructure, and underestimating degrades performance until more hardware, power, and cooling are ordered, installed, and provisioned.
    • Azure Functions runs code in response to events. On eligible consumption-based plans it can scale to zero while idle and charges follow executions and resource consumption; other plans can retain allocated capacity.
    20 / 21
  22. Quick check

    Which statement correctly qualifies Azure Functions hosting?

    1. AEligible consumption-based plans can scale to zero, while other plans can retain allocated instances

      Right. Scale-to-zero behavior and billing depend on the selected hosting plan.

    2. BEvery Functions plan deallocates all capacity immediately after each execution

      Premium and dedicated hosting can retain allocated or always-ready instances.

    3. CEvery Functions plan bills only for CPU time during an execution

      Billing meters differ by hosting plan and are not universally limited to CPU time.

    21 / 21

  23. 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.

    Take this lesson’s test →

    Opens in your browser. Nothing to install.

    Start studying

    On your phone, with the same account

    Get it on Google Play
← Previous Start studying Get it on Google Play Next card →

The whole course, on your computer and your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.

Opens in your browser. Nothing to install.

Start studying

On your phone, with the same account

Get it on Google Play

“This app is the ‘One Lake’ for preparing the certification exams. Really worth it.”

Abdelhak Y. Google Play review