Practice mode

AZ-104 practice questions with explanations

10 free questions for the Microsoft Azure Administrator exam. Choose an answer, check it, and read why it is right. No account needed.

AZ-104 exam guide

These 10 free AZ-104 practice questions show you where you stand on the Microsoft Azure Administrator exam. Each one has the correct answer and an explanation of why it is right, so you learn the reasoning and not only the answer. The AZ-104 outline has 5 domains, led by Manage Azure identities and governance (20–25%), Implement and manage storage (15–20%), Deploy and manage Azure compute resources (20–25%). Use your results to decide which domain to study next, then read the AZ-104 exam guide for the skills Microsoft lists and a 3-week study plan. When you want more, the AZ-104 practice test plans add the full bank of 471 questions and a timed exam mode.

Showing questions 1-10 of 10 free questions

Question 1

You need to meet the technical requirement for VM4. What should you create and configure?

Choose one answer for question 1

Answer and explanation

Correct answer: B

:

Scenario: Create a workflow to send an email message when the settings of VM4 are modified.

You can start an automated logic app workflow when specific events happen in Azure resources or thirdparty resources. These resources can publish those events to an Azure event grid. In turn, the event grid pushes those events to subscribers that have queues, webhooks, or event hubs as endpoints. As a subscriber, your logic app can wait for those events from the event grid before running automated workflows to perform tasks - without you writing any code.

Question 2

You need to recommend a solution to automate the configuration for the finance department users. The solution must meet the technical requirements. What should you include in the recommended?

Choose one answer for question 2

Answer and explanation

Correct answer: D

Technically, The finance department needs to migrate their users from AD to AAD using AADC based on the finance OU, and need to enforce MFA use. This is conditional access policy. Employees also often get promotions and/or join other departments and when that occurs, the user's OU attribute will change when the admin puts the user in a new OU, and the dynamic group conditional access exception (OU= [Department Name Value]) will move the user to the appropriate dynamic group on next AADC delta

sync.

Question 3

You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort.

What should you do?

Choose one answer for question 3

Answer and explanation

Correct answer: B

Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal

Topic 2, Humongous Insurance

Overview

Existing Environment

Huongous Insurance is an insurance company that has three offices in Miami, Tokoyo, and Bankok. Each has 5000 users.

Active Directory Environment

Humongous Insurance has a single-domain Active Directory forest named humongousinsurance.com. The functional level of the forest is Windows Server 2012.

You recently provisioned an Azure Active Directory (Azure AD) tenant.

Network Infrastructure

Each office has a local data center that contains all the servers for that office. Each office has a dedicated connection to the Internet.

Each office has several link load balancers that provide access to the servers.

Active Directory Issue

Several users in humongousinsurance.com have UPNs that contain special characters.

You suspect that some of the characters are unsupported in Azure AD.

Licensing Issue

You attempt to assign a license in Azure to several users and receive the following error message: "Licenses not assigned. License agreement failed for one user."

You verify that the Azure subscription has the available licenses.

Requirements

Planned Changes

Humongous Insurance plans to open a new office in Paris. The Paris office will contain 1,000 users who will be hired during the next 12 months. All the resources used by the Paris office users will be hosted in

Azure.

Planned Azure AD Infrastructure

The on-premises Active Directory domain will be synchronized to Azure AD.

All client computers in the Paris office will be joined to an Azure AD domain.

Planned Azure Networking Infrastructure

You plan to create the following networking resources in a resource group named All_Resources:

Default Azure system routes that will be the only routes used to route traffic

A virtual network named Paris-VNet that will contain two subnets named Subnet1 and Subnet2

A virtual network named ClientResources-VNet that will contain one subnet named ClientSubnet

A virtual network named AllOffices-VNet that will contain two subnets named Subnet3 and Subnet4

You plan to enable peering between Paris-VNet and AllOffices-VNet. You will enable the Use remote gateways setting for the Paris-VNet peerings.

You plan to create a private DNS zone named humongousinsurance.local and set the registration network to the ClientResources-VNet virtual network.

Planned Azure Computer Infrastructure

Each subnet will contain several virtual machines that will run either Windows Server 2012 R2, Windows Server 2016, or Red Hat Linux.

Department Requirements

Humongous Insurance identifies the following requirements for the company's departments:

Web administrators will deploy Azure web apps for the marketing department. Each web app will be added to a separate resource group. The initial configuration of the web apps will be identical. The web administrators have permission to deploy web apps to resource groups.

During the testing phase, auditors in the finance department must be able to review all Azure costs from the past week.

Authentication Requirements

Users in the Miami office must use Azure Active Directory Seamless Single Sign-on (Azure AD Seamless SSO) when accessing resources in Azure.

Question 4

You need to prepare the environment to meet the authentication requirements.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE Each correct selection is worth one point.

Choose one answer for question 4

Answer and explanation

Correct answer: C

D: Seamless SSO works with any method of cloud authentication - Password Hash Synchronization or Pass-through Authentication, and can be enabled via Azure AD Connect.

B: You can gradually roll out Seamless SSO to your users. You start by adding the following Azure AD URL to all or selected users' Intranet zone settings by using Group Policy in Active Directory:

Incorrect Answers:

A: Seamless SSO needs the user's device to be domain-joined, but doesn't need for the device to be Azure AD Joined.

C: Azure AD connect does not port 8080. It uses port 443.

E: Seamless SSO is not applicable to Active Directory Federation Services (ADFS).

Scenario: Users in the Miami office must use Azure Active Directory Seamless Single Sign-on (Azure AD Seamless SSO) when accessing resources in Azure.

Planned Azure AD Infrastructure include: The on-premises Active Directory domain will be synchronized to Azure AD.

Reference:https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directoryhttps://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-sso-quick-startaadconnect-sso-quick-start

Question 5

You need to resolve the Active Directory issue.

What should you do?

Choose one answer for question 5

Answer and explanation

Correct answer: B

IdFix is used to perform discovery and remediation of identity objects and their attributes in an onpremises Active Directory environment in preparation for migration to Azure Active Directory. IdFix is intended for the Active Directory administrators responsible for directory synchronization with Azure Active Directory.

Scenario: Active Directory Issue

Several users in humongousinsurance.com have UPNs that contain special characters. You suspect that some of the characters are unsupported in Azure AD.

Reference: https://www.microsoft.com/en-us/download/details.aspx?id=36832

Question 6

Which blade should you instruct the finance department auditors to use?

Choose one answer for question 6

Answer and explanation

Correct answer: C

Cost analysis: Correct Option

In cost analysis blade of Azure, you can see all the detail for custom time span. You can use this to determine expenditure of last few day, weeks, and month. Below options are available in Cost analysis blade for filtering information by time span: last 7 days, last 30 days, and custom date range. Choosing the first option (last 7 days) auditors can view the costs by time span.

Cost analysis shows data for the current month by default. Use the date selector to switch to common date ranges quickly. Examples include the last seven days, the last month, the current year, or a custom date range. Pay-as-you-go subscriptions also include date ranges based on your billing period, which isn't boundtothecalendarmonth,likethecurrentbillingperiodorlastinvoice.Use the <PREVIOUS and NEXT> links at the top of the menu to jump to the previous or next period, respectively. For example, <PREVIOUS will switch from the Last 7 days to 8-14 days ago or 15-21 days ago.

Invoice: Incorrect Option

Invoices can only be used for past billing periods not for current billing period, i.e. if your requirement is to know the last week's cost then that also not filled by invoices because Azure generates invoice at the end of the month. Even though Invoices have custom timespan, but when you put in dates for a week, the pane would be empty. Below is from Microsoft document:

Resource Provider: Incorrect Option

When deploying resources, you frequently need to retrieve information about the resource providers and types. For example, if you want to store keys and secrets, you work with the Microsoft.KeyVault resource provider. This resource provider offers a resource type called vaults for creating the key vault. This is not useful for reviewing all Azure costs from the past week which is required for audit.

Payment method: Incorrect Option

Payment methods is not useful for reviewing all Azure costs from the past week which is required for audit.

Reference: https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-acm-cost-analysis https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/download-azure-invoicehttps://docs.microsoft.com/en-us/azure/cost-management-billing/manage/download-azure-invoice-daily-usage-datedaily-usage-date

Question 7

You need to define a custom domain name for Azure AD to support the planned infrastructure.

Which domain name should you use?

Choose one answer for question 7

Answer and explanation

Correct answer: D

EveryAzureADdirectorycomeswithaninitialdomainnameintheformof domainname.onmicrosoft.com.

The initial domain name cannot be changed or deleted, but you can add your corporate domain name to Azure AD as well. For example, your organization probably has other domain names used to do business and users who sign in using your corporate domain name. Adding custom domain names to Azure AD allows you to assign user names in the directory that are familiar to your users, such as

‘alice@contoso.com.’ instead of 'alice@domain name.onmicrosoft.com'.

Scenario:

Network Infrastructure: Each office has a local data center that contains all the servers for that office.

Each office has a dedicated connection to the Internet.

Humongous Insurance has a single-domain Active Directory forest named humongousinsurance.com Planned Azure AD Infrastructure: The on-premises Active Directory domain will be synchronized to Azure AD.

Reference: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/add-custom-domain

Question 8

You need to resolve the licensing issue before you attempt to assign the license again. What should you do?

Choose one answer for question 8

Answer and explanation

Correct answer: B

Scenario: Licensing Issue

1. You attempt to assign a license in Azure to several users and receive the following error message:

"Licenses not assigned. License agreement failed for one user." 2. You verify that the Azure subscription has the available licenses. Solution:

License cannot be assigned to a user without a usage location specified.

Some Microsoft services aren't available in all locations because of local laws and regulations. Before you can assign a license to a user, you must specify the Usage location property for the user. You can specify the location under the User > Profile > Settings section in the Azure portal.

Reference: https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-groups-resolvehttps://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/licensing-groups-resolve-problemsproblems

Question 9

You need to meet the user requirement for Admin1.

What should you do?

Choose one answer for question 9

Answer and explanation

Correct answer: A

Change the Service administrator for an Azure subscription

Sign in to Account Center as the Account administrator.

Select a subscription.

On the right side, select Edit subscription details.

Scenario: Designate a new user named Admin1 as the service administrator of the Azure subscription.

Reference: https://docs.microsoft.com/en-us/azure/billing/billing-add-change-azure-subscriptionhttps://docs.microsoft.com/en-us/azure/billing/billing-add-change-azure-subscription-administratoradministrator

Question 10

You need to move the blueprint files to Azure.

What should you do?

Choose one answer for question 10

Answer and explanation

Correct answer: D

Azure Storage Explorer is a free tool from Microsoft that allows you to work with Azure Storage data on Windows, macOS, and Linux. You can use it to upload and download data from Azure blob storage.

Scenario:

Planned Changes include: move the existing product blueprint files to Azure Blob storage. Technical Requirements include: Copy the blueprint files to Azure over the Internet.

Reference:https://docs.microsoft.com/en-us/azure/machine-learning/team-data-sciencehttps://docs.microsoft.com/en-us/azure/machine-learning/team-data-science-process/move-data-to-azure-blob-using-azure-storage-explorerprocess/move-data-to-azure-blob-using-azure-storage-explorer

Want more than 10 questions?

The full AZ-104 bank has 471 questions and adds a timed exam mode, per-topic review and a printable PDF. Plans start from $35.