Microsoft Certified: Azure Administrator Associate practice questions

240 free questions with answers and explanations.

Practice test
  1. 101.A client is migrating their on-premises services to Azure. They have several legacy applications that require LDAP authentication and integration with their existing on-premises Active Directory Domain Services (AD DS). The client wants to avoid deploying and managing domain controllers in Azure IaaS VMs. Which Azure service should be recommended to facilitate this migration while meeting the authentication requirements?Manage Azure identities and governance
  2. 102.A company has several Azure subscriptions organized under a Management Group. They want to ensure that a specific set of Azure Policies and RBAC assignments are consistently applied to all current and future subscriptions within this Management Group. Which Azure governance feature provides a way to package these artifacts and deploy them repeatedly?Manage Azure identities and governance
  3. 103.A company has several Azure subscriptions, and they want to ensure that all resources deployed within these subscriptions are tagged with 'CostCenter' and 'Environment'. These tags are crucial for cost management and resource organization. They need a solution that automatically adds these tags if they are missing or updates them if they have incorrect values, without preventing resource deployment. Which Azure Policy effect should they use?Manage Azure identities and governance
  4. 104.A developer needs to deploy an Azure Function App that requires access to an Azure Key Vault to retrieve secrets. The Function App should authenticate to Key Vault without storing any credentials in its code or configuration files. Which method should the developer use to achieve this secure authentication?Manage Azure identities and governance
  5. 105.A company wants to ensure that all newly created Azure storage accounts within a specific subscription automatically have encryption at rest configured with customer-managed keys (CMK) from an Azure Key Vault. If a storage account is created without CMK, it should be flagged as non-compliant, and the deployment should be allowed to proceed. What Azure Policy effect should be used?Manage Azure identities and governance
  6. 106.A company uses Azure Active Directory (Azure AD) to manage its user identities. Due to a recent internal audit, they need to ensure that all users who have not logged in for more than 90 days are automatically disabled within Azure AD. Which Azure AD feature should the administrator configure to meet this requirement?Manage Azure identities and governance
  7. 107.A company is migrating its legacy applications to Azure. These applications currently rely on traditional LDAP and Kerberos authentication against an on-premises Active Directory Domain Services (AD DS) environment. The company wants to move these applications to Azure IaaS VMs and ensure they can authenticate against a managed domain service in Azure without requiring a domain controller to be deployed and managed by the company. Which Azure AD feature should be implemented?Manage Azure identities and governance
  8. 108.A company wants to implement a multi-factor authentication (MFA) policy that applies to all users accessing financial applications, but only when they are outside the corporate network. Users accessing these applications from within the corporate network should not be prompted for MFA. Which Azure AD feature is best suited for this scenario?Manage Azure identities and governance
  9. 109.A company wants to ensure that all virtual machines (VMs) deployed in a specific Azure subscription are automatically configured with a particular network security group (NSG). This NSG must be applied to every new VM's network interface upon creation. Which Azure Policy effect should be used to achieve this automatic configuration?Manage Azure identities and governance
  10. 110.A company recently acquired another business. Both companies use separate on-premises Active Directory forests. The acquired company's users need to access resources in the acquiring company's Azure Active Directory (Azure AD) tenant. The acquiring company wants to consolidate identity management into a single Azure AD tenant while keeping both on-premises Active Directory forests operational for their respective domains. Which Azure AD Connect configuration supports this scenario?Manage Azure identities and governance
  11. 111.A company is restructuring its Azure environment. They need to move an existing Azure subscription, named 'Development-Subscription', from its current Management Group 'Dev-MG' to a new Management Group 'Prod-MG'. Which role is required at the 'Development-Subscription' scope to perform this move?Manage Azure identities and governance
  12. 112.A security administrator needs to grant a new auditor read-only access to all resources and their configurations across multiple Azure subscriptions within a specific Management Group. The auditor should not be able to view user sign-in logs or audit logs within Azure Active Directory. Which role assignment strategy should the administrator use?Manage Azure identities and governance
  13. 113.A company is migrating its on-premises applications to Azure. These applications currently use Active Directory Domain Services (AD DS) for authentication. The company wants to lift and shift these applications without modifying their authentication code. Which Azure service should they use?Manage Azure identities and governance
  14. 114.A company is restructuring its Azure environment. They have an existing Azure subscription named 'DevTest' that currently resides under a management group named 'Development'. They need to move the 'DevTest' subscription to another management group named 'Production' to align with new organizational guidelines. What is the minimum Azure RBAC role required on the *destination* management group ('Production') for an administrator to successfully perform this move?Manage Azure identities and governance
  15. 115.A global company uses Azure Active Directory (Azure AD) and has several business-critical applications. They want to ensure that users accessing these applications from untrusted locations (e.g., outside corporate network, high-risk countries) are prompted for multi-factor authentication (MFA), even if they have previously satisfied MFA within the same session. Which Azure AD feature and configuration combination should be used?Manage Azure identities and governance
  16. 116.A company uses Azure Active Directory (Azure AD) to manage its user accounts. They have a new requirement to ensure that all user accounts are automatically removed from all groups and their licenses are revoked when their employee status changes to 'Terminated' in the HR system. This process must be automated and efficient. Which Azure AD feature is best suited for this task?Manage Azure identities and governance
  17. 117.A company uses Azure Active Directory (Azure AD) and has several business-critical applications registered in its tenant. They want to implement a security measure that requires users to re-authenticate with multi-factor authentication (MFA) every 30 days when accessing these specific applications, regardless of their location or device, to reduce the risk of credential compromise. What Azure AD feature should be configured to achieve this?Manage Azure identities and governance
  18. 118.A company is implementing a new Azure subscription. They want to delegate the ability to create new user accounts in Azure Active Directory (Azure AD) to a specific group of help desk technicians. These technicians should only be able to create standard user accounts and reset passwords for non-administrative users. They must not be able to manage other administrative roles or delete existing users. Which built-in Azure AD role should be assigned to the help desk technicians?Manage Azure identities and governance
  19. 119.An administrator needs to create a new Azure AD user account for a contractor. The contractor requires temporary access to specific Azure resources for a period of 3 months. After this period, the account should automatically be disabled. Which setting should the administrator configure when creating the new user account in Azure AD?Manage Azure identities and governance
  20. 120.A company is implementing a new Azure subscription for a project. They need to ensure that all virtual machines deployed in this subscription are automatically configured with a specific custom DNS server IP address. Additionally, this configuration should be immutable for all existing and newly deployed VMs. Which combination of Azure governance features should be used?Manage Azure identities and governance
  21. 121.A company wants to delegate the ability to create new user accounts in Azure Active Directory to their Human Resources (HR) department. The HR team should only be able to create standard user accounts and assign basic user properties, but not manage administrative roles or modify existing users. Which Azure AD built-in role should be assigned to the HR team?Manage Azure identities and governance
  22. 122.A company is implementing a new naming convention for all Azure resources. They want to ensure that all new Virtual Machines (VMs) deployed into a specific subscription have a name that starts with 'vm-'. If a VM is deployed with a different naming pattern, the deployment should fail. Which Azure governance feature should be used to enforce this naming convention?Manage Azure identities and governance
  23. 123.A company wants to ensure that all Azure virtual machines (VMs) deployed in a specific subscription (Subscription-Prod) are configured with a minimum of 8 GB of RAM and are located in the 'East US 2' region. Any VM deployment that does not meet these criteria should be prevented. Which Azure governance feature should be used to enforce these rules?Manage Azure identities and governance
  24. 124.A company wants to synchronize user accounts from their on-premises Active Directory to Azure Active Directory. They have multiple distinct forests in their on-premises environment, and all users from these forests need to exist in a single Azure AD tenant. Which Azure AD Connect topology supports this requirement?Manage Azure identities and governance
  25. 125.A company is implementing a new Azure subscription for a development team. The team lead needs to be able to create, modify, and delete all resources within a specific resource group, but should NOT be able to modify access permissions (RBAC) for that resource group. Which built-in Azure RBAC role is most appropriate for the team lead?Manage Azure identities and governance
  26. 126.A global company has a single Azure Active Directory (Azure AD) tenant. Due to a recent internal re-organization, certain users from the 'Sales' department need to be moved to the 'Marketing' department. This move involves updating their user attributes, specifically their `department` and `jobTitle`. The company wants to ensure that these attribute changes are applied consistently and that the users retain their existing access to applications relevant to their new department. What is the most efficient way to achieve this in Azure AD?Manage Azure identities and governance
  27. 127.A global consulting firm uses Azure Active Directory (Azure AD) to manage its user identities. They have a new project requiring collaboration with external partners who use their own organizational identities. The firm needs to grant these external partners access to specific applications and data within their Azure AD tenant, but without creating full user accounts for them. Which Azure AD feature should the firm utilize to achieve this?Manage Azure identities and governance
  28. 128.A global organization uses Azure Active Directory (Azure AD) to manage its user accounts. Due to compliance requirements, all user accounts must have their licenses automatically assigned based on their department, and these licenses should be removed if a user leaves a specific department. Which Azure AD feature can automate this process?Manage Azure identities and governance
  29. 129.A company is consolidating its Azure subscriptions. They have two subscriptions, 'Dev' and 'Test', which currently reside under different Management Groups. They need to move the 'Dev' subscription to the same Management Group as 'Test' to apply a consistent set of policies. What is the prerequisite for moving an Azure subscription between Management Groups?Manage Azure identities and governance
  30. 130.A company wants to transfer an existing Azure subscription from one management group to another. Which of the following conditions must be met to successfully move the subscription?Manage Azure identities and governance
  31. 131.A company has an Azure subscription and uses Azure Active Directory (Azure AD). An administrator needs to create a new custom role definition for a security auditor. This role should allow the auditor to view all security-related settings and logs across all resource groups within the subscription, but explicitly prevent them from making any changes. The auditor should also be able to review Azure AD sign-in and audit logs. Which built-in role should be used as a starting point for the custom role, and which additional permissions are needed for Azure AD logs?Manage Azure identities and governance
  32. 132.A security administrator needs to ensure that all administrative users in Azure Active Directory (Azure AD) who have highly privileged roles, such as Global Administrator or User Access Administrator, are required to use multi-factor authentication (MFA) every time they sign in, regardless of their location or device. This measure should also prevent them from using legacy authentication protocols. Which Azure AD feature is best suited to enforce these stringent security requirements?Manage Azure identities and governance
  33. 133.A global company uses Azure Active Directory (Azure AD) to manage its user identities. Due to a recent internal audit, the security team has mandated that all guest user accounts must be reviewed and approved every 30 days to maintain access to critical applications. Which Azure AD feature should be implemented to meet this requirement with minimal administrative overhead?Manage Azure identities and governance
  34. 134.A security administrator needs to ensure that only users accessing Azure resources from corporate-managed devices can access specific sensitive applications. Users from unmanaged devices should be blocked. All users are managed in Azure Active Directory. Which Azure AD feature should be configured to meet this requirement?Manage Azure identities and governance
  35. 135.A company wants to ensure that all Azure virtual machines (VMs) deployed in a specific subscription have a particular tag, 'Owner', populated with the name of the deploying user. If the 'Owner' tag is missing or has an incorrect value, the policy should automatically correct it during deployment. Which Azure Policy effect should the company use?Manage Azure identities and governance
  36. 136.A global organization has multiple Azure subscriptions structured under a top-level Management Group. They need to ensure that all virtual machines deployed across these subscriptions are automatically configured with specific diagnostic settings, including sending logs to a central Log Analytics workspace. This configuration should be applied consistently and automatically to any new or existing VM. Which Azure feature should be used?Manage Azure identities and governance
  37. 137.A company has an Azure subscription and wants to delegate the ability to create new resource groups to a specific group of users, but these users should not be able to manage any resources within those resource groups or delete existing resource groups. Which custom role definition should be created to meet these requirements?Manage Azure identities and governance
  38. 138.A global manufacturing company uses Azure AD and has multiple custom applications registered. They need to ensure that users from a specific department can only access one of these custom applications from devices that are marked as 'compliant' by Microsoft Intune. All other users should have unrestricted access to this application. Which Azure AD feature should be configured?Manage Azure identities and governance
  39. 139.A company is restructuring its Azure environment. They have a single Azure subscription, 'DevTestSubscription', which is currently under the 'Development' management group. All production workloads must reside in subscriptions under the 'Production' management group. You need to move 'DevTestSubscription' from the 'Development' management group to the 'Production' management group. What is the prerequisite for moving a subscription between management groups?Manage Azure identities and governance
  40. 140.A company wants to delegate the ability to reset passwords for standard user accounts in Azure Active Directory to their help desk team. The help desk team should NOT be able to modify any other user properties, create new users, or manage administrative accounts. Which built-in Azure AD role should be assigned to the help desk team?Manage Azure identities and governance
  41. 141.A company is using Azure Virtual Machine Scale Sets (VMSS) to host a web application. Due to varying traffic patterns, the application experiences significant spikes in demand during peak hours and very low usage overnight. To optimize costs and ensure performance, you need to configure the VMSS to automatically adjust the number of VM instances based on CPU utilization, and also scale down to a minimum number of instances during off-peak hours. Which VMSS feature should you implement?Deploy and manage Azure compute resources
  42. 142.A company is deploying a new web application to Azure App Service. The application needs to connect to an Azure SQL Database instance using a private endpoint. The security team insists that all outbound connections from the App Service to the database must be routed through the virtual network to ensure network isolation and security. Which App Service networking feature should you configure?Deploy and manage Azure compute resources
  43. 143.A company is deploying a new multi-tier application to Azure. The application consists of a web front-end, a business logic tier, and a database tier. The business logic tier runs on several Azure virtual machines (VMs) that need to communicate with each other and with the database, but should not be directly accessible from the internet. You need to design the network connectivity for the business logic tier.Deploy and manage Azure compute resources
  44. 144.You are tasked with deploying an Azure virtual machine (VM) that runs a custom application. The application requires specific network security group (NSG) rules and the installation of a custom agent after the VM is provisioned. You need to automate the VM deployment and post-deployment configuration efficiently.Deploy and manage Azure compute resources
  45. 145.An Azure Virtual Machine (VM) running a critical application is experiencing intermittent performance issues. You suspect that the VM's disk I/O operations are bottlenecking the application. You need to identify the current disk performance metrics, specifically the Read Operations Per Second (IOPS) and Write Operations Per Second (IOPS) for the OS disk and data disks. Which Azure monitoring tool should you use to gather this information?Deploy and manage Azure compute resources
  46. 146.A solutions architect is designing a highly available and scalable web application on Azure. The application uses Azure Virtual Machine Scale Sets (VMSS) for its web servers and requires a Layer 7 load balancing solution with URL-based routing to direct traffic to different backend pools based on the request path. Which Azure service should the architect recommend?Deploy and manage Azure compute resources
  47. 147.A development team needs to deploy a containerized application to Azure. The application is stateless, has intermittent traffic, and does not require persistent storage or complex orchestration. The team prioritizes rapid deployment and minimal management overhead.Deploy and manage Azure compute resources
  48. 148.You need to update the operating system and installed applications on 50 Azure virtual machines (VMs) that are part of a Virtual Machine Scale Set (VMSS). The update process must be automated, minimize downtime, and allow for a gradual rollout to monitor for issues before applying to all instances.Deploy and manage Azure compute resources
  49. 149.A company is migrating a legacy batch processing application to Azure. The application consists of several independent executables that run for varying durations (from minutes to hours) and require specific CPU and memory allocations. The company wants to minimize infrastructure management and only pay for the compute resources consumed during execution. Which Azure compute service is the most suitable for this scenario?Deploy and manage Azure compute resources
  50. 150.A company is migrating a legacy application to Azure App Service. The application relies on specific environment variables that are set during startup. Additionally, the application needs to connect to an Azure SQL Database using a connection string that contains sensitive credentials. You need to configure the App Service to manage these settings securely and efficiently.Deploy and manage Azure compute resources