Microsoft Azure MCQ questions
Take a short practice test with instant feedback, then revise every question with its answer and the reason behind it.
- Questions
- 52
- From lessons
- 32
- Your last test
- —
Practice test
Which layer handles every create, update and delete request in Azure?
All questions with answers
Which model gives you the most control over the operating system?
Show answer
Answer: C. IaaS
With IaaS (e.g. virtual machines) you manage the OS and above.
Which service hosts web apps and APIs without managing servers?
Show answer
Answer: B. Azure App Service
App Service is a PaaS for web workloads.
What is a resource group?
Show answer
Answer: B. A logical container for related resources
Deleting a resource group deletes everything in it.
Which service runs event-driven code that scales automatically?
Show answer
Answer: A. Azure Functions
Functions run on triggers such as HTTP, timers and queues.
Which storage service is designed for unstructured objects like images?
Show answer
Answer: B. Blob Storage
Blobs live in containers inside a storage account.
Which blob tier is cheapest to store but slowest to read?
Show answer
Answer: D. Archive
Archive data must be rehydrated before it can be read.
Which service stores secrets, keys and certificates?
Show answer
Answer: A. Key Vault
Apps read secrets using their managed identity.
Which identity type is tied to a single resource’s lifecycle?
Show answer
Answer: B. System-assigned managed identity
It is deleted when the resource is deleted.
Which database is a globally distributed NoSQL service?
Show answer
Answer: B. Azure Cosmos DB
Cosmos DB offers multiple APIs and multi-region writes.
Which service collects metrics and logs across Azure?
Show answer
Answer: A. Azure Monitor
Application Insights and Log Analytics are part of Azure Monitor.
Which query language is used in Log Analytics?
Show answer
Answer: B. KQL
Kusto Query Language: requests | where resultCode == 500.
What filters network traffic to resources in a subnet?
Show answer
Answer: A. Network Security Group
NSGs contain allow/deny rules by port, protocol and address.
Which registry stores private container images in Azure?
Show answer
Answer: B. Azure Container Registry
ACR integrates with AKS, Container Apps and App Service.
Which service gives a managed Kubernetes control plane?
Show answer
Answer: B. AKS
Azure Kubernetes Service.
Which App Service feature allows zero-downtime swaps?
Show answer
Answer: A. Deployment slots
Deploy to a slot, warm up, then swap.
Which tool helps set spending limits and alerts?
Show answer
Answer: A. Cost Management budgets
Budgets send alerts when thresholds are reached.
Which language is Azure’s native infrastructure-as-code DSL?
Show answer
Answer: B. Bicep
Bicep compiles to ARM templates.
What is wrong with this App Service setting?
Shell Illustrative az webapp config appsettings set -g shop-rg -n shop-api \ --settings "Db__Password=P@ssw0rd123"Show answer
Answer: B. A secret is stored in plain text instead of a Key Vault reference or managed identity
Use a Key Vault reference or, better, passwordless auth with a managed identity.
Which pair forms Azure’s highest availability inside one region?
Show answer
Answer: B. Resources spread across availability zones
Zones are separate datacentres with independent power and networking.
Which service hosts static front ends with PR preview environments?
Show answer
Answer: A. Azure Static Web Apps
Static Web Apps integrates with GitHub Actions and Azure DevOps.
What does an App Service plan determine?
Show answer
Answer: B. The compute resources and pricing tier
The plan defines region, instance size, instance count and pricing tier.
From the lesson: Azure App ServiceDeployment slots allow swapping staging into production without downtime.
Show answer
Answer: A. True
Slot swaps warm up the new version before routing production traffic to it.
From the lesson: Azure App ServiceWith PaaS, who patches the operating system?
Show answer
Answer: B. The cloud provider
In PaaS the provider manages the OS and runtime; you manage your application and data.
From the lesson: Introduction to Cloud ComputingWhat does “elasticity” mean?
Show answer
Answer: B. Resources scale up and down with demand
Elasticity is automatic scaling to match demand.
From the lesson: Introduction to Cloud ComputingWhich layer handles every create, update and delete request in Azure?
Show answer
Answer: B. Azure Resource Manager
All management operations go through Azure Resource Manager.
From the lesson: Azure Fundamentals