Skip to content
$ lynuxpro

INTERVIEW PREP

Interview questions

570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.

Showing 1–15 of 24 questions

Learn Microsoft Azure →
1.What is the difference between IaaS, PaaS and SaaS?Beginner

IaaS rents basic infrastructure such as virtual machines, and you manage the operating system and apps. PaaS runs your code on a managed platform, so you manage only the app and data. SaaS is a finished product, and you manage only users and data. Choose the highest layer that still does the job.

2.What is the difference between a region and an Availability Zone?Beginner

A region is a group of data centers in one area. An Availability Zone is a separate building inside a region with its own power, cooling and network. Spreading across zones protects you from one building failing.

3.Explain the Azure hierarchy.Beginner

A tenant holds management groups. Management groups hold subscriptions. Subscriptions hold resource groups, and resource groups hold resources. Access and policy set at a higher level are inherited below.

4.What is a resource group?Beginner

A folder for resources that share a life cycle, such as one app's parts. A resource is in exactly one group, and deleting the group deletes everything inside.

5.What are Entra ID and RBAC?Beginner

Entra ID proves who you are. RBAC decides what you may do, as a role given to an identity at a scope. Roles at a higher scope also apply to everything below.

6.How do you stop paying for a VM?Beginner

Deallocate it from Azure. Stopping it from inside the operating system keeps the hardware reserved and billing continues. Disks are still billed when deallocated.

7.What is the difference between a control plane and a data plane permission?Mid

Control plane permissions manage the resource, such as creating a storage account. Data plane permissions use the data inside, such as reading a blob. Contributor can manage a storage account but needs a role like Storage Blob Data Reader to read blobs with Entra ID.

8.What is a managed identity and why use it?Mid

An identity Azure creates and rotates for a resource, so the app authenticates with no password or secret to store or leak. System-assigned ones live and die with the resource. User-assigned ones are separate and can be shared.

9.NSG versus Azure Firewall?Mid

An NSG is a basic allow and deny filter on subnets or network cards by IP, port and protocol. Azure Firewall is a central managed firewall with deeper features such as FQDN rules and threat intelligence, often placed in a hub network.

10.Is VNet peering transitive?Mid

No. If A peers with B and B peers with C, A cannot reach C. Peer A and C directly, or route through a hub with a firewall or gateway.

11.Service endpoint or private endpoint?Mid

A service endpoint keeps your subnet's traffic to a service on the Azure backbone, but the service keeps a public address. A private endpoint gives the service a private IP in your VNet, which is the stronger option and needs private DNS.

12.How do you choose between Load Balancer, Application Gateway and Front Door?Mid

Load Balancer works at layer 4 for any TCP or UDP in one region. Application Gateway is layer 7 for HTTP in one region, with URL routing and WAF. Front Door is the global layer 7 entry with caching and regional failover.

13.What are deployment slots?Mid

Extra copies of an App Service app, such as staging. You deploy and test there, then swap with production for near-zero downtime. Swapping back is the rollback.

14.When would you pick Cosmos DB over Azure SQL?Mid

When you need global distribution, very low latency and flexible JSON data at large scale. Pick Azure SQL for relational data with joins and transactions. In Cosmos DB the partition key is the critical design choice.

15.What is the difference between Service Bus, Event Grid and Event Hubs?Mid

Service Bus carries reliable messages that must be processed, with dead-lettering. Event Grid pushes notices that something happened to subscribers. Event Hubs ingests huge event streams for analytics.