Decide whether repetition matters
A one-time visual inspection and a repeatable environment definition are different tasks. The Azure portal offers a graphical management interface. Command-line tools express operations as commands, and Azure Cloud Shell provides a hosted shell environment with supported tools. Infrastructure as code stores an explicit description or process that can be reviewed and reused. None of those labels by itself proves that an operation is authorized, idempotent or complete.
Resource Manager and declarations
Azure Resource Manager is the deployment and management service for Azure resources. ARM templates provide a declarative way to describe intended resources and properties. Declarative means specifying what is intended rather than relying only on a remembered sequence of manual clicks. A template still requires valid inputs, applicable permissions and a supported deployment context. It does not invent business requirements, select safe permissions automatically or guarantee every repeated application has no side effects.
Worked example
A fictional museum runs a recurring workshop and needs the same stated resource configuration prepared for each class. A teacher proposes an undocumented portal click sequence; another proposes a versioned declarative template with reviewed parameters. The second proposal better matches the repeatable-definition requirement because the intended resource properties are explicit and reviewable. That does not make a template a permission grant: whoever applies it still needs appropriate authorization. A portal inspection can remain useful for a one-off check, but it is not itself the stored environment definition.
Keep shell, tool and state apart
A shell environment is where an operator can use tools; a CLI or PowerShell command is an interaction method; an ARM template is a resource declaration; the resulting resources are the managed state. Confusing these layers can create claims such as “opening Cloud Shell deploys the template” or “using a terminal makes any procedure repeatable.” Actual commands, inputs and outcomes are still needed. Azure Arc is an additional management topic outside this bounded lesson, not a capability inferred from simply opening a shell.
Transfer check
A fictional analyst wants to inspect one existing setting once, while a separate team must rebuild a declared set of resource properties for several workshops. Should both tasks be described as requiring the same artifact? Check basis: a graphical inspection may fit the first task; the second needs an explicit repeatable definition/process, such as an appropriately reviewed template. Explain the different outputs each task needs. This lesson does not execute commands, create cloud resources or authorize changes to an Azure account.
Try it, then explain it.
Complete a short set without looking at the example. After each answer, explain which evidence or rule supports your decision and why the alternatives do not fit.
Sources & authorship
Original OpenExam explanations and examples. References support the concepts; they are not the source of copied questions. Independent educator review is pending.
What is Azure Resource Manager?What are ARM templates?What is Azure Cloud Shell?