AZ-104 Sample Questions

AZ-104 Sample Questions & Answers

Expect questions on running Azure day to day, with identity and compute weighted most: Entra users and access, subscriptions and policy, VMs and containers, storage, virtual networks and load balancing, plus backup and monitoring.

Launch the full AZ-104 simulator →

Showing 10 of 20 free samples.

  1. Question 1

    Your company has an Azure Active Directory (Azure AD) subscription.
    You want to implement an Azure AD conditional access policy.
    The policy must be configured to require members of the Global Administrators group to use Multi- Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted locations.
    Solution: You access the Azure portal to alter the session control of the Azure AD conditional access policy.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: B

    Azure conditional access policies can require MFA and device compliance for specific groups like Global Administrators.

  2. Question 2

    Your company has an Azure Active Directory (Azure AD) subscription.
    You want to implement an Azure AD conditional access policy.
    The policy must be configured to require members of the Global Administrators group to use Multi- Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted locations.
    Solution: You access the Azure portal to alter the grant control of the Azure AD conditional access
    policy.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: A

    This configuration will properly enforce MFA requirements for the Global Administrators group when accessing Azure resources.

  3. Question 3

    You are planning to deploy an Ubuntu Server virtual machine to your company’s Azure subscription.
    You are required to implement a custom deployment that includes adding a particular trusted root certification authority (CA).
    Which of the following should you use to create the virtual machine?

    Show answer & explanation

    Correct answer: D

    The Create-AzVM cmdlet can deploy Ubuntu VMs with custom configurations including trusted root CAs. You can use cloud-init scripts with the -CustomData parameter to install custom certificates during VM deployment. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment

  4. Question 4

    Your company makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model.
    After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi- Factor Authentication.
    To achieve this, the Per Enabled User setting must be set for the usage model.
    Solution: You reconfigure the existing usage model via the Azure portal.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: A

    Explanation:
    Since it is not possible to change the usage model of an existing provider as it is right now, you have to create a new one and reactivate your existing server with activation credentials from the new provider. -
    Reference:
    https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-server/

  5. Question 5

    Your company’s Azure solution makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model.
    After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi- Factor Authentication.
    To achieve this, the Per Enabled User setting must be set for the usage model.
    Solution: You reconfigure the existing usage model via the Azure CLI.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: A

    Explanation:Since it is not possible to change the usage model of an existing provider as it is right now, you have to create a new one and reactivate your existing server with activation credentials from the new provider. -
    Reference:
    https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-server/

  6. Question 6

    Your company’s Azure solution makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model.
    After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi- Factor Authentication.
    To achieve this, the Per Enabled User setting must be set for the usage model.
    Solution: You create a new Multi-Factor Authentication provider with a backup from the existing Multi-Factor Authentication provider data.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: A

    Explanation:
    Since it is not possible to change the usage model of an existing provider as it is right now, you have to create a new one and reactivate your existing server with activation credentials from the new provider. -
    Reference:
    https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-server/

  7. Question 7

    Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises Active Directory domain.
    You have a server named DirSync1 that is configured as a DirSync server.
    You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.
    Solution: You restart DirSync1.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: B

    This approach does not meet the requirements for the scenario.

  8. Question 8

    Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises Active Directory domain.
    You have a server named DirSync1 that is configured as a DirSync server.
    You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.
    Solution: You run the Start-ADSyncSyncCycle -PolicyType Initial PowerShell cmdlet.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: A

    This solution correctly addresses the requirements specified in the scenario. Reference: https://blog.kloud.com.au/2016/03/08/azure-resource-manager-templates/

  9. Question 9

    Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises Active Directory domain.
    You have a server named DirSync1 that is configured as a DirSync server.
    You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.
    Solution: You use Active Directory Sites and Services to force replication of the Global Catalog on a domain controller.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: B

    This solution does not address the specific requirements mentioned in the question.

  10. Question 10

    Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises Active Directory domain.
    You have a server named DirSync1 that is configured as a DirSync server.
    You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.
    Solution: You restart the NetLogon service on a domain controller.
    Does the solution meet the goal?

    Show answer & explanation

    Correct answer: B

    This option does not fulfill the stated requirements.

Ready for the real thing?

The full AZ-104 simulator has every exam-style question, timed mode, and instant scoring.

Go to the AZ-104 simulator →