Geavanceerd
Zoeken inSamenvattingen
Zo zoek je
  • Woorden vinden lestitels, tekst en code. Filter op soort (gidsen, cursussen, programma's, boeken) of blijf in dit boek.
  • book:rhcsa en ch:8 maken de zoektocht kleiner; #code vindt een woord alleen in commando's van de lessen.
  • "twee woorden" vindt precies die zin.
  • Gewone woorden vinden namen, teksten en voorbeelden.
  • ↑ ↓ bewegen · Enter openen · Esc sluiten · / zoeken
Probeer:

Cursus 2Naam in de cursus: AZ 104 - 1 - Azure Identities and Governance

Azure Identities and Governance

Course 2 of 7 in the AZ-104 path on Manara. Microsoft Entra ID users, groups and MFA.

Notitie

My result — Tasks in this course: all done (48/48); Module review quizzes: 100% (each module); Path progress: all 197 tasks of the 7 courses done; Mock exams: both passed — 92% and 98% (80% to pass).

Course page: Manara

  • 8 Lessen
  • 1 Commando's
  • 2 Labs

Dit deel is nog niet vertaald. Je ziet de Engelse tekst.

$ als gewone gebruiker# als root (of met sudo)

2.1

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.

2.2

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 list shows the current roles.
  • In PowerShell, Get-AzRoleAssignment does the same.
  • Test a custom role JSON before you assign it.
  • Remove roles that nobody uses any more.

Commando's in deze les

2.3

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 PolicyResources holds the compliance rows.
  • A Blueprint bundles policies, role assignments, and templates for one deployment.

2.4

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.

2.5

Key terms

The words of this course in one table. Learn them before the quiz or exam.

TermMeaning
01Entra ID, MFA, and users — identity basics.
02RBAC — roles, scopes, and assignments.
03Azure Policy — rules, effects, remediation.
04Subscriptions and costs — budgets and tags.
Access reviewA scheduled check that access is still needed.
AD DSActive Directory Domain Services, the on-premises directory.
AppendAdd a missing field or tag value.
AuditRecord the problem but allow the change.
Auto-shutdownA schedule that turns a VM off.
Azure AdvisorThe service that gives cost and design advice.
Azure PolicyThe service that enforces resource configuration rules.
BudgetA spending limit with alerts.
CDNA cache network that lowers traffic cost and delay.
Compliance dashboardThe page that shows pass and fail counts.
Conditional AccessRules that check user, device, app, location, and risk.
ContributorFull resource control, but no role changes.
Cost AnalysisThe chart and filter view of Azure spending.
CostCenterA tag that links a resource to a budget code.
Custom roleA role you write in JSON for a special need.
DenyBlock the create or update request.
DeployIfNotExistsA policy effect that deploys a missing setting.
Domain ServicesA managed domain in Azure with LDAP and Kerberos.
EffectWhat the policy does when the rule matches.
Entra ID ConnectThe sync tool between on-premises AD and Entra ID.
Guest userAn outside person invited into the tenant.
InitiativeA set of policies assigned together.
Least privilegeGive the smallest access that still works.
Management groupA container that groups subscriptions.
MFAA second proof of identity at sign-in.
OwnerFull control, including giving roles.
PIMJust-in-time activation of high-privilege roles.
Policy assignmentA definition applied to a scope.
Policy definitionThe rule, written in JSON.
PrincipalThe user, group, or app that gets the role.
RBACAccess control based on roles.
ReaderView-only access.
Remediation taskA job that fixes existing non-compliant resources.
Report-Only modeTest mode that logs results but does not block.
Reserved instanceA one to three year promise for a lower price.
RoleA named set of allowed actions.
Role assignmentA role given to a principal at a scope.
ScopeThe level where a role applies.
Spot VMCheap compute that Azure can take back.
SSPRSelf-service password reset by the user.
TagA key and value label for cost and organisation.
TenantOne private identity space for one organization.

2.6

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.

Oefenen

Alle commando's in dit hoofdstuk