πŸ”

AZ-104 β€” questions

Page 17 of 18 Β· 350 total questions.

Topic 6 Β· Question 488

You have an Azure Active Directory (Azure AD) tenant that is linked to 10 Azure subscriptions. You need to centrally monitor user activity across all the subscriptions. What should you use?

  • AAzure Application Insights Profiler
  • Baccess reviews
  • CActivity log filters
  • Da Log Analytics workspace (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: a Log Analytics workspace

Explanation

Log Analytics queries collected logs and metrics to investigate and alert on resource behavior.

Topic 6 Β· Question 490

You have a subnet named Subnet1 that contains Azure virtual machines. A network security group (NSG) named NSG1 is associated to Subnet1. NSG1 only contains the default rules. You need to create a rule in NSG1 to prevent the hosts on Subnet1 form connecting to the Azure portal. The hosts must be able to connect to other internet hosts. To what should you set Destination in the rule?

  • AApplication security group
  • BIP Addresses
  • CService Tag (correct answer)
  • DAny
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Service Tag.

Topic 6 Β· Question 491

You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1. You need to view the error events from a table named Event. Which query should you run in Workspace1?

  • Asearch in (Event) "error" (correct answer)
  • BEvent | where EventType is "error"
  • Cselect * from Event where EventType == "error"
  • DGet-Event Event | where {$_.EventType == "error"}
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: search in (Event) "error".

Topic 6 Β· Question 492

You have an Azure App Service web app named App1. You need to collect performance traces for App1. What should you use?

  • AAzure Application Insights Profiler (correct answer)
  • Bthe Activity log
  • Cthe Deployment center
  • Dthe Diagnose and solve problems settings
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Azure Application Insights Profiler

Explanation

Application Insights provides application performance monitoring and diagnostics for apps.

Topic 6 Β· Question 493

You have an Azure subscription that contains the storage accounts shown in the following table. You deploy a web app named App1 to the West US Azure region. You need to back up App1. The solution must minimize costs. Which storage account should you use as the target for the backup?

Exhibit 1 for question 493
  • Astorage1
  • Bstorage2 (correct answer)
  • Cstorage3
  • Dstorage4
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: storage2 This option delivers the requirement at the lowest cost.

Topic 6 Β· Question 495

You have an Azure subscription that contains eight virtual machines and the resources shown in the following table. You need to configure access for VNET1. The solution must meet the following requirements: β€’ The virtual machines connected to VNET1 must be able to communicate with the virtual machines connected to VNET2 by using the Microsoft backbone. β€’ The virtual machines connected to VNET1 must be able to access storage1, storage2, and Azure AD by using the Microsoft backbone. What is the minimum number of service endpoints you should add to VNET1?

Exhibit 1 for question 495
  • A1
  • B2 (correct answer)
  • C3
  • D5
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: 2.

Topic 6 Β· Question 496

You need to configure an Azure web app named contoso.azurewebsites.net to host www.contoso.com. What should you do first?

  • ACreate A records named www.contoso.com and asuid.contoso.com.
  • BCreate a TXT record named asuid that contains the domain verification ID. (correct answer)
  • CCreate a CNAME record named asuid that contains the domain verification ID.
  • DCreate a TXT record named www.contoso.com that has a value of contoso.azurewebsites.net.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Create a TXT record named asuid that contains the domain verification ID.

Topic 6 Β· Question 497

You have an Azure subscription that contains 10 network security groups (NSGs), 10 virtual machines, and a Log Analytics workspace named Workspace1. Each NSG is connected to a virtual machine. You need to configure an Azure Monitor Network Insights alert that will be triggered when suspicious network traffic is detected. What should you do first?

  • ADeploy Connection Monitor.
  • BConfigure data collection endpoints.
  • CConfigure a private link.
  • DConfigure NSG flow logs. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configure NSG flow logs.

Explanation

A Network Security Group (NSG) applies allow/deny rules to control traffic at the subnet or NIC level.

Topic 6 Β· Question 499

You have an Azure subscription that contains a storage account named storage1 in the North Europe Azure region. You need to ensure that when blob data is added to storage1, a secondary copy is created in the East US region. The solution must minimize administrative effort. What should you configure?

  • Aoperational backup
  • Bobject replication (correct answer)
  • Cgeo-redundant storage (GRS)
  • Da lifecycle management rule
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: object replication.

Topic 6 Β· Question 500

You have an Azure subscription that contains two Log Analytics workspaces named Workspace1 and Workspace2 and 100 virtual machines that run Windows Server. You need to collect performance data and events from the virtual machines. The solution must meet the following requirements: β€’ Logs must be sent to Workspace1 and Workspace 2. β€’ All Windows events must be captured. β€’ All security events must be captured. What should you install and configure on each virtual machine?

  • Athe Azure Monitor agent (correct answer)
  • Bthe Windows Azure diagnostics extension (WAD)
  • Cthe Windows VM agent
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: the Azure Monitor agent

Explanation

Azure Monitor collects metrics and logs across resources for observability and alerting.

Topic 6 Β· Question 501 Β· Select all that apply

You deploy Azure virtual machines to three Azure regions Each region contains a virtual network. Each virtual network contains multiple subnets peered in a full mesh topology. Each subnet contains a network security group (NSG) that has defined rules. A user reports that he cannot use port 33000 to connect from a virtual machine in one region to a virtual machine in another region. Which two options can you use to diagnose the issue? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • AAzure Virtual Network Manager
  • BIP flow verify (correct answer)
  • CAzure Monitor Network Insights
  • DConnection troubleshoot (correct answer)
  • Eelective security rules
Reveal answer & explanation
Correct answer: B, D

The correct answer is B, D. Option B: IP flow verify Option D: Connection troubleshoot.

Topic 6 Β· Question 505

You have an Azure subscription. The subscription contains virtual machines that connect to a virtual network named VNet1. You plan to configure Azure Monitor for VM Insights. You need to ensure that all the virtual machines only communicate with Azure Monitor through VNet1. What should you create first?

  • Aa data collection rule (DCR)
  • Ba Log Analytics workspace
  • Can Azure Monitor Private Link Scope (AMPLS) (correct answer)
  • Da private endpoint
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: an Azure Monitor Private Link Scope (AMPLS)

Explanation

Azure Private Link exposes services privately inside the VNet without public internet exposure. Azure Monitor collects metrics and logs across resources for observability and alerting.

Topic 6 Β· Question 507

You have an Azure subscription that contains an Azure Stream Analytics job named Job1. You need to monitor input events for Job1 to identify the number of events that were NOT processed. Which metric should you use?

  • AOut-of-Order Events
  • BOutput Events
  • CLate Input Events
  • DBacklogged Input Events (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Backlogged Input Events.

Topic 6 Β· Question 508

You have an Azure subscription that contains an Azure SQL database named DB1. You plan to use Azure Monitor to monitor the performance of DB1. You must be able to run queries to analyze log data. Which destination should you configure in the Diagnostic settings of DB1?

  • ASend to a Log Analytics workspace. (correct answer)
  • BArchive to a storage account.
  • CStream to an Azure event hub.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Send to a Log Analytics workspace.

Explanation

Log Analytics queries collected logs and metrics to investigate and alert on resource behavior.

Topic 6 Β· Question 509

You have an Azure subscription. The subscription contains virtual machines that run Windows Server. You have a data collection rule (DCR) named Rule1. You plan to use the Azure Monitor Agent to collect events from Windows System event logs. You only need to collect system events that have an ID of 1001. Which type of query should you use for the data source in Rule1?

  • ASQL
  • BXPath (correct answer)
  • CKQL
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: XPath.

Topic 6 Β· Question 510

You have an Azure subscription that contains a virtual machine named VM1. You have an on-premises datacenter that contains a domain controller named DC1. ExpressRoute is used to connect the on-premises datacenter to Azure. You need to use Connection Monitor to identify network latency between VM1 and DC1. What should you install on DC1?

  • Athe Azure Connected Machine agent for Azure Arc-enabled servers
  • Bthe Azure Network Watcher Agent virtual machine extension
  • Cthe Log Analytics agent
  • Dan Azure Monitor agent extension (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: an Azure Monitor agent extension

Explanation

Azure Monitor collects metrics and logs across resources for observability and alerting.

Topic 6 Β· Question 511

You have an Azure subscription that has Traffic Analytics configured. You deploy a new virtual machine named VM1 that has the following settings: β€’ Region: East US β€’ Virtual network: VNet1 β€’ NIC network security group: NSG1 You need to monitor VM1 traffic by using Traffic Analytics. Which settings should you configure?

  • ADiagnostic settings for VM1
  • BNSG flow logs for NSG1 (correct answer)
  • CDiagnostic settings for NSG1
  • DInsights for VM1
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: NSG flow logs for NSG1

Explanation

A Network Security Group (NSG) applies allow/deny rules to control traffic at the subnet or NIC level.

Topic 6 Β· Question 512

You have an Azure subscription. The subscription contains 10 virtual machines that run Windows Server. Each virtual machine hosts a website in IIS and has the Azure Monitor Agent installed. You need to collect the IIS logs from each virtual machine and store them in a Log Analytics workspace. What should you configure first?

  • Aa data collection endpoint
  • Ban Azure Monitor Private Link Scope (AMPLS)
  • CDiagnostic settings (correct answer)
  • DVM insights
  • Ea private endpoint
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Diagnostic settings.

Topic 6 Β· Question 514 Β· Select all that apply

You have an Azure subscription that contains multiple virtual machines in the West US Azure region. You need to use Traffic Analytics in Azure Network Watcher to monitor virtual machine traffic. Which two resources should you create? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • Aa Log Analytics workspace (correct answer)
  • Ban Azure Monitor workbook
  • Ca storage account
  • Da Microsoft Sentinel workspace
  • Ea Data Collection Rule (DCR) in Azure Monitor (correct answer)
Reveal answer & explanation
Correct answer: A, E

The correct answer is A, E. Option A: a Log Analytics workspace Option E: a Data Collection Rule (DCR) in Azure Monitor

Explanation

Azure Monitor collects metrics and logs across resources for observability and alerting. Log Analytics queries collected logs and metrics to investigate and alert on resource behavior.

Topic 6 Β· Question 515

You have an Azure subscription that contains a virtual machine named VM1. You plan to deploy an Azure Monitor alert rule that will trigger an alert when CPU usage on VM1 exceeds 80 percent. You need to ensure that the alert rule sends an email message to two users named User1 and User2. What should you create for Azure Monitor?

  • Aan action group (correct answer)
  • Ba mail-enabled security group
  • Ca distribution group
  • Da Microsoft 365 group
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: an action group.

Showing questions 321–340 of 350 Β· Page 17 of 18