Microsoft AZ-500: Compute, Container and Endpoint Security — Study Guide

Part of the Microsoft Azure Security Engineer Associate AZ-500 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

This section provides an operational reference for securing Azure compute, containers, and endpoints across IaaS and PaaS. It focuses on how to configure protections, why they matter, and how to enforce them consistently with Azure-native controls.

Compute and Endpoint Security

Azure VM platform protections and encryption options are foundational.

PaaS Compute: App Service and Functions

Secure-by-default patterns reduce PaaS attack surface.

Kubernetes and Container Security

Harden clusters and supply chains end-to-end.

Short example to attach ACR to AKS using the cluster’s managed identity:

az aks update -g rg-aks -n myAKS --attach-acr myAcrName

Governance, Policy, and Enforcement

Consistent control requires policy at deploy and at runtime.

Short policy snippet to deploy a required VM extension if missing:

"policyRule": {
  "if": { "field": "type", "equals": "Microsoft.Compute/virtualMachines" },
  "then": {
    "effect": "DeployIfNotExists",
    "details": {
      "type": "Microsoft.Compute/virtualMachines/extensions",
      "name": "MDE.Windows"
    }
  }
}

Short Gatekeeper constraint to restrict registries:

apiVersion: constraints.gatekeeper.sh/v1beta1
kind: K8sAllowedRepos
metadata:
  name: allowed-acr-only
spec:
  parameters:
    repos:
    - myacr.azurecr.io/

Practical Problem Scenario

Adobe Inc. is migrating a payments microservice to Azure. Security requirements mandate zero public exposure, signed images only, and time-bound admin access to legacy VMs during cutover.

  1. Make the AKS control plane private and lock down egress.
  1. Enforce signed images and restrict registries.
  1. Secure ACR with private endpoints and least-privilege roles.
  1. Enable Defender for Containers and ACR image scanning.
  1. Protect App Service-based admin tools with authentication and private access.
  1. Use Just-in-Time VM access for legacy hosts during cutover.
  1. Standardize encryption choices: SSE with CMK for disks; Trusted Launch for VMs.
  1. Apply Azure Policy and admission control as guardrails.
  1. Validate and operate with continuous governance.

Network Security Architecture · All domains · Data

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product