Logo

dev-resources.site

for different kinds of informations.

Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #2: Azure Policy

Published at
1/2/2025
Categories
azure
exam
az104
policy
Author
auyeungdavid_2847435260
Categories
4 categories in total
azure
open
exam
open
az104
open
policy
open
Author
23 person written this
auyeungdavid_2847435260
open
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #2: Azure Policy

Introduction

To pass the AZ-104 exam, you have to finish several live online lab tests. This article focuses on an exercise about password governance using Azure Policy. We will create and assign a custom initiative to ensure compliance with your organization's password policies.

Azure Policy Overview

Common use cases for Azure Policy include implementing governance for resource consistency, regulatory compliance, security, cost management, and overall resource management. For more information, refer to the Azure Policy Overview.

Prerequisite

The Windows Guest Configuration extension is a prerequisite for all Windows Guest Configuration assignments and must be deployed to machines before using any Windows Guest Configuration policy definition.

Image description

Steps

Step 1: Search for Policy
Use the search bar at the top of the Azure portal to search for "Policy".

Image description

Step 2: Click on Definitions
Select "Definitions" from the Policy section.

Image description

Step 3: Click on Initiative Definition
Navigate to "Initiative definition."

Image description

Step 4: Create Initiative Definition
In the Basics tab:

Name Policy: PasswordGoverning
Select: Use existing -> Guest Configuration

Image description

In the Policies tab:

Click "Add policy definition(s)"

Image description
Select the policies relevant to password governance

Image description

Click "Add"

Image description

Click "Review + create"
Click "Create"

Image description

Image description

Note: The difference between AuditIfNotExists and DeployIfNotExists is significant. The former serves as a warning, while the latter actively triggers remediation tasks.

Step 5: Go to Assignments
Navigate to the "Assignments" section.

Image description

Step 6: Assign Initiative
Click "Assign initiative."

Image description

In the Basics tab:

Assign the custom policy "PasswordGoverning" to resource group "RGroup1".

For the scope, you can include:

  1. Management groups
  2. Subscriptions
  3. Resource groups
  4. Individual resources (using Exclusions)

Image description

In the Remediation tab:

You can apply a remediation task once the assignment is complete.

Click "Create a remediation task."

Image description

Click "Review + create."

Step 7: Assignment Completed
The assignment process is now complete.

Image description

Final Step
Check the status of your remediation task.

Navigate to the "Policy".
Click "Remediation".

Image description

Conclusion

In this exercise, we successfully created and assigned an Azure Policy initiative focused on password governance. By leveraging Azure Policy, we can ensure compliance with our organizational standards, enhance security, and maintain resource consistency across our Azure environment. Regular monitoring and remediation tasks will help keep our resources compliant and secure. Good luck with your AZ-104 exam preparation!

exam Article's
30 articles in total
Favicon
My 2025 Milestone #1: Proudly Certified as an Azure Administrator!
Favicon
How I Passed the Salesforce Admin Exam: A Comprehensive Guide
Favicon
5 Key Errors That Can Cost You the Salesforce Admin Exam
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #6.2: Azure Files - File Sync
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #6.1: Azure Files - File Share
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #5: Azure Disk Encryption
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #4.3: Storage Account and Service Endpoints
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #4.2: Storage Account and Access Token
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #4.1: Storage Account and Blob Storage
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #3: Monitor Alerts
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #2: Azure Policy
Favicon
Microsoft Certified Azure Administrator Associate Exam (AZ-104) Lab Preparation #1: Azure Bastion
Favicon
MAT Exam Registration Date & Syllabus
Favicon
Navigating Certification Exams: A Key to Unlocking New Opportunities
Favicon
JAIIB INSURANCE REGULATORY AND DEVELOPMENT AUTHORITY OF INDIA (IRDAI)
Favicon
Master the Google Cloud Platform Exam: Your Complete Preparation Guide
Favicon
How Data Science Enhances Exam Preparation Strategies
Favicon
Wi-Fi Components - 500-420 CAAPA Exam Guide
Favicon
Switching Packets - Cisco 010-151 DCTECH Exam Guide
Favicon
IPv6 DHCP and Router Advertisements - Cisco 010-151 DCTECH Exam Guide
Favicon
IPv4 Address Resolution - Cisco 010-151 DCTECH Exam Guide
Favicon
Wireless Interference - 500-301 CCS Exam
Favicon
Advantages and Disadvantages of Wi-Fi - 500-325 CSA Exam Guide
Favicon
What an IP Address Represents - Cisco 300-420 ENSLD Study Guide
Favicon
Assign an Address Through a Protocol - Cisco 010-151 DCTECH Exam Guide
Favicon
The Electromagnetic Spectrum - 500-425 CAAA Study Guide
Favicon
Computing a Global Address - Cisco 010-151 DCTECH Exam Guide
Favicon
Internet Protocol Version 4 - Cisco 300-420 ENSLD Study Guide
Favicon
Internet Protocol Version 6 - Cisco 300-430 ENWLSI Exam Guide
Favicon
How to Build an Effective Study Space for IT Certification Preparation: A BCS Business Analysis (BAPv5) Approach

Featured ones: