Design Infrastructure Solutions

360 soru

Soru 201Soru

You are planning to migrate several physical on-premises application servers to Azure. To prevent application downtime and network latency issues post-migration, you need to identify which servers have active network connections with each other so that they can be migrated in the same group. Which Azure Migrate feature should you use to map these server relationships?

Cevabı ve açıklamayı göster

Cevap: Dependency analysis

Cevap

Dependency analysis
Dependency analysis is designed specifically to visualize and identify network connections between on-premises servers, which allows administrators to group dependent servers and minimize migration risks.

Adım Adım Çözüm

1
Determine the migration assessment requirement.
The requirement is to identify active network connections between on-premises physical servers to group them properly for migration.
Grouping dependent servers together prevents connection failures and latency issues post-migration.
2
Evaluate Azure Migrate discovery options.
Basic discovery collects metadata like CPU and memory, whereas dependency analysis actively maps network communication between servers.
Only dependency analysis captures the network traffic flows needed to establish server-to-server relationships.

Anahtar Kavram

Using Azure Migrate dependency analysis to identify server relationships prior to migration.
Soru 202Soru

An organization is designing an event-driven system to process data files uploaded to Azure Blob Storage. The file sizes range from 1010 MB to 500500 MB, and the processing time for a single file can take up to 1515 minutes to complete. The system must process files as they are uploaded, scale down to zero instances when no files are present to minimize costs, and require the lowest possible administrative overhead. Which Azure compute solution should you recommend?

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps Jobs

Cevap

Azure Container Apps Jobs
Azure Container Apps Jobs are optimized for run-to-completion event-driven tasks, can scale down to zero when there are no jobs to process, support execution times longer than 1010 minutes, and are fully managed, ensuring low administrative overhead.

Adım Adım Çözüm

1
Analyze the execution duration constraints.
The file processing workload can take up to 1515 minutes.
This rules out basic Azure Functions Consumption plans which enforce a hard maximum timeout of 1010 minutes.
2
Evaluate the scaling and billing constraints.
The solution must support scaling down to zero when idle.
This ensures no billing charges are incurred when no files are being uploaded, eliminating always-on hosting models.
3
Evaluate operational overhead.
The organization needs the lowest possible administrative overhead.
This favors serverless platform-as-a-service (PaaS) offerings like Azure Container Apps over fully managed Kubernetes services (AKS) or Virtual Machine Scale Sets.

Anahtar Kavram

Selecting serverless hosting options based on execution limits, scale-to-zero capability, and administrative overhead.
Tahmini Süre:2m 0s
Soru 203Soru

A media streaming company is designing a serverless video processing and distribution portal. The architecture requires two workloads:

* User portal frontend: A static single-page application (SPA) that must be globally distributed with minimal latency, SSL termination, and custom domain support.
* Video encoding microservice: A containerized workload that processes uploaded video files. The encoding job takes 1515 to 2020 minutes to run per video, and compute resources must only be active during the encoding process to avoid baseline idle charges.

Which two Azure hosting solutions should you recommend to meet these requirements? (Choose two.)

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

Cevabı ve açıklamayı göster

Cevap: Azure Static Web Apps for the user portal frontend; Azure Container Apps jobs for the video encoding microservice

Cevap

The correct architecture recommends Azure Static Web Apps for the user portal frontend and Azure Container Apps jobs for the video encoding microservice.
The combination of Azure Static Web Apps and Azure Container Apps jobs meets all functional, non-functional, and operational requirements. Azure Static Web Apps provides a globally optimized, managed hosting environment for the static frontend. Azure Container Apps jobs host the long-running, containerized video encoding workload on-demand and scale to zero after completion, avoiding idle costs.

Adım Adım Çözüm

1
Analyze the requirements for the user portal frontend, noting it is a static single-page application requiring global distribution, custom domains, and SSL.
Identify Azure Static Web Apps as the ideal choice because it natively provides global hosting via a content delivery network (CDN), automated SSL provisioning, and zero administrative overhead.
This minimizes operational costs and complexity compared to hosting static files on virtual machines, containers, or full App Service plans.
2
Analyze the video encoding microservice requirements, noting it is a containerized, run-to-completion task that runs for 1515 to 2020 minutes and must scale to zero when inactive.
Rule out Azure Functions on a standard Consumption plan due to its 1010-minute maximum execution limit.
Avoiding execution timeouts is a critical constraint for long-running batch processing workloads.
3
Evaluate hosting alternatives for the containerized workload to minimize operational overhead.
Select Azure Container Apps jobs over Azure Kubernetes Service (AKS) for the video encoding microservice.
Azure Container Apps jobs scale dynamically, scale to zero when not running, and avoid the complex orchestration overhead and infrastructure baseline costs associated with AKS.

Anahtar Kavram

Selecting appropriate Azure hosting solutions based on execution limits, container support, deployment complexity, and cost-efficiency requirements.
Soru 204Soru

An enterprise is designing a regional load balancing and traffic delivery solution in Azure. The design must satisfy the following requirements:
1. Incoming public HTTP/S traffic must be routed based on the URL path: requests to `/search/*` must be forwarded to a Virtual Machine Scale Set, while requests to `/checkout/*` must be forwarded to a group of Dedicated Hosts.
2. SSL/TLS termination must be performed at the application routing boundary to decrypt traffic before reaching the backend VMs.
3. Internal database replication traffic on TCP port 6379 must be load-balanced across database virtual machines distributed across multiple Availability Zones for high availability.
4. The database virtual machines are currently configured with Basic SKU Public IP addresses for legacy remote access.

Which configuration should you select to satisfy all requirements and ensure successful deployment validation?

Cevabı ve açıklamayı göster

Cevap: Deploy an Azure Application Gateway for the HTTP/S traffic, and deploy a Standard Azure Load Balancer for the internal TCP traffic after upgrading the database virtual machines' Public IPs to the Standard SKU.

Cevap

Deploy an Azure Application Gateway for the HTTP/S traffic, and deploy a Standard Azure Load Balancer for the internal TCP traffic after upgrading the database virtual machines' Public IPs to the Standard SKU.
The correct configuration uses Azure Application Gateway for regional Layer 7 routing and SSL/TLS termination, combined with a Standard Azure Load Balancer to distribute internal database replication traffic across Availability Zones. To resolve the SKU mismatch validation error, the database virtual machines' Public IP addresses must be upgraded to the Standard SKU because Standard Load Balancer backend pools do not support virtual machines associated with Basic SKU Public IPs.

Adım Adım Çözüm

1
Evaluate HTTP/S routing and decryption requirements.
The requirements for path-based routing (/search/* and /checkout/*) and SSL/TLS termination at the boundary dictate a Layer 7 load balancer. For regional workloads, Azure Application Gateway is the correct resource choice.
Layer 4 load balancers cannot inspect HTTP paths or terminate SSL sessions, and Azure Traffic Manager operates purely at the DNS level.
2
Evaluate internal database TCP load balancing and Availability Zone requirements.
The requirements specify load balancing of TCP port 6379 across Availability Zones. This requires a Standard Azure Load Balancer.
The Basic SKU Azure Load Balancer does not support Availability Zones, making the Standard SKU mandatory to fulfill the high availability requirement.
3
Address the deployment validation failure due to SKU mismatch.
Identify that the database virtual machines have Basic SKU Public IPs, which cannot coexist with a Standard Load Balancer's backend pool. The public IPs must be upgraded to the Standard SKU.
Azure prevents the mixing of Basic and Standard SKUs on resources connected to the same virtual machine network interfaces associated with a Load Balancer backend pool.

Anahtar Kavram

Integrating Azure Application Gateway and Standard Load Balancer while avoiding SKU mismatch validation errors
Soru 205Soru

A company is planning to restrict outbound network traffic from an Azure Virtual Network subnet named Subnet1. The virtual machines in Subnet1 must be allowed to send metric and log data to Azure Monitor, but all other outbound internet traffic must be blocked. You need to design a Network Security Group (NSG) rule configuration for Subnet1 that permits this traffic while minimizing administrative effort and avoiding manual rule updates when Azure Monitor IP addresses change. Which rule configuration should you recommend?

Cevabı ve açıklamayı göster

Cevap: An outbound security rule with the destination set to the AzureMonitor Service Tag

Cevap

An outbound security rule with the destination set to the AzureMonitor Service Tag
The correct answer recommends using the AzureMonitor Service Tag in the outbound NSG rule. Service Tags represent a group of IP address prefixes from a given Azure service. Microsoft manages the address prefixes encompassed by the service tag and automatically updates the service tag as addresses change, thereby minimizing the administrative effort of managing security rules.

Adım Adım Çözüm

1
Identify the target service destination for outbound traffic from the virtual network subnet.
The destination is Azure Monitor (including Log Analytics and Application Insights).
The requirement states that virtual machines must be permitted to send metrics and logs to Azure Monitor.
2
Select a mechanism in Network Security Groups (NSGs) that represents group IP address prefixes from a specific Azure service.
The AzureMonitor Service Tag is identified as the built-in system tag representing these IP address ranges.
Service Tags simplify NSG rule creation and are automatically managed and updated by Microsoft.
3
Evaluate the options against the constraint to minimize administrative effort and avoid manual rule updates.
Configuring the outbound NSG rule to use the AzureMonitor Service Tag meets all requirements, while manual IP configuration or complex routing overrides introduce administrative overhead and failure risks.
This provides the most operationally efficient and robust network security configuration.

Anahtar Kavram

Azure Service Tags simplify NSG management by letting you reference groups of IP address prefixes for specific Azure services.
Soru 206Soru

An organization plans to migrate several on-premises Hyper-V virtual machines to Azure. You need to use Azure Migrate to perform a migration assessment, determine VM readiness, and estimate monthly costs. Which two initial tasks must you perform to complete this assessment? (Choose two.)

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

Cevabı ve açıklamayı göster

Cevap: Create an Azure Migrate project and deploy the Azure Migrate appliance in the on-premises Hyper-V environment to discover metadata.; Create an Azure Migrate assessment in the project using the discovered server metadata.

Cevap

The two correct tasks are creating an Azure Migrate project and deploying the Azure Migrate appliance to discover metadata, and creating an Azure Migrate assessment using the discovered server metadata.
Evaluating on-premises Hyper-V virtual machines using Azure Migrate requires establishing a project, deploying a discovery appliance on-premises to collect configuration/performance data, and then generating an assessment. Creating the project and appliance ensures metadata is collected, and configuring the assessment calculates the cost estimates and VM readiness.

Adım Adım Çözüm

1
Set up the Azure Migrate project and discover on-premises infrastructure.
An Azure Migrate project is created, and the Azure Migrate appliance is deployed in the Hyper-V environment to collect metadata.
This establishes the framework and collects the configuration data required for assessment.
2
Run the assessment tool on the discovered metadata.
The assessment calculates Azure readiness, sizing recommendations, and monthly costs.
This provides the required readiness and cost estimation outputs.

Anahtar Kavram

Azure Migrate discovery and assessment workflow
Soru 207Soru

An enterprise is designing a hub-and-spoke network topology in Azure with the following resource configurations:

* Hub VNet (`vnet-hub-weur`): Address space 10.200.0.0/1610.200.0.0/16. Contains an Azure VPN Gateway in the `GatewaySubnet` and a Network Virtual Appliance (NVA) at IP 10.200.1.410.200.1.4 in `subnet-nva`.
* Spoke A VNet (`vnet-prod-weur`): Address space 10.201.0.0/1610.201.0.0/16. Contains application servers in `subnet-app` (10.201.1.0/2410.201.1.0/24).
* Spoke B VNet (`vnet-shared-weur`): Address space 10.202.0.0/1610.202.0.0/16. Contains shared services in `subnet-data` (10.202.1.0/2410.202.1.0/24).

Virtual network peering is established between `vnet-prod-weur` and `vnet-hub-weur`, and between `vnet-shared-weur` and `vnet-hub-weur`. There is no direct peering between the two spokes.

A route table named `rt-prod-app` is associated with `subnet-app` and has the following User Defined Routes (UDRs) configured:
* Destination: 0.0.0.0/00.0.0.0/0, Next hop: Virtual appliance (10.200.1.410.200.1.4)
* Destination: 10.0.0.0/810.0.0.0/8, Next hop: Virtual network gateway

The on-premises network uses the address space 10.0.0.0/810.0.0.0/8. All traffic from `subnet-app` to Spoke B must go through the NVA for inspection. During testing, administrators observe that servers in `subnet-app` can reach the internet and on-premises resources, but cannot communicate with `subnet-data` in Spoke B.

Which of the following routing configurations will resolve the connectivity issue to Spoke B while maintaining all other security and routing requirements?

Cevabı ve açıklamayı göster

Cevap: Add a route to `rt-prod-app` with the destination 10.202.0.0/1610.202.0.0/16 and the next hop set to the Virtual appliance (10.200.1.410.200.1.4).

Cevap

Add a route to the route table with the destination of the Spoke B address space (10.202.0.0/1610.202.0.0/16) and the next hop set to the Virtual appliance (10.200.1.410.200.1.4).
Adding a route for the Spoke B address space (10.202.0.0/1610.202.0.0/16) with the next hop set to the NVA (10.200.1.410.200.1.4) resolves the issue. Because Azure uses the Longest Prefix Match (LPM) algorithm, the more specific /16/16 route for Spoke B takes precedence over the broader 10.0.0.0/810.0.0.0/8 route (which points to the Virtual network gateway). This ensures that traffic destined for Spoke B is routed through the NVA for security inspection, while traffic to on-premises (10.0.0.0/810.0.0.0/8 excluding the Spoke B range) still goes to the Virtual network gateway.

Adım Adım Çözüm

1
Analyze the destination IP space for Spoke B traffic.
The destination address space for Spoke B is 10.202.0.0/1610.202.0.0/16.
We need to understand what IP ranges are matched when a packet is sent to Spoke B.
2
Evaluate the routing table rules using the Longest Prefix Match (LPM) algorithm.
The destination 10.202.x.x10.202.x.x matches both 0.0.0.0/00.0.0.0/0 and 10.0.0.0/810.0.0.0/8. Since 10.0.0.0/810.0.0.0/8 is a longer prefix match than 0.0.0.0/00.0.0.0/0 (8 bits vs 0 bits), Azure routes this traffic to the Virtual network gateway.
This explains why the traffic is currently failing to reach the NVA.
3
Determine if any system routes override this behavior.
No system route exists for 10.202.0.0/1610.202.0.0/16 because VNet peering is non-transitive. The only system routes are for the local VNet (10.201.0.0/1610.201.0.0/16) and the directly peered Hub VNet (10.200.0.0/1610.200.0.0/16).
Confirming that Azure does not automatically insert a route for indirect spokes.
4
Formulate a more specific UDR to redirect the traffic to the NVA.
Add a route for 10.202.0.0/1610.202.0.0/16 pointing to the NVA (10.200.1.410.200.1.4). This /16/16 route is more specific than the /8/8 route, ensuring Spoke B traffic is sent to the NVA, while on-premises traffic (matching the rest of 10.0.0.0/810.0.0.0/8) still goes to the gateway.
This solves the problem by overriding the broad UDR for Spoke B destinations only.

Anahtar Kavram

Azure routing precedence and Longest Prefix Match (LPM) in a hub-and-spoke topology.

Alternatif Yöntem

Instead of adding a static UDR for the entire Spoke B range, you could also configure Azure Route Server in the Hub VNet to dynamically exchange routes between the NVA and the spoke VNets, provided the NVA supports BGP and is configured to advertise the Spoke B prefix to Route Server.
Tahmini Süre:2m 0s
Soru 208Soru

A multinational enterprise is designing a high-availability infrastructure in Azure for a new online banking application. The design must meet the following requirements:
- Global client requests must be routed based on the URL path (e.g., /payments to Region 1 and /accounts to Region 2).
- SSL/TLS termination must be performed at the global routing edge to reduce latency.
- Within each region, HTTP(S) traffic must be distributed across a pool of virtual machines with session affinity.
- A legacy batch processing component in Region 1 must receive TCP-based traffic on port 8088 distributed via an Azure Load Balancer. The existing virtual machines for this component are currently assigned Basic SKU public IP addresses.

Which two configuration decisions must you include in the network architecture design to satisfy these requirements? (Select TWO).

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

Cevabı ve açıklamayı göster

Cevap: Provision Azure Front Door to handle the global path-based routing and SSL/TLS termination at the edge.; Upgrade the public IP addresses of the legacy batch processing virtual machines to Standard SKU before adding them to a Standard Load Balancer backend pool.

Cevap

Provision Azure Front Door for global routing and SSL termination, and upgrade the legacy virtual machines' public IP addresses to Standard SKU before adding them to a Standard Load Balancer backend pool.
To satisfy the global Layer 7 routing and SSL/TLS termination requirements, Azure Front Door must be used. To support the regional TCP-based batch processing component using a Standard Load Balancer, the public IP addresses of the legacy virtual machines must be upgraded to Standard SKU to ensure compatibility.

Adım Adım Çözüm

1
Analyze global routing and SSL/TLS requirements.
Identify that the system requires Layer 7 path-based routing and SSL/TLS termination at the global level.
Azure Front Door operates at Layer 7 and is the correct choice, whereas Traffic Manager is a DNS-based Layer 4 load balancer.
2
Analyze regional TCP load balancing requirements and legacy VM configuration.
Identify that legacy virtual machines have Basic SKU public IP addresses and need to be placed behind a Standard Azure Load Balancer.
Standard Azure Load Balancer requires all associated VM network interfaces and public IP addresses to use the Standard SKU.
3
Formulate remediation for the legacy VM public IP addresses.
Determine that the legacy VMs' public IP addresses must be upgraded to Standard SKU.
This avoids the SKU mismatch validation error (err_az305_core_infra_network_lb_sku_mismatch).

Anahtar Kavram

Selecting appropriate global and regional load balancing services while maintaining SKU compatibility across resources.
Tahmini Süre:3m 0s
Soru 209Soru

A company named CloudFlux is designing a secure network environment for a hybrid application. You have an Azure virtual network named VNet1 containing a subnet named Subnet1. Subnet1 hosts several virtual machines that run a business-critical application. The application needs to retrieve connection strings and credentials from an Azure Key Vault named KV1.

You need to design a network security solution that meets the following requirements:
- Access to KV1 from the virtual machines must not traverse the public internet.
- The virtual machines must not have public IP addresses.
- Azure administrators must be able to securely manage the virtual machines using the Azure portal over SSL without exposing RDP or SSH ports directly to the public internet.

Which two components should you include in the design? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: A Private Endpoint for KV1 associated with Subnet1; An Azure Bastion host deployed to a dedicated subnet in VNet1

Cevap

The correct components are a Private Endpoint for the Key Vault to establish private connectivity within the virtual network, and an Azure Bastion host to allow secure, agentless administrative management over SSL without public IP exposure.
Deploying a Private Endpoint assigns a private IP address from the virtual network subnet to the Key Vault, satisfying the requirement to keep traffic off the public internet. Azure Bastion provides secure RDP and SSH access over SSL directly from the Azure portal to the virtual machines without requiring public IP addresses on the target VMs.

Adım Adım Çözüm

1
Analyze the requirement for secure, private access to Azure Key Vault (KV1) without traversing the public internet.
Determine that a Private Endpoint integrates the service into the virtual network with a private IP address, satisfying this constraint.
Private Endpoints ensure traffic to PaaS resources stays within the Microsoft backbone network.
2
Analyze the requirement to securely manage virtual machines without public IPs or public-facing management ports.
Identify that Azure Bastion provides secure SSL-based RDP/SSH access directly from the Azure portal over a private IP.
Azure Bastion eliminates the need to expose VMs to the public internet for administrative access.
3
Evaluate the distractors against the requirements and Azure best practices.
Determine that manual IP configurations in NSGs and overriding system routes via UDRs to force public routing are administrative anti-patterns and violate security constraints.
Azure service IPs change frequently, making manual NSG rules brittle, and UDR public routing violates the private access requirement.

Anahtar Kavram

Designing secure, private access to Azure PaaS resources using Private Endpoints and secure management access using Azure Bastion.
Tahmini Süre:2m 0s
Soru 210Soru

An insurance company is designing a serverless microservices-based application. The application consists of four containerized services: an API gateway, a customer profile service, a claim intake portal, and a background report generation service that processes heavy PDF claims. The report generation service can take up to 15 minutes to complete a single processing job. The hosting platform must support scaling to zero to minimize costs during idle periods, require minimal infrastructure management overhead, and allow secure internal communication between the containerized services.

Which hosting solution should you design?

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps

Cevap

Azure Container Apps
Azure Container Apps is the ideal hosting solution because it is designed for microservices, supports scaling to zero to eliminate idle costs, provides secure service-to-service communication, and has minimal operational management overhead. Additionally, it has no execution timeout limit that would restrict the 15-minute report generation service.

Adım Adım Çözüm

1
Analyze the hosting requirements for the containerized microservices.
The solution must support four containerized services, allow secure internal communication, scale to zero to minimize idle costs, and run a report generation service that executes for up to 15 minutes.
Establishing the functional and non-functional constraints ensures the selected platform meets all business and technical needs.
2
Evaluate the execution time constraint against the candidate serverless platforms.
Azure Functions on a Consumption plan has a maximum execution timeout of 10 minutes, making it unsuitable for the 15-minute report generation service.
Eliminating options with hard execution limits prevents timeout-related failures in the production system.
3
Evaluate the cost and management overhead constraints.
Azure Kubernetes Service (AKS) introduces high cluster management and operational overhead, and does not natively scale to zero without complex auto-scaling configurations. Spot VMs on Virtual Machine Scale Sets are subject to eviction, making them unsuitable for steady-state production services. Azure Container Apps meets all criteria: it scales to zero, supports long-running containerized workloads, provides secure internal networking, and requires minimal management overhead.
Selecting a managed serverless container service minimizes administrative overhead while optimizing costs during periods of inactivity.

Anahtar Kavram

Selecting the appropriate serverless or container hosting platform based on execution time limits, cost requirements, and operational overhead.
Soru 211Soru

A retail corporation is setting up an application environment in Azure. The architecture consists of Azure Virtual Machines deployed in a subnet named AppSubnet inside a virtual network named ProductionVNet. The virtual machines must securely access a single Azure SQL Database instance without exposing the traffic to the public internet. You have provisioned a private endpoint for the database in AppSubnet. You now need to restrict traffic from AppSubnet so that the virtual machines can connect only to the private endpoint of that specific SQL database, and prevent outbound access to any other Azure SQL Databases or public endpoints. Which configuration should you apply to the Network Security Group (NSG) linked to AppSubnet?

Cevabı ve açıklamayı göster

Cevap: Set the private endpoint network policies to Enabled on AppSubnet. Add an outbound rule to the NSG that allows traffic to the private IP address of the private endpoint, followed by a rule with a lower priority that blocks traffic to the Sql service tag.

Cevap

Set the private endpoint network policies to Enabled on AppSubnet, allow traffic to the private IP address of the private endpoint in the NSG, and block traffic to the Sql service tag with a lower priority rule.
To apply Network Security Group rules to private endpoints, you must first enable private endpoint network policies on the subnet. Once enabled, you can control traffic to the private endpoint using its private IP address. To prevent access to other Azure SQL Databases over their public endpoints, you block the Sql service tag. Because NSG rules are processed in priority order, the specific allow rule for the private endpoint's IP address will be processed first, and any other traffic to Azure SQL public endpoints will be blocked by the Sql service tag rule.

Adım Adım Çözüm

1
Enable private endpoint network policies on the subnet.
This allows the subnet's Network Security Group (NSG) rules to be applied to traffic destined for private endpoints.
By default, NSG rules are not enforced on private endpoints.
2
Create an outbound NSG rule to allow traffic to the private IP address of the private endpoint.
Traffic from the Virtual Machines to the database private endpoint is permitted.
Private endpoint traffic uses the private IP address allocated within the subnet.
3
Create a lower-priority outbound NSG rule to deny traffic to the Sql service tag.
All other traffic targeting Azure SQL Database public endpoints is blocked.
This satisfies the security requirement to prevent outbound access to other Azure SQL Databases or public endpoints.

Anahtar Kavram

Applying Network Security Group (NSG) rules to Private Endpoints using network policies
Soru 212Soru

An enterprise deploys a hub-and-spoke virtual network topology in Azure. The hub virtual network, `vnet-hub-core` (10.100.0.0/1610.100.0.0/16), contains an Azure Firewall at 10.100.4.410.100.4.4. The first spoke virtual network, `vnet-spoke-web` (10.110.0.0/1610.110.0.0/16), hosts web servers in a subnet named `snet-web` (10.110.1.0/2410.110.1.0/24). The second spoke virtual network, `vnet-spoke-db` (10.120.0.0/1610.120.0.0/16), hosts database servers in a subnet named `snet-db` (10.120.1.0/2410.120.1.0/24). Both spoke virtual networks are peered directly with the hub virtual network, but they are not peered with each other. To route all egress traffic from `vnet-spoke-web` to the database servers through the Azure Firewall for security inspection, the network architect associates a custom route table named `rt-web-transit` with the `snet-web` subnet. The route table includes a single user-defined route (UDR) with the address prefix 10.0.0.0/810.0.0.0/8 and the next hop set to the Azure Firewall (10.100.4.410.100.4.4). During testing, VMs in `snet-web` can successfully connect to databases in `snet-db`, but traffic is not logged or inspected by the Azure Firewall. Which configuration change must be made to ensure that traffic from `vnet-spoke-web` to `vnet-spoke-db` is routed through the Azure Firewall?

Cevabı ve açıklamayı göster

Cevap: Add a route to `rt-web-transit` with the address prefix 10.120.0.0/1610.120.0.0/16 and the next hop set to the Azure Firewall (10.100.4.410.100.4.4).

Cevap

Add a route to `rt-web-transit` with the address prefix 10.120.0.0/1610.120.0.0/16 and the next hop set to the Azure Firewall (10.100.4.410.100.4.4).
The correct answer is correct because Azure virtual network peering injects system routes for peered address spaces (in this case, 10.120.0.0/1610.120.0.0/16 with next hop 'VNet Peering'). Azure evaluates matching routes using Longest Prefix Match (LPM). Because the destination database IP matches the /16/16 system route, which is a longer prefix than the custom /8/8 route (10.0.0.0/810.0.0.0/8), the traffic bypasses the firewall. Adding a UDR that matches the exact prefix (10.120.0.0/1610.120.0.0/16) overrides the system route because UDRs take precedence over system routes when prefix lengths are identical.

Adım Adım Çözüm

1
Analyze the destination IP space and active routes on the source subnet.
Traffic from `snet-web` (10.110.1.0/2410.110.1.0/24) destined for `vnet-spoke-db` (10.120.0.0/1610.120.0.0/16) has two matching routes: the system-defined VNet Peering route (10.120.0.0/1610.120.0.0/16) and the custom UDR (10.0.0.0/810.0.0.0/8).
Identifying all matching routes helps determine which route Azure will select to forward packets.
2
Evaluate the route selection precedence based on prefix length.
Azure uses Longest Prefix Match (LPM) to select routes. The /16/16 system route is more specific than the /8/8 user-defined route, so the system route is selected and traffic bypasses the firewall.
Understanding LPM is critical to identifying why the broad UDR fails to intercept peered VNet traffic.
3
Override the system route with a specific user-defined route.
Add a route with the exact prefix 10.120.0.0/1610.120.0.0/16 pointing to the Azure Firewall (10.100.4.410.100.4.4). When prefix lengths are identical, User-Defined Routes take precedence over system routes.
Adding a matching prefix length UDR successfully forces Azure to select the firewall as the next hop.

Anahtar Kavram

Azure Routing Selection Rules and Peering Precedence
Tahmini Süre:2m 0s
Soru 213Soru

Your company is planning to migrate its on-premises VMware vSphere virtual machines to Azure. You need to use Azure Migrate to discover the virtual machines and perform an agentless dependency analysis. Which two tasks must you perform on-premises to complete the discovery and dependency assessment? (Choose two.)

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

Cevabı ve açıklamayı göster

Cevap: Deploy the Azure Migrate appliance as a VMware OVA template.; Configure credentials on the Azure Migrate appliance to access the vCenter Server.

Cevap

Deploying the Azure Migrate appliance as a VMware OVA template and configuring credentials on the Azure Migrate appliance to access the vCenter Server.
Performing agentless discovery and dependency analysis in a VMware vSphere environment requires deploying the Azure Migrate appliance (using an OVA template) on-premises and configuring it with credentials to access the vCenter Server. This allows the appliance to connect to the vCenter Server and pull metadata and dependency information without needing to install agents inside each VM guest operating system.

Adım Adım Çözüm

1
Identify the migration method and assessment type.
The requirement is to discover VMware vSphere virtual machines and perform agentless dependency analysis using Azure Migrate.
Agentless dependency analysis relies on the Azure Migrate appliance without needing agent installations inside the guest operating systems of the VMs.
2
Determine the necessary on-premises components for discovery.
The Azure Migrate appliance must be downloaded as an OVA template and deployed on the VMware environment, and credentials to access vCenter Server must be configured.
The appliance uses these credentials to pull inventory and dependency data directly from the VMware control plane.

Anahtar Kavram

Azure Migrate agentless discovery and dependency assessment for VMware environments.
Tahmini Süre:1m 0s
Soru 214Soru

An enterprise is planning a hub-and-spoke network topology in Azure. The hub virtual network, `vnet-east-hub` (10.10.0.0/1610.10.0.0/16), contains a Virtual Network Gateway connected to an on-premises network (192.168.1.0/24192.168.1.0/24) via a Site-to-Site VPN. The spoke virtual network, `vnet-east-spoke` (10.20.0.0/1610.20.0.0/16), hosts application virtual machines. You must ensure that all outbound internet traffic from `vnet-east-spoke` is forced to route through the Virtual Network Gateway in `vnet-east-hub` to the on-premises firewall for inspection.

Which two configuration steps should you include in the design?

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

Cevabı ve açıklamayı göster

Cevap: Configure the virtual network peering connection to allow gateway transit on `vnet-east-hub` and use remote gateways on `vnet-east-spoke`.; Create a route table with a user-defined route for 0.0.0.0/00.0.0.0/0 pointing to the Virtual Network Gateway as the next hop, and associate it with the subnets in `vnet-east-spoke`.

Cevap

To route all outbound internet traffic from the spoke VNet to the on-premises firewall, you must configure the virtual network peering connection to allow gateway transit on the hub and use remote gateways on the spoke, and create a route table with a user-defined route for 0.0.0.0/00.0.0.0/0 pointing to the Virtual Network Gateway, associating it with the spoke subnets.
To implement forced tunneling from the spoke VNet, you must allow transit across the peered virtual networks and define a custom default route. Configuring the peering to use the remote gateway enables the spoke VNet to access the hub's gateway. Associating a route table to the spoke subnets with a 0.0.0.0/00.0.0.0/0 UDR pointing to the Virtual Network Gateway ensures all outbound internet-bound traffic is forwarded to the hub's gateway rather than egressing directly to the internet.

Adım Adım Çözüm

1
Configure virtual network peering settings for gateway transit.
Enable gateway transit on the hub VNet peering side (`vnet-east-hub`) and remote gateway usage on the spoke VNet peering side (`vnet-east-spoke`).
This permits resources in the spoke virtual network to reach and use the VPN gateway located in the hub virtual network.
2
Define custom routing on the spoke subnets.
Create a route table with a default route of 0.0.0.0/00.0.0.0/0 pointing to the Virtual Network Gateway next hop, and associate it with the spoke subnets.
Azure's default system routing sends internet-bound traffic directly to the internet. A UDR is required to override this behavior and force the traffic to the VPN Gateway.

Anahtar Kavram

Forced tunneling in Azure hub-and-spoke networks using virtual network peering and user-defined routes.
Tahmini Süre:1m 30s
Soru 215Soru

A company named Apex Health is designing a secure architecture in Azure to comply with healthcare data regulations. The architecture includes a virtual network named VNet-Prod containing a subnet named Subnet-Web, where virtual machines process medical records. The application must write these records to an Azure Storage account named storepatientdata.

You need to recommend a network security solution that meets the following requirements:
- Virtual machines in Subnet-Web must access storepatientdata using a private connection that does not traverse the public internet.
- Virtual machines in Subnet-Web must be prevented from exfiltrating data to any other Azure Storage accounts, including those in other subscriptions.
- Public internet access to the storage account must be disabled.
- The solution must minimize administrative overhead and avoid configuring user-defined routes (UDRs) or custom firewall virtual appliances.

Which two actions should you include in the recommendation?

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

Cevabı ve açıklamayı göster

Cevap: Enable a virtual network service endpoint for Microsoft.Storage on Subnet-Web and associate a service endpoint policy that permits access only to storepatientdata.; Configure the firewalls and virtual networks settings of storepatientdata to restrict access to Subnet-Web in VNet-Prod and deny public access.

Cevap

The correct recommendations are to enable a virtual network service endpoint for Microsoft.Storage on Subnet-Web with an associated service endpoint policy that restricts access to storepatientdata, and to configure the firewall settings of storepatientdata to restrict access to Subnet-Web in VNet-Prod and deny public access.
To satisfy the requirements securely and with minimal administrative overhead, you must combine virtual network service endpoints, service endpoint policies, and storage firewalls. Enabling the Microsoft.Storage service endpoint on Subnet-Web ensures database traffic is routed internally via the Azure backbone network. Attaching a service endpoint policy to Subnet-Web restricts outbound access exclusively to the storepatientdata storage account, preventing data exfiltration to other storage accounts. Finally, configuring the firewalls and virtual networks settings on the storage account itself restricts incoming traffic to Subnet-Web of VNet-Prod and denies public internet access, securing the data at rest and in transit.

Adım Adım Çözüm

1
Secure the transit path from the subnet to Azure Storage.
Enable a service endpoint for Microsoft.Storage on the subnet, routing storage traffic through the Microsoft backbone.
This satisfies the requirement for a private connection that does not traverse the public internet without the need for complex VPNs or ExpressRoute.
2
Prevent data exfiltration to unauthorized storage accounts.
Associate a Service Endpoint Policy with the subnet, specifically listing the resource ID of storepatientdata.
Service endpoint policies filter outbound database/storage traffic over service endpoints, blocking access to other storage accounts while keeping administrative overhead minimal.
3
Restrict storage account access at the target side.
Configure the storage account firewall to restrict access to VNet-Prod and Subnet-Web, and disable public network access.
This blocks public internet access and ensures only the authorized subnet can connect to the storage account.

Anahtar Kavram

Azure Virtual Network Service Endpoints and Service Endpoint Policies
Tahmini Süre:2m 0s
Soru 216Soru

An educational technology company is designing a serverless backend for a new exam preparation platform. The solution has the following workload requirements:

* A user-facing quiz API that serves questions and records user responses. The API experiences unpredictable traffic spikes but is completely idle during late-night hours. Responses must be returned within 22 seconds, and minimizing idle hosting costs is a priority.
* A background transcript processing service that runs whenever a new lecture video is uploaded. This service calls an external AI service to generate practice questions, which can take up to 1515 minutes to complete due to API throttling.

Which two hosting and processing options should you select to implement this architecture? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Azure Functions on a Consumption plan to host the user-facing quiz API; Azure Container Apps Jobs to run the background transcript processing service

Cevap

To implement this architecture, you should select Azure Functions on a Consumption plan to host the user-facing quiz API, and Azure Container Apps Jobs to run the background transcript processing service.
Hosting the user-facing quiz API on Azure Functions on a Consumption plan is correct because it scales down to zero instances when idle, removing hosting costs during late-night hours, while maintaining the ability to quickly scale up to meet spikes. Running the background transcript processing service on Azure Container Apps Jobs is correct because it is designed for execution of short-lived, event-driven container tasks that can run for up to several hours, satisfying the 1515-minute execution requirement without incurring continuous VM costs.

Adım Adım Çözüm

1
Analyze the execution time constraints for the background transcript processing service.
The background transcript service takes up to 1515 minutes to complete.
Azure hosting choices have execution limits that must accommodate the maximum expected runtime.
2
Evaluate the background processing service options against the execution limits.
Azure Functions on a Consumption plan has a strict 1010-minute execution limit, which would cause timeouts. Azure Container Apps Jobs supports executions that run up to several hours, making it the appropriate serverless choice.
Using a serverless service that matches the runtime duration avoids execution failures due to timeouts.
3
Analyze the cost and scaling requirements for the user-facing quiz API.
The API requires low response times, has unpredictable spikes, and is idle at night. It must scale to zero to minimize idle hosting costs.
Selecting a hosting tier that supports scale-to-zero is critical for meeting the cost-minimization requirements.
4
Evaluate the quiz API hosting options against the cost and scaling requirements.
Azure Functions on a Consumption plan scales to zero when idle, resulting in zero hosting costs during off-peak hours, and handles rapid scaling during spikes. In contrast, Azure App Service (Premium v3) and Azure Kubernetes Service have continuous baseline costs and do not scale to zero.
Matching the API workload with the correct consumption model prevents waste and ensures rapid responsiveness.

Anahtar Kavram

Matching Azure serverless and containerized workloads to hosting options based on execution limits, scalability requirements, and cost-efficiency.
Tahmini Süre:2m 0s
Soru 217Soru

An organization plans to migrate a multi-tier business application from an on-premises datacenter to Azure. The application runs across 15 interconnected virtual machines. You must ensure that when these virtual machines are migrated, no critical network connections between the servers are broken, which would cause application downtime. Which feature or capability should you use to identify the network connections between these servers before grouping them for migration?

Cevabı ve açıklamayı göster

Cevap: Azure Migrate dependency analysis

Cevap

Azure Migrate dependency analysis
Azure Migrate dependency analysis enables the visualization of network connections between servers to ensure that all interconnected workloads are migrated together.

Adım Adım Çözüm

1
Identify the primary requirement: mapping network connections between virtual machines before migrating to avoid application downtime.
Network topology discovery is needed.
Ensuring dependent VMs are grouped together prevents broken connections.
2
Evaluate features within Azure Migrate that analyze network communication.
Dependency analysis matches this capability.
It detects TCP connections between source and destination servers.
3
Select Azure Migrate dependency analysis.
The correct capability is chosen.
It visualizes and groups dependent servers accurately.

Anahtar Kavram

Using dependency analysis to map server connections during migration assessment
Soru 218Soru

An enterprise is designing a hub-and-spoke network topology in Azure to host a secure multi-tier application. The design includes the following components:

* A hub virtual network (VNet-Hub\text{VNet-Hub}) containing an Azure Firewall and an Azure Private DNS Resolver with an inbound endpoint configured.
* A spoke virtual network (VNet-App\text{VNet-App}) peered with VNet-Hub\text{VNet-Hub}. This virtual network contains a subnet named Subnet-App\text{Subnet-App} hosting application virtual machines.
* A spoke virtual network (VNet-Data\text{VNet-Data}) peered with VNet-Hub\text{VNet-Hub}. This virtual network contains a subnet named Subnet-Data\text{Subnet-Data} hosting an Azure SQL Database with a Private Endpoint.
* An Azure Private DNS Zone named `privatelink.database.windows.net` containing the DNS record for the Private Endpoint, linked to VNet-Hub\text{VNet-Hub}.

Your design must meet the following requirements:
* The virtual machines in Subnet-App\text{Subnet-App} must connect to the Azure SQL Database using its Private Endpoint.
* All traffic between Subnet-App\text{Subnet-App} and the Private Endpoint must be routed through and inspected by the Azure Firewall in VNet-Hub\text{VNet-Hub}.
* You must minimize administrative overhead and avoid linking the Private DNS Zone `privatelink.database.windows.net` to multiple virtual networks.

Which two actions should you perform?

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

Cevabı ve açıklamayı göster

Cevap: Configure the DNS servers setting of VNet-App to use the IP address of the Azure Private DNS Resolver inbound endpoint.; In the properties of Subnet-Data, enable network policies for private endpoints.

Cevap

Configure the DNS servers setting of VNet-App to use the IP address of the Azure Private DNS Resolver inbound endpoint, and enable network policies for private endpoints on Subnet-Data.
Configuring the DNS server setting of the spoke virtual network to point to the Azure Private DNS Resolver inbound endpoint enables seamless name resolution across VNets without linking the Private DNS Zone directly to every spoke. Furthermore, enabling network policies for private endpoints on the destination data subnet is required so that Azure honors user-defined routes and NSGs, ensuring that database traffic is routed through the firewall instead of bypassing it.

Adım Adım Çözüm

1
Configure DNS resolution for the spoke virtual network.
By setting the DNS server of VNet-App to the Private DNS Resolver's inbound endpoint IP address, VM DNS queries are forwarded to VNet-Hub, which can resolve the private link zone.
This allows the application VMs to resolve the SQL database's private FQDN to its private endpoint IP without creating duplicate links to the DNS zone.
2
Enable network policies on the private endpoint subnet.
Enabling subnet network policies for private endpoints allows Azure to respect user-defined routes (UDRs) and Network Security Groups (NSGs) on the private endpoint's interface.
By default, UDRs and NSGs are bypassed for private endpoint traffic. Enabling this policy ensures that return traffic from the database back to the application VM is routed through the Azure Firewall.
3
Associate a route table with Subnet-App routing traffic to the Azure Firewall.
A UDR on Subnet-App directs traffic bound for the SQL Private Endpoint to the Azure Firewall private IP address.
This guarantees that outbound traffic from the application layer to the database layer is inspected by the firewall.

Anahtar Kavram

Azure Private Endpoint Routing and DNS Integration in Hub-Spoke Architectures
Soru 219Soru

Your company is designing a secure network architecture for an Azure-hosted application. The application runs on Azure Virtual Machines deployed in a virtual network named VNet1. The application requires outbound access to an Azure Storage account and an Azure Key Vault. You need to recommend a network security solution that meets the following requirements:
- Prevent all access to the storage account and key vault from the public internet.
- Ensure the virtual machines can resolve and connect to the services using their default fully qualified domain names (FQDNs).
- Minimize the administrative effort required to configure and maintain network access controls.

Which of the following designs should you recommend?

Cevabı ve açıklamayı göster

Cevap: Configure Private Endpoints for the storage account and key vault in VNet1, disable public access on both services, and link Azure Private DNS zones for the services to VNet1.

Cevap

Configure Private Endpoints for the storage account and key vault in VNet1, disable public access on both services, and link Azure Private DNS zones for the services to VNet1.
The correct design uses Private Endpoints to assign private IP addresses from VNet1 to the storage account and key vault. Disabling public access ensures that traffic to these resources is blocked from the public internet. Linking the corresponding Azure Private DNS zones to VNet1 ensures that name resolution for the default FQDNs resolves to the private IP addresses automatically, satisfying the requirements with minimal administrative overhead.

Adım Adım Çözüm

1
Select Private Access Method
Identify Private Endpoints as the solution to provide private IP addresses inside VNet1 for Azure Storage and Key Vault.
Private Endpoints satisfy the requirement to block all public internet access by routing traffic privately over the Microsoft backbone network.
2
Configure Name Resolution
Create and link Private DNS zones for the services to VNet1.
This enables virtual machines to resolve the default fully qualified domain names (FQDNs) to the private IP addresses of the Private Endpoints without requiring custom host files or manual DNS management.
3
Minimize Administrative Effort
Disable public endpoint access on the Azure Storage and Key Vault resources.
This centralizes security controls at the resource firewall layer rather than manually maintaining complex NSG rules or user-defined routes.

Anahtar Kavram

Private Link and Private DNS Integration
Soru 220Soru

A digital publishing company is designing a serverless solution to generate quarterly PDF reports for subscribers. The report generation process runs on demand, takes approximately 12 to 15 minutes to compile each document, and requires a custom Linux environment with specific PDF compilation libraries. The workload is highly irregular, and the company wants to ensure that they do not pay for compute resources when no reports are being generated.

Which compute service should you recommend?

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps Jobs

Cevap

Azure Container Apps Jobs
The correct option is Azure Container Apps Jobs because it supports running custom Linux container environments for run-to-completion tasks, scales to zero when no jobs are running to avoid idle costs, and does not have the 10-minute execution limit that affects Azure Functions on a Consumption plan.

Adım Adım Çözüm

1
Analyze the execution duration requirement
The workload runs for 12 to 15 minutes, which rules out options with a strict 10-minute timeout limit.
Establishing execution boundaries is critical for selecting the correct serverless hosting model.
2
Analyze the scaling and cost requirements
The system must scale to zero and incur no costs when idle, which rules out dedicated hosting plans.
Meeting the cost-efficiency constraint requires a serverless billing model.
3
Evaluate operational overhead and dependency requirements
Azure Container Apps Jobs supports custom containers and scales to zero without the operational complexity of managing an AKS cluster.
Choosing the service with the lowest operational overhead that fulfills all technical criteria.

Anahtar Kavram

Azure serverless compute selection based on execution duration, custom dependencies, and cost constraints.
ÖncekiSayfa 11 / 18Sonraki
Design Infrastructure Solutions Alıştırma Soruları — Microsoft Azure Solutions Architect (AZ-305) — Sayfa 11 | Examkin