All Microsoft exams
Free AZ-900 practice test: 30 questions with answers
30 original questions for Microsoft Azure Fundamentals, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
All 30 AZ-900 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Describe Azure architecture and services (10 questions)
Question 1
A company needs a container to run a small background job for a few minutes at a time without managing a cluster. Which Azure compute option fits best?
- AAzure Container Instances
- BAzure Kubernetes Service with a large permanent node pool
- CA dedicated physical server
- DAzure Virtual Desktop
Show answer and explanationHide answer
Correct answer: AAzure Container Instances runs containers on demand without managing a cluster, which suits short jobs. A permanent Kubernetes node pool is more than the job needs, a physical server requires management, and Virtual Desktop serves user desktops.
Question 2
A team wants to run event-driven code that starts when a file is uploaded to a storage account, without provisioning servers. Which service is designed for this?
- AAzure Virtual Machines
- BAzure SQL Managed Instance
- CAzure Functions
- DAzure Backup
Show answer and explanationHide answer
Correct answer: CAzure Functions runs code in response to triggers such as storage events, without server provisioning. Virtual machines require management, SQL Managed Instance is a database service, and Backup protects data.
Question 3
A company needs a relational database that is fully managed by Azure, including backups and patching, and does not require access to the operating system. Which service should be used?
- AAzure Blob Storage
- BSQL Server installed on a virtual machine
- CA database on a local laptop
- DAzure SQL Database
Show answer and explanationHide answer
Correct answer: DAzure SQL Database is a managed relational database with automatic backups and patching. SQL Server on a VM requires the customer to manage the operating system, a laptop is not managed, and Blob Storage holds files, not relational tables.
Question 4
A website needs to store large volumes of images and videos and serve them to users over the internet at low cost. Which Azure service stores these objects?
- AAzure Key Vault
- BAzure Cosmos DB
- CAzure Virtual Network
- DAzure Blob Storage
Show answer and explanationHide answer
Correct answer: DBlob Storage is designed for unstructured objects such as images and video at scale. Cosmos DB is a database, virtual networks provide connectivity, and Key Vault stores secrets.
Question 5
Two virtual networks in Azure must exchange traffic privately as if they were connected. Which feature provides this?
- AA public IP address on each network
- BA shared storage account
- CA DNS zone with no records
- DVirtual network peering
Show answer and explanationHide answer
Correct answer: DVirtual network peering connects two virtual networks so resources communicate privately over the Azure backbone. Public IPs send traffic over the internet, storage accounts hold data, and empty DNS zones do not route traffic.
Question 6
An application's web traffic must be distributed across virtual machines in several regions, with the closest healthy region chosen for each user. Which service provides global load balancing for web traffic?
- AAzure Load Balancer for a single subnet
- BAzure Storage Explorer
- CAzure Front Door
- DAzure Monitor
Show answer and explanationHide answer
Correct answer: CAzure Front Door provides global HTTP load balancing and routes users to the best healthy backend across regions. Azure Load Balancer works within a region, Storage Explorer is a client tool, and Monitor collects telemetry.
Question 7
A solution must provide a fast cache for frequently read data to reduce load on a database. Which Azure service is designed for this?
- AAzure DevTest Labs
- BAzure Archive Storage
- CAzure Stack Hub
- DAzure Cache for Redis
Show answer and explanationHide answer
Correct answer: DAzure Cache for Redis is an in-memory cache that reduces latency and database load for frequently read data. Archive storage is for rarely accessed data, Stack Hub runs Azure services on-premises, and DevTest Labs provides test environments.
Question 8
A company wants to run a Windows application that needs full control over the operating system and installed software. Which service should it choose?
- AAzure Front Door
- BAzure Functions
- CAzure Virtual Machines
- DAzure Logic Apps
Show answer and explanationHide answer
Correct answer: CVirtual machines give full control over the operating system and installed software, which the application requires. Functions, Front Door and Logic Apps are managed services that do not provide full OS control.
Question 9
Which two options describe the purpose of an Azure region and its availability zones? (Choose two.)
- AAvailability zones are separate physical locations within a region with independent power and cooling
- BEvery region has exactly one availability zone for all services
- CAvailability zones are separate Azure subscriptions
- DA region is a geographic area containing one or more datacentres
- ERegions are Azure AD tenants
Show answer and explanationHide answer
Correct answer: A, DA region is a geographic area with datacentres, and availability zones are physically separate locations within a region with independent power and cooling. Regions do not have only one zone, zones are not subscriptions, and regions are not tenants.
Question 10
An application needs to process messages from a queue reliably, even when the consumer is temporarily offline. Which Azure service provides durable messaging for this?
- AAzure Cache for Redis
- BAzure Bastion
- CAzure Advisor
- DAzure Service Bus
Show answer and explanationHide answer
Correct answer: DService Bus provides durable message queues and topics, so messages wait until the consumer is ready. Redis is a cache rather than a durable queue, Bastion provides remote access, and Advisor gives recommendations.
Describe Azure management and governance (10 questions)
Question 11
A company wants to see what it spent on Azure last month, broken down by department, and to set alerts when spending approaches a limit. Which tool should it use?
- AAzure Cost Management and Billing
- BAzure Resource Graph
- CAzure Bastion
- DAzure Service Health
Show answer and explanationHide answer
Correct answer: ACost Management and Billing reports spending, supports breakdowns by tags or scopes, and can send budget alerts. Resource Graph queries resource properties, Bastion provides remote access, and Service Health reports platform issues.
Question 12
A company requires that all resources in its subscriptions have an owner tag. Non-compliant deployments should be blocked. Which service should be used?
- AAzure Advisor recommendations only
- BAzure Policy with a deny effect
- CA tag added manually after each deployment
- DAzure Service Health alerts
Show answer and explanationHide answer
Correct answer: BAzure Policy with a deny effect blocks resource deployments that do not meet the rule, such as a missing owner tag. Advisor makes recommendations without blocking, manual tags are not enforced, and Service Health reports platform status.
Question 13
An administrator must give a support team the ability to restart virtual machines in one resource group, and no other permissions. Which feature should be used?
- AAzure role-based access control with a built-in role scoped to the resource group
- BGranting the team the Owner role on the whole tenant
- CGiving the team read access to the billing account
- DSharing the subscription owner's password
Show answer and explanationHide answer
Correct answer: AAzure RBAC with a suitable role scoped to the resource group grants exactly the required permissions at the right scope. Shared passwords and broad ownership give more access than needed, and billing access is unrelated.
Question 14
A team wants to deploy the same set of resources to several subscriptions in a repeatable way, using a declarative file. Which Azure feature supports this?
- AAzure Resource Manager templates or Bicep files
- BManual creation in the portal for each subscription
- CEmail instructions to each administrator
- DA shared spreadsheet of resource names
Show answer and explanationHide answer
Correct answer: AARM templates and Bicep describe resources declaratively, which makes deployments repeatable across subscriptions. Manual portal steps, emailed instructions and spreadsheets are not declarative or repeatable.
Question 15
Which two features help an organization control access to Azure resources? (Choose two.)
- AMicrosoft Entra ID for identities and sign-in
- BAzure role-based access control
- CSharing one account among all administrators
- DTurning off authentication for internal apps
- EGiving every user the Owner role by default
Show answer and explanationHide answer
Correct answer: A, BAzure RBAC grants scoped permissions, and Microsoft Entra ID manages identities and sign-in for Azure. Shared accounts, disabled authentication and default Owner roles weaken access control.
Question 16
A company wants to know which of its resources do not follow recommended practices for reliability, security, cost and performance. Which Azure service gives these recommendations?
- AAzure Load Balancer
- BAzure Advisor
- CAzure Storage Explorer
- DAzure Cosmos DB
Show answer and explanationHide answer
Correct answer: BAzure Advisor analyses resource configuration and usage and recommends improvements across reliability, security, performance, operational excellence and cost. The other services provide storage, traffic distribution and a client tool.
Question 17
A resource group contains important production resources, and the team wants to prevent accidental deletion, even by administrators, until the lock is removed. Which feature should be used?
- AA tag named important
- BA diagnostic setting
- CA budget alert
- DA resource lock set to delete
Show answer and explanationHide answer
Correct answer: DA delete lock prevents deletion of the locked resource or group until an authorized user removes the lock. Tags only label resources, budget alerts notify about cost, and diagnostic settings collect logs.
Question 18
A company wants to group resources that share a lifecycle, such as all the resources for one application, so they can be managed together. Which Azure concept is used?
- AA resource group
- BA subscription for each resource
- CA management group
- DA region
Show answer and explanationHide answer
Correct answer: AResource groups hold resources that share a lifecycle and can be managed, deployed or deleted together. Management groups organize subscriptions, a subscription per resource is impractical, and regions are geographic locations.
Question 19
A user needs to create virtual machines in a subscription, but should not be able to manage role assignments. Which built-in role fits this need best?
- AVirtual Machine Contributor
- BOwner
- CUser Access Administrator
- DReader only
Show answer and explanationHide answer
Correct answer: AVirtual Machine Contributor allows managing virtual machines without granting permission to manage access. Owner and User Access Administrator can change role assignments, and Reader cannot create virtual machines.
Question 20
A company wants to see a history of administrative actions taken on its Azure resources, including who performed them and when. Which feature provides this?
- AThe Azure Advisor score
- BThe Azure Activity Log
- CThe Azure Pricing Calculator
- DThe Azure Marketplace list
Show answer and explanationHide answer
Correct answer: BThe Activity Log records control-plane operations on resources, such as creation and deletion, with the caller and time. Advisor, the Pricing Calculator and the Marketplace do not record administrative activity.
Describe cloud concepts (10 questions)
Question 21
A company wants to move from buying and maintaining its own servers to paying only for the compute it uses each month. Which cloud model describes this change?
- AHybrid ownership of physical data centres
- BCapital expenditure with a fixed hardware purchase
- COn-premises perpetual licensing
- DOperational expenditure replacing capital expenditure
Show answer and explanationHide answer
Correct answer: DConsumption-based billing turns large upfront hardware purchases into operating costs that follow usage. Capital expenditure and on-premises licensing describe the older model, and hybrid ownership still retains physical data centres.
Question 22
A business needs to add capacity within minutes during a seasonal sales peak and reduce it afterward. Which cloud characteristic best matches this need?
- AFixed capacity
- BElasticity
- CManual provisioning only
- DSingle tenancy
Show answer and explanationHide answer
Correct answer: BElasticity lets resources scale up and down automatically or quickly to match demand. Fixed capacity cannot follow the peak, single tenancy describes dedicated hardware, and manual provisioning is slow.
Question 23
A company wants its applications to continue running if one Azure datacentre in a region fails. Which Azure feature should it use?
- AAzure Reserved Instances
- BAvailability zones
- CAzure Policy
- DAzure Cost Management
Show answer and explanationHide answer
Correct answer: BAvailability zones are physically separate datacentres within a region that protect against datacentre-level failures. Reserved instances are pricing commitments, Azure Policy enforces rules, and Cost Management tracks spending.
Question 24
A team needs to keep its data in a specific country to meet a legal requirement. Which Azure concept helps it choose where resources are deployed?
- AResource groups
- BRegions
- CService principals
- DManagement groups
Show answer and explanationHide answer
Correct answer: BRegions are geographic areas where Azure resources are deployed, so choosing a region controls where data is stored. Resource groups, management groups and service principals organize or identify resources and do not set geography.
Question 25
An organization runs some workloads in its own datacentre and others in Azure, with network connectivity between them. Which cloud deployment model is this?
- APublic cloud only
- BHybrid cloud
- CCommunity cloud only
- DPrivate cloud with no connectivity
Show answer and explanationHide answer
Correct answer: BA hybrid cloud combines on-premises infrastructure with public cloud services connected together. A public-only model runs everything in the cloud, a community cloud is shared by an industry group, and a disconnected private cloud has no link to Azure.
Question 26
A developer wants to deploy applications without managing the operating system, patching or scaling the underlying servers. Which cloud service model fits best?
- AInfrastructure as a service (IaaS)
- BOn-premises hosting
- CPlatform as a service (PaaS)
- DBare-metal colocation
Show answer and explanationHide answer
Correct answer: CPaaS provides a managed platform where the provider handles the operating system, patching and underlying infrastructure while the customer deploys applications. IaaS leaves OS management to the customer, and on-premises or colocation keep all management in-house.
Question 27
Which two services are examples of software as a service (SaaS)? (Choose two.)
- AMicrosoft 365 Exchange Online
- BAzure SQL Database
- CAzure Virtual Machines
- DDynamics 365
- EAzure Kubernetes Service with self-managed nodes
Show answer and explanationHide answer
Correct answer: A, DExchange Online and Dynamics 365 are complete applications that the provider runs and maintains, which is the SaaS model. Azure SQL Database is a platform service, virtual machines are infrastructure, and self-managed Kubernetes nodes leave the customer responsible for management.
Question 28
A company has many Azure subscriptions and wants a single place to group them, so that policies apply across all of them. Which Azure feature should it use?
- AManagement groups
- BNetwork security groups
- CTags on individual virtual machines
- DAzure Bastion
Show answer and explanationHide answer
Correct answer: AManagement groups organize subscriptions into a hierarchy where policies and role assignments are inherited. Tags label resources, network security groups filter traffic, and Bastion provides remote access.
Question 29
A solution must be able to handle more users by adding more copies of the same application behind a load balancer. Which scalability approach does this describe?
- AManual scaling with a larger disk
- BVertical scaling
- CHorizontal scaling
- DSingle-threaded scaling
Show answer and explanationHide answer
Correct answer: CHorizontal scaling adds more instances of a component to share the load. Vertical scaling increases the size of one instance, while single-threading and disk changes do not add capacity in this way.
Question 30
A team wants to make its application more reliable by ensuring that a failure in one component does not stop the whole service. Which principle best matches this goal?
- ARedundancy across components and zones
- BRemoving all monitoring
- CTurning off backups to reduce complexity
- DA single server with the largest disk
Show answer and explanationHide answer
Correct answer: ARedundancy removes single points of failure so that one component can fail without stopping the service. A single large server, removed monitoring and disabled backups each increase the risk of an outage.
Want more AZ-900 questions?
The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.