Compute · Extended learning · 2026-10-10

Serverless operations: triggers, cold starts, and cost guardrails

Use Azure Functions to think about triggers, bindings, retries, observability, and budgets in event-driven compute.

FunctionsObservabilityCost
Exam boundary note

This is an introductory study note and does not claim full exam-objective coverage. AZ-104/AZ-305 objectives follow the official 2026-04-17 study guides; AZ-700 follows the 2026-07-27 study guide.

Concept notes

Serverless does not mean “no servers”; the platform manages infrastructure maintenance and some scaling. Functions are organized around triggers and bindings: Hypertext Transfer Protocol (HTTP) requests, queues, timers, or Event Grid events start execution, while input/output bindings reduce boilerplate. They often suit event bursts, short tasks, and automation. Evaluate connection duration, latency, and execution limits against the hosting plan: warm instances, Premium plans, or Durable Functions orchestration can address some constraints, but do not provide full operating-system control. Reliability design must account for idempotency, retries, dead-letter handling, timeouts, and observability.

Tradeoffs and safety exercise

Paper/local safety exercise: design an event flow for “upload a blob, then generate a thumbnail.” Write pseudocode and a checklist for the trigger, storage permissions, retries, log fields, budgets/alerts, and privacy notice. Budgets are not hard spending caps, and automatic shutdown can affect continuity. Ask what happens if an event is delivered twice, whether a failed downstream Application Programming Interface (API) call retries forever, and whether a local developer’s connection string can access production data. These questions are closer to real operations than the function code alone.

Completion checklist

  • Can explain the relationship between triggers, bindings, and idempotency.
  • Can list the risks of cold starts, timeouts, and retries.
  • Can set logging, alerting, and budget guardrails for a function app.