Tüm alıştırma soruları

1252 soru

Soru 1141Soru

You plan to deploy an Azure Firewall to secure outbound traffic from a subnet named Subnet-App in a virtual network named VNet-Prod. You need to configure the networking environment to allow the firewall deployment and force all outbound internet traffic from Subnet-App through the firewall. Which of the following configuration actions must you perform? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Create a dedicated subnet named AzureFirewallSubnet in VNet-Prod with an address prefix of at least /26.; Create a route table associated with Subnet-App and add a route for 0.0.0.0/0 with the next hop type set to Virtual appliance pointing to the firewall's private IP address.

Cevap

Deploy the firewall in a dedicated subnet named AzureFirewallSubnet with a prefix of /26 or larger, and route the traffic from the application subnet using a User-Defined Route (UDR) with the next hop type set to Virtual appliance pointing to the firewall's private IP address.
Deploying Azure Firewall successfully requires a dedicated subnet named AzureFirewallSubnet with a prefix of at least /26. To direct the traffic from the workload subnet to the firewall, you must define a custom route for 0.0.0.0/0 within a route table, using the 'Virtual appliance' next hop type pointing to the firewall's private IP, and associate this route table with the workload subnet.

Adım Adım Çözüm

1
Configure the Azure Firewall Subnet
Created a subnet named AzureFirewallSubnet in VNet-Prod using an address range of at least /26 (e.g., 10.0.1.0/26).
Azure Firewall demands a specific subnet name and size to allocate internal IPs and allow automatic horizontal scaling.
2
Create and Associate the Route Table
Created a route table and associated it with the application subnet (Subnet-App).
This establishes a control point for managing traffic routing out of the application subnet.
3
Configure the Default Route pointing to Azure Firewall
Added a route for 0.0.0.0/0 with the next hop type set to Virtual appliance and the next hop IP address set to the firewall's private IP.
This overrides the default Azure system route for internet traffic, directing all outbound traffic to the firewall for inspection.

Anahtar Kavram

Azure Firewall deployment subnet prerequisites and user-defined routing configurations
Soru 1142Soru

You have an Azure subscription that contains a Recovery Services vault named rsv-hr-backup in the East US 2 region. You also have a Premium storage account named sa-hr-records in the East US 2 region that hosts an SMB file share named fileshare-hr-smb.

The firewall of sa-hr-records is configured to allow access only from selected networks, and the 'Allow trusted Microsoft services to access this storage account' setting is disabled.

An administrator named Admin1 is assigned the Backup Operator role for rsv-hr-backup and has no other role assignments.

You need to ensure that Admin1 can configure backup for fileshare-hr-smb using rsv-hr-backup. Which two actions should you perform? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: Grant Admin1 the Contributor role on sa-hr-records.; In the firewall settings of sa-hr-records, enable the 'Allow trusted Microsoft services to access this storage account' exception.

Cevap

Grant the administrator the Contributor role on the storage account and enable the 'Allow trusted Microsoft services to access this storage account' exception in the storage account firewall settings.
To successfully configure backups for a firewall-secured storage account, the Azure Backup service must be allowed to bypass the firewall. This is achieved by enabling the trusted Microsoft services exception in the storage account firewall settings. Additionally, the administrator who configures the backup must have write permissions on the storage account to perform the registration process, which is granted by the Contributor role.

Adım Adım Çözüm

1
Assign the Contributor role to the administrator on the storage account sa-hr-records.
The administrator obtains the control-plane permissions required to register the storage account with the Recovery Services vault.
Vault-level roles do not grant write access to resources outside the vault, such as storage accounts.
2
Modify the firewalls and virtual networks settings of the storage account sa-hr-records to allow trusted Microsoft services.
The Azure Backup service is granted permission to bypass the network restrictions and access the SMB file share.
Without this bypass, the backup job will fail due to network isolation, and static IP rules cannot be used as the vault does not have a static IP.

Anahtar Kavram

Azure Files backup requires storage-level control plane permissions for registration and a firewall bypass for service access.
Soru 1143Soru

You manage three Azure virtual networks in the West US region:
* `VNet-Transit` (172.20.0.0/16172.20.0.0/16) contains a Virtual Network Gateway configured for an ExpressRoute connection to your on-premises datacenter.
* `VNet-App` (172.21.0.0/16172.21.0.0/16) contains virtual machines running web applications.
* `VNet-Database` (172.22.0.0/16172.22.0.0/16) contains virtual machines running database instances.

You configure virtual network peering between `VNet-Transit` and `VNet-App`, and between `VNet-Transit` and `VNet-Database`.

You need to ensure that the virtual machines in both `VNet-App` and `VNet-Database` can connect to the on-premises datacenter through the Virtual Network Gateway in `VNet-Transit`.

Which configuration must you apply to the peering links?

Cevabı ve açıklamayı göster

Cevap: Configure the peering links from `VNet-Transit` to enable Allow gateway transit, and configure the peering links from `VNet-App` and `VNet-Database` to enable Use remote gateways.

Cevap

Configure the peering links from `VNet-Transit` to enable Allow gateway transit, and configure the peering links from `VNet-App` and `VNet-Database` to enable Use remote gateways.
To allow spoke virtual networks (`VNet-App` and `VNet-Database`) to use the VPN or ExpressRoute gateway in a hub virtual network (`VNet-Transit`), you must enable gateway transit. This is done by configuring Allow gateway transit on the peering link from the hub virtual network (`VNet-Transit`) to the spokes and configuring Use remote gateways (or 'Use this virtual network's gateway or Route Server') on the peering links from the spoke virtual networks (`VNet-App` and `VNet-Database`) to the hub.

Adım Adım Çözüm

1
Identify the hub-and-spoke relationship between the virtual networks.
`VNet-Transit` acts as the hub since it hosts the Virtual Network Gateway, while `VNet-App` and `VNet-Database` act as spokes.
Determining the network roles identifies which network must share its gateway resources.
2
Enable the sharing capability on the hub virtual network.
Enable Allow gateway transit on the peering links originating from `VNet-Transit`.
This configuration permits the hub to route spoke traffic through its local gateway.
3
Configure the spoke networks to utilize the shared resource.
Enable Use remote gateways on the peering links originating from both `VNet-App` and `VNet-Database`.
This instructs the spokes to route external traffic to the remote gateway located in the peered hub network.

Anahtar Kavram

Gateway Transit in Virtual Network Peering
Soru 1144Soru

An administrator is configuring the initial backup for an Azure virtual machine named `vm-prod-app01`. The virtual machine is configured as follows:

* Operating System: Red Hat Enterprise Linux 9.4
* Location: West US 3 region
* Disks: One 128 GB128\text{ GB} OS disk (Premium SSD v1), and two 2 TB2\text{ TB} data disks (Premium SSD v2)
* Virtual Network: Associated with a Network Security Group (NSG) that blocks all outbound internet access via a rule at priority 10001000

You have already deployed a Recovery Services Vault named `rsv-backup-prod01` in the West US 3 region.

You need to configure Azure Backup for `vm-prod-app01` to meet these requirements. The solution must follow the principle of least privilege and minimize administrative overhead.

Which configuration should you implement?

Cevabı ve açıklamayı göster

Cevap: Configure the backup using an Enhanced backup policy, and create an outbound NSG rule with a priority of 500500 that allows traffic to the AzureBackup service tag.

Cevap

Configure the backup using an Enhanced backup policy, and create an outbound NSG rule with a priority of 500 that allows traffic to the AzureBackup service tag.
The correct answer configuration uses the Enhanced backup policy because Premium SSD v2 disks are only supported with Enhanced policies. It also correctly assigns a priority of 500 to the allow rule, which overrides the existing block rule at priority 1000.

Adım Adım Çözüm

1
Analyze the VM disk parameters.
The VM uses Premium SSD v2 disks.
Premium SSD v2 and Ultra Disks require the Enhanced backup policy in Azure Backup; they are not supported by the Standard policy.
2
Analyze regional requirements for the Recovery Services Vault.
The vault must remain in West US 3.
Azure VM backups require the Recovery Services Vault to reside in the same region as the source virtual machine.
3
Evaluate the Network Security Group (NSG) configuration.
An outbound rule with priority 500 allowing the AzureBackup service tag is required.
Because the existing deny rule is at priority 1000, any rule allowing necessary backup traffic must have a lower numerical priority (higher precedence) to take effect.

Anahtar Kavram

Azure Virtual Machine Backup Configuration with Enhanced Policies and Network Constraints
Soru 1145Soru

An administrator is configuring monitoring for an Azure Firewall named `fw-corp-prod`. The organization's security policy requires:

* Streaming all firewall activity logs to a third-party Security Information and Event Management (SIEM) system in real-time.
* Archiving the logs for 365365 days for regulatory compliance at the lowest possible storage cost.

Which configuration in the diagnostic settings of `fw-corp-prod` meets these requirements?

Cevabı ve açıklamayı göster

Cevap: Configure the diagnostic setting to stream logs to an Azure Event Hubs namespace and archive logs to an Azure Storage account.

Cevap

Configure the diagnostic setting to stream logs to an Azure Event Hubs namespace and archive logs to an Azure Storage account.
The correct configuration is to stream logs to an Azure Event Hubs namespace and archive them to an Azure Storage account. This satisfies the real-time integration requirement with the SIEM via Event Hubs while utilizing the lowest-cost storage option (Azure Storage) for the 365365-day retention requirement.

Adım Adım Çözüm

1
Identify the real-time streaming requirement.
Azure Event Hubs must be used as a destination in the diagnostic setting to facilitate real-time ingestion by the third-party SIEM.
Log Analytics and Storage Accounts do not natively push logs to external SIEMs in real-time.
2
Identify the long-term archiving requirement at the lowest cost.
An Azure Storage account must be used to archive logs for 365365 days.
Azure Storage provides the most cost-effective cold storage tier compared to Log Analytics workspaces.
3
Combine the destinations in a diagnostic setting.
A diagnostic setting configured with both the Event Hubs namespace and the Storage account destinations.
Azure Monitor diagnostic settings allow selecting multiple destinations simultaneously to satisfy different retention and integration needs.

Anahtar Kavram

Selecting the appropriate destination for Azure Monitor diagnostic settings based on retention, cost, and analysis requirements.
Tahmini Süre:1m 30s
Soru 1146Soru

A company implements security policies that require all egress internet traffic from a database subnet named `DB-Subnet` to be inspected by a firewall. You deploy an Azure Firewall to the same virtual network in a subnet named `AzureFirewallSubnet`. The private IP address of the firewall is 172.16.0.4172.16.0.4. You need to direct all outbound internet traffic from the databases to the firewall. Which configuration should you apply to the route table associated with `DB-Subnet`?

Cevabı ve açıklamayı göster

Cevap: A route for destination 0.0.0.0/00.0.0.0/0 with a next hop type of Virtual appliance and a next hop address of 172.16.0.4172.16.0.4

Cevap

A route for destination 0.0.0.0/00.0.0.0/0 with a next hop type of Virtual appliance and a next hop address of 172.16.0.4172.16.0.4
To route all outbound internet traffic from a workload subnet through an Azure Firewall, you must define a default route (0.0.0.0/00.0.0.0/0) in a user-defined route table. The next hop type must be set to Virtual appliance, and the next hop IP address must match the firewall's private IP address (172.16.0.4172.16.0.4). This route table must then be associated with the workload subnet.

Adım Adım Çözüm

1
Identify the target address prefix for outbound internet traffic.
The destination address prefix is 0.0.0.0/00.0.0.0/0.
The default route of 0.0.0.0/00.0.0.0/0 matches all outbound traffic directed to the internet.
2
Define the appropriate next hop type for Azure Firewall.
The next hop type is Virtual appliance.
Azure Firewall is a software-based network virtual appliance, so it must be configured with this next hop type in the route table.
3
Specify the next hop IP address.
The next hop IP address is set to the firewall's private IP of 172.16.0.4172.16.0.4.
Egress traffic inside the virtual network must be routed to the firewall's private interface.

Anahtar Kavram

Routing traffic through Azure Firewall using User-Defined Routes (UDRs)
Soru 1147Soru

An administrator configures virtual network peering between VNet-Hub (10.50.0.0/1610.50.0.0/16), which contains a virtual network gateway and a deployed virtual machine, and VNet-Spoke (10.60.0.0/1610.60.0.0/16), which has a deployed virtual machine but no gateway. The peering link from VNet-Hub to VNet-Spoke has 'Allow forwarded traffic' and 'Allow gateway transit' enabled. The peering link from VNet-Spoke to VNet-Hub has 'Allow forwarded traffic' enabled. To allow the virtual machine in VNet-Spoke to route transit traffic through the virtual network gateway in VNet-Hub, the administrator does not need to configure any additional peering settings.

Cevabı ve açıklamayı göster

Cevap: False

Cevap

False
The statement is false because establishing gateway transit requires configurations on both sides of the peering. While VNet-Hub has 'Allow gateway transit' enabled, the peering link from VNet-Spoke to VNet-Hub must also have 'Use remote gateways' enabled to allow VNet-Spoke to utilize the hub's gateway.

Adım Adım Çözüm

1
Evaluate the current configuration of the peering links between VNet-Hub and VNet-Spoke.
The peering link from VNet-Hub to VNet-Spoke has 'Allow gateway transit' enabled, while the link from VNet-Spoke to VNet-Hub only has 'Allow forwarded traffic' enabled.
To determine what additional settings are required to establish gateway transit.
2
Determine the requirements for a spoke virtual network to use a gateway in a peered hub virtual network.
The hub virtual network peering must allow gateway transit ('Allow gateway transit'), and the spoke virtual network peering must explicitly configure the use of the remote gateway ('Use remote gateways').
Azure virtual network peering is directional and requires both sides of the link to opt-in for gateway sharing.
3
Identify the missing configuration.
The peering link from VNet-Spoke to VNet-Hub must have 'Use remote gateways' enabled.
Since 'Use remote gateways' is not currently enabled, the virtual machine in VNet-Spoke cannot route traffic through the gateway in VNet-Hub.

Anahtar Kavram

Virtual Network Gateway Transit in Peered Networks
Tahmini Süre:1m 30s
Soru 1148Soru

You manage an Azure environment that contains a Premium storage account named sa-hr-files in the East US region. The storage account hosts an SMB file share named employeerecords. The firewall of sa-hr-files is enabled and configured to allow access only from selected virtual networks and IP addresses.

You have a Recovery Services vault named rsv-hr-backup in the East US region.

An administrator named Admin1, who has the Backup Operator role on rsv-hr-backup and the Contributor role on sa-hr-files, attempts to configure Azure Backup for the employeerecords file share. During configuration, the vault cannot discover the file share.

What configuration change should you make to ensure that the file share can be successfully backed up?

Cevabı ve açıklamayı göster

Cevap: Enable the option to allow trusted Microsoft services to access the storage account in the firewall settings of the storage account.

Cevap

Enable the option to allow trusted Microsoft services to access the storage account in the firewall settings of the storage account.
Enabling the option to allow trusted Microsoft services to access the storage account is correct because Azure Backup is recognized as a trusted Microsoft service. When the storage account firewall is enabled, this exception is required to allow the vault to communicate with the storage account and discover or back up the SMB file share.

Adım Adım Çözüm

1
Analyze the network configuration of the storage account.
The Premium storage account has its firewall enabled, restricting access to only selected virtual networks and IP addresses, which blocks external services like Azure Backup by default.
Before configuring backup, the network access path between the Recovery Services Vault and the storage account must be validated.
2
Identify the bypass setting for trusted Microsoft services.
Enabling the 'Allow trusted Microsoft services to access this storage account' exception allows Azure Backup to bypass the firewall rules.
Azure Backup is a trusted Microsoft service that operates at the control plane to coordinate snapshot-based backups for Azure Files.
3
Verify administrator permissions.
Admin1 has Backup Operator on the vault and Contributor on the storage account, which are sufficient control-plane permissions for registering the storage account.
No RBAC changes are needed because the failure is network-based rather than permission-based.

Anahtar Kavram

To back up Azure File shares in a firewalled storage account, you must configure the storage account firewall to allow trusted Microsoft services.
Tahmini Süre:1m 30s
Soru 1149Soru

An administrator is configuring name resolution in Azure. The infrastructure includes a Private DNS zone named `corp.local` and two peered virtual networks named `VNet-Hub` and `VNet-Spoke1`. The virtual network `VNet-Hub` is linked to `corp.local` with auto-registration enabled. A virtual machine named `VM-Spoke1` is deployed in `VNet-Spoke1`. Currently, `VM-Spoke1` is unable to resolve names registered within `corp.local`. Which action should the administrator take to allow `VM-Spoke1` to resolve the DNS records?

Cevabı ve açıklamayı göster

Cevap: Add a new virtual network link in `corp.local` that targets `VNet-Spoke1`.

Cevap

Add a new virtual network link in `corp.local` that targets `VNet-Spoke1`.
The correct action is to link the spoke virtual network directly to the Private DNS zone. In Azure, DNS resolution for Private DNS zones is scoped strictly to linked virtual networks. Even if a virtual network is peered with another network that is linked to the zone, DNS queries from the peered network will fail unless it also has its own virtual network link.

Adım Adım Çözüm

1
Analyze the DNS resolution scope of the Private DNS zone.
Confirm that DNS name resolution for `corp.local` is only available to virtual networks that are linked to the zone.
By default, Azure Private DNS zones restrict queries to virtual networks containing an active virtual network link.
2
Evaluate the effect of virtual network peering on name resolution.
Determine that virtual network peering does not transitively extend Private DNS zone query capability from `VNet-Hub` to `VNet-Spoke1`.
Peering enables IP-level connectivity but does not proxy or forward DNS queries to Private DNS zones linked to peered networks.
3
Configure the required link to enable name resolution.
Add a virtual network link from `VNet-Spoke1` to the `corp.local` Private DNS zone.
This establishes the necessary permission and path for VMs in the spoke virtual network to resolve names in the zone using the Azure default DNS service.

Anahtar Kavram

Azure Private DNS zones require a dedicated virtual network link for every virtual network from which resolution is needed. Peering two virtual networks does not automatically share or forward Private DNS zone resolution capabilities between them.
Soru 1150Soru

An administrator needs to configure diagnostic settings across several Azure resources to meet specific security and troubleshooting requirements. Match each monitoring requirement to its correct Azure Monitor diagnostic log category.

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

Öğeler

Track secret retrievals, key rotations, and administrative policy changes in a key vault.
Troubleshoot IPsec tunnel negotiation and connectivity failures on a Site-to-Site VPN.
Analyze client request patterns and blocked SQL injection attacks on a Layer 7 load balancer.
Log read, write, and delete transactions performed on object storage containers.

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

The requirement to track key vault secret retrievals matches AuditEvent; troubleshooting VPN tunnel negotiation matches IKEDiagnosticLog; analyzing Application Gateway WAF and access events matches ApplicationGatewayAccessLog and ApplicationGatewayFirewallLog; logging blob storage transactions matches StorageRead, StorageWrite, and StorageDelete.
The correct matches map each resource's telemetry needs to its exact Azure diagnostic log categories: AuditEvent for Azure Key Vault, IKEDiagnosticLog for VPN gateway tunnel negotiations, ApplicationGatewayAccessLog and ApplicationGatewayFirewallLog for Application Gateway web traffic and threat logs, and StorageRead, StorageWrite, and StorageDelete for granular transactional operations on the storage account's blob service.

Adım Adım Çözüm

1
Identify the resource types associated with each monitoring requirement in the scenario.
Requirement 1 corresponds to Azure Key Vault; Requirement 2 corresponds to Azure Virtual Network Gateway; Requirement 3 corresponds to Azure Application Gateway; Requirement 4 corresponds to Azure Storage (Blob service).
Mapping the scenarios to the underlying Azure resource is necessary because diagnostic log categories are resource-specific.
2
Identify the specific diagnostic log categories exposed by each resource type.
Key Vault exposes AuditEvent. Virtual Network Gateway exposes IKEDiagnosticLog, GatewayDiagnosticLog, and RouteDiagnosticLog. Application Gateway exposes access and firewall logs. Storage accounts expose operations split by read, write, and delete.
Matching the resource types to their diagnostic setting schemas reveals the correct log category names.
3
Pair each monitoring requirement with the exact log category that captures the target activities.
Key vault auditing pairs with AuditEvent. VPN troubleshooting pairs with IKEDiagnosticLog. Layer 7 firewall/access auditing pairs with ApplicationGatewayAccessLog/ApplicationGatewayFirewallLog. Object storage transactional auditing pairs with StorageRead/StorageWrite/StorageDelete.
This establishes the correct logical configuration required to stream the specified telemetry to a destination.

Anahtar Kavram

Azure Monitor diagnostic settings allow administrators to route resource logs and metrics to various destinations. Each Azure resource type exposes specific log categories that must be individually selected based on the monitoring objectives.
Tahmini Süre:1m 30s
Soru 1151Soru

You are configuring outbound internet access for virtual machines in a subnet named `Subnet-Workload`. You deploy an Azure Firewall to the same virtual network in a subnet named `AzureFirewallSubnet`. You need to ensure that all egress traffic to the internet from `Subnet-Workload` is routed through and filtered by the Azure Firewall.

Which two actions should you perform? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: Assign a custom route table to Subnet-Workload containing a default route with the next hop set to the firewall's private IP and a next hop type of Virtual Appliance.; Configure a rule collection within the Azure Firewall policy to explicitly permit the required outbound traffic flows.

Cevap

Assign a custom route table to Subnet-Workload containing a default route with the next hop set to the firewall's private IP and a next hop type of Virtual Appliance, and configure a rule collection within the Azure Firewall policy to explicitly permit the required outbound traffic flows.
To route and inspect outbound internet traffic using Azure Firewall, you must perform two main configurations: routing and filtering. First, traffic from the workload subnet must be routed to the firewall's private IP. This is achieved by assigning a route table to the workload subnet containing a default route with a next hop type of Virtual Appliance. Second, because Azure Firewall blocks all traffic by default, you must configure a rule collection in the firewall policy to allow the outbound traffic.

Adım Adım Çözüm

1
Redirect workload traffic to the firewall.
Assign a route table to Subnet-Workload with a default route of 0.0.0.0/00.0.0.0/0 pointing to the firewall's private IP, using the next hop type of Virtual Appliance.
By default, Azure subnets route egress traffic directly to the internet. To inspect this traffic, you must override system routing using a User-Defined Route (UDR).
2
Configure firewall rules to allow traffic.
Add an Application or Network rule collection in the Azure Firewall policy to permit the desired egress traffic.
Azure Firewall operates on a zero-trust model and denies all traffic by default. Explicit allow rules are required to let the traffic pass after routing.

Anahtar Kavram

Azure Firewall routing and rule configuration
Soru 1152Soru

An administrator is troubleshooting traffic filtering through an Azure Firewall. The firewall is configured with the following rule collections:

- A Network rule collection named `Net-Coll1` (Priority 200200) with a rule that allows outbound TCP traffic on port 443443 from any source to any destination.
- An Application rule collection named `App-Coll1` (Priority 300300) with a rule that allows HTTPS traffic from any source to `*.microsoft.com`.

An internal virtual machine attempts to access `www.example.com` over HTTPS (TCP port 443443).

Which of the following describes how the Azure Firewall will handle this traffic request?

Cevabı ve açıklamayı göster

Cevap: The traffic is allowed because the matching network rule is evaluated first, permitting the connection and terminating further evaluation.

Cevap

The traffic is allowed because the matching network rule is evaluated first, permitting the connection and terminating further evaluation.
Azure Firewall evaluates rules in a strict hierarchy: DNAT rules first, then Network rules, and finally Application rules. Since the rules are terminating, if a match is found in the Network rules that allows the traffic, the firewall immediately permits the connection. In this scenario, the traffic is TCP port 443443, which matches the Network rule in `Net-Coll1`. The firewall permits the traffic, and the Application rules in `App-Coll1` are not evaluated, bypassing the FQDN restriction.

Adım Adım Çözüm

1
Determine the type of traffic flow.
The traffic is outbound (from an internal VM to an external internet domain `www.example.com` over port 443443).
This determines which firewall rule types are applicable, as DNAT only applies to inbound traffic.
2
Apply the Azure Firewall rule processing order.
Evaluate Network rules first, then Application rules.
Azure Firewall follows a strict rule evaluation hierarchy where Network rules are processed before Application rules.
3
Check the Network rule collection for a match.
The connection matches the Network rule in `Net-Coll1` because it is TCP traffic on port 443443 to any destination.
A match in the Network rule is found, and because it is an Allow rule, evaluation terminates immediately and the traffic is allowed.

Anahtar Kavram

Azure Firewall rule processing order evaluates Network rules before Application rules. Rules are terminating; once a match is found, further evaluation stops.
Tahmini Süre:1m 30s
Soru 1153Soru

An administrator is configuring an Azure Monitor action group to send alert notifications to a backend API. The API is protected by Microsoft Entra ID. The administrator must ensure that the action group can authenticate securely against the API when alerts are triggered.

Which configuration must the administrator perform to support this secure notification flow?

Cevabı ve açıklamayı göster

Cevap: Enable the secure webhook option in the action group and provide the object ID of the Microsoft Entra ID application registration.

Cevap

Enable the secure webhook option in the action group and provide the object ID of the Microsoft Entra ID application registration.
To secure a webhook action in an Azure Monitor action group, you must register the receiving Web API in Microsoft Entra ID. This generates an application registration. In the action group configuration, enabling the 'Use secure webhook' option and providing the Object ID of this application registration configures Azure Monitor to use Entra ID to authenticate the request before posting the alert payload to the endpoint.

Adım Adım Çözüm

1
Identify the authentication mechanism required for the backend API.
The API requires Microsoft Entra ID authentication, meaning the calling service must acquire a token from Entra ID.
This establishes that standard anonymous webhooks will be rejected by the endpoint.
2
Determine the capabilities of Azure Monitor action groups regarding authentication.
Action groups support secure webhooks by associating the webhook action with an Entra ID application registration.
This allows Azure Monitor to obtain a bearer token on behalf of the action group to authenticate against the Web API.
3
Configure the action group with the Entra ID application identity.
Enable the 'Use secure webhook' option and enter the object ID of the Entra ID application registration representing the API.
Providing the object ID links the action group's webhook action to the correct security principal in the directory.

Anahtar Kavram

Secure Webhooks in Azure Monitor Action Groups
Tahmini Süre:1m 30s
Soru 1154Soru

An administrator needs to configure diagnostic settings for multiple Azure resources. Match each business monitoring requirement to its correct destination target.

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

Öğeler

Retain diagnostic logs for 3 years at the lowest possible cost for regulatory compliance.
Stream resource log data to an external, non-Azure SIEM system with minimal latency.
Perform complex correlation queries across multiple resources using Kusto Query Language (KQL).

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

Retain logs for 3 years at the lowest cost matches Azure Storage account; Stream logs to external SIEM matches Azure Event Hubs namespace; Perform complex correlation queries using KQL matches Log Analytics workspace.
The correct mapping pairs long-term low-cost archiving with a Storage account, real-time external SIEM ingestion with Event Hubs, and KQL query capabilities with a Log Analytics workspace.

Adım Adım Çözüm

1
Analyze the long-term archiving requirement.
Storing logs for 3 years at the lowest cost is best suited for Azure Storage account because it offers cold/archive tiers designed for long-term retention without active query costs.
Log Analytics and Event Hubs are more expensive for multi-year storage.
2
Analyze the real-time external integration requirement.
Streaming to an external SIEM with minimal latency requires a publish-subscribe message broker, which is provided by routing diagnostic settings to an Azure Event Hubs namespace.
Storage accounts and Log Analytics do not provide direct low-latency push streaming to external platforms.
3
Analyze the query and correlation requirement.
Querying logs across multiple resources using Kusto Query Language (KQL) requires the data to be ingested into a Log Analytics workspace.
Log Analytics is the native Azure Monitor log repository supporting KQL.

Anahtar Kavram

Selecting the appropriate destination target (Storage Account, Event Hub, or Log Analytics) within Azure Monitor Diagnostic Settings to satisfy specific retention, integration, and analysis requirements.
Soru 1155Soru

An administrator needs to automate the backup configuration of a new virtual machine named `vm-hr-prod` running Windows Server 2025 in the `South Central US` region. The administrator has already installed the Azure PowerShell `Az` module.

The administrator must meet the following requirements:
1. Create a new Recovery Services Vault named `rsv-hr-prod` in the same region.
2. Set the vault context for the current PowerShell session.
3. Enable backup protection for `vm-hr-prod` using the default backup policy named `DefaultPolicy`.
4. Trigger an immediate, ad-hoc backup of `vm-hr-prod`.

Which sequence of PowerShell commands should the administrator execute? To answer, arrange the actions in the correct order.

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

Cevabı ve açıklamayı göster

Cevap

The correct sequence of commands is: First, create the vault using New-AzRecoveryServicesVault. Second, set the vault context using Set-AzRecoveryServicesVaultContext. Third, retrieve the policy and enable backup using Get-AzRecoveryServicesBackupProtectionPolicy and Enable-AzRecoveryServicesBackupProtection. Fourth, retrieve the backup item and start the backup using Get-AzRecoveryServicesBackupItem and Backup-AzRecoveryServicesBackupItem.
The correct order establishes the prerequisite resources and session context before configuring backup policies and triggering backup actions. First, the Recovery Services Vault must be created. Second, the vault context must be set using Set-AzRecoveryServicesVaultContext so that subsequent backup commands know which vault to interact with. Third, the backup policy is retrieved, and backup protection is enabled for the VM. Finally, once the VM is protected, the backup item is retrieved, and an ad-hoc backup is executed.

Adım Adım Çözüm

1
Execute New-AzRecoveryServicesVault.
Creates the Recovery Services Vault named rsv-hr-prod in the South Central US region.
You cannot perform any backup configuration or set the context without the target vault existing.
2
Execute Set-AzRecoveryServicesVaultContext.
Sets the vault context for the active PowerShell session.
Subsequent Azure Backup cmdlets in the Az module require the active vault context to be set to identify the vault container.
3
Execute Get-AzRecoveryServicesBackupProtectionPolicy and Enable-AzRecoveryServicesBackupProtection.
Associates the VM with the DefaultPolicy and registers the VM for protection.
You must enable backup protection on the VM before you can run any backup jobs on it.
4
Execute Get-AzRecoveryServicesBackupItem and Backup-AzRecoveryServicesBackupItem.
Launches the ad-hoc backup job immediately.
An ad-hoc backup can only be initiated on an item that is already protected and registered in the vault.

Anahtar Kavram

Azure Virtual Machine Backup Configuration using Azure PowerShell
Tahmini Süre:2m 0s
Soru 1156Soru

An administrator is configuring connectivity for three virtual networks in the East US region:

* `VNet-Hub` (10.240.0.0/1610.240.0.0/16) contains a subnet with deployed virtual machines and a Virtual Network Gateway configured for site-to-site VPN connectivity.
* `VNet-Spoke1` (10.241.0.0/1610.241.0.0/16) contains a subnet with deployed virtual machines.
* `VNet-Spoke2` (10.242.0.0/1610.242.0.0/16) contains a subnet with deployed virtual machines.

A virtual network peering link is established between `VNet-Hub` and `VNet-Spoke1` with 'Allow gateway transit' enabled on `VNet-Hub` and 'Use remote gateways' enabled on `VNet-Spoke1`.

A second virtual network peering link is established between `VNet-Spoke1` and `VNet-Spoke2` with 'Allow forwarded traffic' enabled on both sides.

Which of the following actions must the administrator perform to allow the virtual machines in `VNet-Spoke2` to communicate with the on-premises network via the Virtual Network Gateway in `VNet-Hub`?

Cevabı ve açıklamayı göster

Cevap: Configure a direct virtual network peering between `VNet-Hub` and `VNet-Spoke2` with 'Allow gateway transit' enabled on `VNet-Hub` and 'Use remote gateways' enabled on `VNet-Spoke2`.

Cevap

Configure a direct virtual network peering between `VNet-Hub` and `VNet-Spoke2` with 'Allow gateway transit' enabled on `VNet-Hub` and 'Use remote gateways' enabled on `VNet-Spoke2`.
The correct action is to configure a direct virtual network peering between the gateway host network and the target spoke network, ensuring gateway transit and remote gateway options are enabled. This is because Azure virtual network peering is non-transitive, meaning a spoke network cannot transitively access a virtual network gateway in another network through a middle peered network.

Adım Adım Çözüm

1
Analyze the virtual network topology and gateway transit requirements.
Identify that `VNet-Hub` contains the gateway, while `VNet-Spoke2` is transitively connected via `VNet-Spoke1`.
Understanding the limits of virtual network peering transitivity is essential to resolving routing paths.
2
Recognize the limitation of gateway transit over peered VNets.
Confirm that gateway transit is not transitive across peered networks, meaning `VNet-Spoke2` cannot use the gateway in `VNet-Hub` through `VNet-Spoke1`.
Azure virtual network peering is non-transitive, and gateway sharing only works over a direct peering link.
3
Select the correct configuration to enable gateway transit for the target network.
Create a direct peering link between `VNet-Hub` and `VNet-Spoke2` and enable the appropriate gateway transit options on both sides.
Direct peering with 'Allow gateway transit' on the gateway VNet and 'Use remote gateways' on the spoke VNet is the standard Azure method to share a VPN or ExpressRoute gateway.

Anahtar Kavram

Azure Virtual Network Peering is non-transitive. To share a Virtual Network Gateway, a direct peering connection must exist between the gateway host virtual network and the spoke virtual network, with gateway transit and remote gateway settings configured.
Tahmini Süre:1m 30s
Soru 1157Soru

You manage an Azure subscription that contains a Recovery Services vault named rsv-finance-backup and a Premium storage account named sa-finance-prod in the East US region. The storage account hosts an SMB file share named shares-finance-01. You need to protect the SMB file share by using Azure Backup. Which sequence of steps should you perform to configure the backup for this Premium SMB file share using the Recovery Services vault?

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

Cevabı ve açıklamayı göster

Cevap

The correct sequence of steps starts with configuring the backup goal in the vault, followed by registering the Premium storage account sa-finance-prod, selecting the SMB file share shares-finance-01, defining the backup policy, and finally enabling the backup.
The correct sequence is to first configure the vault's backup goal, then discover and register the Premium storage account, choose the SMB file share, assign a backup policy, and finally enable backup. This aligns with the logical dependency of Azure resources where a workload must be registered and discovered before protection can be enabled.

Adım Adım Çözüm

1
In the Recovery Services vault, select Backup, choose Azure as the workload location, and select Azure FileShare (Azure Storage) as the backup goal.
The vault initializes the backup configuration context specifically for Azure Files.
You must define the target workload type before Azure can present the relevant storage registration options.
2
Select the Premium storage account sa-finance-prod and register it with the vault.
The storage account is registered with the vault, enabling discovery of its file shares.
Azure Backup cannot protect file shares in a storage account until the storage account is registered as a container in the vault.
3
Select the SMB file share shares-finance-01 from the list of discovered file shares.
The specific file share is selected for backup protection.
You must explicitly select which file shares within the registered storage account should be protected.
4
Configure or select a backup policy specifying retention and schedule.
A policy defines how often snapshots are created and how long they are retained.
A backup policy is required to govern the automated lifecycle of the file share backups.
5
Enable backup to complete the registration.
The file share backup association is finalized and the initial protection status is established.
This registers the backup job and begins monitoring the file share for scheduled backups.

Anahtar Kavram

Azure Files backup configuration workflow using Recovery Services vault
Soru 1158Soru

You are configuring alerts in Azure Monitor to manage and automate responses to subscription and resource events. You need to map each operational monitoring requirement to its correct Azure Monitor Action Group action type. Match each operational requirement on the left with the correct action type on the right.

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

Öğeler

Create a support ticket in an external ticketing system automatically when a critical alert is triggered.
Send an email to all users assigned a specific Azure RBAC role at the subscription level.
Send a text message to an administrator's mobile device while adhering to standard rate-limiting controls.
Invoke a custom script to remediate a virtual machine issue using a serverless script execution platform.

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

The correct matches map the following requirements to their actions: Create a support ticket in an external ticketing system maps to ITSM Action; Send an email to all users assigned a specific Azure RBAC role maps to Email Azure Resource Manager Role Action; Send a text message to an administrator's mobile device maps to SMS Action; and Invoke a custom script to remediate a virtual machine issue maps to Automation Runbook Action.
The correct pairings map ticketing to ITSM Action, role-based email notifications to Email Azure Resource Manager Role Action, text messages to SMS Action, and script remediation to Automation Runbook Action.

Adım Adım Çözüm

1
Evaluate the ticketing requirement.
External service management tools (like ServiceNow) map to the ITSM action type.
Azure Monitor supports direct integration with ITSM tools via the ITSM connector action type in action groups.
2
Evaluate the dynamic emailing requirement.
Emailing members of an RBAC role at subscription scope maps to the Email Azure Resource Manager Role action type.
This action type avoids hardcoding individual email addresses by dynamically targeting users with the specified subscription role.
3
Evaluate the text messaging requirement.
Sending text messages with rate limiting maps to the SMS action type.
SMS actions send text messages and are subject to a platform rate limit of 1 message every 5 minutes.
4
Evaluate the custom remediation script requirement.
Running PowerShell or Python scripts to remediate resource issues maps to the Automation Runbook action type.
Azure Automation Runbooks are designed to host and execute automation scripts directly in response to alerts.

Anahtar Kavram

Azure Monitor Action Groups define a collection of receiver preferences and action types triggered by alert rules.
Soru 1159Soru

You have registered a custom domain name named tailspintoys.com with a third-party domain registrar. You plan to host the DNS records for the domain in Azure DNS. You need to configure the domain delegation to Azure DNS and verify that name resolution works. Which sequence of steps should you perform?

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

Cevabı ve açıklamayı göster

Cevap

To delegate your custom domain to Azure DNS, first create a public DNS zone for the domain in Azure, retrieve the assigned authoritative name servers, configure those name servers at your external domain registrar, and then add a record and test resolution.
To delegate a domain to Azure DNS, you must first create the public DNS zone in Azure DNS. This generates the authoritative name servers. Next, you copy these name server addresses from the Azure portal. After that, you configure the domain registrar to use these Azure name servers instead of the registrar's default name servers. Finally, you create a record and test resolution to verify the setup.

Adım Adım Çözüm

1
Create the public DNS zone named tailspintoys.com in your Azure subscription.
A public DNS zone is created and Azure automatically assigns four authoritative name servers to it.
This establishes the hosting space in Azure DNS to generate the necessary name servers.
2
Retrieve the four name servers (NS records) assigned to the newly created Azure DNS zone.
You obtain the specific Fully Qualified Domain Names (FQDNs) of the name servers.
These specific server names must be provided to the domain registrar to point queries to Azure.
3
Update the NS records at your external domain registrar with the retrieved Azure DNS name servers.
The domain registrar delegates DNS authority to Azure DNS.
This directs global DNS resolvers to query Azure DNS name servers when looking up tailspintoys.com.
4
Add a resource record (such as an A record) to the zone and test name resolution using a DNS query tool.
The test record successfully resolves to the target value from an external query.
This confirms that the delegation from the registrar to Azure DNS has propagated and is functioning correctly.

Anahtar Kavram

Delegating a custom domain to Azure DNS requires creating the public zone in Azure DNS first to get the authoritative name servers, updating the third-party registrar's records, and verifying name resolution.
Soru 1160Soru

A company deploys a Network Security Group (NSG) named `NSG-Secure`. You are tasked with configuring a diagnostic setting on `NSG-Secure` to meet the following requirements:
- Route NSG rule evaluation events to a storage account named `storeauditprod`.
- Avoid routing any performance metrics or flow logs to the storage account.
- Ensure that the configuration uses the minimum required log categories.

Which configuration should you apply to the diagnostic setting?

Cevabı ve açıklamayı göster

Cevap: Enable the NetworkSecurityGroupEvent log category and select the Archive to a storage account destination, choosing storeauditprod.

Cevap

Enable the NetworkSecurityGroupEvent log category and select the Archive to a storage account destination, choosing storeauditprod.
The correct configuration enables the NetworkSecurityGroupEvent log category and selects the 'Archive to a storage account' destination, choosing the storeauditprod storage account. This satisfies all requirements: NetworkSecurityGroupEvent contains the rule evaluation events, archiving to a storage account is the correct destination type for storeauditprod, and no unnecessary metrics or roles are configured.

Adım Adım Çözüm

1
Identify the required log data category.
NetworkSecurityGroupEvent contains the logs for NSG rule evaluations, whereas NetworkSecurityGroupRuleCounter contains rule statistics.
Choosing the correct log category ensures that rule evaluations are captured.
2
Select the correct destination type.
The requirement is to route the logs to a storage account named storeauditprod.
Choosing the 'Archive to a storage account' option maps to the storage account destination, whereas 'Send to Log Analytics workspace' is used for querying logs.
3
Configure the destination target.
Select storeauditprod as the target storage account.
This completes the diagnostic settings configuration without requiring manual RBAC role assignments on the storage account for the resource.

Anahtar Kavram

Azure Monitor Diagnostic Settings routing and NSG log categories configuration.
ÖncekiSayfa 58 / 63Sonraki
Tüm alıştırma soruları — Microsoft Azure Administrator (AZ-104) | Examkin