Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Question 1 of 60 · Authentication vs Authorisation · Easy
What is the primary purpose of authentication?
Not quite. Try another option.
Answer: To verify a user's identity
Authentication is the process of proving you are who you say you are, typically with a username and password. It answers the question, "Who are you?".
Question 2 of 60 · Authentication vs Authorisation · Easy
Which of the following best describes authorization?
Not quite. Try another option.
Answer: The process of granting or denying access to specific resources
Authorization happens after successful authentication and determines the level of access an authenticated user has. It answers the question, "What are you allowed to do?".
Question 3 of 60 · Authentication vs Authorisation · Easy
A user successfully logs into a system but is blocked from opening a confidential folder. This is an example of a successful authentication followed by a denial of:
Not quite. Try another option.
Answer: Authorization
The user's identity was successfully authenticated (they logged in), but they were not authorized (did not have the necessary permissions) to access the specific folder.
Question 4 of 60 · Zero trust · Easy
What is the core principle of a Zero Trust security model?
Not quite. Try another option.
Answer: Never trust, always verify
The Zero Trust model operates on the principle of assuming a breach. It does not trust any user or device by default, requiring verification for every access request, regardless of its origin.
Question 5 of 60 · Zero trust · Easy
In a Zero Trust framework, what does the principle of "least privileged access" mean?
Not quite. Try another option.
Answer: Give users just-in-time and just-enough-access to do their job
Least privileged access is a fundamental pillar of Zero Trust. It ensures that users are only granted the specific permissions they need, for the shortest time necessary, to complete a task, minimizing potential security risks.
Question 6 of 60 · Cloud security · Easy
In the shared responsibility model for IaaS (Infrastructure as a Service), who is responsible for securing the physical datacenter?
Not quite. Try another option.
Answer: The cloud provider
In all cloud service models (IaaS, PaaS, SaaS), the cloud provider is always responsible for the security of the physical infrastructure, such as datacenters, servers, and networking hardware.
Question 7 of 60 · Cloud security · Easy
What is a basic security best practice for managing identities in the cloud?
MFA adds a critical layer of security by requiring two or more verification methods to prove a user's identity, significantly reducing the risk of unauthorized access from compromised credentials.
Question 8 of 60 · Understand Microsoft Entra ID · Easy
What is Microsoft Entra ID?
Not quite. Try another option.
Answer: A cloud-based identity and access management service
Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's multi-tenant, cloud-based directory and identity management service. It provides user authentication, single sign-on (SSO), and access management for various applications.
Question 9 of 60 · Understand Microsoft Entra ID · Easy
A company wants to allow users to sign in to thousands of different SaaS applications like Microsoft 365 and Salesforce with a single set of credentials. Which Microsoft Entra ID feature supports this?
Not quite. Try another option.
Answer: Single Sign-On (SSO)
Single Sign-On (SSO) is a key feature of Microsoft Entra ID that allows users to authenticate once and gain access to multiple different applications and resources without needing to re-enter their credentials.
Question 10 of 60 · Understand Microsoft Entra ID · Easy
Microsoft Entra ID can be synchronized with which on-premises directory service to create a hybrid identity solution?
Not quite. Try another option.
Answer: Windows Server Active Directory
A common hybrid scenario involves using Microsoft Entra Connect to synchronize user identities from a traditional on-premises Windows Server Active Directory to the cloud-based Microsoft Entra ID.
Question 11 of 60 · configure user and group accounts · Easy
What is the main advantage of using groups in Microsoft Entra ID for managing access?
Not quite. Try another option.
Answer: It simplifies permission management for multiple users
Groups allow administrators to grant access rights and permissions to a collection of users at once. Managing group membership is far more efficient than assigning permissions to each individual user.
Question 12 of 60 · configure user and group accounts · Easy
In Microsoft Entra ID, which type of group automatically manages its membership based on rules, such as a user's department?
Not quite. Try another option.
Answer: Dynamic
Dynamic groups use rules based on user or device attributes to automatically add or remove members. This reduces administrative overhead as membership is kept up-to-date without manual intervention.
Question 13 of 60 · configure user and group accounts · Easy
When you invite a user from another organization to collaborate, what type of user account is created in your Microsoft Entra ID tenant?
Not quite. Try another option.
Answer: Guest user
Guest users are B2B (business-to-business) collaboration accounts. They are for external users that you invite to your tenant to grant them access to specific apps or resources.
Question 14 of 60 · Configure role-based access control · Easy
What does RBAC stand for?
Not quite. Try another option.
Answer: Role-Based Access Control
RBAC stands for Role-Based Access Control, a system for managing access to resources based on the roles of individual users within an organization.
Question 15 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Easy
In Azure RBAC, what are the three main components of a role assignment?
Not quite. Try another option.
Answer: Security Principal, Role Definition, and Scope
A role assignment in Azure connects three elements: a Security Principal (who gets access - user, group), a Role Definition (what they can do - e.g., 'Reader'), and a Scope (what resources the access applies to - e.g., a specific resource group).
Question 16 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Easy
Which built-in Azure RBAC role allows a user to view all resources but not make any changes?
Not quite. Try another option.
Answer: Reader
The Reader role provides read-only access to Azure resources. Users with this role can view everything but cannot create, update, or delete resources.
Question 17 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Easy
What is meant by "scope" in Azure RBAC?
Not quite. Try another option.
Answer: The set of resources to which the access permissions apply
Scope defines the boundary for the role assignment. It can be a management group, a subscription, a resource group, or an individual resource. Permissions are inherited by lower-level scopes.
Question 18 of 60 · Identity Governance and Conditional Access Policies · Easy
What is the primary function of a Conditional Access policy?
Not quite. Try another option.
Answer: To enforce controls like MFA based on signals from a user's sign-in
Conditional Access policies are if-then statements. If a user meets certain conditions (like signing in from an unfamiliar location), then an access control (like requiring MFA or blocking access) is enforced.
Question 19 of 60 · Identity Governance and Conditional Access Policies · Easy
Which of the following is an example of a condition used in a Conditional Access policy?
Not quite. Try another option.
Answer: User's sign-in location (IP address)
A condition is a signal that is evaluated. Common conditions include the user's location, the device they are using, the application they are accessing, and the real-time sign-in risk. Requiring MFA and blocking access are controls, not conditions.
Question 20 of 60 · Identity Governance and Conditional Access Policies · Easy
What is the main purpose of Microsoft Entra Identity Governance?
Not quite. Try another option.
Answer: To manage the identity and access lifecycle, ensuring the right people have the right access
Identity Governance focuses on visibility and control over the access lifecycle. It includes features like access reviews, privileged identity management, and entitlement management to ensure access is appropriate and removed when no longer needed.
Question 21 of 60 · Authentication vs Authorisation · Medium
A user successfully provides their username, password, and a one-time code from their authenticator app to access a cloud management portal. However, when they try to delete a virtual machine, they receive an "Access Denied" message. Which statement accurately describes this situation?
Not quite. Try another option.
Answer: Authentication was successful, but authorisation failed.
Authentication is the process of verifying a user's identity, which was successful when the user logged in with their credentials and MFA. Authorisation is the process of determining what an authenticated user is allowed to do. The "Access Denied" message indicates that the user's identity was verified, but they do not have the necessary permissions (authorisation) to perform the delete action.
Question 22 of 60 · Zero trust · Medium
A company is implementing a Zero Trust security model. Which of the following architectural decisions best embodies the core principle of "assume breach"?
Not quite. Try another option.
Answer: Segmenting networks into smaller, isolated zones and encrypting all internal traffic between services.
The "assume breach" principle means you operate as if an attacker is already inside your network. Micro-segmentation and encrypting internal traffic limit an attacker's ability to move laterally and eavesdrop on communications, which directly addresses this principle. A strong perimeter, password policies, and admin rights are security measures, but they don't directly reflect the operational mindset of assuming a breach has already occurred.
Question 23 of 60 · Conditional Access Policies · Medium
An IT administrator wants to create a Microsoft Entra Conditional Access policy that requires users from a specific partner organization (guests) to use Multi-Factor Authentication (MFA) only when they access a specific enterprise application named 'ProjectPhoenix'. What are the three most critical components to configure in this policy?
Not quite. Try another option.
Answer: Users (All guest users), Cloud apps ('ProjectPhoenix'), and Grant controls (Require MFA).
To meet the specific requirement, the policy must be targeted correctly. The 'Users' assignment should be scoped to 'All guest and external users'. The 'Cloud apps' assignment must target the specific 'ProjectPhoenix' application. Finally, the 'Grant' control must be set to 'Require multi-factor authentication'. The other options either target the wrong users, the wrong apps, or apply the wrong controls.
Question 24 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Medium
A developer needs permission to restart and monitor Virtual Machines within a specific resource group named dev-rg, but should not be able to modify networking or storage settings. Which of the following is the most appropriate role assignment according to the principle of least privilege?
Not quite. Try another option.
Answer: Assign the Virtual Machine Contributor role at the dev-rg resource group scope.
The Virtual Machine Contributor role provides permissions to manage virtual machines (including restarting them) but does not include permissions to manage the virtual network or storage accounts they connect to. Assigning this role at the specific resource group scope (dev-rg) ensures the developer's permissions are limited only to the resources they need to manage, perfectly aligning with the principle of least privilege. Contributor and Owner are too broad, and Virtual Machine User Login only allows logging into the VM, not managing it.
Question 25 of 60 · Identity Governance · Medium
A company wants to allow users to request access to a bundle of resources (a SharePoint site, a security group, and an enterprise application) required for a specific project. The request should require approval from the user's manager. Which Microsoft Entra ID Governance feature is designed for this scenario?
Not quite. Try another option.
Answer: Access Packages in Entitlement Management.
Entitlement Management is designed to manage identity and access lifecycle at scale. Access Packages are bundles of resources that users can request. They can be configured with approval workflows, such as requiring manager approval, which perfectly fits this requirement. Access Reviews are for periodic re-certification of access, PIM is for managing privileged roles, and Conditional Access is for enforcing access policies at the time of sign-in.
Question 26 of 60 · configure user and group accounts · Medium
You need to create a group in Microsoft Entra ID that automatically includes all users whose 'department' attribute is set to 'Sales'. The group membership must update automatically when a user's department is changed to or from 'Sales'. What type of group should you create?
Not quite. Try another option.
Answer: Security group with 'Dynamic User' membership type.
Dynamic groups in Microsoft Entra ID automatically manage membership based on rules that query user or device attributes. To automatically populate a group based on the 'department' attribute, you must create a group with a 'Dynamic User' membership type and configure a rule such as user.department -eq "Sales". 'Assigned' membership requires manual addition and removal of members.
Question 27 of 60 · Understand Microsoft Entra ID · Medium
A company has an on-premises Active Directory Domain Services (AD DS) environment and wants to synchronize user identities to Microsoft Entra ID to enable single sign-on for cloud applications. Which tool is primarily used for this purpose?
Not quite. Try another option.
Answer: Microsoft Entra Connect Sync
Microsoft Entra Connect is the tool designed to meet hybrid identity goals. Its synchronization service (Entra Connect Sync) is responsible for creating users, groups, and other objects in Microsoft Entra ID based on the on-premises Active Directory. It also synchronizes password hashes to enable seamless sign-on. While AD FS can be used for federation, Entra Connect is the core tool for synchronization.
Question 28 of 60 · Zero trust · Medium
Which pillar of the Zero Trust model is most directly addressed by implementing a solution that provides just-in-time (JIT) access to privileged administrator roles?
Not quite. Try another option.
Answer: Use least privileged access.
Just-in-time (JIT) access ensures that users only have elevated permissions for a limited time when they are actively needed. This is a direct implementation of the principle of least privileged access, as it removes standing, persistent access that could be exploited. While it relates to other pillars, its primary function is to minimize privilege.
Question 29 of 60 · Configure role-based access control · Medium
You have assigned a user the Reader role on an Azure subscription. You then assign the same user the Contributor role on a resource group within that subscription. What will be the user's effective permissions on the resources inside that resource group?
Not quite. Try another option.
Answer: The user will have Contributor permissions, as RBAC assignments are additive and the most permissive role takes precedence at the resource scope.
Azure RBAC permissions are additive. When multiple role assignments are made, the permissions are the sum of those assignments. The assignment at a child scope (the resource group) grants additional permissions that are not denied by the parent scope (the subscription). Therefore, the user will have Reader permissions on all resources in the subscription and Contributor permissions on the specific resources within that resource group.
Question 30 of 60 · Cloud security · Medium
A security team detects that a user account is signing in from two different continents within a 10-minute window. Which Microsoft Entra ID feature is specifically designed to detect and automatically respond to such an event?
Not quite. Try another option.
Answer: Microsoft Entra ID Protection
Microsoft Entra ID Protection is a feature that uses machine learning and heuristics to detect identity-based risks. One of its key capabilities is detecting impossible travel, where a user signs in from geographically distant locations in a short period. It can then be configured to automatically trigger a response, such as forcing a password reset or requiring MFA.
Question 31 of 60 · Authentication vs Authorisation · Medium
An application uses OAuth 2.0 to access an API on behalf of a user. The application first redirects the user to an identity provider to sign in. After successful sign-in, the application receives an access token. What is the primary purpose of this access token in the context of the API?
Not quite. Try another option.
Answer: To prove that the user has been authorised to access specific resources or actions on the API.
In the OAuth 2.0 flow, the initial sign-in handles authentication. The resulting access token represents authorisation. It is presented to the API (the resource server) with each request to prove that the application has been granted specific permissions (scopes) to act on behalf of the authenticated user. The API validates the token to decide if the requested action is allowed.
Question 32 of 60 · Identity Governance · Medium
A company's policy requires that all users with the Global Administrator role must have their access reviewed and re-approved by the Chief Information Security Officer (CISO) every 30 days. Which specific feature should be configured to automate this compliance requirement?
Not quite. Try another option.
Answer: An Access Review in Microsoft Entra ID, scoped to the Global Administrator role with the CISO as the reviewer.
Access Reviews are the designated tool for managing and recertifying access to resources and roles. You can create an access review specifically for a privileged role like Global Administrator, set a recurring schedule (e.g., monthly), and assign a specific person (the CISO) to perform the review and approve or deny continued access. This directly fulfills the policy requirement.
Question 33 of 60 · configure user and group accounts · Medium
An organization is migrating to the cloud and wants to ensure that all newly created user accounts have a default usage location of 'United States' to ensure correct licensing is applied. How can an administrator automate this process in Microsoft Entra ID?
Not quite. Try another option.
Answer: Use a PowerShell script that runs daily to update the usage location for new users.
While it seems there should be a simpler way, Microsoft Entra ID does not have a native setting for a default usage location for all new users. Dynamic groups assign members based on attributes; they don't set attributes. Azure Policy primarily governs Azure resources, not Entra ID user properties directly. Therefore, the most common and reliable method to automate this is to use a PowerShell script (often run as an Azure Automation runbook) that periodically finds users without a usage location and sets it to the desired default.
Question 34 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Medium
A custom service principal for a CI/CD pipeline needs to deploy application code to an existing Azure App Service, but it must be prevented from changing the App Service Plan (e.g., scaling it up) or its network settings. Which built-in role is the most suitable to assign to the service principal at the App Service's scope?
Not quite. Try another option.
Answer: Website Contributor
The Website Contributor role is specifically designed for this scenario. It grants permissions to manage the content of web apps (i.e., deploy code) but excludes permissions to manage the App Service Plan itself. App Service Contributor and Contributor are too permissive as they would allow changes to the plan and other settings. Reader would not allow code deployment.
Question 35 of 60 · Conditional Access Policies · Medium
An organization wants to block all sign-in attempts from countries where it has no business operations. However, they need to allow specific executives who travel frequently to be exempt from this rule. How should this be configured in a Conditional Access policy?
Not quite. Try another option.
Answer: Create one policy. In 'Conditions', configure 'Locations' to include the blocked countries. In 'Users and groups', exclude the executive user group.
Conditional Access policies allow for fine-grained control. The most efficient way to achieve this is within a single policy. The policy is targeted to 'All users' by default, then the specific executive group is added to the 'Exclude' tab under 'Users and groups'. The 'Conditions' are set to the named locations of the blocked countries, and the 'Grant' control is set to 'Block access'. The exclusion ensures the policy does not apply to the traveling executives.
Question 36 of 60 · Understand Microsoft Entra ID · Medium
What is the primary difference between a Microsoft Entra ID tenant and an Azure subscription?
Not quite. Try another option.
Answer: A tenant is a dedicated instance of Microsoft Entra ID representing an organization for identity management, while a subscription is a billing and management boundary for Azure resources.
This is a fundamental concept. The Microsoft Entra ID tenant is the identity and access management service for an organization. An Azure subscription is an agreement with Microsoft to use one or more cloud services, for which charges accrue. An Azure subscription has a trust relationship with exactly one Microsoft Entra ID tenant, which is used to secure and manage access to the resources within that subscription.
Question 37 of 60 · Zero trust · Medium
A security architect is designing a system based on Zero Trust principles. They decide that instead of using long-lived API keys, services must acquire short-lived access tokens from a central identity provider to communicate with each other. This design choice primarily strengthens which Zero Trust pillar?
Not quite. Try another option.
Answer: Verify explicitly.
Using short-lived tokens forces services to re-authenticate and re-authorize frequently with a central authority. This process of continuous validation aligns directly with the 'Verify explicitly' pillar, which mandates that every access request should be authenticated and authorized. While it also helps with 'Assume breach' (by limiting the window of opportunity for a compromised token), its core function is explicit verification for every session.
Question 38 of 60 · configure user and group accounts · Medium
You need to grant an external auditing firm temporary access to review configurations in your Azure environment. The auditors are from a different organization that also uses Microsoft Entra ID. What is the most secure and efficient method to provide them with the necessary access?
Not quite. Try another option.
Answer: Invite them as B2B guest users to your tenant and assign them the Reader role on the required scope.
Microsoft Entra B2B (Business-to-Business) collaboration is the designed feature for this exact scenario. It allows you to securely share your applications and services with guest users from any other organization, while maintaining control over your own corporate data. The auditors can use their own corporate credentials to sign in, and you can apply security policies and easily revoke their access when the audit is complete. Creating member accounts or using personal accounts reduces security and manageability.
Question 39 of 60 · Cloud security · Medium
To enhance security for privileged accounts, an administrator enables Privileged Identity Management (PIM) for the Global Administrator role. A user who is eligible for this role needs to perform an administrative task. What is the standard process they must follow to elevate their permissions?
Not quite. Try another option.
Answer: They must go to the PIM portal, request activation of the role, provide a justification, potentially pass an MFA check, and then they will have the role for a limited time.
PIM operates on the principle of just-in-time access. Instead of having permanent (standing) permissions, a user is made eligible for a role. To use the role's permissions, they must go through an explicit activation process. This typically involves providing a business justification and/or completing an MFA challenge. The role is then granted for a pre-configured, time-limited period, after which it is automatically revoked.
Question 40 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Medium
An administrator is unable to delete a resource group even though they have been assigned the Owner role at the resource group's scope. The deletion fails with an error message indicating a lock is present. What is the most likely reason for this failure?
Not quite. Try another option.
Answer: A CanNotDelete resource lock has been applied to the resource group or a resource within it, which prevents deletion even by Owners.
Azure resource locks are a mechanism to prevent accidental deletion or modification of critical resources. A CanNotDelete lock applies to all users, regardless of their RBAC role, including Owner. To delete the resource group, the lock must first be removed by a user who has permissions to manage locks (such as an Owner).
Question 41 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Hard
A user, user@contoso.com, is a member of GroupA and GroupB. GroupA is assigned the Storage Blob Data Contributor role on a storage account sa1. GroupB is assigned a custom Azure RBAC role with a Deny assignment for the action Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete on the same storage account sa1. The user attempts to delete a blob within sa1. What is the outcome?
Not quite. Try another option.
Answer: The delete operation is denied because Deny assignments always take precedence over Allow assignments.
Azure RBAC has a specific order of evaluation. Deny assignments are evaluated first and take precedence over any Allow assignments (role assignments). Even though the user is part of a group that grants permission to delete blobs, the Deny assignment for the delete action on another group they are a member of will block the operation. Deny assignments are a powerful way to explicitly block access regardless of other roles.
Question 42 of 60 · Conditional Access Policies · Hard
An organization configures two Conditional Access policies. Policy A targets 'All Users', 'All Cloud Apps', and requires 'MFA' as a grant control. Policy B targets a security group 'High-Privilege Users', the 'Azure Management' cloud app, and requires 'Compliant or Hybrid Azure AD joined device' as a grant control. A user is a member of 'High-Privilege Users' and is attempting to sign in to the Azure Portal from a non-compliant, Azure AD registered device. Both policies are active. What is the outcome?
Not quite. Try another option.
Answer: Access is blocked because the user's sign-in meets the conditions for both policies, and the combined controls (MFA AND a compliant/hybrid device) cannot be met.
When multiple Conditional Access policies apply to a single sign-in, all grant controls from all matching policies must be satisfied. This acts as a logical AND. In this scenario, the user's sign-in to the Azure Portal matches both Policy A (All users, All cloud apps) and Policy B (High-Privilege Users, Azure Management). Therefore, the user must satisfy both the 'MFA' requirement from Policy A and the 'Compliant or Hybrid Azure AD joined device' requirement from Policy B. Since their device is non-compliant, they cannot satisfy the second requirement, and access is blocked.
Question 43 of 60 · Zero trust · Hard
In a strict Zero Trust architecture, a developer needs to access a production Kubernetes cluster's API server, which is hosted in Azure Kubernetes Service (AKS) and integrated with Microsoft Entra ID. The developer is working from a corporate-managed, compliant device. Which combination of controls best represents the 'Assume Breach' principle for this specific access scenario?
Not quite. Try another option.
Answer: Using Privileged Identity Management (PIM) to provide just-in-time (JIT) cluster-admin role activation, combined with a Conditional Access policy requiring MFA and a compliant device.
The 'Assume Breach' principle of Zero Trust means that you operate as if an attacker has already breached the network perimeter. Therefore, you must protect resources internally. PIM for JIT access minimizes the time window an identity has elevated privileges, reducing the attack surface if the account is compromised. Combining this with Conditional Access that verifies the user's identity (MFA) and device health (compliant device) for every access attempt provides strong, dynamic, risk-based access control, which is central to assuming breach and verifying explicitly.
Question 44 of 60 · Identity Governance · Hard
An Access Package in Microsoft Entra Identity Governance is configured with a policy that assigns users to a group named 'ProjectX-Members'. This policy has an annual access review requirement for group members. The 'If reviewers don't respond' setting for the review is configured to 'Take recommendations'. The system's recommendation for an inactive user, Jane, is 'Deny'. Jane's manager, the designated reviewer, is on a long vacation and does not respond to the review request before the deadline. What happens to Jane's membership in the 'ProjectX-Members' group?
Not quite. Try another option.
Answer: Jane is removed from the group because the 'Take recommendations' setting will apply the system's 'Deny' recommendation.
The 'If reviewers don't respond' setting is critical in automating access governance. When set to 'Take recommendations', the system will automatically apply its own recommendation if the human reviewer fails to act. Since the system recommended 'Deny' for the inactive user Jane, and her manager did not respond, Entra ID will automatically process the 'Deny' recommendation and remove her from the group and any other resources in the access package.
Question 45 of 60 · Authentication vs Authorisation · Hard
A single-page application (SPA) uses the OAuth 2.0 Implicit Flow (for demonstration purposes, though Authorization Code Flow with PKCE is recommended). It authenticates a user against Microsoft Entra ID and receives an id_token and an access_token in the URL fragment. The access_token has an audience (aud) claim for the Microsoft Graph API. The SPA then makes a call to a custom backend API (api://my-custom-api), passing this access_token. The custom API is also secured by Entra ID. What is the expected result of the API call?
Not quite. Try another option.
Answer: The API call will fail with a 401 Unauthorized error because the access_token's audience (aud) claim does not match the custom API's identifier.
This question tests a core security principle of token-based authorization. An access_token is audience-specific. The aud claim declares the intended recipient (the API) of the token. When a resource server (the custom API in this case) receives a token, one of the first validation steps is to check if the aud claim matches its own identifier. Since the token was issued for the Microsoft Graph API, its aud claim will be for Graph (https://graph.microsoft.com). The custom API will see this mismatch, reject the token as not being intended for it, and return a 401 Unauthorized error.
Question 46 of 60 · configure user and group accounts · Hard
Your organization uses dynamic membership rules for Microsoft 365 groups. You need to create a group that includes all users who are in the 'Sales' department OR are in the 'Marketing' department, but EXCLUDES any user whose job title contains the word 'Intern'. Which of the following dynamic membership rules correctly implements this logic?
This question tests the complex syntax and operator precedence of dynamic membership rules. The logic requires grouping the two department checks with an OR. Parentheses are crucial to ensure this OR condition is evaluated first. The result of that is then combined with the jobTitle exclusion using an AND. Option D is incorrect due to operator precedence; without parentheses, the -and would bind more tightly than -or, effectively creating the rule (user.department -eq "Sales") or (user.department -eq "Marketing" and user.jobTitle -notContains "Intern"), which is not the desired logic. Option C is incorrect because -ne is an exact match, while the requirement is to exclude titles containing 'Intern'. Option B uses -and for departments, which is impossible for a single user.
Question 47 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Hard
A resource hierarchy consists of a Management Group (MG1), a Subscription (Sub1) under MG1, and a Resource Group (RG1) in Sub1. A user is assigned the Reader role at the MG1 scope. They are also assigned the Contributor role at the RG1 scope. Finally, there is an Azure Policy Deny action in effect at the Sub1 scope that prevents the creation of Virtual Machines. The user attempts to create a new storage account in RG1 and then a new virtual machine in RG1. What will be the results?
Not quite. Try another option.
Answer: Creating the storage account will succeed, but creating the virtual machine will fail.
This scenario tests the interaction between RBAC inheritance and Azure Policy. The user's effective permissions on RG1 are an additive combination of inherited and direct assignments, making them a Contributor (since Contributor includes all Reader permissions). Therefore, RBAC allows them to create both resources in RG1. However, Azure Policy is evaluated separately. The Deny policy at the subscription scope specifically blocks VM creation. This policy will block the VM deployment request even though the user has the necessary RBAC permissions. The policy does not mention storage accounts, so that operation is permitted by the user's Contributor role and is not blocked by the policy.
Question 48 of 60 · Understand Microsoft Entra ID · Hard
An enterprise application is registered in Microsoft Entra ID. You need to allow users from another Entra ID tenant (partner.com) to access this application while enforcing that only users from a specific security group within the partner.com tenant can sign in. How should you configure the application's authentication settings in your tenant?
Not quite. Try another option.
Answer: Configure the application for multi-tenant access and enable the 'User assignment required?' setting. Then, have the partner.com admin grant consent and create a service principal in their tenant, assigning the required group to it.
This is the standard and most scalable method for multi-tenant application control. By making the app multi-tenant, it can be provisioned in other tenants. When the partner.com admin grants consent, a service principal for your application is created in their tenant. They can then manage access to this service principal like any other enterprise app, including assigning specific users or groups to it. Setting 'User assignment required?' in your home tenant ensures that access isn't open by default.
Question 49 of 60 · Conditional Access Policies · Hard
A company wants to enforce phishing-resistant MFA for all administrative roles. They create a Conditional Access policy targeting users with 'Directory Roles' such as 'Global Administrator'. The policy's 'Grant' control is set to 'Require authentication strength' and they select a custom strength that only allows 'FIDO2 Security Key' and 'Windows Hello for Business'. A Global Administrator attempts to activate their role in PIM from a device that only supports MFA via the Authenticator App push notification. What is the expected behavior?
Not quite. Try another option.
Answer: The PIM activation will be blocked because the user cannot satisfy the required authentication strength.
Conditional Access policies can be triggered by role activation in Privileged Identity Management (PIM). The 'Require authentication strength' grant control is a powerful feature that goes beyond simply requiring MFA; it dictates the type of MFA allowed. Since the administrator is trying to authenticate for role activation and their available method (Authenticator app push) is not in the list of allowed methods defined by the authentication strength, the grant control condition cannot be met, and access (in this case, the role activation) will be blocked.
Question 50 of 60 · Zero trust · Hard
A company is implementing a Zero Trust strategy and wants to secure data exfiltration from corporate devices. They are using Microsoft Defender for Endpoint and Conditional Access. An engineer designs a Conditional Access App Control policy with a 'Block downloads' session control for a specific, unsanctioned cloud storage application. A user on a corporate, Defender-managed device signs into this application. What happens when the user attempts to download a file?
Not quite. Try another option.
Answer: The user's session is proxied through Microsoft Defender for Cloud Apps, and the download action is intercepted and blocked in real-time.
This scenario describes the functionality of Conditional Access App Control, which integrates with Microsoft Defender for Cloud Apps (MDCA). When a Conditional Access policy with a session control is triggered, the user's session to the targeted cloud app is routed through a reverse proxy managed by MDCA. This proxy allows for real-time monitoring and control of in-session activities, such as blocking file downloads or uploads, without blocking access to the app itself. This is a key Zero Trust control for preventing data exfiltration.
Question 51 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Hard
You have created a custom RBAC role with the action Microsoft.Compute/virtualMachines/start/action and assigned it to a user at the scope of a specific virtual machine, VM1. This user does not have any other roles assigned anywhere. The user attempts to start VM1 via the Azure Portal. The operation fails. What is the most likely reason for the failure?
Not quite. Try another option.
Answer: The user lacks the Microsoft.Resources/subscriptions/resourceGroups/read permission, which is required to navigate to the VM in the portal.
This question highlights the difference between API permissions and portal usability permissions. While the user has the specific action permission to start the VM, the Azure Portal's user interface needs to read containing resources like resource groups and subscriptions to render the pages and locate the VM. Without at least read permissions on the resource group and subscription (Microsoft.Resources/subscriptions/resourceGroups/read), the user cannot navigate through the portal to find the VM and click the 'Start' button. The API call would likely succeed if made directly via CLI or PowerShell with the full resource ID, but the portal experience would fail.
Question 52 of 60 · Identity Governance · Hard
An organization uses Microsoft Entra ID Privileged Identity Management (PIM) for Groups. A group, 'KeyVault-Admins', is PIM-enabled, and being a member of this group grants the 'Key Vault Crypto Officer' role to several Key Vaults via an RBAC assignment. A user, Priya, is an eligible member of this group. She activates her membership for 2 hours to perform a task. During this 2-hour window, what is the state of her role assignment?
Not quite. Try another option.
Answer: Priya is temporarily added as a direct member of the 'KeyVault-Admins' group, which grants her the RBAC role for the 2-hour window.
PIM for Groups works by making a user an active member of the security or Microsoft 365 group for the duration of their activation. When Priya activates her eligible assignment, the PIM service adds her user object to the 'KeyVault-Admins' group's membership list. Because that group is assigned the RBAC role, she inherits the permissions. When the activation expires, the PIM service removes her from the group's membership, thus revoking the inherited permissions. This mechanism allows for JIT access to all resources assigned to that group.
Question 53 of 60 · configure user and group accounts · Hard
You are managing a large Microsoft Entra ID tenant and need to grant an application's service principal the ability to read all properties of all users except for a specific set of highly sensitive executive accounts. The executives are members of a security group called C-Level-Execs. How can this be achieved using Microsoft Graph permissions and Entra ID features?
Not quite. Try another option.
Answer: Assign the service principal to an Administrative Unit (AU) that contains all users except the executives, and then grant the service principal the User.Read.All Graph permission scoped to that AU.
Administrative Units (AUs) are the primary mechanism in Microsoft Entra ID for delegating administrative permissions over a subset of directory objects. You can create an AU containing the users you want the application to manage. Then, instead of assigning a directory role (like Directory Readers) at the tenant level, you assign it to the service principal with the scope of the AU. This effectively grants the User.Read.All permission but limits its application to only the members of that AU, achieving the desired least-privilege access model.
Question 54 of 60 · Authentication vs Authorisation · Hard
A user authenticates to a web API using OpenID Connect (OIDC). The API receives an ID Token. The API needs to verify the user's identity and also confirm that the user authenticated using a specific, high-assurance method (e.g., a FIDO2 key). Which OIDC claims should the API inspect to perform both these checks?
Not quite. Try another option.
Answer: The sub claim to identify the user and the amr (Authentication Methods References) claim to check the authentication method.
This question requires deep knowledge of OIDC claims. The sub (subject) claim is the primary, stable identifier for the user and must be used for identification. The amr (Authentication Methods References) claim is a JSON array of strings that identify the authentication methods used in the authentication. For example, it might contain ['pwd', 'mfa', 'fido']. The API can inspect this array to confirm that the required FIDO2 method was used. The acr claim is related but refers to the assurance level of the authentication, not the specific method, and nonce is for preventing replay attacks.
Question 55 of 60 · Cloud security · Hard
Your CISO is concerned about attackers gaining access to an Azure administrator's session token and replaying it to access the Azure portal. You need to implement a control that mitigates this risk by ensuring the token is only valid from the administrator's original location. Which Microsoft Entra ID feature directly addresses this threat?
Conditional Access token protection, also known as token binding or strict location enforcement, is a feature designed specifically to combat token theft and replay attacks. When enabled, it cryptographically binds the token to the device or browser it was issued to. For location enforcement, it ensures that if a token is stolen and replayed from a different IP address, Microsoft Entra ID will detect the location mismatch and invalidate the session, effectively blocking the attacker. The other options are good security controls but do not directly prevent a stolen token from being replayed from a different location.
Question 56 of 60 · Understand Microsoft Entra ID · Hard
A company has two Microsoft Entra ID tenants: a primary tenant (contoso.com) and a development tenant (dev.contoso.com). They want developers to use their primary contoso.com credentials to sign into applications registered in the dev.contoso.com tenant, without creating guest accounts for every developer in the dev tenant. Which configuration enables this seamless cross-tenant authentication?
Not quite. Try another option.
Answer: Configuring Cross-tenant access settings with B2B direct connect between the two tenants.
B2B direct connect is a feature of External Identities designed for this exact scenario of seamless collaboration between two Entra ID tenants. It creates a mutual, two-way trust that allows users from one tenant to access resources in the other without needing to be represented as guest objects. This provides a much smoother user experience than traditional B2B collaboration, as the user accesses the resource as if it were in their home tenant. Making the apps multi-tenant would work but is less controlled; B2B direct connect allows for granular trust configuration.
Question 57 of 60 · Configure role-based access control · Hard
You need to create a custom RBAC role that allows a user to perform a rolling restart of all virtual machine scale set (VMSS) instances, but nothing else on the VMSS resource. The user must not be able to change the VMSS model, capacity, or configuration. Which set of permissions is the most precise and follows the principle of least privilege?
This question requires precise knowledge of Azure resource provider actions. The Microsoft.Compute/virtualMachineScaleSets/restart/action permission specifically allows for the restart of all VMs in the scale set (a rolling restart). The .../instances/restart/action is for restarting specific instances, not the whole set. The .../write permission is far too broad and would allow the user to change the scale set's model, which violates the principle of least privilege. performMaintenance is a different operation. Therefore, the single restart/action on the parent resource is the correct, most granular permission for the stated task.
Question 58 of 60 · Secure your Azure resources with Azure role-based access control (Azure RBAC) · Hard
A managed identity, MI-FuncApp, is assigned to an Azure Function. This managed identity is granted the Storage Blob Data Reader role on a specific storage account, sa-data. A separate networking configuration is applied to the storage account, setting the default network access to 'Disabled' and adding a VNet service endpoint for the subnet where the Azure Function is integrated. There are no firewall IP rules. The function code attempts to read a blob from sa-data. What is the outcome?
Not quite. Try another option.
Answer: The operation succeeds because both the identity (RBAC) and network (VNet service endpoint) access paths are correctly configured.
This complex scenario tests the interplay of identity-based security (RBAC) and network-based security for Azure services. For access to be granted, both layers must permit it. The managed identity has the required data-plane RBAC role (Storage Blob Data Reader). The network path is secured via a service endpoint, which allows traffic from the integrated subnet to reach the storage account over the Azure backbone, even when public access is disabled. The managed identity's authentication token is passed within this trusted network traffic. Therefore, both the 'who' (identity) and the 'how' (network) are validated, and the access succeeds.
Question 59 of 60 · Zero trust · Hard
A security architect is designing a Zero Trust network for an application that uses an Azure Application Gateway with WAF, an internal Azure Kubernetes Service (AKS) cluster, and an Azure SQL Database. The architect insists that all traffic, including from the AKS pods to the Azure SQL Database, must be encrypted and authenticated using workload identities. Which combination of technologies best achieves this intra-Azure traffic security in line with Zero Trust principles?
Not quite. Try another option.
Answer: Use Microsoft Entra Workload ID for pods to get tokens, and enforce Azure AD authentication and TLS 1.2 on Azure SQL Database.
This is the most complete Zero Trust solution. Zero Trust requires explicit verification for all access, even internal 'east-west' traffic. Microsoft Entra Workload ID allows Kubernetes pods to have their own Entra ID identity, eliminating the need for secrets. They can use this identity to acquire an access token for Azure SQL. Forcing Azure AD authentication on the SQL Database ensures it only accepts these valid, identity-based tokens. Enforcing TLS 1.2 ensures the data is encrypted in transit. This combination verifies the identity of the workload and secures the communication channel, perfectly aligning with the 'verify explicitly' and 'assume breach' principles.
Question 60 of 60 · Cloud security · Hard
A security team uses Microsoft Sentinel for SIEM. They onboard Microsoft Entra ID Protection alerts, which has generated a high-severity 'Unfamiliar sign-in properties' alert for a user, Bob. The security team wants to automate the response: if the risk level is 'High' and the user is a member of the 'Domain Admins' group, their account must be disabled immediately, and their sessions revoked. Which two Azure services are best suited to build this specific, conditional automation?
Not quite. Try another option.
Answer: Azure Logic Apps and Microsoft Graph API
This scenario requires a workflow automation tool that can be triggered by a security alert and can perform complex, conditional actions. Azure Logic Apps is the ideal tool for this. It has a built-in Sentinel connector that can trigger a playbook (a Logic App) when an alert is created. Inside the Logic App, you can parse the alert details (like risk level), then use the Microsoft Graph API connector to check the user's group memberships. Based on this logic, you can then call the Graph API again to disable the user account and revoke their sign-in sessions. This provides the most flexible and powerful way to build the required conditional response.
That's unit 2
Answer a few questions and your score shows up here.
Nearly through. Did unit 2 of INT327 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 2 of INT327 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.