AZ-900 AZ-900 Mock Test
50 timed questions · 45 minutes · scored by domain, with re-study links for your weakest areas.
How it works: the timer starts as soon as this page loads. Answer each question, use the numbered dots to jump around, and flag questions to come back to. You see no feedback until you submit — just like the real exam. The pass guide is 70%: note that some vendors (including AWS) use scaled scoring and do not publish a percentage pass mark, so 70% is a study guide only.
Q1.A startup has no capital to buy servers. It wants to start small, pay monthly for what it uses, and increase spending only as its revenue grows. Which cloud spending model does this describe?
Explanation: The consumption-based model bills for what is used, month by month, with no upfront purchase — spending tracks usage and revenue. CapEx is buying hardware upfront, which the startup cannot do. A fixed annual licence does not scale with usage. A reserved commitment requires paying upfront for capacity the startup does not yet need.
Exam objective: AZ-900 Describe cloud computing: describe the consumption-based model
Q2.A company uses a SaaS customer-relationship application. A new version of the application is released with security fixes. Who is responsible for applying the update?
Explanation: In SaaS the provider manages the application, including updates and security fixes. The customer owns its data and accounts, but not the application itself. The IT department manages accounts, not the vendor's application code. Entra ID is an identity service, not the application vendor.
Exam objective: AZ-900 Describe cloud computing: describe the shared responsibility model
Q3.A news website's traffic is unpredictable: quiet for hours, then enormous during breaking news. Its infrastructure automatically adds capacity during spikes and removes it afterwards. Which benefit is the site relying on?
Explanation: Elasticity is capacity adjusting automatically as demand changes — up during spikes, back down afterwards. Geo-distribution is placing resources near users. Disaster recovery is restoring service after a failure. Governance is enforcing rules and compliance.
Exam objective: AZ-900 Describe the benefits of using cloud services: describe the benefits of high availability and scalability in the cloud
Q4.A team is building a new API. They want to deploy code, have Azure handle servers, operating systems, and scaling, and pay only for what the API uses. Which service type should they choose?
Explanation: PaaS (for example App Service or Functions) lets the team deploy code while Azure manages servers, OS, and scaling. IaaS would make the team manage the OS. SaaS is a finished application to use, not a platform to build an API on. On-premises hosting is the most management work of all.
Exam objective: AZ-900 Describe cloud service types: describe platform as a service (PaaS)
Q5.A government department keeps classified records in its own datacenter, but uses a public cloud for its public website and for staff collaboration tools. The two environments are connected so staff can work across both. Which cloud model is this?
Explanation: Public and private environments bound together is a hybrid cloud. Public-only ignores the on-premises classified records; private-only ignores the public-cloud services. Multi-cloud is not one of the three models in the exam objectives.
Exam objective: AZ-900 Describe cloud computing: identify appropriate use cases for each cloud model
Q6.A company runs two virtual machines in different availability zones in the same region. What availability SLA does Azure offer for this configuration?
Explanation: Two or more VMs across availability zones carry a 99.99% SLA — the highest VM availability option. 99.9% is the single-VM SLA. 99.95% is the availability-set SLA. No configuration offers 100%.
Exam objective: AZ-900 Describe the core architectural components of Azure: describe availability zones
Q7.A company stores compliance records that it rarely accesses but must keep for years. Retrieval can take hours when it is needed. Which Blob Storage access tier is the most cost-effective?
Explanation: Archive is the cheapest storage tier, designed for data almost never accessed and kept long-term, with retrieval taking hours — exactly this scenario. Hot is for frequently accessed data. Cool is for infrequently accessed data stored 30+ days, but Archive is cheaper for data rarely touched. Premium is a performance tier for disks, not a blob access tier.
Exam objective: AZ-900 Describe Azure storage services: describe storage tiers
Q8.Two virtual networks in the same Azure region need to communicate directly with low latency, and the traffic must stay on Microsoft's private network. What should be configured between them?
Explanation: VNet peering connects two Azure VNets directly over Microsoft's private backbone with low latency. ExpressRoute and VPN Gateway connect on-premises networks to Azure, not two VNets. Azure DNS hosts domain records; it does not connect networks.
Exam objective: AZ-900 Describe Azure compute and networking services: describe virtual networking, including the purpose of Azure virtual networks, subnets, peering, Azure DNS, Azure VPN Gateway, and ExpressRoute
Q9.An external auditor needs to view a company's Azure resources to verify compliance, but must not be able to change or delete anything. Which built-in RBAC role should the auditor receive?
Explanation: Reader allows viewing resources without changing them — the right role for an auditor. Owner and Contributor can both modify resources. User Access Administrator manages access assignments, which the auditor does not need and should not have.
Exam objective: AZ-900 Describe Azure identity, access, and security: describe Azure role-based access control (RBAC)
Q10.A web application's traffic varies widely during the day. The team wants identical virtual machines to be added automatically when traffic rises and removed when it falls. Which service provides this?
Explanation: Virtual Machine Scale Sets manage a group of identical VMs that scale automatically with demand. An availability set spreads VMs across fault and update domains for availability; it does not autoscale. Virtual Desktop delivers user desktops. A single VM cannot scale out.
Exam objective: AZ-900 Describe Azure compute and networking services: describe virtual machine options, including Azure virtual machines, Azure Virtual Machine Scale Sets, availability sets, and Azure Virtual Desktop
Q11.A database in Azure must be reachable only from inside the company's virtual network. No traffic to the database may cross the public internet. What should be configured?
Explanation: A private endpoint gives the database a private IP address inside the VNet, so traffic stays on the private network. A public endpoint is reachable over the internet by definition, and MFA does not change that. VNet peering connects two VNets, not a VNet to a database service. A resource lock prevents deletion or modification, not network access.
Exam objective: AZ-900 Describe Azure compute and networking services: define public and private endpoints
Q12.A security architect states: 'We will authenticate and authorise every access request using identity, device, and location signals, even for users inside the office.' Which Zero Trust principle is the architect applying?
Explanation: Verify explicitly means authenticating and authorising every request based on all available signals. Assume breach is designing as if an attacker is already inside. Least privilege is granting only the minimum access needed. Defense in depth is layered protection, a different concept from the Zero Trust principles.
Exam objective: AZ-900 Describe Azure identity, access, and security: describe the concept of Zero Trust
Q13.A company creates an Azure Policy that blocks the creation of any storage account without encryption enabled. Which policy effect is being used?
Explanation: The Deny effect blocks a non-compliant action — here, creating an unencrypted storage account. Audit would allow the action and record it as non-compliant. Append adds properties to a resource. Disabled turns the rule off.
Exam objective: AZ-900 Describe features and tools in Azure for governance and compliance: describe the purpose of Azure Policy
Q14.A company sets a monthly Azure budget of $5,000 for its development subscription. In the third week, spending passes $5,000. What happens?
Explanation: Budgets are thresholds that trigger alerts; they do not stop, delete, or suspend anything by themselves. Action only happens if an alert is configured and linked to automation (for example, an action group running a runbook). Azure never automatically stops or deletes resources because a budget was exceeded.
Exam objective: AZ-900 Describe cost management in Azure: describe cost management capabilities in Azure
Q15.Azure Advisor flags a virtual machine that has been running at 5% CPU for a month and suggests a smaller size. Which Advisor recommendation category is this?
Explanation: Right-sizing an under-used VM to save money is a cost recommendation. Reliability recommendations are about availability and recovery. Security recommendations are about protecting resources. Operational excellence is about manageability and process — not about saving money on an idle VM.
Exam objective: AZ-900 Describe monitoring tools in Azure: describe the purpose of Azure Advisor
Q16.A company tags every Azure resource with a Project tag so the finance team can report spending per project. Which capability makes that reporting possible?
Explanation: Cost Management can break spending down by tag, so a Project tag enables per-project cost reporting. Policy initiatives group rules; they do not report spending. Resource locks prevent deletion or modification. Monitor alerts notify about metric thresholds, not costs.
Exam objective: AZ-900 Describe cost management in Azure: describe the purpose of tags
Q17.A consultant is working from a borrowed laptop and needs to run Azure CLI commands immediately, without installing anything. What should they open?
Explanation: Azure Cloud Shell is a browser-based shell with the Azure CLI preinstalled — no local installation needed. Azure Arc manages external servers. An ARM template is a deployment file, not a shell. The pricing calculator estimates costs; it runs no commands.
Exam objective: AZ-900 Describe features and tools for managing and deploying Azure resources: describe Azure Cloud Shell, Azure CLI, and Azure PowerShell
Q18.An administrator wants to know whether planned maintenance next week will affect their virtual machines. Which service provides this information?
Explanation: Service Health includes planned maintenance notifications for upcoming work affecting your resources. Advisor gives improvement recommendations. Monitor collects your resources' metrics and logs. Defender for Cloud assesses security posture — none of them announces planned platform maintenance.
Exam objective: AZ-900 Describe monitoring tools in Azure: describe Azure Service Health
Q19.A production storage account must never be deleted, but the operations team needs to change its redundancy setting next month. Which lock should be applied?
Explanation: CanNotDelete prevents deletion while allowing modification, so the team can still change the redundancy setting. ReadOnly would block the change. Deny and Audit are Azure Policy effects, not resource lock types.
Exam objective: AZ-900 Describe features and tools in Azure for governance and compliance: describe the purpose of resource locks
Q20.A company needs to find all the files across its Azure data stores that contain credit card numbers, so it can report on them for a compliance audit. Which service is designed for this?
Explanation: Microsoft Purview discovers, maps, and classifies data across sources — including finding sensitive data such as credit card numbers — for governance and compliance. Azure Policy governs resource configuration. Azure Monitor collects operational metrics and logs. Advisor gives improvement recommendations.
Exam objective: AZ-900 Describe features and tools in Azure for governance and compliance: describe the purpose of Microsoft Purview in Azure
Q21.A small company stops buying physical servers. Instead, it rents computing services from a provider over the internet and pays only for the resources it uses each month. Which term best describes this arrangement?
Explanation: Cloud computing is the delivery of computing services over the internet on a pay-as-you-go basis, which is exactly what the company is doing. A private datacenter is infrastructure the company owns itself. A virtual private network is an encrypted connection, not a computing model. An intranet is an organisation's internal network, not rented computing services.
Exam objective: AZ-900 Describe cloud computing: define cloud computing
Q22.A hospital must keep patient records on infrastructure that is used exclusively by the hospital and is under its direct control, to satisfy healthcare regulations. Which cloud model should the hospital use for these records?
Explanation: A private cloud is infrastructure used exclusively by one organisation — on its premises or hosted for its exclusive use — which satisfies the control and regulatory requirement. A public cloud shares infrastructure with other tenants. A hybrid cloud would still place some workloads in the public cloud, which does not meet the 'exclusively by the hospital' requirement for these records. Multi-cloud means using more than one public provider and is not one of the exam's three cloud models.
Exam objective: AZ-900 Describe cloud computing: define cloud models, including public, private, and hybrid
Q23.A cloud provider runs thousands of customers' workloads on the same physical servers, dynamically assigning computing resources to whichever customer needs them at any moment. Which cloud characteristic does this describe?
Explanation: Resource pooling is the provider serving multiple customers from shared physical infrastructure, with resources dynamically assigned as demand shifts. Measured service is about metering and billing usage. Broad network access is about reaching services over the network from many device types. On-demand self-service is about customers provisioning resources themselves without provider staff.
Exam objective: AZ-900 Describe cloud computing: define cloud computing
Q24.A company uses a software-as-a-service (SaaS) email service. Which of the following remains the company's responsibility?
Explanation: The customer is always responsible for its own data, accounts, and access, in every service type including SaaS. Patching the servers, maintaining the datacenter, and updating the application are all provider responsibilities in SaaS — that is the point of the service type.
Exam objective: AZ-900 Describe cloud computing: describe the shared responsibility model
Q25.As a company moves a workload from IaaS to PaaS to SaaS, what happens to the customer's management responsibility?
Explanation: Each step up the stack transfers more layers to the provider (OS, then runtime, then application), so the customer's management responsibility decreases. It does not increase or stay the same. And it never disappears completely: even in SaaS the customer remains responsible for its data, accounts, and access.
Exam objective: AZ-900 Describe cloud computing: describe the shared responsibility model
Q26.An e-commerce site automatically adds servers when traffic spikes during a sale and removes them when traffic falls back, with no administrator involvement. Which term best describes this behaviour?
Explanation: Elasticity is resources scaling automatically as demand changes — up and back down — without manual intervention. High availability is about staying up when components fail. Predictability is about knowing cost or performance in advance. Manageability is about centralised administration and automation of the environment, not automatic scaling.
Exam objective: AZ-900 Describe the benefits of using cloud services: describe the benefits of high availability and scalability in the cloud
Q27.A system detects that one of its database replicas has failed, automatically promotes a healthy replica, and continues serving requests with only a brief interruption. Which benefit does this best illustrate?
Explanation: Reliability is the ability of a system to recover from failures and keep operating — detecting the failure and promoting a replica is recovery in action. Scalability is changing size to meet demand. Governance is enforcing rules and compliance. Cost predictability is about knowing spend in advance.
Exam objective: AZ-900 Describe the benefits of using cloud services: describe the benefits of reliability and predictability in the cloud
Q28.A company needs a relational database for a new application. It does not want to install, patch, or back up a database server. Which Azure option is the PaaS choice?
Explanation: Azure SQL Database is a managed (PaaS) database: Microsoft handles patching, backups, and high availability. SQL Server on a VM is IaaS — the customer manages the OS and the database installation. Blob Storage is object storage, not a relational database. Azure Files is a managed file share, not a database.
Exam objective: AZ-900 Describe cloud service types: identify appropriate use cases for each cloud service type (IaaS, PaaS, and SaaS)
Q29.A company runs its website on Azure App Service (PaaS). A new security patch is released for the underlying operating system. Who applies it?
Explanation: In PaaS the provider manages the operating system, including patching — the customer manages only its application code and data. The customer owns the OS only in IaaS. The internet provider has no role. PaaS platforms do run on operating systems; the customer just never manages them.
Exam objective: AZ-900 Describe cloud service types: describe platform as a service (PaaS)
Q30.A company needs its virtual machines to keep running even if an entire Azure datacenter fails. Which feature should it use?
Explanation: Availability zones are physically separate datacenters within a region, so VMs spread across zones survive a whole-datacenter failure (99.99% SLA). An availability set protects against failures inside one datacenter (rack-level and maintenance), not the loss of the datacenter itself. A resource group is an organisational container, not a redundancy mechanism. A management group governs subscriptions; it provides no availability.
Exam objective: AZ-900 Describe the core architectural components of Azure: describe availability zones
Q31.A company runs two virtual machines in a single availability set. What availability SLA does Azure offer for this configuration?
Explanation: Two or more VMs in one availability set carry a 99.95% SLA. 99.9% is the SLA for a single VM with premium SSD. 99.99% requires VMs spread across availability zones. No configuration offers 100%.
Exam objective: AZ-900 Describe the core architectural components of Azure: describe availability zones
Q32.A company runs a web application that must automatically add servers during traffic peaks and remove them afterwards. All servers must be identical and load-balanced. Which Azure service should it use?
Explanation: Virtual Machine Scale Sets create and manage a group of identical, load-balanced VMs that scale automatically with demand. A single VM cannot scale or balance load. Azure Virtual Desktop delivers Windows desktops to users, not web servers. Azure Functions run short event-driven code, not a web application tier.
Exam objective: AZ-900 Describe Azure compute and networking services: describe virtual machine options, including Azure virtual machines, Azure Virtual Machine Scale Sets, availability sets, and Azure Virtual Desktop
Q33.A developer builds an application from small independent services that must run identically on a laptop, in testing, and in Azure, and start within seconds. Which compute approach best fits?
Explanation: Containers package an application with its dependencies so it runs identically in any environment and starts in seconds — the microservices fit. Virtual machines carry a full OS, start in minutes, and are heavier. Functions are for short event-driven tasks, not for services that run continuously. A dedicated physical server is the opposite of portable.
Exam objective: AZ-900 Describe Azure compute and networking services: compare compute types, including containers, virtual machines, and functions
Q34.A company needs to connect its on-premises datacenter to Azure with a private, dedicated connection that never crosses the public internet, with predictable low latency for large nightly data transfers. Which service should it use?
Explanation: ExpressRoute is a private dedicated connection between on-premises and Azure that never uses the public internet, with high bandwidth and predictable latency. VPN Gateway traffic crosses the public internet (encrypted). VNet peering connects two Azure VNets, not on-premises to Azure. Azure DNS hosts domain name records; it does not connect networks.
Exam objective: AZ-900 Describe Azure compute and networking services: describe virtual networking, including the purpose of Azure virtual networks, subnets, peering, Azure DNS, Azure VPN Gateway, and ExpressRoute
Q35.A virtual machine in a VNet needs to access an Azure storage account, and company policy requires that the traffic never crosses the public internet. What should be configured for the storage account?
Explanation: A private endpoint gives the storage account a private IP address inside the VNet, so traffic stays on the private network. A public endpoint is reachable over the internet by definition, even with a firewall. A VPN Gateway connects on-premises networks, not a VM to a storage account. ExpressRoute connects on-premises to Azure; it does not give a storage account a private IP in a VNet.
Exam objective: AZ-900 Describe Azure compute and networking services: define public and private endpoints
Q36.A company needs its stored data to survive the failure of an entire Azure region. Which redundancy option should it choose?
Explanation: GRS keeps 6 copies: 3 in the primary region and 3 in the paired secondary region, so the data survives a regional failure. LRS keeps 3 copies in one datacenter. ZRS keeps 3 copies across zones in one region — it survives a datacenter failure, not a regional one. A local disk backup is not an Azure Storage redundancy option.
Exam objective: AZ-900 Describe Azure storage services: describe redundancy options
Q37.A company has 80 TB of data on an on-premises server and a slow internet connection. It needs the data in Azure within two weeks. What is the most practical way to move it?
Explanation: Azure Data Box is a physical device shipped to the customer: load around 100 TB, ship it back, Microsoft uploads it — far faster than weeks of uploading over a slow link. AzCopy over a slow connection would take too long for 80 TB. Email is not a data-migration method. File Sync synchronises file servers continuously; it does not solve the bandwidth problem for a one-off bulk move.
Exam objective: AZ-900 Describe Azure storage services: describe migration options, including Azure Migrate and Azure Data Box
Q38.A company wants to enforce this rule: 'Anyone signing in from outside the office must complete MFA, and sign-ins from countries where we have no staff are blocked.' Which Azure feature enforces this kind of rule?
Explanation: Conditional Access makes access decisions from signals (location, device, user, risk) and enforces controls such as requiring MFA or blocking access. Azure Policy governs resource configuration, not sign-ins. Resource locks prevent resource deletion or modification. Entra ID is the identity service itself; Conditional Access is its policy engine for these decisions.
Exam objective: AZ-900 Describe Azure identity, access, and security: describe Microsoft Entra Conditional Access
Q39.A developer needs to create and manage resources in one resource group, but must NOT be able to grant other people access to those resources. Which built-in RBAC role should be assigned, and at which scope?
Explanation: Contributor can create and manage resources but cannot grant access, and assigning it at the resource group follows least privilege (narrowest scope). Owner can grant access, which the requirement forbids — and the subscription scope is too broad. Reader can only view resources. User Access Administrator manages access only and cannot manage resources.
Exam objective: AZ-900 Describe Azure identity, access, and security: describe Azure role-based access control (RBAC)
Q40.A company adopts a security model in which every access request is verified based on identity, device, and location — whether the user is in the office or working remotely. No request is trusted just because it comes from inside the network. Which model is this?
Explanation: Zero Trust assumes no implicit trust: every request is verified explicitly based on signals such as identity, device, and location. Defense in depth is layered protection, not a trust model. Perimeter security is the old model of trusting everything inside the network — the opposite of this. RBAC controls what users can do to resources; it is one tool within a Zero Trust strategy, not the strategy itself.
Exam objective: AZ-900 Describe Azure identity, access, and security: describe the concept of Zero Trust
Q41.A security team wants a single view of how securely its Azure resources are configured, with a score and a prioritised list of improvements. Which service provides this?
Explanation: Defender for Cloud assesses security posture, gives a secure score, and provides prioritised recommendations. Azure Monitor collects metrics and logs for performance and operations, not a security score. Service Health reports the health of Azure services themselves. Entra ID manages identities and access, not security posture scoring.
Exam objective: AZ-900 Describe Azure identity, access, and security: describe the purpose of Microsoft Defender for Cloud
Q42.A company wants to be notified by email when its monthly Azure spending reaches 80% of its planned limit. What should it configure?
Explanation: Cost Management budgets define a spending threshold, and alerts notify people when spending approaches or exceeds it. Azure Policy enforces configuration rules, not spending notifications. A resource lock prevents deletion or modification of resources. There is no native hard spending cap on a subscription — budgets alert, they do not block spending.
Exam objective: AZ-900 Describe cost management in Azure: describe cost management capabilities in Azure
Q43.A company uploads 5 TB of data into Azure for free, then downloads 5 TB back to its offices and receives a large data-transfer charge. What explains the charge?
Explanation: Data transfer into Azure is free; data leaving Azure to the internet is charged — the asymmetry explains the bill. Uploading is not charged. The region affects resource prices, not this transfer charge. And Azure does not charge for movement in both directions — ingress is free.
Exam objective: AZ-900 Describe cost management in Azure: describe factors that can affect costs in Azure
Q44.A company wants to see how much each department spends on Azure, so it adds a Department tag (Finance, Sales, Engineering) to every resource. What does this tagging enable?
Explanation: Cost Management can break spending down by tag, so tagging by department enables per-department cost reporting. Tags do not delete resources, control access, or change prices — they are metadata for organisation and reporting.
Exam objective: AZ-900 Describe cost management in Azure: describe the purpose of tags
Q45.A company wants to ensure that no one can create virtual machines outside the UK South region. Which Azure service should it use?
Explanation: Azure Policy enforces rules on resources — here, a policy with a Deny effect on VMs outside UK South. Resource locks prevent deletion or modification, not creation in a region. Purview governs data, not resource placement. RBAC controls who can act, not where resources may be created.
Exam objective: AZ-900 Describe features and tools in Azure for governance and compliance: describe the purpose of Azure Policy
Q46.A critical production database must never be deleted, but the database team still needs to update its configuration. Which resource lock should be applied?
Explanation: CanNotDelete prevents deletion while still allowing modification — exactly the requirement. ReadOnly would block the configuration updates as well as deletion. Deny and Audit are Azure Policy effects, not resource lock types.
Exam objective: AZ-900 Describe features and tools in Azure for governance and compliance: describe the purpose of resource locks
Q47.A company runs servers on-premises and in another cloud. It wants to manage all of them — including applying Azure Policy — from the Azure portal, without moving them. Which service enables this?
Explanation: Azure Arc extends Azure management to on-premises and multi-cloud servers, so they appear in the portal and can be governed by Policy. Azure Migrate moves workloads to Azure — the opposite of leaving them in place. Azure Monitor collects metrics and logs; it does not manage external servers. ARM is the deployment layer for Azure resources, not a bridge to external servers.
Exam objective: AZ-900 Describe features and tools for managing and deploying Azure resources: describe the purpose of Azure Arc
Q48.A team wants to define its infrastructure in a file so that the same environment can be deployed identically to development, testing, and production, with all changes tracked in version control. Which approach is this?
Explanation: Infrastructure as code defines infrastructure in machine-readable files, giving consistency, repeatability, and version control across environments. Manual portal configuration is the opposite — error-prone and untracked. Azure Policy enforces rules on resources; it does not define them. Service Health reports the health of Azure services.
Exam objective: AZ-900 Describe features and tools for managing and deploying Azure resources: describe infrastructure as code (IaC)
Q49.A company's website has stopped responding. The team first wants to check whether Azure itself is experiencing an outage in their region. Which service should they check?
Explanation: Service Health reports the health of the Azure platform itself, including service issues affecting your regions. Advisor gives improvement recommendations. Monitor watches your own resources' metrics and logs. Application Insights monitors your application's performance — none of them reports platform outages.
Exam objective: AZ-900 Describe monitoring tools in Azure: describe Azure Service Health
Q50.A development team wants to know which requests to its web application are failing, how long responses take, and whether the application is available from around the world. Which service should it use?
Explanation: Application Insights is application performance monitoring: request rates, response times, failure rates, dependencies, and availability tests. Advisor gives recommendations. Service Health reports platform status. Policy enforces resource rules — none of them traces application requests.
Exam objective: AZ-900 Describe monitoring tools in Azure: describe Azure Monitor, including Log Analytics, Azure Monitor alerts, and Azure Monitor Application Insights