Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The AZ-900 Microsoft Azure Fundamentals Exam practice bank has 688 more like it. Try 10 free: instant score, no account.
An IT engineering team is designing a deployment strategy to provision resources across multiple environments, including development, testing, and production.
The team requires a solution that uses declarative JavaScript Object Notation (JSON) files to specify the desired end state of the cloud infrastructure, allowing the entire environment to be deployed repeatedly and consistently without writing step-by-step procedural scripts.
Which solution should the team implement?
Azure Policy is a governance service in Microsoft Azure that allows administrators to create, assign, and enforce business rules and compliance standards across cloud resources. It continually assesses resources against defined policy definitions to detect non-compliance and can prevent non-compliant resources from being created.
While Azure Policy integrates with infrastructure deployment workflows, it is not a provisioning tool or an Infrastructure as Code (IaC) deployment format:
The organization needed a mechanism to prevent administrators from deploying resources in unauthorized regions or enforce required naming tags on all deployed virtual machines.
Azure Policy operates complementarily to ARM templates; when an ARM template is deployed, Azure Policy evaluates the proposed resources during preflight validation to verify policy compliance before provisioning begins.
Resource locks are management settings applied to Azure subscriptions, resource groups, or individual resources to prevent unauthorized or accidental modifications and deletions.
Resource locks serve strictly as protection safeguards and cannot be used to provision or define cloud infrastructure:
CanNotDelete (authorized users can read and modify a resource, but cannot delete it) and ReadOnly (authorized users can read a resource, but cannot update or delete it).The team needed to safeguard an existing production database from being accidentally deleted by administrators or automated automation scripts.
While resource locks can be defined within an ARM template to safeguard newly created resources, the locks themselves are not the mechanism that orchestrates resource provisioning.
Azure Resource Manager (ARM) templates are JavaScript Object Notation (JSON) files that implement an Infrastructure as Code (IaC) solution for deploying and managing Azure resources. They allow organizations to define their infrastructure and configurations in a declarative syntax, meaning developers describe what resources should look like and how they should be configured without writing the sequential, procedural code needed to build them.
ARM templates directly satisfy the scenario's requirements through the following capabilities:
ARM templates represent Azure's native Infrastructure as Code standard. By defining infrastructure declaratively, teams avoid the maintenance overhead and error-prone nature of manual provisioning or custom imperative scripts.
Azure Advisor is a personalized cloud consultant service that analyzes resource configurations and usage telemetry to provide actionable recommendations for optimizing Azure workloads.
Azure Advisor is an analytical optimization tool, not an Infrastructure as Code provisioning service:
The organization wanted to analyze their current cloud spending to identify idle resources and receive actionable recommendations to reduce operational costs.
Azure Advisor is used after resources are already deployed and running to help administrators optimize their environment, whereas ARM templates are used beforehand to define and automate provisioning.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated