Quibank app: now on the App Store — free, works offline. Get the app ↗

23 Azure: Identity, Access & Security Practice Questions & Answers

Every Azure: Identity, Access & Security practice question from the AZ-900 Azure Fundamentals Practice Test, with the correct answer and a short explanation.

Start practice test →
  1. 1. A company is moving a legacy line-of-business app to Azure. The app needs LDAP, Kerberos authentication and Group Policy, and the IT team does not want to deploy, patch or manage domain controllers. Which service best meets these needs?

    • A.Microsoft Entra Connect with password hash sync
    • B.A Microsoft Entra Domain Services managed domain✓ Answer
    • C.Windows Server AD DS installed on Azure Virtual Machines
    • D.Microsoft Entra ID with Conditional Access policies

    Microsoft Entra Domain Services provides managed domain join, Group Policy, LDAP and Kerberos/NTLM authentication, and the Azure platform deploys and manages the domain controllers, which is why it suits lifting and shifting legacy apps. Microsoft Entra ID does not itself offer LDAP, Kerberos or Group Policy; AD DS on virtual machines would leave the team managing domain controllers; and Microsoft Entra Connect only synchronizes identities.

    Ref QB-4NXYBCSource: Microsoft Learn, Describe Azure identity, access, and security: Describe directory services in Azure (Microsoft Entra Domain Services)Report a problem with this question

  2. 2. Which statement best describes Microsoft Entra ID?

    • A.A cloud identity and access service that handles sign-in, SSO and MFA✓ Answer
    • B.A cloud-hosted copy of AD DS that provides Group Policy and LDAP
    • C.A managed service that runs domain controllers for Kerberos apps
    • D.A posture tool that scores the security of Azure and AWS workloads

    Microsoft Entra ID is Microsoft's cloud-based identity and access management service: it authenticates users and provides single sign-on, multifactor authentication, application and device management. It is not a cloud copy of on-premises AD DS and does not provide Group Policy or LDAP; those managed domain features come from Microsoft Entra Domain Services, and posture scoring across clouds is Microsoft Defender for Cloud.

    Ref QB-J5EGKASource: Microsoft Learn, Describe Azure identity, access, and security: Describe directory services in Azure (What is Microsoft Entra ID?)Report a problem with this question

  3. 3. An administrator creates a user account directly in a Microsoft Entra Domain Services managed domain. What happens to that account?

    • A.It is kept in the managed domain and is not synced to Microsoft Entra ID✓ Answer
    • B.It is written back to on-premises AD DS through Microsoft Entra Connect
    • C.It is blocked until the same account first exists in Microsoft Entra ID
    • D.It is synchronized back to Microsoft Entra ID in the next sync cycle

    A managed domain performs one-way synchronization from Microsoft Entra ID to Microsoft Entra Domain Services. Resources created directly in the managed domain stay there and are not synchronized back to Microsoft Entra ID, and nothing flows from the managed domain to on-premises AD DS.

    Ref QB-3NKN6BSource: Microsoft Learn, Describe Azure identity, access, and security: Describe directory services in Azure (Is information synchronized? one-way synchronization)Report a problem with this question

  4. 4. A user signs in successfully with multifactor authentication but then gets an error when trying to delete a virtual machine. Which process denied the delete request?

    • A.Single sign-on, evaluated through the user's Microsoft Entra ID session
    • B.Authentication, evaluated through Microsoft Entra multifactor authentication
    • C.Passwordless sign-in, evaluated through the Microsoft Authenticator app
    • D.Authorization, evaluated through the user's Azure RBAC role assignments✓ Answer

    Authentication proves who the user is, and that already succeeded when the user signed in with MFA. Whether the user may delete a virtual machine is an authorization decision, which Azure role-based access control makes from the user's role assignments at that scope.

    Ref QB-H536E9Source: Microsoft Learn, Describe Azure identity, access, and security: Describe authentication methods in Azure; Describe Azure role-based access controlReport a problem with this question

  5. 5. Which sign-in combination qualifies as multifactor authentication?

    • A.A password that the user must change on a regular, fixed schedule
    • B.A password plus a PIN that the user types on the same sign-in page
    • C.A password plus a code sent to the user's registered mobile phone✓ Answer
    • D.A password plus answers to two personal security challenge questions

    MFA requires factors from different categories: something you know (password or challenge question), something you have (such as a code sent to a phone) and something you are (biometrics). A password with a phone code combines know and have. Security questions and a PIN are also things you know, so pairing them with a password is still a single category.

    Ref QB-2N8BZ9Source: Microsoft Learn, Describe Azure identity, access, and security: Describe authentication methods in Azure (What's multifactor authentication? three factor categories)Report a problem with this question

  6. 6. Factory workers share PCs on the production floor and move between machines during each shift. The company wants them to sign in without passwords, using a credential each worker carries. Which option fits best?

    • A.Self-service password reset enabled for every worker account
    • B.Security questions answered at each sign-in on the shared PC
    • C.FIDO2 security keys that each worker registers and carries✓ Answer
    • D.Windows Hello for Business credentials bound to each shared PC

    FIDO2 security keys are portable, phishing-resistant hardware devices that a user registers and then selects at sign-in instead of a password, so they work well when people move between shared PCs. Windows Hello for Business credentials are tied to a user's own designated device, while self-service password reset and security questions still rely on passwords or knowledge factors.

    Ref QB-G5QT88Source: Microsoft Learn, Describe Azure identity, access, and security: Describe authentication methods in Azure (passwordless: FIDO2 security keys, Windows Hello for Business)Report a problem with this question

  7. 7. A company enables single sign-on so that employees use one Microsoft Entra ID identity for many apps. What security benefit does this give when an employee leaves?

    • A.Access to every connected app is removed by disabling one identity✓ Answer
    • B.The help desk can reset the user's separate password in each app
    • C.Each connected app automatically begins requiring a FIDO2 key
    • D.The employee's account is automatically converted into a B2B guest

    With single sign-on, one identity is used for many applications, so disabling that one identity removes the person's access everywhere at once. SSO does not convert accounts to guests or change the sign-in method, and it removes the need for separate per-app passwords rather than relying on them.

    Ref QB-ZMVYT8Source: Microsoft Learn, Describe Azure identity, access, and security: Describe authentication methods in Azure (What's single sign-on?)Report a problem with this question

  8. 8. A manufacturer wants engineers at a supplier to use an internal app protected by Microsoft Entra ID, signing in with their own company credentials. They should appear as guest users in the manufacturer's directory. Which capability meets this need?

    • A.Microsoft Entra External ID in an external tenant
    • B.Microsoft Entra Domain Services
    • C.Microsoft Entra B2B collaboration✓ Answer
    • D.Microsoft Entra Connect sync

    B2B collaboration lets external users such as partners and suppliers sign in to your apps with their own identity, and they are represented in your directory as guest users. External ID in an external tenant targets consumers of public apps, Domain Services provides managed domain features, and Entra Connect syncs your own on-premises identities.

    Ref QB-F5CG37Source: Microsoft Learn, Describe Azure identity, access, and security: Describe external identities (B2B collaboration)Report a problem with this question

  9. 9. An online retailer is building a public shopping app. Millions of consumers must be able to create accounts and sign in with social identities such as Google or Facebook. Which capability is designed for this?

    • A.Microsoft Entra External ID in an external tenant✓ Answer
    • B.Microsoft Entra B2B direct connect with mutual trust
    • C.Microsoft Entra B2B collaboration with invitations
    • D.Microsoft Entra Domain Services with LDAP accounts

    Microsoft Entra External ID in an external tenant is Microsoft's customer identity and access management solution for publishing apps to consumers and business customers, with self-service sign-up and social identities such as Google or Facebook; it succeeds the legacy Azure AD B2C service. B2B collaboration and B2B direct connect are for working with partner organizations, and Domain Services provides managed domain features rather than consumer sign-up.

    Ref QB-YMHNN7Source: Microsoft Learn, Describe Azure identity, access, and security: Describe external identities (Microsoft Entra External ID for customers)Report a problem with this question

  10. 10. A company wants users to complete MFA only when they sign in from an unfamiliar location, not when they sign in from the office. Which feature should it use?

    • A.A Microsoft Defender for Cloud alert rule for remote sign-ins
    • B.A Microsoft Entra Conditional Access policy based on sign-in location✓ Answer
    • C.An Azure RBAC role assignment scoped to the office subscription
    • D.An Azure Policy definition that audits each sign-in location

    Conditional Access collects sign-in signals such as the user's location, decides, and then allows access, blocks it, or challenges for MFA, so a user at a known location need not be prompted. Azure RBAC grants permissions on resources, Azure Policy governs resource configuration, and Defender for Cloud alerts do not control the sign-in step.

    Ref QB-GA5TGVSource: Microsoft Learn, Describe Azure identity, access, and security: Describe Microsoft Entra Conditional Access (signals, decisions, enforcement)Report a problem with this question

  11. 11. After Microsoft Entra Conditional Access evaluates the signals for a sign-in, which outcome can the policy enforce?

    • A.Deny the creation of VMs outside an approved Azure region
    • B.Change the user's Azure RBAC role from Reader to Contributor
    • C.Prevent a resource group from being deleted by any admin
    • D.Grant access but first require the user to complete MFA✓ Answer

    Conditional Access enforces its decision by allowing the sign-in, denying it, or challenging the user for multifactor authentication. It does not change role assignments, restrict which regions resources are deployed to (an Azure Policy job), or protect resources from deletion (a resource lock job).

    Ref QB-YSXMWUSource: Microsoft Learn, Describe Azure identity, access, and security: Describe Microsoft Entra Conditional Access (allow, deny or challenge for MFA)Report a problem with this question

  12. 12. A company wants to block access to its payroll app from personal, unmanaged devices while still allowing compliant company laptops. Which approach meets this need?

    • A.Azure RBAC with a Reader role on the payroll resource group
    • B.Azure Policy with a rule that denies unmanaged device types
    • C.Microsoft Entra Conditional Access requiring a compliant device✓ Answer
    • D.Microsoft Defender for Cloud just-in-time access to the app

    Conditional Access uses the device a user signs in from as a signal and can require a compliant device before granting access to an application. Azure RBAC decides what someone can do with Azure resources, Azure Policy evaluates resource configurations rather than sign-in devices, and just-in-time access controls VM management ports.

    Ref QB-HAG5PWSource: Microsoft Learn, Describe Azure identity, access, and security: Describe Microsoft Entra Conditional Access (device signals, require compliant device)Report a problem with this question

  13. 13. A developer must create and manage virtual machines in one resource group but must not be able to grant other people access. Following least privilege, which built-in role assignment fits best?

    • A.Contributor at the resource group scope✓ Answer
    • B.Reader at the resource group scope
    • C.Owner at the resource group scope
    • D.User Access Administrator at the resource group scope

    Contributor grants full access to manage resources but does not allow assigning roles in Azure RBAC, and scoping it to the one resource group keeps privilege to the minimum. Owner could also grant access to others, Reader cannot create or change resources, and User Access Administrator manages access rather than resources.

    Ref QB-ZSAY3WSource: Microsoft Learn, Azure built-in roles (Contributor, Owner, Reader)Report a problem with this question

  14. 14. An auditor is assigned the Reader role at the scope of a subscription. What can the auditor do with a virtual machine in a resource group inside that subscription?

    • A.Nothing, because roles apply only at the exact scope assigned
    • B.Start and stop it, because Reader includes basic operator actions
    • C.Resize it, because subscription roles override resource-level roles
    • D.View it, because role assignments are inherited by child scopes✓ Answer

    Azure RBAC is hierarchical: access granted at a parent scope such as a subscription is inherited by all child scopes, including its resource groups and their resources. Reader allows viewing resources but not making any changes, so the auditor can view the VM but cannot start, stop or resize it.

    Ref QB-EAE56TSource: Microsoft Learn, Describe Azure identity, access, and security: Describe Azure role-based access control (scopes and inheritance)Report a problem with this question

  15. 15. Which Azure built-in role lets a user manage all resources at its scope and also assign roles to other users?

    • A.User Access Administrator
    • B.Owner✓ Answer
    • C.Reader
    • D.Contributor

    Owner grants full access to manage all resources, including the ability to assign roles in Azure RBAC. Contributor can manage resources but cannot assign roles, Reader can only view, and User Access Administrator can manage access but not the resources themselves.

    Ref QB-WS8YJSSource: Microsoft Learn, Azure built-in roles (Owner, Contributor, Reader, User Access Administrator)Report a problem with this question

  16. 16. Which set lists the three guiding principles of the Zero Trust model?

    • A.Verify once at sign-in, trust the internal network, assume breach
    • B.Trust the perimeter, use least privilege access, verify annually
    • C.Verify explicitly, use least privilege access, assume breach✓ Answer
    • D.Verify explicitly, grant standing admin access, trust managed networks

    Microsoft's Zero Trust model rests on three principles: verify explicitly using all available data points, use least privilege access with just-in-time and just-enough access, and assume breach by limiting blast radius and segmenting access. Trusting the internal network or verifying only once is the traditional perimeter mindset that Zero Trust replaces.

    Ref QB-FASFBUSource: Microsoft Learn, Describe Azure identity, access, and security: Describe the Zero Trust model (guiding principles)Report a problem with this question

  17. 17. How does the Zero Trust model differ from a traditional perimeter-based security model?

    • A.It verifies users once per day and then trusts their device session
    • B.It treats each request as though it came from an uncontrolled network✓ Answer
    • C.It trusts requests from inside the corporate network after one sign-in
    • D.It relies on the perimeter firewall as the primary line of defense

    Zero Trust assumes breach at the outset and verifies each request as though it originated from an uncontrolled network. The traditional model trusted everything inside the corporate network perimeter, which is the assumption Zero Trust drops.

    Ref QB-XSKARTSource: Microsoft Learn, Describe Azure identity, access, and security: Describe the Zero Trust model (adjusting to Zero Trust)Report a problem with this question

  18. 18. Which sequence lists the defense-in-depth layers from the outermost layer to the innermost layer?

    • A.Physical security, perimeter, identity and access, network, compute, application, data
    • B.Data, application, compute, network, perimeter, identity and access, physical security
    • C.Physical security, identity and access, perimeter, network, compute, application, data✓ Answer
    • D.Physical security, identity and access, perimeter, network, application, compute, data

    Microsoft Learn lists the layers from the outside in as physical security, identity and access, perimeter, network, compute, application and data, with data at the center that all other layers protect. The other sequences swap identity and access with perimeter, swap compute with application, or list the layers from the inside out.

    Ref QB-CAQFTQSource: Microsoft Learn, Describe Azure identity, access, and security: Describe defense-in-depth (layers of defense-in-depth)Report a problem with this question

  19. 19. A company enables Azure DDoS Protection to filter large-scale attacks before they cause a denial of service for users. Which defense-in-depth layer does this control belong to?

    • A.The perimeter layer✓ Answer
    • B.The application layer
    • C.The compute layer
    • D.The network layer

    The perimeter layer uses distributed denial of service (DDoS) protection and perimeter firewalls to filter large-scale attacks before they reach resources. The network layer limits communication between resources, the compute layer secures virtual machines, and the application layer keeps applications free of vulnerabilities.

    Ref QB-USHA8QSource: Microsoft Learn, Describe Azure identity, access, and security: Describe defense-in-depth (perimeter layer, DDoS protection)Report a problem with this question

  20. 20. What is the main purpose of the defense-in-depth model?

    • A.To rely on one strong perimeter firewall that blocks every incoming attack
    • B.To encrypt data once at rest and treat other security controls as optional
    • C.To move all security responsibility to the cloud provider's datacenter staff
    • D.To protect data with layered controls that each slow down an attacker's advance✓ Answer

    Defense in depth uses a series of layered mechanisms to slow an attack aimed at gaining unauthorized access to data, so that if one layer is breached the next is already in place. It removes reliance on any single layer, such as one firewall or encryption alone, and it does not shift all responsibility to the cloud provider.

    Ref QB-52EXW4Source: Microsoft Learn, Describe Azure identity, access, and security: Describe defense-in-depth (purpose of defense-in-depth)Report a problem with this question

  21. 21. A company runs workloads in Azure, in AWS and in its own datacenter. The security team wants one service that continuously assesses these resources, calculates a secure score and raises threat alerts. Which service fits best?

    • A.Azure Policy
    • B.Microsoft Defender for Cloud✓ Answer
    • C.Microsoft Sentinel
    • D.Azure Advisor

    Microsoft Defender for Cloud is a security posture management and threat protection service that monitors cloud, on-premises, hybrid and multicloud resources, calculates a secure score from its recommendations, and raises security alerts. Microsoft Sentinel is a SIEM for collecting and investigating security events, Azure Advisor gives best-practice recommendations, and Azure Policy enforces resource configuration rules.

    Ref QB-NHK4H5Source: Microsoft Learn, Describe Azure identity, access, and security: Describe the purpose of Microsoft Defender for Cloud (secure score, multicloud coverage)Report a problem with this question

  22. 22. Administrators connect to Azure VMs over RDP, and the security team wants the management ports kept closed except when an approved administrator needs them for a limited time. Which feature provides this?

    • A.A resource lock applied to each VM's network interface
    • B.Just-in-time VM access provided by Microsoft Defender for Cloud✓ Answer
    • C.An Azure RBAC Reader role assigned to every administrator
    • D.A Conditional Access policy that requires MFA for admins

    Just-in-time VM access in Microsoft Defender for Cloud reduces brute-force exposure by keeping management ports such as RDP and SSH closed and opening them only on approved request for a limited time. A resource lock prevents deletion or changes, a Reader role cannot open ports, and Conditional Access protects sign-in rather than network ports.

    Ref QB-62S946Source: Microsoft Learn, Describe Azure identity, access, and security: Describe the purpose of Microsoft Defender for Cloud (just-in-time VM access)Report a problem with this question

  23. 23. Which description best matches the purpose of Microsoft Defender for Cloud?

    • A.Rules that enforce allowed configurations when Azure resources are deployed
    • B.Data governance, cataloging and compliance management across an organization
    • C.Best-practice recommendations on cost, reliability and performance of resources
    • D.Security posture management and threat protection for cloud and hybrid resources✓ Answer

    Microsoft Defender for Cloud is a security posture management and threat protection service that monitors cloud, on-premises, hybrid and multicloud resources and gives recommendations and alerts. Cost, reliability and performance recommendations describe Azure Advisor, data governance describes Microsoft Purview, and enforcing allowed configurations describes Azure Policy.

    Ref QB-PHXEP6Source: Microsoft Learn, Describe Azure identity, access, and security: Describe the purpose of Microsoft Defender for Cloud (security posture management and threat protection)Report a problem with this question

Other topics in this exam

Practice questions built from the skills measured in Microsoft's published AZ-900 study guide. Microsoft, Azure and Microsoft Certified: Azure Fundamentals are trademarks of the Microsoft group of companies; this site is not affiliated with or endorsed by Microsoft, and these are not real exam questions. Prices, scoring rules, exam languages, service names and features change over time — confirm the current details on Microsoft Learn before you book. The real exam also uses question formats such as yes/no statement sets and drag-and-drop, which this single-answer practice does not reproduce. Microsoft AZ-900 study guide →