Skip to Content
Microsoft Certified Azure Developer Associate (AZ-204) Study Guide
book

Microsoft Certified Azure Developer Associate (AZ-204) Study Guide

by Adora Nwodo
August 2025
Intermediate to advanced
360 pages
9h 18m
English
O'Reilly Media, Inc.
Content preview from Microsoft Certified Azure Developer Associate (AZ-204) Study Guide

Chapter 4. Infrastructure as Code with Azure Bicep

In the previous chapters, we’ve been provisioning resources using the Azure CLI, Azure PowerShell, or directly on the Azure portal. However, these are not the only ways to create and manage Azure services. There’s the concept of  infrastructure as code (IaC), which helps automate the deployment, management, and configuration of infrastructure. Deployments can be made more consistently and repeatedly by using IaC to specify your infrastructure using code.

This chapter will explore the topic of IaC using Azure Bicep, a declarative domain-specific language (DSL) for delivering Azure resources. Azure Bicep offers the same functionality as conventional JSON templates, but makes Azure Resource Manager (ARM) template development easier by having a more legible and manageable syntax. We will begin by discussing IaC, its advantages, and the reasons it is turning into an essential approach for modern cloud deployments. Then, we’ll go over the syntax, organization, and fundamental elements of the Azure Bicep language. You’ll discover how to create Bicep files to define and deploy resources to Azure.

After that, we’ll talk about how to keep your infrastructure updated and maintained so your deployments remain consistent. Last, we’ll talk about Azure’s best practices for IaC. These best practices will help you manage configurations efficiently, writing clean, secure, and effective Bicep code and integrating IaC into your CI/CD pipelines for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Exam Ref AZ-104 Microsoft Azure Administrator

Exam Ref AZ-104 Microsoft Azure Administrator

Harshul Patel

Publisher Resources

ISBN: 9781098173487Errata Page