wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AZ 104 Practice Test

Total questions: 25

Worksheet time: 25mins

Name
Class
Date
1.
You recently created a new Azure subscription that contains a user named Admin1. Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the template by using Azure PowerShell and receives the following error message: “User failed validation to purchase resources. Error message: “Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time.” You need to ensure that Admin1 can deploy the Marketplace resource successfully. What should you do?
a)
From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet
b)
From the Azure portal, register the Microsoft.Marketplace resource provider
c)
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
d)
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
2.
You have an on-premises file server named Server1 that runs Windows Server 2016. You have an Azure subscription that contains an Azure file share. You deploy an Azure File Sync Storage Sync Service, and you create a sync group. You need to synchronize files from Server1 to Azure. Which actions should you perform? Select three actions best
a)
Install the Azure File Sync agent on Server1
b)
Create an Azure on-premises data gateway
c)
Register Server1
d)
Add a server endpoint
3.
Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates. You need to view the date and time when the resources were created in RG1. Solution: From the RG1 blade, you click Automation script. Does this meet the goal?
a)
Yes
b)
No
4.
You have an Azure subscription named Subscription1 that contains the storage accounts. 1. Storage 1 for account kind storage and azure service that contains data is file. 2. Storage 2 for account kind storage v2 (general purpose v2) and azure service contains data are file and table. 3. Storage 3 for account kind storage v2 (general purpose v2) but data azure service is queue. 4. Storage 4 for blobstorage and azure service contains data is blob. You plan to use the Azure Import/Export service to export data from Subscription1. You need to identify which storage account can be used to export the data. What should you identify?
a)
Storage 1
b)
Storage 2
c)
Storage 3
d)
Storage 4
5.
You have the Azure virtual machines as follows. VM1 and VM2 - Azure Region West Europe. VM3 and VM4 - Azure Region North Europe. You have a recovery services vault that protects VM1 and VM2. You need to protect VM3 and VM4 by using recovery services. What should you do first?
a)
Create a storage account
b)
Configure the extensions for VM3 and VM4
c)
Create a new recovery services vault
d)
Create a new backup policy
6.
You have an Azure subscription named Subscription1, can deploy a Linux virtual machine named VM1 to Subscription1. You need to monitor the metrics and the logs of VM1. What should you use?
a)
the AzurePerformanceDiagnostics extension
b)
Azure Analysis Services
c)
Azure HDInsight
d)
Linux Diagnostic Extension (LAD) 3.0
7.
You have an Azure Storage account named storage1 that uses Azure Blob storage and Azure File storage, need to use AzCopy to copy data to the blob storage and file storage in storage1. Which authentication method should you use for each type of storage? Select two best answer
a)
Only Shared Access Signature (SAS) token is supported for Blob storage
b)
Both Azure Active Directory (AD) and Shared Access Signature (SAS) token are supported for Blob storage
c)
Only Shared Access Signature (SAS) token is supported for File storage
d)
Both Azure Active Directory (AD) and Shared Access Signature (SAS) token are supported for File storage
8.
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains 100 user accounts. You purchase 10 Azure AD Premium P2 licenses for the tenant. You need to ensure that 10 users can use all the Azure AD Premium features. What should you do?
a)
From the Azure AD domain, add an enterprise application
b)
From the Directory role blade of each user, modify the directory role
c)
From the Licenses blade of Azure AD, assign a license
d)
From the Groups blade of each user, invite the users to a group
9.
You have an Azure subscription named Subscription1 that contains a resource group named RG1. In RG1, you create an internal load balancer named LB1 and a public load balancer named LB2. You need to ensure that an administrator named Admin1 can manage LB1 and LB2. The solution must follow the principle of least privilege. Which role should you assign to Admin1 for each task? Select two best answer
a)
Added backend pool to LB1 with Network contributor on LB1
b)
Added backend pool to LB1 with Network contributor on RG1 and contributor on LB1
c)
Added health probe to LB2 with Network contributor on RG1 and contributor on LB2
d)
Added health probe to LB2 with Network contributor on LB2
10.
You have an Azure subscription named Subscription1. You create an Azure Storage account named contosostorage, and then you create a file share named data. Which UNC path should you include in a script that references files from the data file share?
a)
data
b)
blob
c)
file.core.windows.net
d)
contosostorage
11.
Your on-premises network contains an SMB share named Share1. You have an Azure subscription that contains the following resources: - A web app named webapp1 - A virtual network named VNET1 You need to ensure that webapp1 can connect to Share1. What should you deploy?
a)
an Azure Application Gateway
b)
an Azure Active Directory (Azure AD) Application Proxy
c)
an Azure Virtual Network Gateway
12.
You have an Azure subscription that has a Recovery Services vault named Vault1. The subscription contains the virtual machines as follows. - VM1 use operating system windows server 2012 R2 and mode off auto-shutdown. - VM2 use operating system windows server 2016 and mode auto -shutdown at 19:00 - VM3 use operating system ubuntu server 18.04 LTS and mode off auto-shutdown - VM4 use operating system windows 10 and mode auto-shutdown at 19:00 You plan to schedule backups to occur every night at 23:00. Which virtual machines can you back up by using Azure Backup?
a)
VM1 and VM3 only
b)
VM1,VM2,VM3 and VM4
c)
VM1 and VM2 only
d)
VM1 only
13.
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com. You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1. You need to create groups for the users. The solution must ensure that the groups are deleted automatically after 180 days. Which two groups should you create?
a)
a Security group that uses the Assigned membership type
b)
a Security group that uses the Dynamic Device membership type
c)
an Office 365 group that uses the Assigned membership type
d)
an Office 365 group that uses the Dynamic User membership type
14.
You have an Azure subscription that contains a policy-based virtual network gateway named GW1 and a virtual network named VNet1. You need to ensure that you can configure a point-to-site connection from an on-premises computer to VNet1. Which two actions should you perform?
a)
Create a route-based virtual network gateway
b)
Delete GW1
c)
Add a service endpoint to VNet1
d)
Add a public IP address space to VNet1
15.
You have an Azure subscription that contains a virtual network named VNet1. VNet1 uses an IP address space of 10.0.0.0/16 and contains the subnets as follows. Subnet0 have IP address range 10.0.0.0/24 Subnet1 have IP address range 10.0.1.0/24 Subnet2 have IP address range 10.0.2.0/24 GatewaySubnet have IP address range 10.0.254.0/24 Subnet1 contains a virtual appliance named VM1 that operates as a router. You create a routing table named RT1. You need to route all inbound traffic from the VPN gateway to VNet1 through VM1. Which describes configure RT1?
a)
Address prefix - 10.0.1.0/24 Next hop type - Virtual network Assigned to - GatewaySubnet
b)
Address prefix - 10.0.0.0/16 Next hop type - Virtual appliance Assigned to - GatewaySubnet
c)
Address prefix - 10.0.254.0/24 Next hop type - Virtual network gateway Assigned to - GatewaySubnet
d)
Address prefix - 10.0.0.0/16 Next hop type - Virtual appliance Assigned to - Subnet1 and Subnet2
16.
You have an Azure subscription that contains an Azure virtual machine named VM1. VM1 runs a financial reporting app named App1 that does not support multiple active instances. At the end of each month, CPU usage for VM1 peaks when App1 runs. You need to create a scheduled runbook to increase the processor performance of VM1 at the end of each month. What task should you include in the runbook?
a)
Add the Azure Performance Diagnostics agent to VM1
b)
Modify the VM size property of VM1.
c)
Increase the vCPU quota for the subscription.
d)
Add a Desired State Configuration (DSC) extension to VM1.
17.
You have an Azure subscription that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com: 1. User1 have role global administrator in scope Azure Active Directory 2. User2 have role global administrator in scope Azure Active Directory 3. User3 have role user administrator in scope Azure Active Directory 4. User4 have role owner in Azure Subscription. User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com. You need to create new user accounts in external.contoso.onmicrosoft.com. Solution: You instruct User4 to create the user accounts. Does that meet the goal?
a)
No
b)
Yes
18.
You have an Azure subscription named Subscription1 and an on-premises deployment of Microsoft System Center Service Manager. Subscription1 contains a virtual machine named VM1. You need to ensure that an alert is set in Service Manager when the amount of available memory on VM1 is below 10 percent. What should you do first?
a)
Deploy a function app
b)
Create an automation rnbook
c)
Create a notification
d)
Deploy the IT Service Management Connector (ITSM)
19.
You have an app named App1 that runs on two Azure virtual machines named VM1 and VM2. You plan to implement an Azure Availability Set for App1. The solution must ensure that App1 is available during planned maintenance of the hardware hosting VM1 and VM2. What should you include in the Availability Set?
a)
two update domains
b)
one fault domain
c)
two fault domains
d)
one update domain
20.
You plan to create an Azure Storage account in the Azure region of East US 2. You need to create a storage account that meets the following requirements: - Replicates synchronously. - Remains available if a single data center in the region fails. How should you configure the storage account?
a)
Replicate Read-access geo-redundant storage (RA GRS)
b)
Using the account type Storage (General Purpose v1)
c)
Replicate Zone-redundant storage (ZRS)
d)
Using the account type StorageV2 (General purpose v2)
21.
You plan to deploy three Azure virtual machines named VM1, VM2, and VM3. The virtual machines will host a web app named App1.You need to ensure that at least two virtual machines are available if a single Azure datacenter becomes unavailable. What should you deploy?
a)
all three virtual machines in a single Availability Zone
b)
all virtual machines in a single Availability Set
c)
each virtual machine in a separate Availability Zone
d)
each virtual machine in a separate Availability Set
22.
You have two Azure virtual networks named VNet1 and VNet2. VNet1 contains an Azure virtual machine named VM1. VNet2 contains an Azure virtual machine named VM2. VM1 hosts a frontend application that connects to VM2 to retrieve data. Users report that the frontend application is slower than usual. You need to view the average round-trip time (RTT) of the packets from VM1 to VM2. Which Azure Network Watcher feature should you use?
a)
IP flow verify
b)
Connection troubleshoot
c)
Connection monitor
d)
NSG flow logs
23.
You have an Azure web app named App1. App1 has the deployment slots as follows. - webapp1-prod have function to production - webapp1-test have function to staging In webapp1-test, you test several changes to App1 and back up App1. You swap webapp1-test for webapp1-prod and discover that App1 is experiencing performance issues. You need to revert to the previous version of App1 as quickly as possible. What should you do?
a)
Redeploy App1
b)
Sway the slots
c)
Clone App1
d)
Restore the backup of App1
24.
You have an Azure virtual machine named VM1 that runs Windows Server 2019. You save VM1 as a template named Template1 to the Azure Resource Manager library. You plan to deploy a virtual machine named VM2 from Template1. What can you configure during the deployment of VM2?
a)
operating system
b)
resource group
c)
virtual machine size
d)
administrator username
25.
You have an Azure web app named webapp1. Users report that they often experience HTTP 500 errors when they connect to webapp1. You need to provide the developers of webapp1 with real-time access to the connection errors. The solution must provide all the connection error details.What should you do first?
a)
From webapp1, enable Web server logging
b)
From Azure Monitor, create a workbook
c)
From Azure Monitor, create a Service Health alert
d)
From webapp1, turn on Application logging