Tüm alıştırma soruları

1252 soru

Soru 921Soru

An administrator deploys the Azure Monitor agent to a virtual machine named VM-Prod1. The administrator needs to write a Kusto Query Language (KQL) query to retrieve all heartbeat events recorded for VM-Prod1 within the last hour. Which KQL query should you run?

Cevabı ve açıklamayı göster

Cevap: Heartbeat | where TimeGenerated > ago(1h) and Computer == "VM-Prod1"

Cevap

Heartbeat | where TimeGenerated > ago(1h) and Computer == "VM-Prod1"
The correct query targets the Heartbeat table, filters logs from the last hour using 'where TimeGenerated > ago(1h)', and performs an equality comparison on the Computer column using the double equals (==) operator.

Adım Adım Çözüm

1
Identify the correct database table that stores agent heartbeats in Log Analytics.
The 'Heartbeat' table is selected because it stores the connectivity status of virtual machines, whereas 'AzureDiagnostics' is used for Azure resource resource-specific diagnostic logs.
Selecting the correct table ensures the query targets the correct log type.
2
Apply the correct row filter operator in KQL.
The 'where' operator is selected to filter the logs.
KQL does not support a 'filter' operator for filtering rows.
3
Select the correct equality operator for comparisons.
The double equals operator '==' is used.
Using a single equals sign in a 'where' clause results in a syntax error because '=' is reserved for assignment operations.

Anahtar Kavram

Selecting the correct table and basic query operators in KQL for Azure Monitor VM heartbeats.
Tahmini Süre:45s
Soru 922Soru

An administrator is planning the deployment of two web applications to Azure App Service. You need to configure a separate App Service plan for each application. The hosting requirements for the applications are as follows:

* App1: Requires a minimum of 33 deployment slots, automatic scaling up to 1010 instances, and daily automated backups.
* App2: Requires a custom domain name with SSL binding and manual scaling up to 33 instances. It does not require deployment slots, automatic scaling, or backups.

You must minimize hosting costs.

Which two pricing tiers should you select? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Standard (S1S1) for App1; Basic (B1B1) for App2

Cevap

You should select Standard (S1S1) for App1 and Basic (B1B1) for App2 to minimize costs while meeting all configuration requirements.
The correct options are Standard (S1S1) for App1 and Basic (B1B1) for App2. The Standard (S1S1) tier is the cheapest dedicated tier that provides deployment slots (up to 55) and autoscaling capabilities (up to 1010 instances), which are required for App1. The Basic (B1B1) tier is the cheapest dedicated tier that supports custom domains with SSL bindings and manual scaling up to 33 instances, meeting all requirements for App2 at the lowest cost.

Adım Adım Çözüm

1
Analyze the requirements for App1.
App1 requires a minimum of 33 deployment slots, autoscaling up to 1010 instances, and daily backups. The Free (F1F1), Shared (D1D1), and Basic (B1B1) tiers do not support deployment slots or autoscaling. The Standard (S1S1) tier supports up to 55 slots, autoscaling up to 1010 instances, and up to 1010 backups per day. The Premium (P1v3P1v3) tier also supports these features but at a higher cost. Therefore, Standard (S1S1) is the most cost-effective option for App1.
Identify the minimum pricing tier that supports deployment slots, autoscaling, and backups for App1.
2
Analyze the requirements for App2.
App2 requires a custom domain with SSL binding and manual scaling up to 33 instances. The Free (F1F1) tier does not support custom domains or SSL bindings. The Shared (D1D1) tier supports custom domains but does not support SSL bindings or manual scaling beyond a single shared instance. The Basic (B1B1) tier supports custom domains, SSL bindings, and manual scaling up to 33 instances. Therefore, Basic (B1B1) is the most cost-effective option for App2.
Identify the minimum pricing tier that supports custom domains, SSL bindings, and manual scaling to 33 instances for App2.

Anahtar Kavram

Selecting the most cost-effective App Service plan pricing tier based on scale-out limits, deployment slots, custom domains, and SSL requirements.
Soru 923Soru

You are planning the deployment of a new workload in Azure. You have an Azure virtual network named `vnet-manufacturing` with an address space of 10.150.0.0/1610.150.0.0/16. You create a subnet named `snet-assembly` with an address prefix of 10.150.10.0/2910.150.10.0/29. You need to deploy 44 virtual machines in `snet-assembly` that each require a dedicated private IP address.

Statement: The 10.150.10.0/2910.150.10.0/29 subnet address space is sufficient to host the 44 virtual machines.

Cevabı ve açıklamayı göster

Cevap: False

Cevap

The statement is false. An Azure subnet with a /29/29 prefix provides 88 total IP addresses. Since Azure reserves five IP addresses in every subnet, only 33 IP addresses are usable, which is insufficient for 44 virtual machines.
The statement is false. In Azure, every subnet reserves five IP addresses: the first four addresses and the last address. For a /29/29 subnet, the total number of IP addresses is 88. Subtracting the 55 reserved addresses leaves only 33 usable IP addresses. This is not enough to support the 44 required virtual machines.

Adım Adım Çözüm

1
Calculate the total number of IP addresses in a /29/29 subnet.
A /29/29 subnet contains 23229=23=82^{32-29} = 2^3 = 8 total IP addresses.
Determining the total IP address space of the subnet.
2
Subtract the number of Azure reserved IP addresses.
There are 85=38 - 5 = 3 usable IP addresses.
Azure reserves five IP addresses in every subnet: the first four IPs and the last IP.
3
Compare the number of usable IP addresses to the requirements.
33 usable IP addresses are less than the 44 required IP addresses.
To verify if the subnet can host the specified number of virtual machines.

Anahtar Kavram

Azure Virtual Network subnet size calculations and reserved IP addresses
Soru 924Soru

You have an Azure Virtual Network Gateway named VNetGW1. You need to ensure that the platform metrics and resource logs for VNetGW1 are collected and routed to a Log Analytics workspace. What should you configure on VNetGW1?

Cevabı ve açıklamayı göster

Cevap: A diagnostic setting

Cevap

A diagnostic setting
To collect and route resource-specific telemetry (such as platform metrics and resource logs) to a destination like a Log Analytics workspace, you must create a diagnostic setting on that specific resource.

Adım Adım Çözüm

1
Identify the type of telemetry to collect and route.
The requirement is to collect platform metrics and resource logs for a specific resource (VNetGW1).
Different monitoring features collect different types of data.
2
Determine the proper mechanism for routing resource-level telemetry.
Diagnostic settings are configured at the resource level to route resource logs and platform metrics to destinations.
Diagnostic settings link the source resource's diagnostic logs and metrics to a destination such as a Log Analytics workspace.

Anahtar Kavram

Azure Monitor Diagnostic Settings enable the routing of platform metrics and resource logs from individual Azure resources to destinations like Log Analytics workspaces, Azure Storage, or Event Hubs.
Soru 925Soru

An administrator needs to deploy a containerized application to Azure Container Instances (ACI) to run a one-time data migration script. The application will perform the migration and then exit. The container group must be deployed into an Azure virtual network to access a private database. Which configuration should the administrator use for the deployment?

Cevabı ve açıklamayı göster

Cevap: Set the restart policy to Never, and deploy the container group to a subnet delegated to Microsoft.ContainerInstance/containerGroups.

Cevap

Set the restart policy to Never, and deploy the container group to a subnet delegated to Microsoft.ContainerInstance/containerGroups.
For a one-time task that executes a script and exits, the restart policy must be set to Never (or OnFailure) to prevent the container from restarting continuously. Additionally, deploying Azure Container Instances (ACI) into an Azure virtual network requires deploying the container group into a dedicated subnet delegated to Microsoft.ContainerInstance/containerGroups.

Adım Adım Çözüm

1
Determine the appropriate restart policy for a one-time migration task.
The restart policy must be set to Never or OnFailure so that the container does not restart indefinitely upon successful completion.
Using Always would cause ACI to continuously restart the container after the script finishes, wasting compute resources.
2
Determine the network requirements for deploying Azure Container Instances into a virtual network.
The destination subnet must be dedicated to ACI and delegated to the Microsoft.ContainerInstance/containerGroups service.
Azure requires subnet delegation to allow the container group to be injected into the virtual network and receive private IP addresses.

Anahtar Kavram

Azure Container Instances virtual network deployment and restart policy configuration
Tahmini Süre:1m 30s
Soru 926Soru

You manage an Azure subscription that contains an Azure Key Vault named `KeyVault1` and an Azure App Service web app named `WebApp1` in the East US region. You must configure diagnostic settings to meet the following logging requirements:
- Audit logs for all cryptographic key operations in `KeyVault1` must be retained for exactly 365 days.
- HTTP server logs from `WebApp1` must be streamed to a non-Azure security information and event management (SIEM) system in near real-time.

Which of the following configuration actions should you perform? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Create a diagnostic setting on `WebApp1` to send `AppServiceHTTPLogs` to an Azure Event Hubs namespace.; Create a diagnostic setting on `KeyVault1` to send `AuditEvent` logs to an Azure storage account, and configure a lifecycle management policy on the storage account.

Cevap

Create a diagnostic setting on the web app to send HTTP logs to an Event Hubs namespace, and create a diagnostic setting on the Key Vault to send audit logs to a storage account managed by a lifecycle policy.
To satisfy the requirements, the App Service HTTP logs must be routed to an Azure Event Hubs namespace to allow near real-time ingestion by the non-Azure SIEM. The Key Vault audit logs, containing cryptographic key operations, are routed to a storage account where a lifecycle management policy controls the exact 365-day retention. This matches current Azure Monitor capabilities where the built-in diagnostic setting retention slider is retired.

Adım Adım Çözüm

1
Analyze the web app logging destination requirement.
Real-time streaming to a non-Azure SIEM system requires an Event Hubs integration.
Log Analytics and Storage Accounts do not support direct, real-time push integration with external third-party SIEM systems without intermediary services, whereas Event Hubs is built for this.
2
Analyze the Key Vault retention requirement.
Determine that the `AuditEvent` category must be sent to a storage account with a lifecycle management policy.
Microsoft has retired the retention settings (days slider) directly within diagnostic settings. Therefore, to enforce a specific retention period like 365 days on archived logs, you must write the logs to a storage account and enforce the retention period via storage lifecycle rules.
3
Evaluate and rule out incorrect options.
Eliminate configurations utilizing the deprecated retention slider or using Log Analytics for external SIEM integration.
This avoids deploying invalid configurations and ensures the solution aligns with current Azure platform behavior.

Anahtar Kavram

Azure Monitor Diagnostic Settings Destinations and Retention
Tahmini Süre:3m 0s
Soru 927Soru

An administrator is troubleshooting performance and connectivity issues for an Azure Application Gateway named AppGW1. Diagnostic settings are configured to send logs to a Log Analytics workspace.

The administrator needs to write a KQL query to find the total count of requests that resulted in an HTTP status code of 502502 (Bad Gateway) over the last 2424 hours, grouped by the requested URI.

Which KQL query should the administrator run?

Cevabı ve açıklamayı göster

Cevap: AGWAccessLogs
| where TimeGenerated > ago(24h)
| where httpStatus == 502
| summarize count() by requestUri

Cevap

The correct query is the one that targets the AGWAccessLogs table, filters by TimeGenerated > ago(24h) and httpStatus == 502, and aggregates the count of requests by requestUri.
The correct query retrieves data from the AGWAccessLogs table, which holds the HTTP request logs of the Application Gateway. It correctly filters records from the last 2424 hours and where the HTTP status code matches 502502. It then aggregates the count of those records grouped by the requestUri column using standard KQL operators.

Adım Adım Çözüm

1
Identify the correct Azure Monitor log source table for Application Gateway request traffic.
The correct table is AGWAccessLogs because HTTP status codes and URL paths are data-plane metrics. The AzureActivity table is incorrect because it only records control-plane actions.
Using the appropriate log source table ensures the required telemetry fields (httpStatus, requestUri) are accessible.
2
Apply filtering operators for time and HTTP status code.
Apply the filters using '| where TimeGenerated > ago(24h)' and '| where httpStatus == 502'.
Filtering records as early as possible in the KQL pipeline optimizes execution performance and ensures data is filtered before aggregation.
3
Perform aggregation and grouping using KQL syntax.
Apply '| summarize count() by requestUri' to aggregate the results.
The summarize operator is the standard KQL operator used to group records and execute aggregation functions like count().

Anahtar Kavram

Log Analytics KQL query design for Azure resource diagnostic logs, focusing on correct table selection, pipeline operator ordering, and aggregation syntax.
Soru 928Soru

Your organization uses an Azure Application Gateway v2 to route traffic for a web application. You enable diagnostic logging for the Application Gateway and route the logs to a Log Analytics workspace. The logs are collected in the resource-specific AGWAccessLogs table.

You need to write a Kusto Query Language (KQL) query to identify the top 55 request URIs that experienced the highest average backend response time for requests resulting in server-side errors (HTTP status codes in the 5xx5\text{xx} range) over the last 2424 hours.

Which of the following KQL queries will return the correct results? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: AGWAccessLogs
| where TimeGenerated > ago(24h)
| where toint(httpStatus) >= 500 and toint(httpStatus) < 600
| summarize AvgResponseTime = avg(backendResponseTime) by requestUri
| top 5 by AvgResponseTime desc; AGWAccessLogs
| where TimeGenerated > ago(1d)
| where httpStatus startswith "5"
| summarize AvgResponseTime = avg(backendResponseTime) by requestUri
| order by AvgResponseTime desc
| take 5

Cevap

The KQL queries that cast httpStatus to an integer before comparison or use string prefix matching with startswith, and correctly group by requestUri before sorting and taking the top 55 records.
To retrieve the requested data, the query must account for the string data type of httpStatus in the AGWAccessLogs table. This is achieved either by casting the status code to an integer using toint() or by using the startswith operator. Furthermore, to find the slowest URIs, the query must group the average backend response time by requestUri and then sort the results in descending order, returning the top 55 records using either top or take.

Adım Adım Çözüm

1
Analyze the table schema requirements.
Identify that the httpStatus field in AGWAccessLogs is a string type, while backendResponseTime is a numerical type.
This determines how type conversion or matching must be handled for filtering and aggregation.
2
Filter for the time window and server errors.
Use TimeGenerated > ago(24h) or ago(1d). Filter HTTP 5xx errors by either casting httpStatus to integer using toint() and evaluating if it is between 500 and 599, or checking if the string starts with '5'.
Direct comparison of string fields with integer literals will fail to execute in KQL.
3
Aggregate and group the backend response time.
Use summarize AvgResponseTime = avg(backendResponseTime) by requestUri.
Grouping by requestUri is necessary to calculate the average response time per unique URI instead of a single global average.
4
Sort and retrieve the top results.
Apply 'top 5 by AvgResponseTime desc' or combine 'order by AvgResponseTime desc' with 'take 5'.
This retrieves exactly the top 5 URIs with the highest average response times.

Anahtar Kavram

Querying resource-specific logs using KQL, understanding column types (string vs. numerical), performing aggregations with summarize, and limiting results using top or take.
Soru 929Soru

An administrator manages an Azure virtual machine named VM-App01 that is backed up to a Recovery Services vault. VM-App01 is configured with two network interface cards (NICs), and its primary network interface is associated with the backend pool of an internal Azure Load Balancer. Following a guest operating system corruption, the administrator needs to restore VM-App01 from a backup recovery point. The restored virtual machine must retain both network interfaces and its load balancer association. Which restore option should the administrator use?

Cevabı ve açıklamayı göster

Cevap: Restore the virtual machine disks to a storage account, and then deploy a new virtual machine using the provided template while specifying the multiple network interfaces and load balancer configuration.

Cevap

Restore the virtual machine disks to a storage account, and then deploy a new virtual machine using the provided template while specifying the multiple network interfaces and load balancer configuration.
Restoring the virtual machine's disks to a storage account (Restore Disks option) is necessary because the default Azure portal restore configurations (Create New and Replace Existing) do not support virtual machines with multiple network interfaces (NICs) or those associated with an Azure Load Balancer. Once the disks are restored as managed disks, you receive a deployment template that can be used or customized to recreate the virtual machine with its original network configurations and load balancer backend pool attachments.

Adım Adım Çözüm

1
Evaluate the restore requirements and limitations of the target virtual machine configuration.
Identify that the virtual machine uses multiple network interface cards (NICs) and is associated with an Azure Load Balancer, which are configurations unsupported by both 'Create New VM' and 'Replace Existing' portal restore paths.
Azure Backup limits the direct portal-based VM recreation and replacement options to simpler virtual machine architectures.
2
Select the 'Restore Disks' recovery option in the Azure portal and specify a target storage account.
Azure Backup restores the virtual machine's virtual hard disks (VHDs) as managed disks and generates a deployment template in the selected storage account.
Restoring disks allows the administrator to decouple disk recovery from virtual machine provisioning, enabling custom configurations.
3
Deploy the virtual machine using the generated template, configuring the multiple network interfaces and load balancer backend pool bindings.
The virtual machine is successfully recreated in its original architecture with all networking settings intact.
The custom deployment template or PowerShell deployment commands allow specifying the multi-NIC and load balancer properties that the basic portal wizard does not support.

Anahtar Kavram

Selecting the correct Azure VM restore method based on virtual machine configuration limits (multiple NICs, load balancers).
Tahmini Süre:1m 30s
Soru 930Soru

Your company has an Azure subscription containing a resource group named rg-prod-data. The resource group contains an Azure Storage account named stdataexchange.

You have a Microsoft Entra ID group named Finance-Analysts. A business analyst named Pat is a member of the Finance-Analysts group.

To comply with corporate security standards, access key authentication is disabled on stdataexchange.

You need to configure permissions so that the members of the Finance-Analysts group can perform the following actions:
- Search for and open the stdataexchange storage account in the Azure portal.
- View the networking and firewall settings of stdataexchange.
- Browse and download files from a blob container named incoming-transmissions within the storage account using the Azure portal.

The solution must follow the principle of least privilege.

Which two Azure Role-Based Access Control (RBAC) roles should you assign to the Finance-Analysts group?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Reader; Storage Blob Data Reader

Cevap

Reader and Storage Blob Data Reader
To browse and download blobs in the Azure portal under the principle of least privilege, two roles are required. First, the control-plane Reader role must be assigned at the storage account level (or higher) to allow users to search for the storage account, open it in the Azure portal, and view its configuration settings (such as firewalls and networks). Second, the data-plane Storage Blob Data Reader role must be assigned to allow users to read and download the blobs using Microsoft Entra ID authentication, which is necessary since access keys are disabled.

Adım Adım Çözüm

1
Determine the role required to navigate the Azure portal and view storage account configuration.
The control-plane Reader role allows group members to search for and view the storage account and its settings in the Azure portal.
Data-plane roles do not provide access to view the resource metadata or configuration settings in the Azure portal; a control-plane role is required.
2
Determine the role required to download files from the blob container using Entra ID authentication.
The Storage Blob Data Reader role grants read-only access to the blob data.
Since access key authentication is disabled, data access must be authenticated using Microsoft Entra ID. The Storage Blob Data Reader role provides the necessary data-plane access while adhering to the principle of least privilege.

Anahtar Kavram

Separation of control plane and data plane RBAC roles for Azure Storage authentication.
Tahmini Süre:1m 30s
Soru 931Soru

Your organization's Azure infrastructure is structured as follows:
- Management Group: `MG-Core`
- Subscription: `Sub-Production`
- Resource Group: `RG-Networking` (contains a Virtual Network named `VNet-Prod` and three Network Security Groups)
- Resource Group: `RG-SecOps` (contains an Azure Key Vault and an Azure Firewall)

You have a Microsoft Entra ID group named `Net-Auditors`.

You need to assign Azure RBAC roles to `Net-Auditors` to meet the following requirements:
1. Members of `Net-Auditors` must be able to view all resource configurations and metrics across the entire `Sub-Production` subscription.
2. Members of `Net-Auditors` must be able to associate the existing Network Security Groups in `RG-Networking` to subnets in `VNet-Prod`.
3. The solution must minimize permissions (least privilege).

Which two role assignments should you configure? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Assign the `Reader` role to `Net-Auditors` at the `Sub-Production` subscription scope.; Assign the `Network Contributor` role to `Net-Auditors` at the `RG-Networking` resource group scope.

Cevap

Assign the `Reader` role to `Net-Auditors` at the `Sub-Production` subscription scope, and assign the `Network Contributor` role to `Net-Auditors` at the `RG-Networking` resource group scope.
To satisfy the requirement of viewing all resource configurations and metrics across the entire subscription, the `Reader` role must be assigned to the `Net-Auditors` group at the subscription scope. To satisfy the requirement of linking Network Security Groups to subnets within the virtual network `VNet-Prod` while adhering to the principle of least privilege, the `Network Contributor` role must be assigned at the resource group scope (`RG-Networking`). Since both the Virtual Network and the NSGs reside in `RG-Networking`, assigning the role at this scope provides the necessary write actions (`Microsoft.Network/virtualNetworks/subnets/join/action` and `Microsoft.Network/networkSecurityGroups/join/action`) without granting administrative rights over resources in other resource groups, such as the Azure Firewall in `RG-SecOps`.

Adım Adım Çözüm

1
Determine the role required to view all configurations and metrics across the entire subscription.
Assigning the `Reader` role at the subscription scope allows full read access to all resources and metrics without allowing any modifications.
This satisfies the requirement to view resource configurations subscription-wide.
2
Determine the role and scope required to link Network Security Groups to subnets.
Linking an NSG to a subnet requires write permissions on the subnet and the NSG. The `Network Contributor` role grants these network management privileges.
This role is necessary for subnet and network associations.
3
Identify the narrowest scope that covers the required network resources to enforce least privilege.
Since both the virtual network (`VNet-Prod`) and the NSGs are located in the `RG-Networking` resource group, assigning `Network Contributor` at the `RG-Networking` scope restricts the write access to only those resources, avoiding higher-level subscription access or access to the Azure Firewall in the `RG-SecOps` resource group.
This adheres to the principle of least privilege.

Anahtar Kavram

Azure Role-Based Access Control (RBAC) Scopes and built-in roles
Soru 932Soru

A production virtual machine in your Azure environment is experiencing severe operating system corruption after a patch installation. You must restore the virtual machine from a recent backup point. The recovery process must preserve the virtual machine's existing network interface card (NIC), internal IP address configurations, and resource identifiers to avoid breaking connections with other services.

Which of the following steps are required to achieve this goal using the most direct restore method? (Select two.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Choose the restore option that replaces the disks of the current virtual machine.; Ensure the target virtual machine is in a stopped and deallocated state before starting the recovery.

Cevap

To preserve the virtual machine's existing network interfaces, IP configurations, and resource identifiers while minimizing configuration overhead, you should choose the option to replace the disks of the current virtual machine, and ensure that the target virtual machine is stopped and deallocated before starting the restore.
The option to replace the disks of the current virtual machine swaps the corrupt disks with the backed-up disks, preserving the VM's hardware profile, NIC, private IP addresses, and Azure Resource Manager ID. This operation requires the VM to be stopped and deallocated before starting.

Adım Adım Çözüm

1
Identify the recovery goal: Reverting the VM state while preserving existing network interface configurations (NIC, IP) and resource identifiers directly.
Determine that the configuration details must remain unchanged.
This avoids breaking dependent services that rely on the VM's specific IP addresses or resource IDs.
2
Select the restore method: Choose the option that replaces the disks of the current virtual machine.
The backed-up disks will overwrite the existing disks without creating a new VM resource.
This preserves all other VM configuration settings, such as NIC associations and IP addresses, directly.
3
Prepare the VM: Stop and deallocate the virtual machine.
The VM enters a stopped state, allowing Azure Backup to perform the disk replacement.
Azure Backup requires the target virtual machine to be stopped and deallocated before it can swap the disks.

Anahtar Kavram

Azure Virtual Machine Recovery and Restore Options
Soru 933Soru

An Azure administrator is configuring virtual network routing. The environment contains a virtual network named `VNet-Frontier` (10.80.0.0/1610.80.0.0/16) with three subnets:
- `Subnet-Web` (10.80.1.0/2410.80.1.0/24)
- `Subnet-App` (10.80.2.0/2410.80.2.0/24)
- `Subnet-Security` (10.80.100.0/2410.80.100.0/24)

A Network Virtual Appliance (NVA) named `NVA-01` is deployed in `Subnet-Security` and is assigned the private IP address 10.80.100.410.80.100.4. You need to ensure that all traffic from `Subnet-Web` to `Subnet-App` is routed through `NVA-01`. All other traffic from `Subnet-Web` must route normally using the default system routes.

Which two actions should you perform to meet the requirements? (Select TWO.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Associate a route table to Subnet-Web that contains a route for 10.80.2.0/2410.80.2.0/24 with a next hop type of Virtual appliance and next hop IP address 10.80.100.410.80.100.4.; Enable IP forwarding on the network interface of NVA-01.

Cevap

Associate a route table to the web subnet containing a route for the app subnet's address range (10.80.2.0/2410.80.2.0/24) with a next hop type of Virtual appliance pointing to the NVA's IP address (10.80.100.410.80.100.4), and enable IP forwarding on the network interface of the NVA.
To send traffic from one subnet through an NVA, a route table must be associated with the source subnet (the web subnet) containing a route for the target destination (the app subnet) with the next hop type configured as 'Virtual appliance' and the NVA's private IP as the next hop address. Additionally, the NVA's virtual network interface in Azure must have IP forwarding enabled so it does not drop the transit traffic.

Adım Adım Çözüm

1
Create a route table in Azure and add a custom route.
A route is configured with a destination prefix of 10.80.2.0/2410.80.2.0/24, next hop type 'Virtual appliance', and next hop IP address 10.80.100.410.80.100.4.
This configuration overrides Azure's default system route (which would send traffic directly between subnets) and redirects it to the NVA.
2
Associate the route table to Subnet-Web.
The custom routing rules are applied to all traffic originating from Subnet-Web.
UDRs must be associated with the source subnet to intercept and route its outbound traffic.
3
Enable IP forwarding on the network interface (NIC) of the NVA VM.
The network interface is configured to receive and forward traffic that is not addressed to the NVA itself.
By default, Azure drops traffic sent to a NIC that doesn't match its own IP address. Enabling IP forwarding allows the NVA to route transit traffic.

Anahtar Kavram

Routing traffic through a Network Virtual Appliance (NVA) requires creating a UDR pointing to the NVA's IP address with the 'Virtual appliance' next hop type, associating it with the source subnet, and enabling IP forwarding on the NVA's network interface.
Tahmini Süre:2m 0s
Soru 934Soru

An administrator is designing a public Azure Load Balancer named LB1 to distribute internet traffic to two virtual machines named VM1 and VM2. VM1 and VM2 are standalone virtual machines deployed in the same virtual network and are not associated with any availability set or virtual machine scale set. The administrator creates a Standard SKU public IP address named PIP1 to serve as the frontend IP configuration for the load balancer. Which configuration must the administrator choose for LB1 to successfully implement this solution?

Cevabı ve açıklamayı göster

Cevap: Select the Standard SKU for LB1, and add VM1 and VM2 directly to the backend pool.

Cevap

Select the Standard SKU for LB1, and add VM1 and VM2 directly to the backend pool.
The correct configuration is to select the Standard SKU for the load balancer and add the standalone virtual machines directly to the backend pool. A Standard SKU load balancer requires a Standard SKU public IP address and supports any virtual machines in a single virtual network as backend pool members, including standalone VMs.

Adım Adım Çözüm

1
Analyze the SKU of the frontend public IP address.
The public IP address is configured with the Standard SKU.
The load balancer SKU must match the frontend IP address SKU. A Standard SKU public IP requires a Standard SKU load balancer.
2
Analyze the backend virtual machine configuration.
VM1 and VM2 are standalone virtual machines in the same virtual network, not in an availability set or virtual machine scale set.
Standard SKU load balancers support any virtual machines in a single virtual network, including standalone VMs, in the backend pool. Basic SKU load balancers require virtual machines to be in the same availability set or virtual machine scale set.
3
Combine the frontend and backend requirements to select the correct configuration.
Select the Standard SKU for LB1 and add VM1 and VM2 directly to the backend pool.
This satisfies the SKU match requirement with the Standard SKU public IP and supports standalone virtual machines in the backend pool.

Anahtar Kavram

Azure Load Balancer SKU compatibility rules for frontend IP configurations and backend pool membership.
Soru 935Soru

An administrator is configuring a new Azure Monitor Action Group to notify the operations team. Which of the following notification types are supported directly within an Azure Monitor Action Group? (Select TWO).

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Email message sent to a specific email address; SMS message sent to a mobile phone number

Cevap

The correct notification types supported directly within an Azure Monitor Action Group are email messages sent to a specific email address and SMS messages sent to a mobile phone number.
Azure Monitor Action Groups support Email and SMS notifications directly under their notification configurations to alert administrators of triggered resource events.

Adım Adım Çözüm

1
Identify the primary function of Azure Monitor Action Groups.
Action Groups define a collection of notification preferences (who to notify) and actions (what automation to trigger) when an alert is fired.
This clarifies what elements belong inside an Action Group configuration.
2
Determine the direct notification methods available in Action Groups.
Direct notifications include Email, SMS, Azure app push notifications, and Voice calls.
This isolates the correct options (Email and SMS) as valid notifications.
3
Identify and exclude governance and routing mechanisms.
Azure Policy assignments enforce resource standards at the subscription or resource group level. Alert processing rules are separate rule configurations that modify alert behavior post-trigger.
This confirms that policy assignments and alert processing rules are not notification options within Action Groups.

Anahtar Kavram

Azure Monitor Action Groups support direct notification types including Email, SMS, Azure App Push, and Voice, whereas other Azure configurations like policies and alert processing rules are distinct management resources.
Soru 936Soru

An administrator configures an Azure Firewall Policy to secure outbound traffic from a virtual network subnet. A virtual machine named VM1 is deployed in the subnet and is routed to the firewall using a user-defined route (UDR) for 0.0.0.0/00.0.0.0/0.

The administrator wants to allow outbound HTTPS traffic from VM1 to `*.github.com` while blocking all other outbound HTTPS traffic.

The Firewall Policy currently contains the following rule collections:
* A network rule collection named Net-RC (Priority 200) containing a rule that allows outbound TCP traffic on port 443 from VM1 to any destination (*).
* An application rule collection named App-RC (Priority 100) containing a rule that allows outbound HTTPS traffic from VM1 to the target FQDN `*.github.com`.

During testing, the administrator observes that VM1 can successfully establish HTTPS connections to both `https://github.com` and `https://example.com`.

Which configuration change should the administrator implement to ensure that VM1 can only access `*.github.com` over HTTPS?

Cevabı ve açıklamayı göster

Cevap: Remove the network rule that allows TCP traffic on port 443 from Net-RC.

Cevap

Remove the network rule that allows TCP traffic on port 443 from Net-RC.
Removing the network rule that allows TCP traffic on port 443 is correct because Azure Firewall processes network rules before application rules. When a packet matches an 'Allow' network rule, the processing terminates and the packet is allowed, bypassing all application rules. By removing the network rule, the HTTPS traffic (which is TCP port 443) does not match any network rules, allowing it to be evaluated by the application rules in App-RC where the FQDN *.github.com is permitted and other traffic is blocked by default.

Adım Adım Çözüm

1
Identify the evaluation order of Azure Firewall rules.
Azure Firewall processes rules in the following sequence: DNAT rules first, followed by Network rules, and finally Application rules. This order is absolute.
Understanding the rule processing hierarchy is essential because a match at an earlier stage terminates further processing.
2
Analyze why the current configuration allows all HTTPS traffic.
The rule in the Net-RC network rule collection allows all TCP port 443 (HTTPS) traffic. Because Network rules are evaluated before Application rules, this network rule matches all outbound HTTPS requests, immediately allowing them and bypassing the more specific FQDN rule in App-RC.
This explains why the VM is able to reach unauthorized domains like example.com.
3
Determine the necessary change to enforce FQDN filtering.
Remove the general network rule allowing port 443. This causes HTTPS traffic to pass through the network evaluation layer without a match, allowing it to reach the application rules where FQDN filtering is executed.
This ensures that only traffic matching the allowed FQDN (*.github.com) is permitted, while all other HTTPS traffic is blocked by the default deny behavior.

Anahtar Kavram

Azure Firewall rule processing hierarchy and evaluation order
Soru 937Soru

An administrator needs to monitor access requests to an Azure Key Vault named KV1. The administrator must write a Kusto Query Language (KQL) query in a Log Analytics workspace to identify all key retrieval operations that resulted in an HTTP status code of 401 (Unauthorized) within the past 24 hours. The administrator also needs to ensure that KV1 is configured to send the necessary log data to the workspace.

Which of the following actions or query fragments must be implemented to achieve this goal? (Select TWO)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: Write the following query fragment:
kql
AzureDiagnostics
| where TimeGenerated > ago(24h)
| where ResourceProvider == "MICROSOFT.KEYVAULT"
| where OperationName == "KeyGet" and ResultSignature == "401"
; Configure a diagnostic setting on KV1 to send the AuditEvent log category to the Log Analytics workspace.

Cevap

To achieve the monitoring goal, the administrator must configure a diagnostic setting on the Key Vault to forward the AuditEvent log category to the Log Analytics workspace, and run a KQL query on the AzureDiagnostics table filtering by the Key Vault ResourceProvider, the KeyGet OperationName, and a string-matched ResultSignature of "401" within the past 24 hours.
The correct actions require first establishing the data pipeline by configuring the Key Vault diagnostic settings to send AuditEvent logs to the Log Analytics workspace. Once routed, the data is queryable in the AzureDiagnostics table. The correct KQL query uses the 'where' operator to filter by the MICROSOFT.KEYVAULT ResourceProvider, the KeyGet OperationName, and compares the ResultSignature column against the string value "401" within the past 24 hours.

Adım Adım Çözüm

1
Enable the log source ingestion in the Azure Key Vault diagnostic settings.
The AuditEvent log category is configured to be sent to the Log Analytics workspace.
By default, Azure Key Vault logs are not stored. Sending the AuditEvent category routes operations data to the workspace, creating and populating the AzureDiagnostics table.
2
Filter query data by resource provider and time range.
The KQL query retrieves AzureDiagnostics logs where TimeGenerated > ago(24h) and ResourceProvider == "MICROSOFT.KEYVAULT".
This restricts the query context to Key Vault logs generated within the designated 24-hour analysis window.
3
Filter by operation and status code using proper types.
The query applies the filter OperationName == "KeyGet" and ResultSignature == "401".
This isolates key retrieval requests and checks for unauthorized access. The status code must be a string comparison because ResultSignature is a string column.

Anahtar Kavram

Log Analytics Workspace data routing via Diagnostic Settings and parsing structured logs using valid Kusto Query Language (KQL) syntax, operators, and schemas.
Soru 938Soru

An administrator manages an Azure subscription that includes a resource group named rg-ecommerce-prod. The resource group contains an Azure Container Registry named acrprodregistry and an Azure Key Vault named kvecommerceprod. The administrator applies a tag named 'CostCenter: Finance' and a CanNotDelete resource lock to rg-ecommerce-prod. Additionally, the administrator applies a ReadOnly resource lock directly to kvecommerceprod. The administrator attempts to delete acrprodregistry, add a new secret to kvecommerceprod, and query the container registry's cost by filtering for the 'CostCenter: Finance' tag. Which of the following describes the outcomes of these actions?

Cevabı ve açıklamayı göster

Cevap: The deletion of the container registry is blocked, adding the secret to the key vault is blocked, and the container registry does not have the CostCenter tag applied.

Cevap

The deletion of the container registry is blocked, adding the secret to the key vault is blocked, and the container registry does not have the CostCenter tag applied.
The correct option correctly identifies that the CanNotDelete lock is inherited by the container registry, blocking its deletion; the ReadOnly lock on the key vault prevents adding new secrets; and tags applied to the resource group are not automatically inherited by individual resources, meaning the container registry will not match the tag query.

Adım Adım Çözüm

1
Evaluate the deletion action on the Azure Container Registry.
The deletion is blocked.
Resource locks are inherited by all child resources. The CanNotDelete lock applied to the resource group rg-ecommerce-prod inherits to the acrprodregistry container registry, preventing its deletion.
2
Evaluate the secret addition action on the Azure Key Vault.
Adding the secret is blocked.
A ReadOnly lock applied to a resource prevents any modifications or creations, including data plane operations like writing secrets to a Key Vault.
3
Evaluate the tag query on the Azure Container Registry.
The query fails to find the registry because the tag is not applied.
Tags applied to a resource group are not inherited by resources inside the resource group. Therefore, the container registry does not have the 'CostCenter: Finance' tag unless it is explicitly applied or enforced by Azure Policy.

Anahtar Kavram

Resource lock inheritance and tag non-inheritance rules in Azure resource governance.
Soru 939Soru

An administrator needs to use Azure Storage Explorer from an on-premises workstation to download files from a blob container named `securedocs`. The host storage account `stproddata` is configured with public network access restricted to 'Enabled from selected virtual networks and IP addresses'. The administrator must connect to the specific blob container with minimum required permissions. Move the steps to the active area and arrange them in the correct sequence to achieve this goal.

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

The correct sequence of steps is: 1) Identify the public IP address of the on-premises workstation; 2) Add the workstation's public IP address to the allowed IP ranges under the Networking settings of the storage account; 3) Generate a Service SAS URI at the blob container level with Read and List permissions; 4) Launch Azure Storage Explorer, open the Connect dialog, and select Blob container as the resource type; 5) Select Shared access signature (SAS) as the connection method, paste the generated SAS URI, and complete the connection.
The correct sequence ensures that network connectivity is authorized first by identifying and adding the workstation's public IP address to the storage account firewall settings. Once network access is enabled, a container-level Service SAS URI is generated to meet the minimum privilege requirement. Finally, the connection wizard in Azure Storage Explorer is launched, configured for a blob container, and the SAS URI is applied to successfully browse and download files.

Adım Adım Çözüm

1
Determine the public IP address of the on-premises workstation.
The public IP address of the local client machine is identified.
This IP address is necessary to configure the network access rules of the restricted storage account.
2
Configure the storage account firewall to permit traffic from the workstation's public IP address.
The firewall rule is updated, allowing traffic from the workstation to reach the storage services.
If the firewall is not updated first, the storage account will block all traffic from the workstation, causing the connection to fail.
3
Generate a Service SAS URI at the blob container level with Read and List permissions in the Azure portal.
A container-level Shared Access Signature (SAS) URI is successfully generated.
A Service SAS restricts access specifically to the 'securedocs' container instead of the entire storage account, which satisfies the least-privilege requirement.
4
Open Azure Storage Explorer, launch the connection wizard, and select 'Blob container' as the target resource.
The wizard is prepared to receive the connection details for a single blob container.
Selecting the correct resource type ensures that Storage Explorer expects a container-scoped credential rather than account-level keys.
5
Select the Shared access signature (SAS) option, input the generated SAS URI, and complete the wizard.
The connection is established and the 'securedocs' container is accessible.
Pasting the container SAS URI completes the authentication process, allowing the administrator to download files.

Anahtar Kavram

Connecting to Azure Storage resources through Storage Explorer using container-scoped Service SAS tokens while resolving storage firewall constraints.
Soru 940Soru

You need to configure diagnostic settings for several Azure resources to meet specific logging and compliance requirements. Match each administrative requirement to its correct Azure Monitor diagnostic destination. Which diagnostic destination matches each requirement?

Soldaki öğeye tıklayın, sonra eşleşen sağdaki öğeye tıklayın

Öğeler

Archive resource logs for long-term, low-cost retention
Stream logs in near real-time to a third-party security information and event management (SIEM) system
Perform interactive analysis and run KQL queries across log data

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

To archive logs for long-term, low-cost retention, use an Azure Storage account. To stream logs in near real-time to a third-party SIEM system, use an Azure Event Hubs namespace. To perform interactive analysis and run KQL queries, use a Log Analytics workspace.
The mapping correctly pairs the required diagnostic destinations to their primary use cases: Azure Storage for archiving, Azure Event Hubs for real-time external streaming, and Log Analytics workspace for log analysis and querying.

Adım Adım Çözüm

1
Analyze the requirement for low-cost, long-term archiving.
Identify that Azure Storage account is optimized for archiving data at low cost over long durations.
Azure Storage is standard for archiving data that is infrequently accessed.
2
Analyze the requirement for streaming logs in near real-time to a third-party SIEM system.
Identify that Azure Event Hubs is the event streaming platform used to send diagnostic data to external consumers.
Event Hubs acts as an ingestion pipeline and integrates with SIEM solutions like Splunk.
3
Analyze the requirement to query logs using KQL.
Identify that a Log Analytics workspace is the underlying store for Azure Monitor Logs where KQL queries are executed.
Log Analytics provides the query engine and interface for running KQL.

Anahtar Kavram

Azure Monitor diagnostic settings allow routing platform logs and metrics to a Storage account, Event Hubs, or a Log Analytics workspace based on usage needs.
Tahmini Süre:45s
ÖncekiSayfa 47 / 63Sonraki
Tüm alıştırma soruları — Microsoft Azure Administrator (AZ-104) | Examkin