Azure Certification /General Awareness & Current Affairs

Parliament & judiciary

Indian Polity · free study notes · Updated

Study Notes: Parliament & Judiciary in Azure Cloud Governance


1. Simple Explanation

In the context of Azure Cloud Architecture and Certification, terms like "Parliament" and "Judiciary" are often used metaphorically to describe Cloud Governance, Compliance, and Policy Enforcement.

Just as a democratic country relies on a Parliament to make laws and a Judiciary to enforce and interpret them, an enterprise cloud environment relies on automated tools to define rules (Parliament) and enforce compliance or audit resources (Judiciary).

  • The Parliament (Policy Definition): This is where cloud architects and compliance officers define what is allowed in the Azure environment (e.g., "All virtual machines must be deployed in the West Europe region," or "All storage accounts must enforce HTTPS"). In Azure, this is primarily managed via Azure Policy.
  • The Judiciary (Enforcement & Audit): This is the system that checks if resources are obeying the laws, penalizes non-compliance (blocks creation), or reports violations. In Azure, this is handled through Policy evaluation effects (Deny, Audit, Append) and Microsoft Defender for Cloud.

2. Key Points

  • Azure Policy (The Lawmaker): Evaluates your Azure resources by comparing their properties to desired state JSON rules.
  • Initiatives (Policy Sets): A collection of policy definitions tailored toward a single overarching goal (e.g., ISO 27001 compliance framework).
  • Enforcement Mechanisms (The Courts):
    • Audit: Logs non-compliant resources without stopping them (trial period).
    • Deny: Prevents the creation or update of non-compliant resources (immediate judicial veto).
    • Remediation: Automatically corrects non-compliant resources (corrective justice).
  • Microsoft Defender for Cloud (The Supreme Court / Watchdog): Continuously assesses workloads for security vulnerabilities and provides a single Secure Score.
  • Role-Based Access Control (RBAC): Defines who has the authority to pass new laws or modify the infrastructure.

3. Worked Example

Scenario: A financial enterprise using Azure wants to ensure that no developer accidentally creates expensive Virtual Machine sizes (like GPU-heavy NC-series) outside of the Data Science department.

Step 1: Define the "Law" (Parliament)

An administrator writes an Azure Policy that targets VM SKUs:

{
  "mode": "Indexed",
  "policyRule": {
    "if": {
      "field": "Microsoft.Compute/virtualMachines/sku.name",
      "in": ["Standard_NC6", "Standard_NC12", "Standard_NC24"]
    },
    "then": {
      "effect": "deny"
    }
  }
}

Step 2: Enforce the "Law" (Judiciary)

  • Action: A developer attempts to deploy a Standard_NC6 VM in the standard development subscription.
  • Result: Azure Resource Manager (acting as the enforcement arm) intercepts the request, checks the Azure Policy, finds a violation, and denies the deployment, returning an error message: "Resource was disallowed by policy."

4. Quick Revision Summary

  • Parliament (Policy Creation): Creating governance rules using Azure Policy and Policy Initiatives.
  • Judiciary (Compliance & Audit): Evaluating resources using Audit, Deny, and Remediation effects.
  • Supreme Court (Security Oversight): Microsoft Defender for Cloud monitoring posture and generating Secure Scores.
  • Key Exam Takeaway: Use Azure Policy to enforce organizational standards and assess compliance at scale across Management Groups, Subscriptions, and Resource Groups.

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.