AI Identity & Access Management Specialist
An AI Identity & Access Management Specialist designs, implements, and governs the authentication, authorization, and privilege fr…
Skill Guide
The practice of defining and enforcing operational, security, and compliance rules as executable, version-controlled code using domain-specific languages like Rego (OPA), Cedar (AWS), or Sentinel (HashiCorp) to automate policy decisions within software systems.
Scenario
Your team requires all new S3 buckets to follow the naming pattern `company-env-function-identifier` (e.g., `acme-prod-data-lake`). You must write a policy to block non-compliant Terraform plans during CI/CD.
Scenario
You need to enforce that any Kubernetes Deployment object must have both a `memory` and `cpu` resource limit defined, and that its `image` tag must not be `latest`. The policy must work both as a CI check and as a Kubernetes admission webhook.
Scenario
As a platform engineer, you must design a system that automatically enforces cost-related policies (e.g., no GPU instances in dev accounts, mandatory budget tags, instance family restrictions) across AWS, Azure, and GCP using a single, unified policy codebase.
OPA/Rego is the most versatile, cloud-agnostic choice for general policy enforcement. AWS Cedar is deeply integrated with AWS services for fine-grained authorization. HashiCorp Sentinel is tightly coupled with the Terraform ecosystem for infrastructure-focused policies. Select based on your primary integration target.
`opa test` is essential for unit testing Rego policies. Conftest is the standard for testing policies in CI/CD pipelines against files like Kubernetes manifests or Terraform plans. The Cedar CLI and VS Code extensions provide validation and linting for authoring.
These are the critical control points where policy decisions are enforced. Understanding how to instrument each with a policy engine is as important as writing the policy itself.
Answer Strategy
Test the candidate's ability to reason about policy logic, data structures (Terraform plan JSON), and systematic rule design. A strong answer involves parsing the plan, identifying all relevant resource types (`aws_s3_bucket`, `aws_security_group_rule`), evaluating their attributes, and combining multiple deny conditions. They should mention using `resource_changes` or `planned_values` in the plan.
Answer Strategy
Tests the candidate's operational maturity, incident response, and commitment to robust governance. The focus should be on the post-mortem and systemic fix, not just the bug.
1 career found
Try a different search term.