๐Ÿ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901
Guided AZ-305 Domain 4
Domain 4 โ€” Module 3 of 12 25%
21 of 30 overall

AZ-305 Study Guide

Domain 1: Design Identity, Governance, and Monitoring Solutions

  • Monitoring & Logging Design
  • Choosing Authentication Methods
  • Designing Identity Management
  • Authorizing Access to Resources
  • Secrets, Keys & Certificates
  • Governance at Scale
  • Compliance & Identity Governance

Domain 2: Design Data Storage Solutions

  • Relational Data: Choosing Your SQL Platform
  • Database Performance & Scalability
  • Database Security & Compliance
  • Cosmos DB & Semi-Structured Data
  • Blob, Data Lake & Azure Files
  • Data Integration & Analytics

Domain 3: Design Business Continuity Solutions

  • Recovery Objectives: RPO, RTO & SLA Free
  • Backup & Recovery for Compute Free
  • Backup for Databases & Unstructured Data Free
  • High Availability for Compute Free
  • High Availability for Data Free

Domain 4: Design Infrastructure Solutions

  • Compute Design: VMs & When to Use Them
  • Container Solutions: AKS, ACI & Container Apps
  • Serverless & Batch Processing
  • Messaging Architecture
  • Event-Driven Architecture
  • API Integration & Caching
  • App Configuration & Automated Deployment
  • Migration Strategy & Assessment
  • Executing Migrations
  • Network Connectivity: Internet & Hybrid
  • Network Security & Performance
  • Load Balancing & Routing

AZ-305 Study Guide

Domain 1: Design Identity, Governance, and Monitoring Solutions

  • Monitoring & Logging Design
  • Choosing Authentication Methods
  • Designing Identity Management
  • Authorizing Access to Resources
  • Secrets, Keys & Certificates
  • Governance at Scale
  • Compliance & Identity Governance

Domain 2: Design Data Storage Solutions

  • Relational Data: Choosing Your SQL Platform
  • Database Performance & Scalability
  • Database Security & Compliance
  • Cosmos DB & Semi-Structured Data
  • Blob, Data Lake & Azure Files
  • Data Integration & Analytics

Domain 3: Design Business Continuity Solutions

  • Recovery Objectives: RPO, RTO & SLA Free
  • Backup & Recovery for Compute Free
  • Backup for Databases & Unstructured Data Free
  • High Availability for Compute Free
  • High Availability for Data Free

Domain 4: Design Infrastructure Solutions

  • Compute Design: VMs & When to Use Them
  • Container Solutions: AKS, ACI & Container Apps
  • Serverless & Batch Processing
  • Messaging Architecture
  • Event-Driven Architecture
  • API Integration & Caching
  • App Configuration & Automated Deployment
  • Migration Strategy & Assessment
  • Executing Migrations
  • Network Connectivity: Internet & Hybrid
  • Network Security & Performance
  • Load Balancing & Routing
Domain 4: Design Infrastructure Solutions Premium โฑ ~18 min read

Serverless & Batch Processing

Azure Functions, Logic Apps, and Azure Batch โ€” design event-driven and batch compute solutions that scale automatically and charge only for what you use.

Serverless and batch compute design

โ˜• Simple explanation

Serverless means you write code, Azure handles everything else. No servers to provision, no capacity to plan โ€” just code that runs when triggered.

Azure Functions: Code triggered by events (HTTP request, timer, queue message, file upload). Runs, charges, stops.

Logic Apps: Visual workflows connecting 400+ services. No code needed โ€” drag-and-drop integration.

Azure Batch: Run thousands of parallel tasks on a pool of VMs. For heavy compute jobs (rendering, simulation, scientific computing).

Serverless and batch architecture covers two patterns:

  • Event-driven serverless: Azure Functions (code) and Logic Apps (workflow) โ€” triggered by events, auto-scale, pay-per-execution
  • Large-scale batch: Azure Batch โ€” managed VM pools for parallel compute jobs (HPC, rendering, genomics)

Azure Functions hosting plans

Azure Functions Hosting Plans
FactorConsumption (Legacy)Flex ConsumptionPremiumDedicated (App Service)
ScalingAuto (event-driven)Auto (fast, per-function)Auto (pre-warmed instances)Manual/auto (App Service rules)
Scale to zeroYesYesNo (min 1 instance)No
Cold startYes (seconds)ReducedNo (always warm)No
Execution timeout5 min default (10 max)ConfigurableUnlimitedUnlimited
VNet integrationNoYesYesYes
Min costFree (1M executions/mo)Pay per execution~$175/mo (1 instance)App Service plan cost
StatusLegacy โ€” being supersededRecommended for new serverlessProduction APIs, low-latencyExisting App Service plan reuse
Best forExisting apps only โ€” migrate to FlexVariable traffic with fast scaleProduction APIs, low-latencyExisting App Service plan reuse

Functions vs Logic Apps

Azure Functions vs Logic Apps
FactorAzure FunctionsLogic Apps (Standard)
DevelopmentCode-first (C#, JS, Python, Java, PowerShell)Visual designer + code-behind
TriggersHTTP, timer, queue, blob, Event Grid, etc.400+ connectors (Office 365, Salesforce, SAP, etc.)
OrchestrationDurable Functions for complex workflowsBuilt-in workflow engine (loops, conditions, parallel)
Integration focusCustom code executionService-to-service integration (SaaS connectors)
Best forCustom code triggered by eventsBusiness process automation, SaaS integration

๐Ÿ›๏ธ Davidโ€™s pattern: CloudPath Advisory uses both:

  • Functions for custom processing (transform data, call APIs, compute)
  • Logic Apps for integration workflows (sync Dynamics โ†’ SharePoint โ†’ email notifications)
  • Durable Functions for long-running orchestrations (approval workflows with human interaction)

Azure Batch for large-scale compute

FeatureDescription
Pool of VMsCreate managed pools (Linux/Windows, any size, spot VMs for cost savings)
Task schedulingSubmit thousands of tasks โ€” Batch distributes across pool nodes
Auto-scaleScale pool based on queue depth or schedule
Job dependenciesTask B waits for Task A to complete
MPI supportTightly coupled parallel workloads (HPC, scientific simulation)
Use CaseExampleWhy Batch
Video renderingRender 10,000 video frames in parallelEach frame = independent task, embarrassingly parallel
Financial modellingRun 50,000 Monte Carlo simulationsEach simulation = independent, aggregated at end
GenomicsProcess 100,000 DNA sequencesParallel processing with spot VMs for cost

๐Ÿ—๏ธ Priyaโ€™s batch design: GlobalTechโ€™s nightly reporting:

  • Azure Batch pool with D4s_v5 spot VMs (90% cheaper than on-demand)
  • 500 report generation tasks distributed across pool
  • Auto-scale: Pool starts at 0 VMs, scales to 50 during batch window, scales back to 0
  • Cost: ~$15/night vs $2,400/month for always-on VMs
๐Ÿ’ก Exam tip: Functions vs Batch โ€” execution duration is the key

Functions: Short-duration tasks (seconds to minutes). Event-driven. Consumption plan has a 10-minute max.

Batch: Long-duration tasks (minutes to hours). Scheduled or on-demand. No execution time limit.

If the scenario says โ€œprocess millions of items that each take 30 secondsโ€ โ†’ Functions with queue trigger. If it says โ€œeach task takes 2 hoursโ€ โ†’ Azure Batch.

Knowledge check

Question

When should you recommend Azure Functions Premium plan over Consumption?

Click or press Enter to reveal answer

Answer

Three scenarios: (1) Cold starts are unacceptable (Premium keeps instances warm), (2) VNet integration required (Consumption doesn't support it), (3) Execution needs to exceed 10 minutes. Premium costs more but eliminates cold starts and adds networking capabilities.

Click to flip back

Question

What's the difference between Azure Functions and Azure Batch?

Click or press Enter to reveal answer

Answer

Functions: event-driven, short tasks (seconds-minutes), auto-scale, serverless pricing. Batch: scheduled/on-demand, long tasks (minutes-hours), managed VM pools, HPC support. Key deciding factor: task duration. Functions for quick reactions, Batch for heavy parallel compute.

Click to flip back

Question

When should you use Durable Functions instead of regular Azure Functions?

Click or press Enter to reveal answer

Answer

When your workflow needs: chaining (sequential steps), fan-out/fan-in (parallel processing with aggregation), human interaction (approval workflows with timeouts), or long-running orchestration (days/weeks). Regular Functions handle single stateless events. Durable Functions manage state and coordination across multiple function calls automatically.

Click to flip back

Knowledge Check

๐Ÿ—๏ธ GlobalTech needs to generate 500 PDF reports every night. Each report takes 3-5 minutes to render. The job should start at midnight and use the cheapest compute possible. Which solution should Priya recommend?

Knowledge Check

๐Ÿ—๏ธ GlobalTech needs to process new employee onboarding: (1) create AD account, (2) provision mailbox, (3) assign licences, (4) wait for manager approval, then (5) grant access to team resources. Steps 1-3 can run in parallel, but step 5 must wait for step 4. The approval may take up to 7 days. Which solution should Priya recommend?

๐ŸŽฌ Video coming soon


Next up: How services talk to each other โ€” Messaging Architecture.

โ† Previous

Container Solutions: AKS, ACI & Container Apps

Next โ†’

Messaging Architecture

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.