MS AZ-104 renew一直是件很头疼的事情!
在只能使用免费版的GPT AI工具下,更是件痛苦的事情!
终于在Copilot加持下以73%通过了Renew。
现将题库提供给有需求的同学们,答案以Copilot为主!
Question 1 of 26
You have Azure web app named WebApp1.
You need to integrate GitHub as a source code repository for WebApp1.
What should you use?
Select only one answer.
Deployment Center (Copilot)
Deployment slots
Extensions
Service Connector (Gemini)
Question 2 of 26
You have an Azure subscription that includes the following web apps:
- WebApp1, which runs code in a Windows operating system.
- WebApp2, which runs code in a Linux operating system.
- WebApp3, which runs in a Docker container on Windows.
- WebApp4, which runs in a Docker container on Linux.
From which web apps can you use WebJobs?
Select only one answer.
WebApp1 and WebApp2 only
WebApp1 and Web3 only
WebApp1 only (Copilot)
WebApp1, WebApp2, WebApp3 and WebApp4 (Gemini)
Question 3 of 26
You have an Azure subscription that includes a virtual network named VNet1.
You plan to create a web app named WebApp1 and deploy it to VNet1.
You need to prepare the environment for the planned web app. The solution must minimize costs.
Which app service plan size should you use?
Select only one answer.
Dev / Test B1
Dev / Test F1 (Copilot)
Isolated I1V2
Production P1V2
Production P3V3
Question 4 of 26
You have an Azure web app named WebApp1.
You discover that backup options are unavailable for WebApp1.
You need to back up WebApp1.
What should you do first?
Select only one answer.
Modify the Application settings of WebApp1.
Modify the platform settings of WebApp1. (Gemini)
Scale out the app service plan.
Scale up the app service plan. (Copilot)
Question 5 of 26
You plan to create an Azure container instance named container1 that will use a Docker image named Image1.
You need to ensure that container1 has persistent storage.
Which Azure resources should you deploy for the persistent storage?
Select only one answer.
an Azure container registry
an Azure SQL database
an Azure Storage account and a blob container
an Azure Storage account and a file share (Gemini) (Copilot)
Question 6 of 26
You have an Azure subscription that contains the following resources:
- a storage account named storage123
- a container instance named AppContainer
The subscription contains a virtual network named VirtualNet4 that has the following subnets:
- SubnetA- has a Microsoft.Storage service endpoint.
- SubnetB- AppContainer is deployed to SubnetB.
- SubnetC- No resources are connected to SubnetC.
You plan to deploy an Azure container instance named container5 to VirtualNet4.
To which subnets can you deploy container5?
Select only one answer.
SubnetA, SubnetB, and SubnetC
SubnetB and SubnetC only (Copilot)
SubnetB only (Gemini)
SubnetC only
Question 7 of 26
You have Azure subscription that includes virtual network with following subnets:
- Subnet1, which has connected virtual machine
- Subnet2, which has connected web app
- Subnet3, which has deployed container instance
You plan to deploy container instance named container1.
To which subnets can you deploy container1?
Select only one answer.
Subnet1 and Subnet3 only
Subnet1, Subnet2 and Subnet3 (Copilot)
Subnet2 and Subnet3 only
Subnet3 only
You have an Azure subscription that contains the following storage accounts:
- storage1, configured as StorageV2 kind
- storage2, configured as BlobStorage kind
- storage3, configured as FileStorage kind
Which storage account or storage accounts can you use Lifecycle management?
Select only one answer.
storage1 and storage2 only (Copilot)
storage1 and storage3 only
storage1 only
Storage1, storage2 and storage3
storage2 and storage3 only
Question 9 of 26
You have an Azure storage account that contains a blob container named container1.
You need to configure access to container1.
Which authorization types can you use?
Select only one answer.
Microsoft Entra ID only
Microsoft Entra ID, shared access signature or certificate only (Maybe is correct)
Microsoft Entra ID, storage key or shared access signature only (Copilot)
Microsoft Entra ID, storage key, shared access signature or certificate
Storage key or shared access signature only
You have an Azure Storage account named storage1.
You create the following encryption scopes for storage1:
- Scope1 that has an encryption type of Microsoft-managed keys
- Scope2 that has an encryption type of Customer-managed keys
Which storage services can be used with Scope2?
Select only one answer.
blob and file only
blob, file, table, and queue (Gemini)
blob only (Copilot)
file only
table and queue only
You have an Azure Storage account named storage1 that is configured to use the Hot access tier.
Storage1 has a container named container1 and the lifecycle management rule with following settings:
- Move blob to cool storage: Selected
- Days after last modification: 3
- Move blob to archive storage: Selected
- Days after last modification: 5
On December 1, you create a file named File1 in container1.
On December 10, you rehydrate File1 and move the file to the Hot access tier.
When will File1 be moved to archive storage?
Select only one answer.
on December 15 (Copilot)
on December 18
on January 1 (Gemini)
within 24 hours
You have an Azure subscription that contains a virtual network named VNET1. VNET1 uses the following address spaces:
- 10.10.1.0/24
- 10.10.2.0/28
VNET1 contains the following subnets:
- Subnet1- has an address space of 10.10.1.0/24
- Subnet2- has an address space of 10.10.2.0/28
To Subnet1, you deploy a virtual machine named VM1 that runs Windows Server 2022. VM1 has Remote Desktop enabled.
VM1 does NOT have a public IP address.
You need to be able to deploy Azure Bastion to protect VM1.
What should you do first?
Select only one answer.
Add a new subnet to VNET1. (Copilot)
Add a public IP address to VM1.
Add an extension to VM1. (Gemini)
Modify the address space of VNET1.
Question 13 of 26
You have an Azure subscription that contains a storage account named storage1 and the following virtual machines:
- VM1 has a public IP address of 13.68.158.24 and is connected to VNET1/Subnet1
- VM2 has a public IP address of 52.255.145.76 and is connected to VNET1/Subnet1
- VM3 has a public IP address of 13.68.158.50 and is connected to VNET1/Subnet2
The subnets have the following service endpoints:
- Subnet1 has a Microsoft.Storage service endpoint
- Subnet2 does NOT have any service endpoint
Storage1 has a firewall configured to allow access from the 13.68.158.0/24 IP address range only.
Which virtual machines can access storage1.
Select only one answer.
VM1 and VM2 only
VM1 and VM3 only (Copilot)
VM1 only (Gemini)
VM1, VM2, and VM3
VM3 only
Question 14 of 26
You have an Azure virtual network named VNET1 that is connected to a network security group (NSG) named NSG1. NSG1 has the following inbound security rules:
- Rule1 has a priority of 100 and allows port 3389 on TCP protocol from any source and to any destination
- Rule2 has a priority of 200 and allows ports 80 and 8080 on UDP protocol from any source and to any destination
- Rule3 has a priority of 300 and denies ports 1-2000 on TCP protocol from any source and to any destination
- Rule4 has a priority of 400 and allows ports 50-500 on TCP protocol from VirtualNetwork source and to any destination
- Rule5 has a priority of 500 and allows ports 80 and 443 on TCP protocol from any source and to any destination
You need to allow http and https connections from the internet to VNET1.
What should you change for NSG1?
Select only one answer.
Priority for Rule3 to 450 (Copilot)
Priority for Rule4 to 250
Priority for Rule5 to 250
Protocol for Rule2 to TCP
You have an Azure subscription that contains a virtual machine named VM1 and a storage account named storage1.
You need to ensure that VM1 can access storage1 by using the Azure backbone.
What should you configure?
Select only one answer.
a routing table
a service endpoint (Copilot)
a VPN gateway
Peering
You have a Windows Server Azure virtual machine named VM1.
You need to back up two folders in VM1 by using Azure Backup. The solution should minimize administrative effort.
What should you deploy first?
Select only one answer.
Azure Backup Server
Recovery Services agent (Copilot)
Microsoft Monitoring agent
Windows Server Backup role
Question 17 of 26
You have a Recovery Services vault named Recovery1 that includes a backup policy named Policy1.
You back up several Azure virtual machines to Recovery1 by using Policy1.
You need to view the Azure Backup reports.
What should you do first?
Select only one answer.
Configure the Diagnostics settings of Recovery1. (Copilot)
Create an Azure Log Analytics workspace.
Modify the Backup Configuration settings of Recovery1.
Question 18 of 26
You have a Recovery Services vault named Vault1 that has soft delete enabled.
Vault1 stores backups for the following Azure resources:
- an Azure virtual machine named VM1
- an Azure file share named share1
- a SQL Server on Azure virtual machine named SQL1
Which backups are protected by soft delete?
Select only one answer.
share1 only
VM1 and SQL1 only (Copilot)
VM1 only
VM1, share1, and SQL1 (Gemini)
Question 19 of 26
You have the following Azure resources:
- a virtual machine named VM1
- a Recovery Services vault named Vault1
On January 1, you configure backups for VM1 by using the following backup policy:
- Frequency: Daily
- Time: 23:00
- Timezone: (UTC) Coordinated Universal Time
- Retain instant recovery snapshot(s) for: 2 Day(s)
- Retention of daily backup point: 7 Day(s)
- Azure Backup Resource Group: Backup1RG
How many restore point collections recovery points will be stored in Backup1RG on January 10?
Select only one answer.
2
7 (Copilot)
9
10 (Gemini)
You have an Azure subscription.
You plan to run a data warehouse in an Azure virtual machine named VM1.
You need to ensure that VM1 is optimized for running a data warehouse.
Which VM type should you use for VM1?
Select only one answer.
Compute optimized (F-Series)
General purpose (D-Series)
High performance computing (H-Series)
Memory optimized (M-Series) (Copilot)
Storage optimized (Ls-Series)
Question 21 of 26
You have an Azure subscription named Sub1.
You plan to deploy a virtual machine scale set named VMSS1 in East US region. VMSS1 will have 8 instances.
What is the maximum number of availability zones that VMSS1 can use?
Select only one answer.
1
2
3 (Copilot)
4 (Gemini)
Question 22 of 26
You have an Azure subscription.
You plan to use fault domains.
From which Azure resource can you configure the fault domains?
Select only one answer.
Availability set (Copilot)
Virtual machine
Virtual machine scale set
Virtual network
Question 23 of 26
You have an Azure subscription that contains the following resources:
- A resource group named RG1 in the West US region
- A resource group named RG2 in the Central US region
- A virtual network named VNet1 that is deployed to the West US region in RG1
- A virtual network named VNet2 that is deployed to the Central US region in RG1
- A virtual network named VNet3 that is deployed to the West US region in RG2
You need to deploy a virtual machine named VM1 to RG1 in the West US region.
To which virtual network or virtual networks can you connect VM1?
Select only one answer.
VNet1 only (Copilot)
VNet1 or VNet2 only
VNet1 or VNet3 only
VNet1, VNet2 or VNet3
Question 24 of 26
You have a Microsoft Entra tenant named contoso.com that contains a user named Ben Smith.
You configure a Password protection for contoso.com that includes the following Custom banned passwords settings:
- Enforce custom list: Yes
- Custom banned password list: Contoso
Which password can be used by Ben Smith?
Select only one answer.
C0nt0s0123
CONTOSO123
Conto123so
FgRs01 (Copilot)
Question 25 of 26
You have an Azure subscription that contains a user named User1, a resource group named RG1, and a virtual machine named VM1.
You enable a system-assigned managed identity for VM1.
To which identities can you assign the Reports Reader role?
Select only one answer.
User1 and RG1 only
User1 and VM1 only (Copilot)
User1 only (Gemini)
User1, RG1, and VM1
Question 26 of 26
You have a Microsoft Entra tenant.
You create a user named Admin1.
You need to ensure that Admin1 can perform following tasks:
- Assign licenses to Microsoft Entra groups
- Reset passwords of Microsoft Entra users
What Microsoft Entra role should you add to Admin1?
Select only one answer.
Billing Administrator
Helpdesk Administrator
License Administrator
User Administrator (Gemini) (Copilot)
Question 1 of 26
You plan to deploy the following Azure web apps:
- WebApp1, that runs on Windows Server 2016
- WebApp2, that runs on Windows Server 2022
- WebApp3, that runs on Ubuntu Server
- WebApp4, that runs on Red Hat Enterprise Linux
You need to create the app service plans for the web apps.
What is the minimum number of app service plans that should be created?
Select only one answer.
1
2 (Gemini)
3
4 (Copilot)
Question 2 of 26
You plan to deploy the following Azure web apps:
- WebApp1, that uses the .NET 6 runtime stack
- WebApp2, that uses the ASP.NET V4.8 runtime stack
- WebApp3, that uses the Java 17 runtime stack
- WebApp4, that uses the PHP 8.0 runtime stack
You need to create the app service plans for the web apps.
What is the minimum number of app service plans that should be created?
Select only one answer.
1 (Gemini) (Copilot)
2
3
4
Question 4 of 26
You have an Azure web service named Contoso2022 that runs in the Standard App Service plan. Contoso2022 has five deployment slots in use.
A user named User1 has the Contributor role for Contoso2022.
You need to ensure that User1 can create additional deployment slots to Contoso2022.
What should you do?
Select only one answer.
Assign User1 the Owner role for Contoso2022. (Copilot)
Assign User1 the Website Contributor role for Contoso2022. (Gemini)
Scale out the Contoso2022 App Service plan.
Scale up the Contoso2022 App Service plan.
Question 6 of 26
You have Azure subscription that includes virtual network named VNet1 in West US region.
You plan to deploy following container instances:
- Instance1, running Windows container image in West US region
- Instance2, running Linux container image in West US region
- Instance3, running Windows container image in East US region
Which container instances can be deployed to VNet1?
Select only one answer.
Instance1 and Instance2 only (Gemini) (Copilot)
Instance1 and Instance3 only
Instance1, Instance2 and Instance3
Instance1 only
Instance2 only
Question 12 of 26
You have an Azure subscription that contains the following fully peered virtual networks:
- VNet1, located in the West US region. 5 virtual machines are connected to VNet1.
- VNet2, located in the West US region. 7 virtual machines are connected to VNet2.
- VNet3, located in the East US region, 10 virtual machines are connected to VNet3.
- VNet4, located in the East US region, 4 virtual machines are connected to VNet4.
You plan to protect all of the connected virtual machines by using Azure Bastion.
What is the minimum number of Azure Bastion hosts that you must deploy?
Select only one answer.
1
2 (Gemini) (Copilot)
3
4
Question 14 of 26
You have an Azure virtual network named VNET1 that has an IP address space of 192.168.0.0/16 and the following subnets:
- Subnet1- has an IP address range of 192.168.1.0/24 and is connected to 15 VMs
- Subnet2- has an IP address range of 192.168.2.0/24 and does NOT have any VMs connected
You need to ensure that you can deploy Azure Firewall to VNET1.
What should you do?
Select only one answer.
Add a new subnet to VNET1. (Copilot)
Add a service endpoint to Subnet2. (Gemini)
Modify the IP address space of VNET1.
Modify the subnet mask of Subnet2.
Question 17 of 26
You have an Azure virtual machine named Computer5 and a Recovery Services vault named Vault5. Computer5 contains the following data disks:
- DiskA has a size of 512 GB
- DiskB has a size of 30 TB
- DiskC has a size of 26 TB
- DiskD has a size of 2.0 TB
Which data disks can you back up to Vault5?
Select only one answer.
DiskA, DiskB, DiskC, and DiskD
DiskA only (Gemini) (Copilot)
DiskB only
DiskC only
DiskD only
Question 18 of 26
You recently create an Azure virtual machine standard backup policy.
You need to configure a retention period for virtual machine instant recovery snapshots.
What is the maximum number of days that can be set for the retention period?
Select only one answer.
5 (Copilot)
7
14
30 (Gemini)
Question 20 of 26
You have an Azure virtual machine named VM1.
VM1 contains the following:
- a File named File1 that is stored on volume C:\
- a File named File2 that is stored on volume D:\
- an App named App1 that is in a running state
- a user named User1 that is connected to VM1
You plan to resize VM1.
What is preserved after the resize?
Select only one answer.
File1 and File2 only (Gemini) (Copilot)
File1 and the state of App1 only
File1, File2 and the state of App1 only
File1, File2, the state of App1 and the connection of User1
File1 only
Question 21 of 26
You have an Azure subscription and an availability set named AS1 that has 5 update domains.
You deploy 27 virtual machines to AS1.
After a planned update, what is the minimum number of virtual machines that are available?
Select only one answer.
14
20
21 (Copilot)
22
26
Question 24 of 26
You have a Microsoft Entra tenant that contains the following users:
- User1 has a Department set to Sales and a Country set to USA
- User2 has a Department set to Marketing and a Country set to USA
- User3 has a Department set to Sales and a Country set to DE
- User4 has a Department set to Marketing and a Country set to DE
You create a group named Group1 that has the following dynamic membership rule.
user.country -eq "USA" -and user.department -eq "Marketing" -or user.department -eq "Sales"
Which users are members of Group1?
Select only one answer.
User1 and User2 only
User1 and User3 only
User2 and User3 only
User1, User2, and User3 only (Gemini) (Copilot)
User1, User2, User3 and User4
Question 26 of 26
Your company has multiple departments and one Azure subscription. The user accounts for all employees are in the same Microsoft Entra tenant.
You need to delegate permissions for the users in a single department only.
What should you use to organize the user accounts?
Select only one answer.
administrative unit (Copilot)
security group (Gemini)
resource group
workspace
Question 5 of 26
You have an Azure container registry named Registry1.
You create a container image named image1 on a Windows Server container host named Host1.
You need to store image1 in Registry1.
Which URL should you use to push image1 from Host1?
Select only one answer.
azure.microsoft.com/Registry1
Registry1.azurecr.io (Copilot)
Registry1.file.core.windows.net
Registry1.onmicrosoft.com
Question 7 of 26
You have an Azure container registry that stores an image named Image1 and a Windows Server 2022 Azure virtual machine named VM1.
You need to ensure that you can run Image1 in VM1.
What should you install in VM1?
Select only one answer.
Azure Portal
Docker (Copilot)
Hyper-V role
.NET Framework 4.7
You have an Azure subscription that includes the following resources:
- VNet1, a virtual network
- Subnet1, a subnet in VNet1
- WebApp1, a web app application service
- NSG1, a network security group
You create an application security group named ASG1.
Which resource can use ASG1?
Select only one answer.
NSG1 (Copilot)
Subnet1
VNet1
WebApp1
Question 17 of 26
You have an Azure subscription that contains the following virtual machines:
- VM1, a virtual machine that runs Windows Server 2019
- VM2, a virtual machine that runs Red Hat Enterprise Linux
- VM3, a virtual machine that is configure with Azure Disk encryption and runs Windows Server 2022
You use Azure Backup to back up the three virtual machines.
Which virtual machine or virtual machines can use file-level restore?
Select only one answer.
VM1 and VM2 only (Copilot)
VM1 and VM3 only
VM1 only
VM1, VM2 and VM3
Question 19 of 26
Your company’s Azure subscription contains an Azure virtual machine.
You need to back up the virtual machine every 12 hours.
What should you create first?
Select only one answer.
a backup policy in a backup vault
a standard backup policy in a recovery services vault (Copilot)
an enhanced backup policy in a recovery services vault (Gemini)
Question 23 of 26
Your company has an Azure subscription.
You plan to create a virtual machine scale set named VMSS1 that has the following settings:
- Resource group name: RG1
- Region: West US
- Orchestration mode: Uniform
- Security type: Standard
- OS disk type: SSD standard
- Key management: Platform-managed key
You need to add custom virtual machines to VMSS1.
What setting should you modify?
Select only one answer.
Key management
Orchestration mode (Copilot)
OS disk type
Security type
Question 14 of 26
You have an Azure subscription that contains a virtual machine named VM1 and a storage account named storage1.
You need to ensure that VM1 can access storage1 by using a private IP address.
What should you use?
Select only one answer.
a point to site (P2S) connection
A service endpoint (Copilot)
a VPN gateway
the Azure Front Door service