Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
$ als gewone gebruiker# als root (of met sudo)
Managing Entra ID: Multi-factor authentication (MFA) Setup, User and Group Management
Microsoft Entra ID is the cloud identity service. It was called Azure AD before.
- It does sign-in, access control, single sign-on, and risk detection.
- A tenant is one private copy of Entra ID for one organization.
- Users can be members of the tenant or guests from outside.
- Security groups give access. Microsoft 365 groups give a shared workspace.
- MFA asks for two or more proofs of identity.
- The three factor types are: something you know, something you have, something you are.
- Conditional Access decides when MFA is needed.
- SSPR lets users reset their own password.
- Entra ID Connect copies users from on-premises AD to the cloud.
- Premium P1 and P2 add advanced security and governance tools.
- Entra Domain Services gives legacy apps LDAP and Kerberos in the cloud.
In more detail
- Create users and groups first. Assign roles to groups, not to single people.
- Turn on MFA for all users, then refine the rules with Conditional Access.
- Test a new policy in Report-Only mode before you turn it on for real.
- Exclude service accounts from MFA only when the course says they do not need it.
- Join devices to Entra ID so they get policies and single sign-on.
- Enable SSPR for a small group first, then for all users.
- Install Entra ID Connect on an on-premises server. The default sync runs every 30 minutes.
- Read the sign-in logs and audit logs often. They show failed logins and admin changes.
Role-Based Access Control (RBAC): Assigning Roles for Resource Access
RBAC means role-based access control.
- A role is a group of allowed actions.
- Owner can do all actions and can give roles to others.
- Contributor can manage resources but cannot give roles.
- Reader can only look at resources.
- A role assignment has three parts: who, which role, and where.
- The "where" is the scope.
- Scope levels are tenant root group, management group, subscription, resource group, and resource.
- A role at a high scope also applies to the scopes below it.
- You can write a custom role in JSON.
- RBAC controls who can act. Azure Policy controls how resources must look.
- PIM gives a high role for a short time only.
In more detail
- Start from the smallest scope that still does the job.
- Give one clear role. Two roles that overlap make the result hard to read.
- Use Access Control (IAM) in the portal to add and remove assignments.
- Use the Activity Log to see who changed a role and when.
- Use Check Access to test what one user can do on one resource.
- In the CLI,
az role assignment listshows the current roles. - In PowerShell,
Get-AzRoleAssignmentdoes the same. - Test a custom role JSON before you assign it.
- Remove roles that nobody uses any more.
Azure Policy & Governance: Ensuring Resource Compliance & Management
Azure Policy checks resource settings against rules.
- A policy definition is the rule itself.
- A policy assignment puts the rule on a scope.
- The scope can be a management group, subscription, resource group, or one resource.
- The main effects are Deny, Audit, Append, DeployIfNotExists, and AuditIfNotExists.
- Deny blocks. Audit only logs. Append adds a value.
- DeployIfNotExists fixes a missing setting.
- An initiative is a group of policies inside one assignment.
- The compliance dashboard shows green and red results.
- A remediation task fixes resources that already exist.
- Policies can use parameters, so you can reuse one definition.
- Built-in policies are ready to use. Custom policies are written by you.
In more detail
- Write the rule as JSON with an "if" part and a "then" part.
- Use a parameter for lists like allowed locations or allowed VM sizes.
- Start with Audit. Change to Deny only when you are sure of the impact.
- Put related policies in one initiative. One assignment is easier to manage.
- Assign the initiative at a management group to cover many subscriptions.
- Send compliance data to Log Analytics so you can query it and set alerts.
- In KQL, the table
PolicyResourcesholds the compliance rows. - A Blueprint bundles policies, role assignments, and templates for one deployment.
Managing Azure Subscriptions & Costs: Optimizing Budgets, Resource Tracking & Governance
A budget sets a spending limit for a scope.
- You can set a budget on a subscription, a resource group, or one service.
- Budget alerts arrive at thresholds like 50, 80, and 100 percent.
- A webhook can start an action when spending is close to the limit.
- Tags are key-value labels on resources.
- Useful tags are Environment, Department, CostCenter, and Project.
- Azure Policy can require tags. The Append effect adds a missing tag.
- Management groups group many subscriptions under one policy.
- Cost Analysis shows the cost by resource, subscription, or tag.
- Ways to save: resize VMs, buy reserved instances, auto-shutdown, use spot VMs.
- Azure Advisor gives cost advice.
- A CDN can cut the cost of outbound traffic.
In more detail
- Set budgets with a name and a clear scope. Use the same scope for tags.
- Ask Finance and IT to agree on the limit together.
- Review the budget every month, not only when an alert fires.
- Standardise tag names. "CostCenter" and "costcenter" are different keys.
- Apply tags at creation time, while the rules are easy to follow.
- Use Azure Policy to add or block missing tags automatically.
- Build a management group for each department or region.
- Check Cost Analysis for idle VMs and old storage accounts.
- Try reserved instances only after you see steady use.
Key terms
The words of this course in one table. Learn them before the quiz or exam.
| Term | Meaning |
|---|---|
| 01 | Entra ID, MFA, and users — identity basics. |
| 02 | RBAC — roles, scopes, and assignments. |
| 03 | Azure Policy — rules, effects, remediation. |
| 04 | Subscriptions and costs — budgets and tags. |
| Access review | A scheduled check that access is still needed. |
| AD DS | Active Directory Domain Services, the on-premises directory. |
| Append | Add a missing field or tag value. |
| Audit | Record the problem but allow the change. |
| Auto-shutdown | A schedule that turns a VM off. |
| Azure Advisor | The service that gives cost and design advice. |
| Azure Policy | The service that enforces resource configuration rules. |
| Budget | A spending limit with alerts. |
| CDN | A cache network that lowers traffic cost and delay. |
| Compliance dashboard | The page that shows pass and fail counts. |
| Conditional Access | Rules that check user, device, app, location, and risk. |
| Contributor | Full resource control, but no role changes. |
| Cost Analysis | The chart and filter view of Azure spending. |
| CostCenter | A tag that links a resource to a budget code. |
| Custom role | A role you write in JSON for a special need. |
| Deny | Block the create or update request. |
| DeployIfNotExists | A policy effect that deploys a missing setting. |
| Domain Services | A managed domain in Azure with LDAP and Kerberos. |
| Effect | What the policy does when the rule matches. |
| Entra ID Connect | The sync tool between on-premises AD and Entra ID. |
| Guest user | An outside person invited into the tenant. |
| Initiative | A set of policies assigned together. |
| Least privilege | Give the smallest access that still works. |
| Management group | A container that groups subscriptions. |
| MFA | A second proof of identity at sign-in. |
| Owner | Full control, including giving roles. |
| PIM | Just-in-time activation of high-privilege roles. |
| Policy assignment | A definition applied to a scope. |
| Policy definition | The rule, written in JSON. |
| Principal | The user, group, or app that gets the role. |
| RBAC | Access control based on roles. |
| Reader | View-only access. |
| Remediation task | A job that fixes existing non-compliant resources. |
| Report-Only mode | Test mode that logs results but does not block. |
| Reserved instance | A one to three year promise for a lower price. |
| Role | A named set of allowed actions. |
| Role assignment | A role given to a principal at a scope. |
| Scope | The level where a role applies. |
| Spot VM | Cheap compute that Azure can take back. |
| SSPR | Self-service password reset by the user. |
| Tag | A key and value label for cost and organisation. |
| Tenant | One private identity space for one organization. |
Check yourself
Answer each question first, then open it to check the answer.
1What are the three types of MFA factor?
Something you know, something you have, and something you are.
2What is the job of Conditional Access?
It sets the conditions for access, such as when to require MFA or block a sign-in.
3Why should you assign roles to groups?
It is faster to manage, and access stays correct when people join or leave a team.
4What are the three parts of a role assignment?
The principal, the role, and the scope.
5Can a Contributor give roles to other people? Why?
No. Contributor can manage resources but cannot change role assignments.
6Where should you assign a role if a user needs only one resource group?
On that resource group, not on the whole subscription.
7What is the difference between Deny and Audit?
Deny blocks the request. Audit logs the problem and lets it through.
8Why is an initiative easier than many single policies?
You assign one object instead of many, and you track one compliance view.
9At which scope do you assign a policy for many subscriptions?
At a management group, so the policy applies to all its subscriptions.
10Which three alerts does the course suggest for a budget?
Alerts at 50, 80, and 100 percent of the budget.
11What does the Append effect do with tags?
It adds a missing tag value to the resource.
12Why is a management group useful for cost control?
One policy and one view cover many subscriptions, so you manage less.
Useful links
Official documentation and pages for this course.
- Microsoft Entra documentation — identity and access docs.
- Azure RBAC docs — roles and scopes.
- Azure Policy docs — definitions, effects, initiatives.
- Azure Cost Management docs — budgets and cost analysis.