Azure Policies Flashcards

1
Q

What are Azure Policies?

A

Azure Policy helps to enforce organizational standards and to assess compliance at-scale

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some common uses with Azure Policies?

A
Implementing governance for:
Resource consistency
Regulatory compliance
Security
Cost
Management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Are Azure Policy Data and Objects encrypted at rest by default, or must be manually enabled?

A

They are encrypted by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are Azure Policy Definitions?

A

Azure Policy evaluates resources in Azure by comparing the properties of those resources to business rules. These business rules, described in JSON format, are known as Policy Definitions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Policy Initiatives?

A

It’s a collection of policy definitions that are tailored toward achieving a singular overarching goal. Initiative definitions simplify managing and assigning policy definitions. (sometimes called a policySet)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Once your business rules have been formed, the policy definition or initiative is assigned to any scope of resources that Azure supports, such as WHAT?

A

Management groups
Subscriptions
Resource groups
Individual resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Azure Policy uses WHAT format to form the logic the evaluation uses to determine whether a resource is compliant or not?

A

JSON Format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Resources are evaluated at specific times during the resource lifecycle, the policy assignment lifecycle, and for regular ongoing compliance evaluation. What are the times or events that cause a resource to be evaluated?

A

A resource is created, updated, or deleted in a scope with a policy assignment.

A policy or initiative is newly assigned to a scope or an existing one updated.

During the standard compliance evaluation cycle, which occurs once every 24 hours.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Business rules for handling non-compliant resources vary widely between organizations. Examples of how an organization wants the platform to respond to a non-compliant resource include:

A
Deny the resource change
Log the change to the resource
Alter the resource before the change
Alter the resource after the change
Deploy related compliant resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some key PowerShell Azure Policy Commands?

A

Get-AZResourceGroup -Name ‘’

New-AZPolicyAssignment -Name ‘’ -DisplayName ‘’ -Scope ‘’

Get-AZResourceDefinition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly