Azure Security Engineer · Domain 1 of 4 · 18% of the exam

Azure Security Engineer Domain 1: Secure Identity and Access

36 free practice questions for Secure Identity and Access in the Microsoft Azure Security Engineer Associate (AZ-500) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Secure Identity and Access practice questions

  1. Question 1. A security engineer must stop legacy authentication protocols such as POP and IMAP from being used to sign in. What is the recommended control?

    1. A network security group rule blocking port 443
    2. A password expiration policy of 30 days
    3. A Conditional Access policy that blocks legacy authentication clients
    4. An Azure Policy assignment on the subscription
    Show answer

    Answer: C. A Conditional Access policy that blocks legacy authentication clients

    Legacy protocols can't do MFA, so Conditional Access should block the "Other clients" and Exchange ActiveSync client apps.

  2. Question 2. Users must register for MFA and self-service password reset in a single experience. What should be enabled?

    1. Per-user MFA with app passwords
    2. Combined security information registration
    3. Security defaults for guest users only
    4. Password writeback in Entra Connect
    Show answer

    Answer: B. Combined security information registration

    Combined registration lets users set up MFA and SSPR methods at once, and Conditional Access can protect the registration itself.

  3. Question 3. Which authentication method is phishing-resistant and recommended for administrators?

    1. SMS one-time codes
    2. Voice call verification
    3. Security questions
    4. FIDO2 security keys or passkeys
    Show answer

    Answer: D. FIDO2 security keys or passkeys

    FIDO2 keys and passkeys are bound to the site origin, so a phishing page can't replay them. SMS and voice can be intercepted.

  4. Question 4. Attackers are sending repeated MFA push prompts hoping a user will approve one. Which feature reduces this risk?

    1. Increasing the password length to 20 characters
    2. Number matching and additional context in Microsoft Authenticator
    3. Disabling self-service password reset
    4. Removing all Conditional Access policies
    Show answer

    Answer: B. Number matching and additional context in Microsoft Authenticator

    Number matching forces the user to type a code shown on the sign-in screen, which stops accidental approvals of fatigue attacks.

  5. Question 5. An administrator's role must be active only during an approved change window of 4 hours. Which PIM setting controls this?

    1. The Conditional Access sign-in frequency
    2. The access review recurrence
    3. The password expiry period
    4. The maximum activation duration in the role settings
    Show answer

    Answer: D. The maximum activation duration in the role settings

    PIM role settings define activation duration, approval, justification, and MFA requirements.

  6. Question 6. Eligible PIM activations for Global Administrator must be approved by a specific security lead. What should be configured?

    1. A permanent active assignment for the lead
    2. Require approval to activate, with the lead as an approver
    3. An access review with auto-apply enabled
    4. A dynamic group containing all administrators
    Show answer

    Answer: B. Require approval to activate, with the lead as an approver

    PIM can require one or more approvers before an eligible assignment becomes active.

  7. Question 7. A company needs alerts when someone is assigned a privileged role outside PIM. What provides this?

    1. Azure Advisor security recommendations
    2. PIM alerts such as "Roles are being assigned outside of PIM"
    3. Azure Monitor metric alerts on CPU
    4. Storage account diagnostic logs
    Show answer

    Answer: B. PIM alerts such as "Roles are being assigned outside of PIM"

    PIM security alerts flag risky patterns, including permanent or out-of-band role assignments.

  8. Question 8. Which Microsoft Entra ID Protection signal indicates a user's credentials were found in a public leak?

    1. Atypical travel sign-in detection
    2. Leaked credentials user risk detection
    3. Anonymous IP address detection
    4. Unfamiliar sign-in properties detection
    Show answer

    Answer: B. Leaked credentials user risk detection

    Leaked credentials raise user risk, which a risk-based policy can use to require a secure password change.

  9. Question 9. A user risk policy should force a secure password change when risk is high. What must users have for this to work without admin help?

    1. A FIDO2 key and a guest account
    2. MFA registration and self-service password reset
    3. A device compliance policy only
    4. An Azure subscription Owner role
    Show answer

    Answer: B. MFA registration and self-service password reset

    Users remediate risk themselves by passing MFA and changing their password, so they must be registered first.

  10. Question 10. Access to the Azure portal must only be allowed from devices managed by Intune and marked compliant. What should the Conditional Access policy require?

    1. Require device to be marked as compliant
    2. Require terms of use acceptance
    3. Require approved client app only
    4. Block access from all countries
    Show answer

    Answer: A. Require device to be marked as compliant

    Device compliance grants access only to devices that meet Intune compliance policies.

  11. Question 11. Session cookies for admin portals should expire more often than for regular apps. Which Conditional Access session control fits?

    1. Sign-in frequency
    2. Persistent browser session set to always
    3. Terms of use
    4. Continuous access evaluation disabled
    Show answer

    Answer: A. Sign-in frequency

    Sign-in frequency forces reauthentication after a set time for the targeted apps and users.

  12. Question 12. When a user is disabled or their location changes, their access to Exchange and SharePoint should be revoked in near real time. Which feature does this?

    1. Access reviews
    2. Continuous access evaluation
    3. Password hash synchronization
    4. Administrative units
    Show answer

    Answer: B. Continuous access evaluation

    CAE lets resource providers react to critical events quickly instead of waiting for the token to expire.

  13. Question 13. A helpdesk team must reset passwords only for users in the Paris office. What limits their scope?

    1. An administrative unit with a scoped Helpdesk Administrator role
    2. A management group for the Paris office with Reader access
    3. An Azure RBAC role assigned on the Paris resource group
    4. A Conditional Access named location for the Paris office
    Show answer

    Answer: A. An administrative unit with a scoped Helpdesk Administrator role

    Administrative units restrict directory role permissions to a subset of users, groups, or devices.

  14. Question 14. An app registration needs permission to read all users' profiles without a signed-in user. Which permission type is this?

    1. Delegated permission, which any user can consent to
    2. Application permission, which requires admin consent
    3. An Azure RBAC Reader role on the subscription
    4. A Key Vault access policy
    Show answer

    Answer: B. Application permission, which requires admin consent

    Application permissions act as the app itself and need admin consent because they aren't limited by a user's rights.

  15. Question 15. Users are granting consent to risky third-party apps. What should an administrator configure?

    1. Allow user consent for all apps from any publisher
    2. Restrict user consent and enable the admin consent workflow
    3. Remove every app registration from the tenant
    4. Disable MFA for all app sign-ins to reduce prompts
    Show answer

    Answer: B. Restrict user consent and enable the admin consent workflow

    Limiting consent to verified publishers or low-risk permissions, with an admin request workflow, reduces illicit consent grants.

  16. Question 16. Which credential type is preferred for an app registration's service principal when a managed identity isn't possible?

    1. A client secret with no expiry date set on it
    2. A shared user account password in the app config
    3. A certificate in Key Vault, or a federated credential
    4. A storage account access key used as a credential
    Show answer

    Answer: C. A certificate in Key Vault, or a federated credential

    Certificates and federated credentials are stronger than secrets, and a federated credential avoids storing any secret.

  17. Question 17. A company must discover which cloud apps users access and apply session controls to them. What should be integrated with Conditional Access?

    1. Azure Firewall Premium
    2. Microsoft Defender for Cloud Apps
    3. Azure DDoS Protection
    4. Azure Bastion
    Show answer

    Answer: B. Microsoft Defender for Cloud Apps

    Conditional Access App Control routes sessions through Defender for Cloud Apps for monitoring and control.

  18. Question 18. Which Azure RBAC feature prevents even Owners from performing certain actions on resources deployed by a managed application or blueprint?

    1. Custom roles
    2. Deny assignments
    3. Role eligibility in PIM
    4. Management group inheritance
    Show answer

    Answer: B. Deny assignments

    Deny assignments block specified actions and take precedence over role assignments.

  19. Question 19. A security engineer needs a role that can manage Key Vault secrets' data but not the vault's configuration. Which built-in role fits?

    1. Key Vault Contributor
    2. Owner on the resource group
    3. Key Vault Secrets Officer
    4. Reader on the subscription
    Show answer

    Answer: C. Key Vault Secrets Officer

    Data-plane roles like Secrets Officer manage secrets, while Key Vault Contributor manages the vault resource but not its data.

  20. Question 20. Which statement about Azure RBAC role assignment inheritance is correct?

    1. A role assigned at a resource applies to its parent resource group
    2. Role assignments never inherit between scopes
    3. A role assigned at a subscription applies to all its resource groups and resources
    4. Only custom roles inherit to child scopes
    Show answer

    Answer: C. A role assigned at a subscription applies to all its resource groups and resources

    Assignments flow down from management group to subscription, resource group, and resource.

  21. Question 21. An engineer wants to see exactly which effective permissions a user has on a storage account. Where can this be checked?

    1. Check access on the resource's Access control (IAM) blade
    2. The Networking blade of the storage account
    3. The Microsoft Entra sign-in logs for the user
    4. The Azure Advisor score for the subscription
    Show answer

    Answer: A. Check access on the resource's Access control (IAM) blade

    Check access shows the role assignments that apply to a user, group, or identity at that scope.

  22. Question 22. Guest users from a partner must be removed automatically if their manager doesn't confirm they still need access. What fits?

    1. An access review for guests with auto-apply of results
    2. A Conditional Access policy blocking all guests
    3. A dynamic group for guests only
    4. An Azure Policy with the Deny effect
    Show answer

    Answer: A. An access review for guests with auto-apply of results

    Access reviews can remove denied or unreviewed guests automatically when the review ends.

  23. Question 23. New employees need a bundle of groups, apps, and SharePoint sites, requested through a self-service portal with approval. What should be used?

    1. Entitlement management access packages
    2. Administrative units
    3. Azure Blueprints
    4. Privileged Identity Management for Azure resources
    Show answer

    Answer: A. Entitlement management access packages

    Access packages bundle resources with request, approval, and expiry policies.

  24. Question 24. A company wants passwords that contain its brand name blocked, even with added numbers. What should be configured?

    1. A longer password expiry period
    2. Security defaults for all users
    3. Per-user MFA for administrators only
    4. A custom banned password list in Password Protection
    Show answer

    Answer: D. A custom banned password list in Password Protection

    Password Protection blocks the global banned list plus custom terms, including common variations.

  25. Question 25. On-premises AD users should also be stopped from choosing weak passwords from the Entra banned list. What must be deployed?

    1. Microsoft Entra Password Protection proxy and DC agents
    2. Password hash synchronization only
    3. Pass-through authentication agents only
    4. Azure AD Domain Services
    Show answer

    Answer: A. Microsoft Entra Password Protection proxy and DC agents

    DC agents enforce the banned password policy during password changes on domain controllers.

  26. Question 26. Which sign-in log field helps confirm whether a Conditional Access policy applied to a failed sign-in?

    1. The resource group field of the user's device
    2. The Conditional Access tab showing each policy's result
    3. The Azure subscription ID of the target app
    4. The storage account SKU used for log export
    Show answer

    Answer: B. The Conditional Access tab showing each policy's result

    Sign-in logs list every policy evaluated and whether it was applied, not applied, or in report-only mode.

  27. Question 27. A new Conditional Access policy should be tested for impact before enforcement. What mode should it use?

    1. Report-only mode
    2. Enabled for all users immediately
    3. Disabled with no logging
    4. Enforced for administrators only
    Show answer

    Answer: A. Report-only mode

    Report-only records what the policy would have done in sign-in logs and workbooks.

  28. Question 28. Workload identities, such as service principals, need risk-based protection similar to users. Which capability provides this?

    1. Password Protection applied to service principals
    2. Microsoft Entra Workload ID with Conditional Access for workloads
    3. Self-service password reset enabled for apps
    4. Per-user MFA enforced on each service principal
    Show answer

    Answer: B. Microsoft Entra Workload ID with Conditional Access for workloads

    Workload ID premium adds risk detections and location-based Conditional Access for service principals.

  29. Question 29. A managed identity needs to read blobs in one container only. What is the least-privilege assignment?

    1. Storage Blob Data Reader scoped to that container
    2. Storage Account Contributor on the subscription
    3. Owner on the storage account
    4. Reader on the resource group
    Show answer

    Answer: A. Storage Blob Data Reader scoped to that container

    Data roles can be scoped down to a single container.

  30. Question 30. Why are data-plane roles such as Storage Blob Data Reader needed in addition to Reader?

    1. Reader covers the control plane only and can't read data
    2. Reader grants full data access already
    3. Data roles are only for guest users
    4. Reader works only on virtual machines
    Show answer

    Answer: A. Reader covers the control plane only and can't read data

    Control-plane Reader sees resource settings but not the data inside the service.

  31. Question 31. Users outside the company's country must be blocked from signing in to all apps, except a break-glass account. How should this be built?

    1. An NSG rule on each subnet that blocks foreign IP ranges
    2. An Azure Policy allowed-locations assignment on the tenant
    3. A Key Vault firewall rule that allows only local addresses
    4. A Conditional Access policy using a named location, excluding break-glass
    Show answer

    Answer: D. A Conditional Access policy using a named location, excluding break-glass

    Named locations define trusted or blocked countries, and emergency accounts should always be excluded.

  32. Question 32. Which option lets an organization require that a specific app can only be accessed through a phishing-resistant method?

    1. A password policy with complexity rules
    2. A tenant restriction policy
    3. A Conditional Access authentication strength
    4. A cross-tenant access setting for B2B
    Show answer

    Answer: C. A Conditional Access authentication strength

    Authentication strengths specify which MFA methods satisfy a policy, such as phishing-resistant only.

  33. Question 33. A company wants employees blocked from signing in to other organizations' Microsoft Entra tenants from corporate networks. What should it use?

    1. Administrative units
    2. Access reviews
    3. Tenant restrictions
    4. Identity Protection user risk
    Show answer

    Answer: C. Tenant restrictions

    Tenant restrictions limit which external tenants users can access from managed networks or devices.

  34. Question 34. Which log source shows changes to Microsoft Entra objects, such as a role assignment or app consent?

    1. Microsoft Entra audit logs
    2. Azure Monitor VM insights
    3. NSG flow logs
    4. Storage analytics logs
    Show answer

    Answer: A. Microsoft Entra audit logs

    Audit logs record directory changes, and they can be sent to Log Analytics or Sentinel.

  35. Question 35. A custom Azure RBAC role should allow starting and restarting VMs only. Which part of the role definition lists those operations?

    1. NotDataActions
    2. Actions
    3. AssignableScopes only
    4. Description
    Show answer

    Answer: B. Actions

    Actions list the allowed control-plane operations, such as Microsoft.Compute/virtualMachines/start/action.

  36. Question 36. Where can a custom Azure RBAC role be made available for assignment?

    1. In any tenant in the world
    2. In the scopes listed in its AssignableScopes
    3. Only in the root management group
    4. Only on individual resources
    Show answer

    Answer: B. In the scopes listed in its AssignableScopes

    AssignableScopes limit where the custom role appears, such as specific subscriptions or management groups.

Microsoft and Azure are trademarks of the Microsoft group of companies. These questions are original study material, not questions from the real exam.