Lesson 21 of 28 · see all lessons
Start here: cloud concepts (skill area 1, 25-30%)
- 1. Start here: the AZ-900 exam, the plan and what you already know
- 2. What cloud computing is: shared responsibility and cloud models
- 3. Paying for the cloud: the consumption-based model, pricing models and serverless
- 4. Why the cloud: availability, scalability, reliability, security and manageability
- 5. IaaS, PaaS and SaaS: cloud service types and when to use each
Azure architecture, compute and networking (skill area 2, 35-40%)
- 6. Azure global infrastructure: regions, region pairs, sovereign regions and availability zones
- 7. Organizing Azure: resources, resource groups, subscriptions and management groups
- 8. Azure virtual machines: VM options, scale sets, availability sets and Azure Virtual Desktop
- 9. Containers, Azure Functions and app hosting: choosing a compute type
- 10. Azure networking: virtual networks, subnets, peering and Azure DNS
- 11. Connecting to Azure: VPN Gateway, ExpressRoute, and public and private endpoints
Storage and migration (skill area 2)
Identity, access and security (skill area 2)
Management and governance (skill area 3, 30-35%)
- 19. Azure costs: cost factors, the pricing calculator, Cost Management and tags
- 20. Governance and compliance: Microsoft Purview, Azure Policy and resource locks
- 21. Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
- 22. Infrastructure as code: Azure Resource Manager and ARM templates
- 23. Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights
Final review and four mock exams
17 min
Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
Learn the tools for managing Azure and how Azure Arc extends Azure management to servers anywhere.
By the end of this lesson you can
- Describe the Azure portal, Azure Cloud Shell, Azure CLI and Azure PowerShell
- Choose between a click-through tool and a script for a given task
- Explain what Azure Arc lets you manage and how
From earlier lessons · 1 of 2
Copperleaf's route-planning database must not be deleted by mistake, even by an admin with full rights. Staff must still be able to change its settings. What should you apply?
Pick one answer.
From earlier lessons · 2 of 2
Copperleaf's auditors want every new resource to be created only in European regions. Which service enforces this?
Pick one answer.
Copperleaf Logistics now has resource groups, budgets, policies and locks in Azure. Every change so far was made by Sam, the IT lead, clicking through web pages. Next week Sam must create the same storage setup for all 9 depots. Clicking through 9 copies by hand invites mistakes. And the old SQL Server at head office isn't moving yet, but auditors want it under the same rules. What should Sam use?
The Azure portal
Exam depth: know it cold.
The Azure portal is a web-based console for managing Azure. It is a graphical user interface (GUI): buttons, menus and forms instead of typed commands.
- Build, manage and monitor anything from a simple web app to a complex deployment.
- Custom dashboards give you an organized view of the resources you care about.
- Accessibility options let you set the portal up the way you work best.
The portal has a presence in every Azure datacenter, so one datacenter failure doesn't take it down. It updates continuously and needs no downtime for maintenance.
You may also meet Copilot in Azure, an AI assistant that can explain options and draft commands. Check its suggestions before you apply them.
Azure Cloud Shell
Exam depth: know it cold.
A shell is a window where you type commands. Azure Cloud Shell is a shell that runs in your web browser.
- No install. Nothing goes on your computer. You open it from the portal's Cloud Shell icon or at shell.azure.com.
- Already signed in. It uses your Azure credentials, so it knows who you are and what you may do.
- Your choice of shell. Pick Bash to run Azure CLI commands or PowerShell to run Azure PowerShell commands.
Microsoft manages the machine behind Cloud Shell, with common tools already installed. Think of Cloud Shell as the place, and the CLI or PowerShell as the language you speak there.
Azure CLI and Azure PowerShell
Exam depth: know it cold.
Both are command-line tools: you type commands instead of clicking. Both can run one command for a one-off change, or a saved script that repeats many steps.
| Azure CLI | Azure PowerShell | |
|---|---|---|
| Commands look like. | Bash-style commands that start with az. | PowerShell cmdlets ("command-lets") from the Az module. |
| Runs on. | Windows, Linux, macOS and Cloud Shell. | Windows, Linux, macOS and Cloud Shell. |
| Can do. | The same Azure tasks. | The same Azure tasks. |
Microsoft calls the CLI functionally equivalent to Azure PowerShell. The main difference is syntax.
Decision rule: pick the one whose language your team already knows.
Exam depth: recognize it.
The Azure mobile app lets you check and manage Azure from an iOS or Android phone. You can view resource health, get alerts, start or stop virtual machines and web apps, and even open Cloud Shell. Pick it when the scenario says "on the go" or "from a phone".
Copperleaf's two admins write Bash scripts every day and have never used PowerShell. They want to script Azure tasks from their Linux laptops. Which tool fits best?
Pick one answer.
Portal or script? Choose by the task
Exam depth: know it cold.
Microsoft notes that capturing commands in a script makes a process repeatable and automatable. That gives you one rule of thumb.
| The scenario says. | Use. |
|---|---|
| One-off task, prefer clicking, want to see it visually. | Azure portal. |
| Repeat the same task many times, automate it. | A script in Azure CLI or Azure PowerShell. |
| Team knows Bash. | Azure CLI. |
| Team knows PowerShell. | Azure PowerShell. |
| Run commands from any browser, nothing installed. | Azure Cloud Shell. |
| Check alerts or restart a VM from a phone. | Azure mobile app. |
Decision rule: once means the portal is fine; many times means script it.
Match
Match each Copperleaf need to the best tool.
Pick an item on the left, then its match on the right.
For the statement, select Yes if it is true. Otherwise, select No. To use Azure Cloud Shell, you must first install Azure PowerShell or the Azure CLI on your computer.
Pick one answer.
Azure Arc: Azure management for resources outside Azure
Exam depth: know it cold.
Azure Arc extends Azure management to resources that run outside Azure: in your own datacenter, at the edge, or in another cloud. It projects those resources into Azure Resource Manager, the service behind every Azure tool. Each one then appears in Azure like a native resource.
Arc can manage these resource types outside Azure:
- Servers, Windows or Linux, physical or virtual.
- Kubernetes clusters, running anywhere.
- Azure data services, such as SQL Managed Instance on your own hardware.
- SQL Server instances.
- Virtual machines in VMware vCenter or System Center Virtual Machine Manager (SCVMM) environments.
The resources stay where they are. Arc changes how you manage them, not where they run.
Once a resource is Arc-enabled, you govern it with the Azure tools you already know:
- Azure Policy checks and enforces your rules on it.
- Azure RBAC controls who can manage it.
- Tags label it for inventory and cost reports.
- Azure monitoring and security services can watch it too.
You see it in the portal, the CLI, PowerShell and the REST API, alongside your Azure resources.
Decision rule: the scenario says hybrid or multicloud and wants one place to govern, apply policy or manage servers? Pick Azure Arc.
Copperleaf keeps its SQL Server on premises for another year. Auditors want the same Azure Policy rules and access controls on it as on Azure resources. The server must not move. What should Copperleaf use?
Pick one answer.
Exam-style practice
An auditor at a logistics firm must run a few Azure commands from a locked-down library PC. Nothing can be installed on it. What should the auditor use?
Pick one answer.
A company sets up the same test environment every Monday and removes it every Friday. The steps must be the same each time, with the least manual effort. What should you use?
Pick one answer.
For the statement, select Yes if it is true. Otherwise, select No. Azure Arc can manage Kubernetes clusters that run in another public cloud.
Pick one answer.
A finance manager with no command-line experience wants a custom view of monthly resource usage, built by pointing and clicking. Which tool should the manager use?
Pick one answer.
Worth keeping
- The Azure portal is the point-and-click console, with dashboards, and needs no maintenance downtime.
- Cloud Shell runs Bash or PowerShell in the browser, already signed in, with nothing to install.
- Azure CLI and Azure PowerShell do the same jobs; pick by the team's language.
- One-off task: the portal. Repeated task: a script.
- Azure Arc brings servers, Kubernetes, data services and SQL Server outside Azure under Azure management.
On the job
A project manager at Copperleaf asks why Sam is "writing code" instead of just setting up the depots. The answer is risk. Nine hand-built copies drift apart over time. One script builds nine identical copies, and the next depot takes minutes.
In sales calls, Arc answers a common worry: "We can't move everything to Azure yet." You don't have to. Arc lets a customer manage the servers that stay behind with the same rules as Azure.
Scripts are a good start, but Sam's script still says "do step 1, then step 2". What if you could simply describe the finished depot and let Azure build it? Next lesson: Azure Resource Manager and ARM templates.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (10)
Each fact in the lesson is marked with the number of the page it comes from.
- [1]Microsoft Learn: Study guide for Exam AZ-900: Microsoft Azure Fundamentals
- [11]Microsoft Learn: Lock your Azure resources to protect your infrastructure
- [38]Microsoft Learn: What is Azure Resource Manager?
- [114]Microsoft Learn: Describe the purpose of Azure Policy
- [116]Microsoft Learn: Describe the purpose of resource locks
- [119]Microsoft Learn: Describe tools for interacting with Azure
- [120]Microsoft Learn: Describe the purpose of Azure Arc
- [121]Microsoft Learn: What is Azure Cloud Shell?
- [122]Microsoft Learn: Azure Arc overview
- [123]Microsoft Learn: What is the Azure mobile app?