Back to exam

AZ-102 Cheatsheet

Microsoft Azure Administrator Certification Transition

Download free PDF

Migration and recovery

Discovery and assessment

  • **Azure Migrate** discovers servers, assesses Azure readiness, estimates cost and recommends sizes. Discovery and assessment precede workload replication and cutover.
  • For **VMware discovery**, deploy the appliance from its supplied template, configure vCenter credentials and register it with the project. Provide HTTPS connectivity to vCenter and Azure services, typically TCP 443.
  • Use **dependency analysis** to group related application servers. Assess connected tiers together and plan the destination region, storage redundancy, pricing offer and network.
  • **Performance-based sizing** uses observed CPU, memory and disk demand over a selected history. A **percentile** selects a utilization sample; it is not a multiplier applied to average CPU usage.
  • A **comfort factor** adds headroom to measured demand before selecting a supported Azure size. For example, four cores at 50% utilization with factor 2 need four cores of CPU capacity before other sizing constraints.

Site Recovery for Hyper-V

  • A **Recovery Services vault** coordinates Site Recovery protection. Prepare the target subscription, region, network and storage; define and associate a **replication policy** before enabling replication.
  • For **Hyper-V without VMM**, create a Hyper-V site, install the Site Recovery Provider and Recovery Services agent on each participating host, and register the host with the vault.
  • For **VMM-managed Hyper-V**, install the Provider on the VMM server and the Recovery Services agent on each host. Map the source VM network to its Azure target network.
  • Use a **vault registration key** to register source infrastructure. A storage account key authorizes storage access and does not substitute for vault registration credentials.

Replication and cutover

  • In the **classic VMware and physical-server architecture**, a configuration server coordinates replication, a process server handles replication traffic, and the **Mobility service** runs on protected machines.
  • An **AWS EC2 migration** can use an agent-based physical-server approach. Prepare source connectivity and replication components, register with the vault, associate a policy and enable replication.
  • Check **replication eligibility** by source platform, guest OS, boot generation, disk layout, disk sizes and encryption. A machine being discoverable does not prove it can be replicated or boot successfully in Azure.
  • **Replication policies** govern recovery-point retention and supported consistency settings. **RPO** measures acceptable data loss; **RTO** measures acceptable recovery time. Replication and historical backup solve different needs.
  • Run a **test failover** in an isolated network, validate application dependencies and clean up the test. Coordinate final writes, failover, validation and commitment during cutover; preserve a rollback plan.

Virtual networking and DNS

Peering and routing

  • **VNet peering** connects private address spaces over the Azure backbone. Plan **non-overlapping CIDRs** across peers and hybrid networks; check entire ranges rather than comparing only subnet names.
  • Peering is **non-transitive**: A peered with B and B peered with C does not automatically connect A to C. Configure the required peering directions and permissions.
  • For spoke-to-spoke traffic through a **network virtual appliance**, associate **user-defined routes** with spoke subnets, use the appliance as next hop and allow forwarded traffic on relevant peerings.
  • Enable **IP forwarding** on the appliance NIC and routing in its guest OS. Check NSGs, return routes and path symmetry; peering alone does not make a VM a router.
  • **Gateway transit** shares a hub VPN gateway: allow gateway transit at the hub and use remote gateways at the spoke. This differs from forwarding through an appliance. **VNet-to-VNet VPN** uses VPN gateways and IPsec/IKE tunnels.

NSG filtering and address changes

  • An **NSG** filters traffic by direction, protocol, source, destination and port. Lower numeric **priority** is evaluated first; the first matching rule decides the result.
  • NSGs can apply at **subnet and NIC** scopes. Traffic must satisfy both when both are present. NSGs are stateful; responses to an allowed connection do not require a separate reverse rule.
  • To restrict **RDP**, permit TCP 3389 from approved on-premises ranges and deny unwanted sources while preserving required TCP 443 application access. Check default rules and priorities.
  • Before changing a **VNet address space**, check overlap, subnet allocations, peer address-space synchronization and hybrid routes. DNS resolution, routing and security rules must all support the new range.

Public and private DNS

  • A public **Azure DNS zone** becomes authoritative through delegation. Configure the domain registrar with the Azure-assigned name servers; merely creating the zone and an A record does not redirect public queries.
  • Delegate a **child zone** with an **NS record set** for the child in its parent zone. **A** maps a name to IPv4, **PTR** supports reverse lookup, and **SOA** holds zone authority metadata.
  • Use **Azure CLI zone import** to load a supported DNS zone file, for example with **az network dns zone import**. Review imported records and delegation before retiring the old authority.
  • A **private DNS zone** resolves through linked VNets or an appropriate DNS forwarding design. An **autoregistration-enabled link** can create VM A records using private IP addresses.
  • A VNet link can provide **resolution without registration**. VNet peering does not automatically link private DNS zones; check zone links, client DNS settings and forwarding separately.

Choose the diagnostic tool

  • **IP flow verify** evaluates a specified VM flow against NSG rules and identifies the allow or deny rule. Supply direction, protocol, local and remote addresses, and ports.
  • **Connection troubleshoot** tests point-in-time reachability from a source VM to a destination. **Connection monitor** tracks reachability and round-trip latency over time.
  • **Packet capture** records packet-level traffic for inspection. Network In/Out metrics show volume, and flow logs show connection metadata; neither replaces packet capture.
  • **Flow logs** record addresses, ports, protocol and traffic decisions. Legacy scenarios use **NSG flow logs**; new deployments use **VNet flow logs**. **Traffic Analytics** and Log Analytics support traffic analysis and queries.
  • Prepare the regional **Network Watcher**, register **Microsoft.Insights** for flow logging, and configure supported storage and analytics destinations. Capture duration and filters should match the troubleshooting window.

Identity and access

Custom domains and tenant context

  • To use a corporate **UPN suffix**, add the custom domain to Azure AD, publish the supplied verification **TXT or MX record** in public DNS, and verify ownership before assigning the suffix.
  • Match synchronized users' **on-premises UPN suffixes** to a verified domain. An unverified or non-routable suffix can lead to an onmicrosoft.com sign-in name and SSO confusion.
  • A **tenant** holds directory identities and policies; a **subscription** holds Azure resources and billing scope. Configure MFA in each intended tenant. Moving a subscription does not copy identity policies.
  • The portal's **startup directory** is a portal preference; switching directories changes the browsing context. **PowerShell context** selects the tenant and subscription for that command session.

Directory synchronization and SSO

  • **Azure AD Connect** synchronizes selected on-premises directory objects. Use **IdFix** to detect attribute errors, duplicates and invalid formats, then review corrections before synchronization.
  • **Password hash synchronization** enables cloud password validation using synchronized derived hashes. **Pass-through authentication** validates through on-premises agents. **AD FS** provides federation.
  • **Seamless SSO** uses the signed-in domain identity on eligible domain-joined clients. It complements password hash synchronization or pass-through authentication; it does not itself synchronize passwords.
  • For browser SSO, configure the **autologon.microsoftazuread-sso.com** endpoint in the local intranet zone as required. Verify domain connectivity, browser configuration and the user's UPN.
  • In **staging mode**, imports and synchronization run, but exports, password hash synchronization and password writeback are disabled. Review pending changes before making the server active.
  • Separate **installation credentials** from connector runtime accounts. Grant only the permissions required for enabled features; credentials used to create accounts and delegate AD permissions need not remain the runtime identity.

Conditional Access decisions

  • A **Conditional Access policy** combines user or group assignments, target resources, conditions and access controls. Scope Azure management access to the appropriate management resource rather than an unrelated app.
  • **Grant controls** require MFA or an eligible device state, or block access. With multiple selected requirements, choose **all controls (AND)** or **one control (OR)** deliberately.
  • **Session controls** govern the session experience; they do not substitute for an MFA grant requirement. Device compliance and hybrid domain join are separate signals.
  • Use **named locations** and blocking policies to restrict sign-in to approved networks. A trusted-IP MFA bypass only changes the MFA prompt; it does not prohibit sign-in elsewhere.
  • **Dynamic groups** derive membership from attributes such as department. Combine a department group with a scoped MFA policy, keep attributes accurate and allow for membership evaluation.

MFA states and client behavior

  • Legacy **per-user MFA states** are **Disabled**, **Enabled** and **Enforced**. Enabled initiates enrollment; Enforced applies the per-user requirement after registration. These states do not describe Conditional Access enforcement.
  • A user shown as **Disabled** for per-user MFA can still require MFA through Conditional Access. Evaluate applicable policies, registered methods and the sign-in context together.
  • MFA methods include supported **Authenticator** notifications or codes, SMS and phone calls when allowed by policy. **Email** and **app passwords** are not ordinary workforce browser MFA factors.
  • A **fraud report** can cause MFA blocking when configured; administrators can also block users. A blocked MFA attempt is denied. Inspect authentication records before choosing remediation.
  • **App passwords** are a legacy mechanism for eligible clients unable to handle MFA prompts. They do not satisfy interactive MFA or restore authentication where the service blocks legacy protocols; prefer a modern-authentication client.

Storage, cost and monitoring

Azure Files access

  • An **Azure Files SMB share** uses a UNC path such as **\\contosostorage.file.core.windows.net\data**. The storage account forms the host name; the share name follows the final separator.
  • Direct **SMB** access requires outbound **TCP 445**, working DNS and authorization. HTTPS access over TCP 443 is a different access path and does not make a blocked SMB mapping succeed.
  • A mapped drive requires both **network reachability** and valid share access. With supported identity-based access, account for share-level permissions and file or directory ACLs.

Azure File Sync topology

  • Create a **Storage Sync Service**, install the **Azure File Sync agent** on Windows Server and register the server. Registration establishes trust with the service.
  • A **sync group** contains one **cloud endpoint** representing an Azure file share and one or more **server endpoints** representing paths on registered servers.
  • Create a server endpoint for the intended local path after registration. Endpoints in the same group synchronize the same dataset; use separate groups for separate datasets.
  • A server registers with one **Storage Sync Service** and can participate in multiple sync groups through different server endpoints. **Cloud tiering** keeps selected file content in Azure while retaining a local namespace.

Cost and observability

  • Apply consistent **department tags** to billable resources spread across resource groups. Resource-group tags are not automatically inherited; use governance to apply required resource tags.
  • Use **Cost analysis** to filter or group by tags and select a reporting period, then export the required cost data. **Invoices**, **quotas** and **resource providers** serve different purposes.
  • Deleting a VM can leave **disks** that still incur charges. Check attachment state and **ManagedBy** for managed disks; inspect lease state and references for unmanaged VHDs before deciding they are unused.
  • Use **Application Gateway metrics** to compare total and failed requests over the same interval and aggregation. Logs provide request detail; backend health and host-count metrics help locate the failing tier.
  • An **alert rule** evaluates a signal and invokes an **action group**. Notification channels can be rate-limited, so one evaluation does not guarantee one message; distinguish evaluation, alert state and notification delivery.

Application integration

Functions hosting and triggers

  • **Azure Functions** runs code in response to triggers. A **Consumption plan** allocates execution capacity dynamically and charges for executions and resource consumption.
  • A dedicated **App Service plan** reserves hosting capacity. Configure supported scaling and **Always On** where required to keep the function host loaded.
  • For time-sensitive **Blob triggers**, consider polling delay and cold starts as separate causes. Always On addresses host idling; it does not guarantee instantaneous blob detection or completion.
  • Access to VM **private IPs** requires a compatible Functions hosting plan and VNet integration, plus working routes, DNS and security rules. Select networking, latency and cost requirements together.

Logic Apps and Event Grid

  • **Logic Apps** combines triggers, conditions and connector actions into workflows. An **HTTP request trigger** starts a workflow; a response action returns an HTTP result.
  • For high request volumes, review **workflow settings**, trigger concurrency, waiting runs, action throughput and connector throttling. Authentication keys and IAM do not increase execution capacity.
  • For supported on-premises SQL connectors, install an **on-premises data gateway**, register and associate its Azure gateway resource, then configure the SQL connection with gateway access and credentials.
  • An **Event Grid subscription** routes selected resource events to a handler. Filter resource creation, deletion or modification events and use a Logic App or Function to send notifications; handle retries idempotently.

Service Bus delivery semantics

  • A **Service Bus queue** distributes each message to one successful consumer. A **topic** gives each matching subscription its own copy; consumers within one subscription can compete for that copy.
  • Enable **sessions** for ordered processing of related messages sharing a **SessionId**. Ordering applies within a session; parallel sessions can progress independently.
  • **Duplicate detection** suppresses repeated MessageId values within its configured window. It solves a different problem from FIFO ordering and does not replace idempotent processing.
  • **Peek-lock** reserves a message while it is processed; complete it after success. An expired or abandoned lock can permit redelivery. **Lock duration** differs from message retention.
  • **Time to live (TTL)** determines message expiry, capped by the entity's configured maximum. Expired messages can be removed or sent to the **dead-letter queue** when configured; expiry is not a processing deadline guarantee.