Let’s Get Certified
Module 08 / 16 · Compute resources

Read and preview a Bicep deployment

Trace parameters, symbolic references and target scope before applying an infrastructure change.

Read and preview a Bicep deployment

An ARM template declares resource types, API versions and desired properties. Bicep provides a higher-level language that compiles to an ARM template. Supply environment settings through typed parameters and keep secrets out of ordinary outputs. Symbolic references can express resource dependencies. The deployment scope determines where resource names, permissions and locations are evaluated.

Use what-if to inspect anticipated creates, updates and deletions at the intended scope. Review defaults that may overwrite existing values. A template exported from a resource group captures useful configuration but may include generated values, omit secrets or require cleanup and parameterization. Decompilation is a starting point for review. A successful preview is evidence about the proposed change, not proof every provider operation will succeed.

Worked case

Two environments should use the same template but deploy different SKU sizes. How should the operator make the change reviewable?

Check your reasoning

Declare a constrained SKU parameter, use environment-specific parameter files and review what-if at each target scope. Keep the template and parameter values together in version control.

Second worked case

An exported configuration includes environment-specific resource IDs. What would let another environment deploy it safely?

Check your reasoning

Replace environment-bound values with parameters or resource references. Verify target scope, dependencies and API versions in what-if before applying the edited template.

ARM deployment what-if · Official AZ-104 objectives for this domain

Microsoft Exam Readiness Zone on deploy and manage azure compute resources

Related lesson in Microsoft Certified: Azure Fundamentals. Choose the management surface and repeat a deployment.

Practice with the recording

A template deploys correctly to development but proposes changing the production resource names. What should the administrator review?

Check your reasoning

Compare parameter values, target subscription and deployment scope, then run a what-if for that target. Use stable names where the existing resource must be updated. Template validation by itself cannot reveal all environment-specific effects.

Current AZ-104 course · 58:11 · John Savill · AZ-104 Study Cram v2 · 3:10:21

Apply the current exam objectives

Export a small resource group’s template, convert it to Bicep and inspect names, parameters, dependencies and generated defaults. Use what-if on a disposable target before deployment. An exported resource is a starting point for reusable configuration, and a successful conversion still needs a review.

Knowledge check

Read and preview a Bicep deployment quiz

Answer 3 questions. Check each answer for an explanation.