Skip to main content

Azure Fundamentals Compute: Study Guide

·

Azure Fundamentals Compute services power cloud infrastructure on Microsoft's Azure platform. Understanding compute resources is essential for anyone pursuing Azure certifications, especially the AZ-900 exam.

Azure compute enables you to run applications, process data, and host services without managing physical hardware. You'll explore virtual machines, App Service, container services, serverless functions, and batch processing options.

Whether you're a student preparing for certification or learning cloud fundamentals, mastering compute concepts builds your foundation for scalable solutions. Flashcards work exceptionally well for this topic because compute services involve numerous service names, distinct use cases, and technical differences that benefit from spaced repetition and active recall.

Azure fundamentals compute - study with AI flashcards and spaced repetition

Azure Virtual Machines and IaaS Computing

Azure Virtual Machines (VMs) represent the Infrastructure-as-a-Service (IaaS) layer of Azure compute. VMs provide on-demand computing resources with complete control over your operating system, middleware, and runtime.

How VMs Work

When you create a VM, you select from various sizes and configurations. Options range from small development machines to high-performance instances optimized for specific workloads. Key concepts include VM sizes (Compute, Memory, Storage optimized), availability sets for redundancy, and managed disks for persistent storage.

When to Use Virtual Machines

VMs are ideal when you need:

  • Complete control over the computing environment
  • Custom software installations
  • Legacy application hosting
  • Complex networking configurations

Deployment and Management

You can deploy VMs using the Azure Portal, Azure CLI, PowerShell, or Resource Manager templates. Network configuration happens through virtual networks and subnets. Security groups enforce firewall rules, and Azure Backup handles backup strategies.

VM pricing depends on instance size, region, and payment model. Choose between pay-as-you-go or reserved instances for cost savings. Understanding VMs is crucial because they represent a familiar computing model for developers transitioning to cloud platforms.

App Service and Platform-as-a-Service Computing

Azure App Service is a fully managed Platform-as-a-Service (PaaS) offering. It simplifies web and mobile app deployment without infrastructure management overhead.

Supported Languages and App Types

App Service supports multiple frameworks and languages: .NET, Java, Python, Node.js, PHP, and Ruby. You can deploy:

  • Web apps
  • API apps
  • Mobile backends
  • WebJobs

Azure handles automatic scaling, load balancing, and security updates automatically.

App Service Plans

The service operates on App Service Plans, which define compute resources allocated to your applications. Plans range from Free tier for development to Isolated plans for enterprise scenarios requiring complete network isolation. Deployment options include continuous integration from GitHub, Azure DevOps, Bitbucket, or local Git repositories.

Key Features

App Service includes built-in authentication, authorization, and monitoring through Azure Monitor and Application Insights. Additional features include custom domain support, SSL/TLS certificates, traffic management, and staging environments for testing.

Pricing depends on your App Service Plan tier, which determines CPU, memory, and scaling capabilities. This service is ideal for organizations wanting to focus on application code rather than infrastructure.

Container Services and Kubernetes Orchestration

Azure Container Instances (ACI) and Azure Kubernetes Service (AKS) provide modern containerized application deployment options.

Azure Container Instances

Container Instances offer serverless containers with simple deployment and no cluster management. ACI is ideal for:

  • Single containers
  • Short-lived batch jobs
  • Simple scenarios

ACI eliminates the complexity of managing virtual machines while providing container benefits like isolation, rapid deployment, and environmental consistency.

Azure Kubernetes Service

Azure Kubernetes Service (AKS) manages Kubernetes cluster orchestration automatically. It handles node provisioning, scaling, and updates. Kubernetes provides sophisticated container orchestration for complex applications requiring service discovery, load balancing, storage management, and rolling updates.

Integration and Container Concepts

AKS integrates with Azure Container Registry for image storage, Azure DevOps for CI/CD pipelines, and Azure Monitor for observability. Containers package applications with dependencies, ensuring consistency between development and production. Docker images serve as the foundation, with container registries storing and managing images.

Choosing Between ACI and AKS

Use ACI for simple scenarios. Use AKS for production workloads requiring high availability and complex networking. Container networking uses overlay networks and service meshes like Istio for advanced traffic management. Security considerations include image scanning, network policies, and role-based access control.

Serverless Computing and Function Apps

Azure Functions provide serverless computing capabilities. You run code without managing servers or infrastructure. Functions execute in response to events like HTTP requests, timers, message queues, or database changes.

Cost and Execution Model

You pay only for execution time, measured in gigabyte-seconds, making this cost-effective for unpredictable workloads. Azure Functions support multiple languages: C#, JavaScript, Python, Java, and PowerShell. Triggers initiate function execution. Bindings provide declarative connections to services without boilerplate code.

Function Organization and Advanced Features

Function apps organize related functions within a single unit, sharing runtime environment and configuration. Durable Functions extend capabilities for complex workflows requiring orchestration, fan-out/fan-in patterns, and long-running processes. Azure Logic Apps complement Functions with visual workflow designer for integration scenarios and business automation.

Limitations and Advantages

Serverless computing reduces operational overhead and enables rapid scaling from zero to thousands of concurrent executions. Limitations include execution timeouts (default 5 minutes, maximum 10 minutes in consumption plans), cold start latency, and monitoring complexity. Understanding serverless computing is essential because this architectural pattern increasingly drives modern application design.

Batch Processing and High-Performance Computing

Azure Batch handles large-scale parallel and high-performance computing workloads. The service manages job scheduling, resource allocation, and task execution across compute nodes automatically.

Ideal Use Cases

Batch is ideal for:

  • Simulations
  • Rendering
  • Data processing
  • Machine learning training

Workloads requiring significant computational resources benefit from Batch's managed orchestration.

Job Structure and Optimization

You define batch jobs containing multiple tasks distributed across pools of virtual machines. Batch handles scheduling, failure recovery, and scaling automatically. Cost optimization features include low-priority virtual machines offering significant discounts for flexible workloads. Autoscaling pools adjust compute resources based on workload demands.

Integration and Monitoring

Azure Batch integrates with Azure Storage for input and output data, Azure DevOps for CI/CD, and monitoring services for observability. Understanding the difference between batch jobs (complete units of work), tasks (individual units within jobs), and pools (compute resources) is essential. Task dependencies allow sequential execution, while task slots control parallelism.

Pricing and Applications

Batch pricing depends on compute node time and data transfer, with significant savings possible through reserved capacity. This service appeals to research institutions, financial modeling firms, and media companies performing complex calculations.

Start Studying Azure Fundamentals Compute

Master Azure compute services with interactive flashcards designed for efficient learning. Test yourself on virtual machines, app services, containers, serverless functions, and batch processing through active recall practice.

Create Free Flashcards

Frequently Asked Questions

What is the main difference between Azure Virtual Machines and App Service?

Virtual Machines represent Infrastructure-as-a-Service where you manage the operating system, middleware, and runtime, providing complete control but requiring more operational overhead. App Service is Platform-as-a-Service handling infrastructure automatically, letting you focus on application code.

VMs suit scenarios requiring complete control, legacy applications, or custom configurations. App Service works better for web apps, APIs, and mobile backends where you want reduced management complexity. The choice depends on how much control you need versus how much operational simplicity you prefer.

When should I use Azure Container Instances versus Azure Kubernetes Service?

Azure Container Instances suits simple containerized scenarios like single containers, batch jobs, or testing. No cluster management is required. Azure Kubernetes Service handles complex applications requiring orchestration, service discovery, advanced networking, and high availability.

ACI is faster to deploy and cheaper for simple workloads. AKS provides production-grade features for microservices architectures. Consider ACI for development and simple deployments. Use AKS for enterprise applications needing sophisticated orchestration, scaling, and reliability across multiple containers.

What are the cost implications of Azure Functions versus virtual machines?

Azure Functions uses consumption-based pricing where you pay per execution time in gigabyte-seconds. This is ideal for unpredictable or bursty workloads. Virtual machines charge based on instance size and running time, better for sustained, consistent workloads.

Functions offer zero infrastructure management and automatic scaling to thousands of executions. VMs require paying for allocated capacity even when underutilized. For variable workloads with occasional execution, Functions are typically cheaper. For consistently running applications, VMs are more economical. Premium Function plans offer a middle ground with reserved capacity.

How does Azure Batch differ from running batch jobs on virtual machines?

Azure Batch manages job scheduling, resource allocation, and task distribution across multiple compute nodes automatically. It handles failures and scaling transparently. Running batch jobs directly on VMs requires custom scheduling logic, failure handling, and manual scaling implementation.

Batch optimizes resource utilization through low-priority VMs, autoscaling, and task parallelism. It simplifies large-scale distributed computing by abstracting infrastructure complexity. For simple jobs, VMs might suffice. For large-scale parallel processing, Batch provides essential managed orchestration features reducing development complexity significantly.

Why are flashcards effective for studying Azure Fundamentals Compute services?

Azure compute involves numerous service names, use cases, pricing models, and technical distinctions requiring active recall and spaced repetition. Flashcards leverage evidence-based learning techniques where retrieval practice strengthens memory formation.

Creating cards with service names on one side and use cases on reverse forces deep understanding. The variety of services (VMs, App Service, ACI, AKS, Functions, Batch) benefits from systematic review. Flashcards enable quick validation of knowledge gaps, efficient review sessions, and retention through repeated exposure. This format aligns perfectly with exam preparation strategies for Azure certification.