az-900-notes

2. Describe Core Azure Services (30-35%)

https://docs.microsoft.com/en-gb/learn/modules/define-core-azure-services-products/
https://docs.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree

2.1. Describe the core Azure architectural components

2.1.A. describe Regions

A region is a set of datacenters deployed within a latency-defined perimeter and connected through a dedicated regional low-latency network.

A geography is a discrete market, typically containing two or more regions, that preserves data residency and compliance boundaries.

Special Azure regions

Region Pairs

https://docs.microsoft.com/en-us/learn/modules/discuss-core-azure-architectural-components/3-explore-region-pairs
https://docs.microsoft.com/en-us/azure/best-practices-availability-paired-regions#what-are-paired-regions?azure-portal=true

2.1.B. describe Availability Zones

availability-options

Availability Zones are physically separate locations within an Azure region.
Each Availability Zone is made up of one or more datacenters equipped with independent power, cooling, and networking.

Availability Zone features

Availability Zones are primarily for VMs, managed disks, load balancers, and SQL databases. Azure services that support Availability Zones fall into two categories:

Availability sets are a way for you to ensure your application remains online if a high-impact maintenance event is required, or if a hardware failure occurs.

2.1.C. describe Resource Groups

Manage and apply the following resources at resource group level:

2.1.D. describe Azure Resource Manager

https://docs.microsoft.com/en-us/learn/modules/discuss-core-azure-architectural-components/9-explore-azure-resource-manager
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/overview

With Azure Resource Manager, you can:

The benefits of using Resource Manager

Resource Manager template - A JavaScript Object Notation (JSON) file that defines one or more resources to deploy to a resource group, subscription, management group, or tenant. The template can be used to deploy the resources consistently and repeatedly. See Template deployment overview.

2.1.E. describe the benefits and usage of core Azure architectural components

2.2. Describe some of the core products available in Azure

2.2.A. describe products available for Compute such as Virtual Machines, Virtual Machine Scale Sets, App Services, Azure Container Instances (ACI) and Azure Kubernetes Service (AKS)

Azure Compute Services

Azure virtual machines

Virtual machine scale sets

Differences between virtual machines and scale sets

Scenario Manual group of VMs Virtual machine scale set
Add additional VM instances Manual process to create, configure, and ensure compliance Automatically create from central configuration
Traffic balancing and distribution Manual process to create and configure Azure load balancer or Application Gateway Can automatically create and integrate with Azure load balancer or Application Gateway
High availability and redundancy Manually create Availability Set or distribute and track VMs across Availability Zones Automatic distribution of VM instances across Availability Zones or Availability Sets
Scaling of VMs Manual monitoring and Azure Automation Autoscale based on host metrics, in-guest metrics, Application Insights, or schedule

App services: quickly build, deploy, and scale enterprise-grade web, mobile, and API apps running on any platform.

Key features of Azure App Service

The pricing tier of an App Service plan:

Azure Container Instances (ACI)

Azure Kubernetes Service (AKS)

2.2.B. describe products available for Networking such as Virtual Network, Load Balancer, VPN Gateway, Application Gateway and Content Delivery Network

Azure network services (https://docs.microsoft.com/en-us/azure/?product=networking)

Azure Virtual Network (VNet)

Concepts

VPN Gateway

Azure Application Gateway (https://docs.microsoft.com/en-us/azure/application-gateway/overview)

Azure Load Balancer (https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-overview)

Content Delivery Network (CDN)

2.2.C. describe products available for Storage such as Blob Storage, Disk Storage, File Storage, and Archive Storage

https://docs.microsoft.com/en-us/learn/modules/define-core-azure-services-products/9-define-azure-data-categories

Azure Storage https://docs.microsoft.com/en-us/azure/storage/

Each service is accessed through a storage account. To get started, see Create a storage account.

Blob Storage docs-Overview | docs-Comparison

Storage Account overview https://docs.microsoft.com/en-gb/azure/storage/common/storage-account-overview#types-of-storage-accounts

Azure Storage offers several types of storage accounts.

Azure Storage redundancy

Primary Region redundancy

Secondary Region redundancy

Disk Storage / Azure Managed Disks

Detail Ultra disk Premium SSD Standard SSD Standard HDD
Disk type SSD SSD SSD HDD
Scenario IO-intensive workloads such as [SAP HANA], top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads. Production and performance sensitive workloads Web servers, lightly used enterprise applications and dev/test Backup, non-critical, infrequent access
Max disk size 65,536 gibibyte (GiB) 32,767 GiB 32,767 GiB 32,767 GiB
Max throughput 2,000 MB/s 900 MB/s 750 MB/s 500 MB/s
Max IOPS 160,000 20,000 6,000 2,000

Azure Files / File Storage (https://docs.microsoft.com/en-us/azure/storage/files/storage-files-introduction)

Azure file shares can be used to:

Azure Queue service (https://docs.microsoft.com/en-us/azure/storage/queues/storage-queues-introduction)

Azure Table storage (https://docs.microsoft.com/en-us/azure/storage/tables/table-storage-overview)

IF YOU WANT TO… USE THIS

2.2.D. describe products available for Databases such as Cosmos DB, Azure SQL Database, Azure Database for MySQL, Azure Database for PostgreSQL, Azure Database Migration service

https://docs.microsoft.com/en-gb/azure/?product=databases
More on Azure databases: https://azure.microsoft.com/en-gb/product-categories/databases/

Cosmos DB (https://docs.microsoft.com/en-gb/azure/cosmos-db/)

Azure SQL (https://docs.microsoft.com/en-gb/azure/azure-sql/)

Azure SQL family of SQL Server database engine products in the cloud:

https://docs.microsoft.com/en-gb/azure/azure-sql/azure-sql-iaas-vs-paas-what-is-overview
https://docs.microsoft.com/en-gb/azure/azure-sql/database/features-comparison

Azure SQL Database (https://docs.microsoft.com/en-gb/azure/azure-sql/database/sql-database-paas-overview)

Azure SQL Managed Instance

Azure SQL Server on Azure Virtual Machines

Azure Database for MySQL (https://docs.microsoft.com/en-gb/azure/mysql/)

Azure Database for PostgreSQL (https://docs.microsoft.com/en-gb/azure/postgresql/)

Azure Database for MariaDB (https://docs.microsoft.com/en-gb/azure/mariadb/)

Azure Database Migration service

Azure Cache for Redis (https://docs.microsoft.com/en-gb/azure/azure-cache-for-redis/)

2.2.E. describe the Azure Marketplace and its usage scenarios

Azure Marketplace is a service on Azure that helps connect end users with Microsoft partners, independent software vendors (ISVs), and start-ups that are offering their solutions and services, which are optimized to run on Azure.

Azure Marketplace allows customers—mostly IT professionals and cloud developers—to find, try, purchase, and provision applications and services from hundreds of leading service providers, all certified to run on Azure.

Using Azure Marketplace, you can provision end-to-end solutions quickly and reliably, hosted in your own Azure environment. At the time of writing, this includes over 8,000 listings.

2.3. Describe some of the solutions available on Azure

2.3.A. describe Internet of Things (IoT) and products that are available for IoT on Azure such as IoT Hub and IoT Central

Internet of Things (IoT)

Internet of Things (IoT) is the ability for devices to garner and then relay information for data analysis.

Azure Internet of Things (IoT) is a collection of Microsoft-managed cloud services that connect, monitor, and control billions of IoT assets. In simpler terms, an IoT solution is made up of one or more IoT devices that communicate with one or more back-end services hosted in the cloud.

An IoT device is typically made up of a circuit board with sensors attached that use WiFi to connect to the internet. For example:

https://docs.microsoft.com/en-us/azure/iot-fundamentals/
https://docs.microsoft.com/en-us/azure/iot-fundamentals/iot-services-and-technologies

IoT Hub https://docs.microsoft.com/en-gb/azure/iot-hub/

Azure IoT Hub is a managed service hosted in the cloud that acts as a central message hub for bi-directional communication between your IoT application and the devices it manages.

IoT Central https://docs.microsoft.com/en-gb/azure/iot-central/

IoT Central is a fully managed global IoT software as a service (SaaS) solution that makes it easy to connect, monitor, and manage your IoT assets at scale.

IoT Edge https://docs.microsoft.com/en-gb/azure/iot-edge/

Azure IoT Edge extends IoT Hub. Analyze device data locally instead of in the cloud to send less data to the cloud, react to events quickly, and operate offline.

2.3.B. describe Big Data and Analytics and products that are available for Big Data and Analytics such as Azure Synapse Analytics, HDInsight, and Azure Databricks

Big data and analytics

https://docs.microsoft.com/en-gb/learn/modules/identify-azure-solutions/4-explore-big-data-analytics

Azure Synapse Analytics (https://docs.microsoft.com/en-gb/azure/synapse-analytics/sql-data-warehouse/) | https://docs.microsoft.com/en-gb/azure/synapse-analytics/overview-what-is

Azure Synapse Analytics (formerly Azure SQL Data Warehouse) is a limitless analytics service that brings together enterprise data warehousing and big data analytics.

HDInsight (https://docs.microsoft.com/en-gb/azure/hdinsight/hdinsight-overview)

What is Apache Hadoop in Azure HDInsight?
Apache Hadoop was the original open-source framework for distributed processing and analysis of big data sets on clusters. The Hadoop ecosystem includes related software and utilities, including Apache Hive, Apache HBase, Spark, Kafka, and many others.

Azure Databricks (https://docs.microsoft.com/en-us/azure/databricks/)

Azure Data Lake Analytics (https://docs.microsoft.com/en-gb/azure/data-lake-analytics/ | https://azure.microsoft.com/en-gb/services/data-lake-analytics/)

More info on big data and analytics.
https://azure.microsoft.com/en-gb/product-categories/analytics/
https://docs.microsoft.com/en-gb/azure/?product=analytics
https://docs.microsoft.com/en-gb/azure/data-lake-analytics/data-lake-analytics-overview
https://docs.microsoft.com/en-us/azure/architecture/data-guide/big-data/

2.3.C. describe Artificial Intelligence (AI) and products that are available for AI such as Azure Machine Learning Service and Studio

Artificial Intelligence (AI)

Machine Learning is a data science technique that allows computers to use existing data to forecast future behaviors, outcomes, and trends.

Azure Machine Learning Service (https://docs.microsoft.com/en-gb/azure/machine-learning/)

Compare Azure Machine Learning vs Machine Learning Studio (classic)

https://docs.microsoft.com/en-gb/azure/machine-learning/compare-azure-ml-to-studio-classic

Feature Machine Learning Studio (classic) Azure Machine Learning
Drag and drop interface Supported Supported - Azure Machine Learning designer (preview)
(Requires Enterprise workspace)
Experiment Scalable (10-GB training data limit) Scale with compute target
Training compute targets Proprietary compute target, CPU support only Wide range of customizable training compute targets. Includes GPU and CPU support
Deployment compute targets Proprietary web service format, not customizable Wide range of customizable deployment compute targets. Includes GPU and CPU support
ML Pipeline Not supported Build flexible, modular pipelines to automate workflows
MLOps Basic model management and deployment Entity versioning (model, data, workflows), workflow automation, integration with CICD tooling, and more
Model format Proprietary format, Studio (classic) only Multiple supported formats depending on training job type
Automated model training and hyperparameter tuning Not supported Supported in the SDK and visual workspace
Data drift detection Not supported Supported in SDK and visual workspace

The machine learning model workflow generally follows this sequence:

  1. Train
    • Develop machine learning training scripts in Python, R, or with the visual designer.
    • Create and configure a compute target.
    • Submit the scripts to a configured compute target to run in that environment. During training, the scripts can read from or write to datastores. The logs and output produced during training are saved as runs in the workspace and grouped under experiments.
  2. Package - After a satisfactory run is found, register the persisted model in the model registry.
  3. Validate - Query the experiment for logged metrics from the current and past runs. If the metrics don’t indicate a desired outcome, loop back to step 1 and iterate on your scripts.
  4. Deploy - Develop a scoring script that uses the model and Deploy the model as a web service in Azure, or to an IoT Edge device.
  5. Monitor - Monitor for data drift between the training dataset and inference data of a deployed model. When necessary, loop back to step 1 to retrain the model with new training data.

Azure Cognitive Services (https://docs.microsoft.com/en-gb/azure/cognitive-services/)

https://docs.microsoft.com/en-gb/learn/modules/identify-azure-solutions/5-explore-artificial-intelligence
https://azure.microsoft.com/en-gb/services/#ai-machine-learning

Cognitive services are a collection of domain-specific pre-trained AI models that can be customized with your data. They are categorized broadly into vision, speech, language, and search.

Five categories are:

https://docs.microsoft.com/en-gb/azure/cognitive-services/cognitive-services-and-machine-learning

2.3.D. describe Serverless computing and Azure products that are available for serverless computing such as Azure Functions, Logic Apps, and Event Grid

Serverless computing is a cloud-hosted execution environment that runs your code but abstracts the underlying hosting environment. You create an instance of the service and you add your code. No infrastructure configuration or maintenance is required, or even allowed.

Azure Functions (https://docs.microsoft.com/en-us/azure/azure-functions/)

Azure Logic Apps (https://docs.microsoft.com/en-gb/azure/logic-apps/)

Azure Event Grid (https://docs.microsoft.com/en-gb/azure/event-grid/overview)

Event Grid allows you to easily build applications with event-based architectures.

2.3.E. describe DevOps solutions available on Azure such as Azure DevOps and Azure DevTest Labs

DevOps (Development and Operations) brings together people, processes, and technology, automating software delivery to provide continuous value to your users. Azure DevOps Services allows you to create, build, and release pipelines that provide continuous integration, delivery, and deployment for your applications.

DevOps Services

Azure Lab Services (https://azure.microsoft.com/en-gb/services/devtest-lab/)

Azure DevTest Labs - This service enables you to quickly set up an environment for your team (for example: development environment, or test environment in the cloud). A lab owner creates a lab, provisions Windows, or Linux virtual machines, installs the necessary software and tools, and makes them available to lab users. Lab users connect to virtual machines (VMs) in the lab, and use them for their day-to-day work, short-term projects. Once users start utilizing resources in the lab, a lab admin can analyze cost and usage across multiple labs, and set overarching policies to optimize your organization or team’s costs.

Azure Lab Services - This service lets you create managed lab types. Currently, classroom labs is the only type of managed lab that’s supported by Azure Lab Services. The service itself handles all the infrastructure management for a managed lab type, from spinning up VMs to handling errors, and scaling the infrastructure. After an IT admin creates a lab account in Azure Lab Services, an instructor can quickly set up a lab for his class, specify the number and type of VMs that are need to exercises in the class, and add users to the class. Once a user registers to the class, the user can access the VM to do exercises for the class.

You can create two types of labs: managed lab types with Azure Lab Services and labs with Azure Lab Services (DevTest Labs).

Features Managed lab types DevTest Labs
Management of Azure infrastructure in the lab. Automatically managed by the service You manage on your own
Built-in resiliency to infrastructure issues Automatically handled by the service You manage on your own
Subscription management Service handles allocation of resources within Microsoft subscriptions backing the service. Scaling is automatically handled by the service. You manage on your own in your own Azure subscription. No autoscaling of subscriptions.
Azure Resource Manager deployment within the lab Not available Available

2.3.F. describe the benefits and outcomes of using Azure solutions

https://docs.microsoft.com/en-us/learn/modules/intro-to-data-in-azure/2-benefits-of-using-azure-to-store-data https://docs.microsoft.com/en-us/learn/modules/intro-to-data-in-azure/4-comparison-azure-and-on-prem-storage

2.4. Describe Azure management tools

Azure Management tools.
There are tools available for the command line, language-specific Software Development Kits (SDKs), developer tools, tools for migration, and many others.

2.4.A. describe Azure tools such as Azure Portal, Azure PowerShell, Azure CLI and Cloud Shell

Azure portal

The Azure portal is a public website that you can access with any web browser. After you sign in with your Azure account, you can create, manage, and monitor any available Azure services. You can identify a service you’re looking for, get links for help on a topic, and deploy, manage, and delete resources. It also guides you through complex administrative tasks using wizards and tooltips.

The dashboard view provides high-level details about your Azure environment. You can customize the portal view as you need by moving and resizing tiles, displaying particular services of interest, accessing links for help and support, and providing feedback.

Azure PowerShell (https://docs.microsoft.com/en-us/powershell/azure/?view=azps-4.4.0)

Azure PowerShell is a module that you add to Windows PowerShell or PowerShell Core that enables you to connect to your Azure subscription and manage resources. Azure PowerShell requires Windows PowerShell to function. PowerShell provides services such as the shell window and command parsing. Azure PowerShell then adds the Azure-specific commands.

Azure CLI (https://docs.microsoft.com/en-us/cli/azure/?view=azure-cli-latest)

Azure CLI is a cross-platform command-line program that connects to Azure and executes administrative commands on Azure resources. Cross platform means that it can be run on Windows, Linux, or macOS.

Cloud Shell

Azure Cloud Shell is a browser-based scripting environment in your portal. It provides the flexibility of choosing the shell experience that best suits the way you work. Linux users can opt for a Bash experience, while Windows users can opt for PowerShell.

A storage account is required to use the Cloud Shell and you will be prompted to create one when accessing the Azure Cloud Shell.

Azure Mobile App

Microsoft Azure mobile app allows you to access, manage, and monitor all your Azure accounts and resources from your iOS or Android phone or tablet.

Azure REST API

Representational State Transfer (REST) APIs are service endpoints that support sets of HTTP operations (methods), which provide create, retrieve, update, or delete access to the service’s resources. A REST API defines a set of functions which developers can perform requests and receive responses via HTTP protocol such as GET and POST.

2.4.B. describe Azure Advisor (https://docs.microsoft.com/en-us/azure/advisor/advisor-overview)

Advisor is a personalized cloud consultant that helps you follow best practices to optimize your Azure deployments. It analyzes your resource configuration and usage telemetry and then recommends solutions that can help you improve the cost effectiveness, performance, Reliability (formerly called High availability), and security of your Azure resources.

Recommendations are divided into five categories: