Azure
Azure
2. Explain the different types of cloud models: IaaS, PaaS, and SaaS.
o Platform as a Service (PaaS): Gives you a platform to develop, run, and manage
applications without worrying about the infrastructure. Example: Azure App Service
provides the tools to host your web applications, and Azure handles the underlying
hardware and OS.
o Software as a Service (SaaS): Ready-to-use software available over the internet. You
don’t manage or install anything; you just use the software. Example: Microsoft
Office 365, which provides applications like Word and Excel online.
o Scalability: This refers to adding more resources (like servers) to handle increased
load. For example, during a sales event, a business might manually add more virtual
machines to handle website traffic.
o Elasticity: This means the cloud automatically adjusts resources up or down based
on demand. For example, during peak shopping hours, Azure can automatically
allocate more computing power, and reduce it when traffic decreases.
6. What are Azure Regions and Availability Zones?
o Azure Regions: Geographical locations where Microsoft has data centers. For
example, there are regions like "East US" and "West Europe." Choosing a region close
to your users can reduce latency (delays).
o Availability Zones: Separate, isolated data centers within the same region. Each zone
has its own power, cooling, and networking to ensure that if one zone fails, the
others can continue operating.
o CapEx (Capital Expenditure): Spending large amounts upfront to buy and maintain
your own servers, storage, and other hardware. Example: A company buys 10 servers
for its data center, costing millions.
o OpEx (Operational Expenditure): Spending only for what you use, as you use it.
Example: Paying Azure monthly for using its servers, without worrying about
maintenance or hardware upgrades. Cloud computing uses the OpEx model, making
it cost-effective and flexible.
8. What are the benefits of using cloud services like Azure over on-premises?
o Cost Savings: You don’t need to buy expensive hardware or pay for electricity and
maintenance.
o High Availability: Azure ensures your services are always running with backups and
redundancies.
o Security: Azure provides built-in security tools, encryption, and compliance with
regulations like GDPR.
9. What are Azure Virtual Machines (VMs), and when are they used?
Azure VMs are like virtual computers that run in the cloud. You can install your operating
system (like Windows or Linux) and applications on them, just like a physical computer. They
are used when you need full control over the environment or want to run legacy applications
that require specific configurations.
10. What is Azure App Service, and what are its key features?
Azure App Service is a platform for hosting web applications, APIs, and mobile backends. You
don’t have to worry about managing servers or the operating system.
Key Features:
12. What are Azure Functions, and how are they used in serverless computing?
Azure Functions are small pieces of code that execute in response to events, like a file upload
or a database update. You don’t need to manage servers or worry about infrastructure.
Example Use Case:
13. Define Azure Storage and its types (Blob, File, Queue, Table).
o Blob Storage: For storing large files like images, videos, and backups.
o Table Storage: For NoSQL-style data, ideal for structured data like logs or metadata.
o Azure SQL Database: A relational database (like MySQL) used for structured data. It
supports SQL queries and is best for traditional applications.
o Azure Cosmos DB: A NoSQL database for unstructured or semi-structured data. It’s
globally distributed and offers low-latency access, making it great for applications
with global users.
16. What is Azure Logic Apps, and when would you use them?
Azure Logic Apps allow you to automate workflows without coding. You can connect multiple
applications and services to create workflows.
Example Use Case:
o When an email arrives, save the attachment to OneDrive and send a notification in
Microsoft Teams.
18. What is Azure Event Grid, and how is it different from Azure Service Bus?
o Azure Event Grid: Used to deliver events in real time to trigger workflows. For
example, when a file is uploaded, notify the app to process it.
o Azure Service Bus: Ensures reliable message delivery between systems, even if one
system is temporarily offline.
o Free for 12 Months: Examples include 750 hours of a B1 virtual machine and 5 GB of
Blob storage monthly.
o Always Free: Services like Azure Functions (1 million executions) and Azure App
Service (10 web apps).
23. What are Azure Spot VMs, and when are they ideal to use?
Spot VMs use unused Azure computing capacity and are offered at a discounted rate. They’re
best for non-critical workloads that can tolerate interruptions, like testing, batch processing,
or rendering.
25. What are Azure Budgets, and how are they used?
Azure Budgets let you set spending limits for your resources. When you approach or exceed
the budget, Azure sends alerts to notify you, helping you control costs.
29. What is Azure Security Center, and how does it help with threat detection?
Azure Security Center is a tool that helps monitor and protect your Azure resources. It
detects vulnerabilities, provides security recommendations, and offers advanced threat
protection. For example, it can alert you if an unusual login attempt is detected.
31. How does Azure Active Directory (Azure AD) secure identity and access?
Azure AD is a cloud-based identity and access management service. It ensures only
authenticated and authorized users can access resources. Features include single sign-on
(SSO), multi-factor authentication (MFA), and Conditional Access.
o Your Responsibility: Securing your applications, data, and user access within the
cloud.
39. What is Azure Monitor, and what are its key features?
Azure Monitor is a service that collects and analyzes telemetry data (logs and metrics) from
your Azure resources. It helps you understand resource performance, identify bottlenecks,
and resolve issues.
Key Features:
42. What are Azure Alerts, and how can they be configured?
Azure Alerts notify you when specific conditions are met, such as CPU usage exceeding a
certain threshold. Alerts can trigger actions like sending an email, invoking a Logic App, or
running an automation script.
Configuration Steps:
1. Go to Azure Monitor.
2. Select "Alerts" and define a rule (e.g., CPU usage > 80%).
45. What are Azure Tags, and how do they aid resource management?
Tags are metadata (key-value pairs) assigned to Azure resources for better organization. For
example, tagging VMs with "Environment: Production" or "Cost Center: Marketing" helps
track costs or apply policies more effectively.
46. What is the purpose of Azure Management Groups?
Azure Management Groups help you organize multiple subscriptions under a single
hierarchy. This allows you to apply policies, access controls, or budgets to all subscriptions
within the group.
Example Use: Apply a policy restricting VM types across all subscriptions in the group.
50. What is Azure AD B2B, and how does it differ from Azure AD B2C?
o Azure AD B2B: Enables external users (e.g., partners, contractors) to access your
resources using their existing credentials (e.g., Google, Office 365).
o Azure AD B2C: Allows your customers to log into your applications using social
accounts (e.g., Facebook, Google) or their email.
54. Explain the difference between Azure AD roles and RBAC roles.
o Azure AD Roles: Control access to Azure AD itself (e.g., managing users, groups).
Example: "User Administrator."
o RBAC Roles: Control access to Azure resources (e.g., VMs, storage). Example: "Virtual
Machine Contributor."
o Read-Only: Users can view the resource but not modify it.
59. What is Azure DevOps, and what are its key components?
Azure DevOps is a set of tools that supports software development and deployment. It helps
teams collaborate, manage projects, and automate workflows.
Key Components:
o Azure Pipelines: CI/CD tools for building, testing, and deploying code.
60. What are ARM Templates, and how are they used?
ARM (Azure Resource Manager) Templates are JSON files that define the configuration and
deployment of Azure resources. They allow repeatable and consistent setups.
Example Use:
64. What is Azure Data Factory, and how does it handle ETL workflows?
Azure Data Factory is a data integration service for extracting, transforming, and loading
(ETL) data from various sources to destinations.
Example Use:
o Extract sales data from a database, clean it, and load it into a data warehouse for
analysis.
65. How does Azure Front Door optimize global content delivery?
Azure Front Door is a global load balancer and application accelerator. It routes user traffic to
the best-performing or closest backend.
Example Use:
69. What is Azure Arc, and how does it extend Azure's capabilities?
Azure Arc allows you to manage on-premises servers, multi-cloud environments, and edge
devices using Azure tools. It extends Azure’s management, governance, and security features
to non-Azure environments.
Example Use: Manage a Kubernetes cluster running on AWS using Azure Arc.
71. What is Azure Stack, and how does it enable hybrid cloud scenarios?
Azure Stack is a set of tools that brings Azure’s cloud services to on-premises data centers. It
enables organizations to run cloud-based applications locally.
Example Use: Deploy an Azure-based application in a factory with limited internet
connectivity.
74. How does Azure handle resource management in a hybrid cloud setup?
Azure provides tools like Azure Arc and Azure Monitor to manage resources across on-
premises and cloud environments. You can apply policies, monitor performance, and secure
resources consistently.
76. How does Azure handle hybrid identity with Azure AD?
Azure AD Connect synchronizes on-premises Active Directory with Azure AD, enabling hybrid
identity. This provides a single identity for accessing both on-premises and cloud resources.
Example Use: Design a globally distributed e-commerce application using the framework to ensure it
is resilient, secure, and scalable.
80. How would you optimize costs for Azure Virtual Machines?
To reduce Azure VM costs:
o Turn off VMs when not in use: Automate shutdown during non-business hours.
o Monitor usage: Use Azure Monitor to track and optimize resource usage.
82. How does Azure Key Vault integrate with Azure Functions?
Azure Functions can securely retrieve secrets like API keys, connection strings, or certificates
stored in Azure Key Vault. Instead of hardcoding sensitive data, the function calls the Key
Vault at runtime, reducing security risks.
Example Use: A function accesses a database password from Key Vault during execution.
o Horizontal Pod Autoscaler (HPA): Adjusts the number of pods based on metrics like
CPU or memory usage.
o Use Azure Traffic Manager or Front Door to route traffic to the nearest region.
89. How does Azure Backup differ from traditional backup solutions?
Azure Backup is a cloud-based solution offering:
o Azure Front Door: Provides global load balancing and failover capabilities.
Together, they ensure uninterrupted access during regional failures.
95. What is the role of snapshots in Azure Storage for disaster recovery?
Snapshots are point-in-time copies of Azure storage (e.g., Blob, VMs). They allow quick
recovery by restoring the resource to a previous state without affecting the original data.