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

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

List of questions

Question 381

Report
Export
Collapse

HOTSPOT

You have an Azure subscription named Subscription1 that contains the resources in the following table.

Microsoft AZ-104 image Question 348 84873 09262024195642000000

VM1 and VM2 run the websites in the following table.

Microsoft AZ-104 image Question 348 84873 09262024195642000000

AppGW1 has the backend pools in the following table.

Microsoft AZ-104 image Question 348 84873 09262024195642000000

DNS resolves site1.contoso.com, site2.contoso.com, and site3.contoso.com to the IP address of

AppGW1.

AppGW1 has the listeners in the following table.

Microsoft AZ-104 image Question 348 84873 09262024195642000000

AppGW1 has the rules in the following table.

Microsoft AZ-104 image Question 348 84873 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 381 84873 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 381 84873 09262024075642000

Explanation:

Vm1 is in Pool1. Rule2 applies to Pool1, Listener 2, and site2.contoso.com

asked 26/09/2024
Christina Lanaski
38 questions

Question 382

Report
Export
Collapse

Your company has a main office in Australia and several branch offices in Asia.

The company's data center uses a VMware virtualization infrastructure to host several virtualized servers.

You purchase an Azure subscription and plan to move all virtual machines to Azure to a resource group in the Australia Southeast location.

You need to create an Azure Migrate migration project.

Which geography should you select?

Central India
Central India
Australia Central
Australia Central
Australia Southeast
Australia Southeast
United States
United States
Suggested answer: C

Explanation:

In Project Details, specify the project name, and geography in which you want to create the project.

Review supported geographies for public and government clouds.

Microsoft AZ-104 image Question 349 explanation 84874 09262024195642000000

Reference:

https://docs.microsoft.com/en-us/azure/migrate/how-to-add-tool-first-time

asked 26/09/2024
Karen Vivanco
29 questions

Question 383

Report
Export
Collapse

HOTSPOT

You have an Azure web app named WebApp1.

You need to provide developers with a copy of WebApp1 that they can modify without affecting the production WebApp1. When the developers finish testing their changes, you must be able to switch the current line version of WebApp1 to the new version.

Which command should you run prepare the environment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 383 84875 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 383 84875 09262024075642000

Explanation:

Box 1: New-AzureRmWebAppSlot

The New-AzureRmWebAppSlot cmdlet creates an Azure Web App Slot in a given a resource group that uses the specified App Service plan and data center.

Box 2: -SourceWebApp

Reference:

https://docs.microsoft.com/en-us/powershell/module/azurerm.websites/new-azurermwebappslot

asked 26/09/2024
michiel van de belt
39 questions

Question 384

Report
Export
Collapse

DRAG DROP

You are configuring serverless computing in Azure.

You need to receive an email message whenever a resource is created in or deleted from a resource group. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Microsoft AZ-104 image Question 384 84876 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 384 84876 09262024075642000

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/event-grid/monitor-virtual-machine-changes-event-gridlogic-app

Action 1: Create an Azure Logic App

Microsoft AZ-104 image Question 351 explanation 84876 09262024195642000000

Action 2: Create an Azure Event Grid Trigger

Microsoft AZ-104 image Question 351 explanation 84876 09262024195642000000

Action 3: Create conditions and actions

Microsoft AZ-104 image Question 351 explanation 84876 09262024195642000000


Reference:

https://docs.microsoft.com/en-us/azure/event-grid/monitor-virtual-machine-changes-event-gridlogic-app

asked 26/09/2024
Martynas Abrutis
39 questions

Question 385

Report
Export
Collapse

DRAG DROP

You have an Azure subscription that contains an Azure Service Bus named Bus1.

Your company plans to deploy two Azure web apps named App1 and App2. The web apps will create messages that have the following requirements:

Each message created by App1 must be consumed by only a single consumer

Each message created by App2 will be consumed by multiple consumers.

Which resource should you create for each web app? To answer, drag the appropriate resources to the correct web apps. Each resource may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 385 84877 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 385 84877 09262024075642000

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topicssubscriptions

asked 26/09/2024
Paul Bryant
30 questions

Question 386

Report
Export
Collapse

HOTSPOT

You have an Azure Service Bus.

You create a queue named Queue1. Queue1 is configured as shown in the following exhibit.

Microsoft AZ-104 image Question 353 84878 09262024195642000000

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Microsoft AZ-104 image Question 386 84878 09262024075642000
Correct answer: Microsoft AZ-104 image answer Question 386 84878 09262024075642000

Explanation:

Box 1: retained until manually deleted

Since by default PeekLock shall be enabled in Queue, so it will move to DeadLetter after 2hours and stays there until manually deleted. Messages in the dead letter queue should be deleted manually.

Box 2: deleted immediately

Once a message is pulled, it will be deleted immediately. It does not make sense to keep the message further 5 minutes "locked" in the queue. Locking the message makes sense, for the case, when processing the message from a receiver, to lock the message, to avoid processing/receiving the message simultaneously by another receiver.

The receiving client initiates settlement of a received message with a positive acknowledgment when it calls Complete at the API level. This indicates to the broker that the message has been successfully processed and the message is removed from the queue or subscription.

Reference:

https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-expiration

https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-transfers-locks-settlement

asked 26/09/2024
Irving Indian
30 questions

Question 387

Report
Export
Collapse

You are configuring Azure Active Directory (AD) Privileged Identity Management.

You need to provide a user named Admm1 with read access to a resource group named RG1 for only one month.

The user role must be assigned immediately.

What should you do?

Assign an active role.
Assign an active role.
Assign an eligible role.
Assign an eligible role.
Assign a permanently active role.
Assign a permanently active role.
Create a custom role and a conditional access policy.
Create a custom role and a conditional access policy.
Suggested answer: B

Explanation:

Azure AD Privileged Identity Management introduces the concept of an eligible admin. Eligible admins should be users that need privileged access now and then, but not all-day, every day. The role is inactive until the user needs access, then they complete an activation process and become an active admin for a predetermined amount of time.

Reference:

https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/pimconfigure

asked 26/09/2024
Barbara Bailey
42 questions

Question 388

Report
Export
Collapse

You have an Azure App Service plan named AdatumASP1 that hosts several Azure web apps.

You discover that the web apps respond slowly.

You need to provide additional memory and CPU resources to each instance of the web apps.

What should you do?

Add continues WebJob that use the multi-instance scale
Add continues WebJob that use the multi-instance scale
Scale out AdatumASP1
Scale out AdatumASP1
Add a virtual machine scale set
Add a virtual machine scale set
Scale up AdatumASP1
Scale up AdatumASP1
Suggested answer: D

Explanation:

Reference:

https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/app-service/web-sites-scale.md

Scale up : Correct Choice

Scale up: Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates, staging slots, autoscaling, and more. You scale up by changing the pricing tier of the App Service plan that your app belongs to.

Scale out : Incorrect Choice

Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances, depending on your pricing tier. App Service Environments in Isolated tier further increases your scale-out count to 100 instances. For more information about scaling out, see Scale instance count manually or automatically.

Add continuous WebJobs : Incorrect Choice

WebJobs is a feature of Azure App Service that enables you to run a program or script in the same instance as a web app, API app, or mobile app. Add continuous WebJobs will Starts immediately when the WebJob is created. To keep the job from ending, the program or script typically does its work inside an endless loop. If the job does end, you can restart it.Starts only when triggered manually or on a schedule.

Add a virtual machine scale set : Incorrect Choice

A virtual machine scale set allows you to deploy and manage a set of identical, autoscaling virtual machines. You can scale the number of VMs in the scale set manually. You can also define rules to autoscale based on resource usage such as CPU, memory demand, or network traffic. It will not increase the slowness of the apps.

Reference:

https://docs.microsoft.com/en-us/azure/app-service/manage-scale-up

https://docs.microsoft.com/en-us/azure/app-service/webjobs-create#webjob-types

asked 26/09/2024
Vasco Ricardo Ribeiro
30 questions

Question 389

Report
Export
Collapse

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

Microsoft AZ-104 image Question 356 84881 09262024195642000000

You need to deploy Application1 to Cluster1.

Which command should you run?

az acr build
az acr build
az aks create
az aks create
docker build
docker build
kubectl apply
kubectl apply
Suggested answer: A
asked 26/09/2024
Cesar Augusto Veliz Reyes
44 questions

Question 390

Report
Export
Collapse

Note: This question is part of a series of questions that present the same scenario. 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 virtual machine named VM1 that runs Windows Server 2016.

You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.

Solution: You create an Azure storage account and configure shared access signatures (SASs). You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the storage account as the source.

Does this meet the goal?

Yes
Yes
No
No
Suggested answer: B

Explanation:

Instead: You create an Azure Log Analytics workspace and configure the data settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the Log

Analytics workspace as the source.

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview

asked 26/09/2024
Markus Hechtl
35 questions
Total 659 questions
Go to page: of 66
Search

Related questions