ExamGecko
Home / Microsoft / AZ-104 / List of questions
Ask Question

Microsoft AZ-104 Practice Test - Questions Answers, Page 24

List of questions

Question 231

Report Export Collapse

You have a deployment template named Template1 that is used to deploy 10 Azure web apps.

You need to identify what to deploy before you deploy Template1. The solution must minimize Azure costs.

What should you identify?

10 App Service plans
10 App Service plans
one Azure Traffic Manager
one Azure Traffic Manager
five Azure Application Gateways
five Azure Application Gateways
one App Service plan
one App Service plan
one Azure Application Gateway
one Azure Application Gateway
Suggested answer: D
Explanation:

You create Azure web apps in an App Service plan.

Reference:

https://docs.microsoft.com/en-us/azure/app-service/overview-hosting-plans

asked 26/09/2024
Camrin Schroyer
34 questions

Question 232

Report Export Collapse

You have an Azure subscription that contains a virtual machine named VM1. VM1 hosts a line-ofbusiness application that is available 24 hours a day. VM1 has one network interface and one managed disk. VM1 uses the D4s v3 size.

You plan to make the following changes to VM1:

Change the size to D8s v3.

Add a 500-GB managed disk.

Add the Puppet Agent extension.

Attach an additional network interface.

Which change will cause downtime for VM1?

Add a 500-GB managed disk.
Add a 500-GB managed disk.
Attach an additional network interface.
Attach an additional network interface.
Add the Puppet Agent extension.
Add the Puppet Agent extension.
Change the size to D8s v3.
Change the size to D8s v3.
Suggested answer: D
Explanation:

While resizing the VM it must be in a stopped state.

Reference: https://azure.microsoft.com/en-us/blog/resize-virtual-machines/

asked 26/09/2024
khalid Hassan
38 questions

Question 233

Report Export Collapse

You have an Azure subscription that contains 100 virtual machines.

You regularly create and delete virtual machines.

You need to identify unused disks that can be deleted.

What should you do?

From Azure Advisor, modify the Advisor configuration.
From Azure Advisor, modify the Advisor configuration.
From Azure Cost Management view Cost Analysis.
From Azure Cost Management view Cost Analysis.
From Azure Cost Management view Advisor Recommendations.
From Azure Cost Management view Advisor Recommendations.
From Microsoft Azure Storage Explorer, view the Account Management properties.
From Microsoft Azure Storage Explorer, view the Account Management properties.
Suggested answer: D
asked 26/09/2024
DOMINIC FERNANDEZ
45 questions

Question 234

Report Export Collapse

You plan to create the Azure web apps shown in the following table.

Microsoft AZ-104 image Question 201 84726 09262024195642000000

What is the minimum number of App Service plans you should create for the web apps?

1
1
2
2
3
3
4
4
Suggested answer: A
Explanation:

.NET Core -> window/linux ASP .NET -> window PHP -> window/linux Ruby ->Linux

asked 26/09/2024
Ibrahim mazou Ismael
52 questions

Question 235

Report Export Collapse

You have two Azure Active Directory (Azure AD) tenants named contoso.com and fabrikam.com.

You have a Microsoft account that you use to sign in to both tenants.

You need to configure the default sign-in tenant for the Azure portal.

What should you do?

From the Azure portal, configure the portal settings.
From the Azure portal, configure the portal settings.
From the Azure portal, change the directory.
From the Azure portal, change the directory.
From Azure Cloud Shell, run Set-AzureRmContext.
From Azure Cloud Shell, run Set-AzureRmContext.
From Azure Cloud Shell, run Set-AzureRmSubscription.
From Azure Cloud Shell, run Set-AzureRmSubscription.
Suggested answer: B
Explanation:

The Set-AzureRmContext cmdlet sets authentication information for cmdlets that you run in the current session. The context includes tenant, subscription, and environment information.

Reference:

https://docs.microsoft.com/en-us/powershell/module/azurerm.profile/set-azurermcontext

asked 26/09/2024
Manuel Ortega
47 questions

Question 236

Report Export Collapse

You have two Azure Active Directory (Azure AD) tenants named contoso.com and fabrikam.com.

You have a Microsoft account that you use to sign in to both tenants.

You need to configure the default sign-in tenant for the Azure portal.

What should you do?

From the Azure portal, change the directory.
From the Azure portal, change the directory.
From Azure Cloud Shell, run Set-AzContext.
From Azure Cloud Shell, run Set-AzContext.
From the Azure portal, configure the portal settings.
From the Azure portal, configure the portal settings.
From Azure Cloud Shell, run Select- AzSubscription.
From Azure Cloud Shell, run Select- AzSubscription.
Suggested answer: B
asked 26/09/2024
Arnaldo Martinez 2-30793
46 questions

Question 237

Report Export Collapse

You have an Azure subscription named Subscription1 that contains an Azure virtual network named

VM1. VM1 is in a resource group named RG1.

VM1 runs services that will be used to deploy resources to RG1.

You need to ensure that a service running on VM1 can manage the resources in RG1 by using the identity of VM1.

What should you do first?

From the Azure portal modify the Access control (1AM) settings of VM1.
From the Azure portal modify the Access control (1AM) settings of VM1.
From the Azure portal, modify the Policies settings of RG1.
From the Azure portal, modify the Policies settings of RG1.
From the Azure portal, modify the value of the Managed Service Identity option for VM1.
From the Azure portal, modify the value of the Managed Service Identity option for VM1.
From the Azure portal, modify the Access control (IAM) settings of RG1.
From the Azure portal, modify the Access control (IAM) settings of RG1.
Suggested answer: C
Explanation:

A managed identity from Azure Active Directory allows your app to easily access other AAD protected resources such as Azure Key Vault. The identity is managed by the Azure platform and does not require you to provision or rotate any secrets.

User assigned managed identities can be used on Virtual Machines and Virtual Machine Scale Sets.

Reference:

https://docs.microsoft.com/en-us/azure/app-service/app-service-managed-service-identity

asked 26/09/2024
Ken Wilson
47 questions

Question 238

Report Export Collapse

HOTSPOT

You have an Azure Active Directory (Azure AD) tenant that contains three global administrators named Admin1, Admin2, and Admin3.

The tenant is associated to an Azure subscription. Access control for the subscription is configured as shown in the Access control exhibit. (Click the Exhibit tab.)

Microsoft AZ-104 image Question 205 84730 09262024195642000000

You sign in to the Azure portal as Admin1 and configure the tenant as shown in the Tenant exhibit. (Click the Exhibit tab.)

Microsoft AZ-104 image Question 205 84730 09262024195642000000

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 238 84730 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 238 84730 09262024075642000
Explanation:

They are all Global admins so they can all modify user permission. i.e add self as owner etc.

You can be GA in one of the subscription, it doesn't mean that you can create the resources in all subscription. As a Global Administrator in Azure Active Directory (Azure AD), you might not have access to all subscriptions and management groups in your directory. Azure AD and Azure resources are secured independently from one another. That is, Azure AD role assignments do not grant access to Azure resources, and Azure role assignments do not grant access to Azure AD.

However, if you are a Global Administrator in Azure AD, you can assign yourself access to all Azure subscriptions and management groups in your directory

Reference:

https://docs.microsoft.com/en-gb/azure/role-based-access-control/elevate-access-global-admin

asked 26/09/2024
Sharanjit Kareer
45 questions

Question 239

Report Export Collapse

HOTSPOT

You have an Azure subscription that contains the Azure virtual machines shown in the following table.

Microsoft AZ-104 image Question 206 84731 09262024195642000000

You configure the network interfaces of the virtual machines to use the settings shown in the following table

Microsoft AZ-104 image Question 206 84731 09262024195642000000

From the settings of VNET1, you configure the DNS servers shown in the following exhibit.

Microsoft AZ-104 image Question 206 84731 09262024195642000000

The virtual machines can successfully connect to the DNS server that has an IP address of 192.168.10.15 and the DNS server that has an IP address of 193.77.134.10.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.


Microsoft AZ-104 image Question 239 84731 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 239 84731 09262024075642000
Explanation:

Box 1: Yes

You can specify DNS server IP addresses in the VNet settings. The setting is applied as the default

DNS server(s) for all VMs in the VNet.

Box 2: No

You can set DNS servers per VM or cloud service to override the default network settings.

Box 3: Yes

You can set DNS servers per VM or cloud service to override the default network settings.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq#name-resolution-dns

asked 26/09/2024
ILLIA VELIASEVICH
51 questions

Question 240

Report Export Collapse

You have an Azure virtual machine named VM1.

The network interface for VM1 is configured as shown in the exhibit. (Click the Exhibit tab.)

Microsoft AZ-104 image Question 207 84732 09262024195642000000

You deploy a web server on VM1, and then create a secure website that is accessible by using the HTTPS protocol. VM1 is used as a web server only.

You need to ensure that users can connect to the website from the internet.

What should you do?

Create a new inbound rule that allows TCP protocol 443 and configure the protocol to have a priority of 501.
Create a new inbound rule that allows TCP protocol 443 and configure the protocol to have a priority of 501.
For Rule5, change the Action to Allow and change the priority to 401.
For Rule5, change the Action to Allow and change the priority to 401.
Delete Rule1.
Delete Rule1.
Modify the protocol of Rule4.
Modify the protocol of Rule4.
Suggested answer: B
Explanation:

Rule 2 is blocking HTTPS access (port 443) and has a priority of 500.

Changing Rule 5 (ports 50-5000) and giving it a lower priority number will allow access on port 443.

Note: Rules are processed in priority order, with lower numbers processed before higher numbers, because lower numbers have higher priority. Once traffic matches a rule, processing stops.

Reference:

https://docs.microsoft.com/en-us/azure/virtual-network/security-overview

asked 26/09/2024
Osman Rana
40 questions
Total 659 questions
Go to page: of 66
Search

Related questions