Design Infrastructure Solutions

360 soru

Soru 41Soru

A financial services company is designing a new payment processing application on Azure. The architecture consists of a transaction processing API tier and a stateful database tier. The application design must satisfy the following requirements:

* The database tier requires at least 256 GB of memory and high temporary storage throughput. To minimize SQL Server core-based licensing costs, the operating system must only see 8 vCPUs, while the database continues to utilize the memory and I/O performance of a 32-core virtual machine size.
* The transaction processing API tier handles highly sensitive financial data in transit. It must run in a secure, hardware-isolated execution environment that protects data in memory from external access, including the host operating system, hypervisor, and cloud administrators.
* The database tier must remain highly available and survive a primary datacenter outage without unexpected interruptions or evictions.

Which two compute virtualization solutions or configurations should you recommend to meet these requirements?

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

Cevabı ve açıklamayı göster

Cevap: Deploy the database tier on E32-8ds_v5 constrained vCPU virtual machines; Deploy the transaction processing API tier on DC-series or EC-series confidential virtual machines

Cevap

Deploy the database tier on E32-8ds_v5 constrained vCPU virtual machines and deploy the transaction processing API tier on DC-series or EC-series confidential virtual machines.
Deploying the database tier on E32-8ds_v5 constrained vCPU virtual machines provides the required 256 GB of memory and storage throughput of the E32ds_v5 size while limiting active vCPUs to 8, which minimizes SQL Server licensing costs. Deploying the transaction processing API tier on DC-series or EC-series confidential virtual machines meets the security requirement by encrypting memory in use at the hardware level using AMD SEV-SNP or Intel SGX, preventing access from the hypervisor and cloud operators.

Adım Adım Çözüm

1
Analyze the database core licensing constraint.
Determine that a constrained vCPU virtual machine size is required to provide high memory (256 GB) and high I/O throughput while limiting the OS-visible vCPUs to 8 to minimize licensing costs.
Azure offers constrained vCPU VM sizes (such as E32-8ds_v5) specifically for database workloads where memory and storage performance are needed but licensing costs are bound to core counts.
2
Analyze the secure execution environment requirement for the API tier.
Determine that confidential virtual machines (such as DC-series or EC-series) are required to protect data in memory from external access, including the hypervisor and administrators.
Confidential computing uses hardware-based Trusted Execution Environments (TEEs) to encrypt memory in use.
3
Evaluate the database tier availability requirements.
Rule out Azure Spot VMs due to eviction risks, and rule out single-zone deployments due to lack of resilience against datacenter outages.
Production database workloads must run on standard VM tiers across multiple availability zones to satisfy high availability SLAs.

Anahtar Kavram

Azure compute virtualization selection, including constrained vCPUs for cost optimization, confidential computing for security in use, and high availability constraints.
Soru 42Soru

An enterprise deploys a hub-and-spoke virtual network topology in Azure. The Hub Virtual Network (vnet-hub-prod, CIDR: 10.200.0.0/16) contains a subnet (snet-hub-nva, CIDR: 10.200.1.0/24) that hosts a firewall Network Virtual Appliance (NVA) at IP address 10.200.1.4. The Spoke Virtual Network (vnet-spoke-app, CIDR: 10.201.0.0/16) contains a subnet (snet-app-prod, CIDR: 10.201.1.0/24) hosting application servers. The virtual networks are peered.

The enterprise has the following requirements:
1. All outbound internet traffic from snet-app-prod must be routed through the NVA at 10.200.1.4 for security inspection.
2. Application servers in snet-app-prod must communicate directly with database servers in another subnet (snet-app-db, CIDR: 10.201.2.0/24) within the same virtual network without traversing the NVA, to minimize latency.
3. Access to public Azure Key Vault instances must go directly over the Azure backbone network using service tags.

A junior administrator creates a custom Route Table, associates it with snet-app-prod, and defines the following user-defined routes (UDRs):
- Route 1: Address prefix 0.0.0.0/0 -> Next hop: Virtual appliance (10.200.1.4)
- Route 2: Address prefix 10.201.0.0/16 -> Next hop: Virtual appliance (10.200.1.4)
- Route 3: Address prefix AzureKeyVault (Service Tag) -> Next hop: Internet

Following this configuration, application servers in snet-app-prod lose all connectivity to database servers in snet-app-db.

Which modification to the Route Table will restore the required network connectivity?

Cevabı ve açıklamayı göster

Cevap: Delete Route 2 from the Route Table so that traffic within the virtual network is handled by the default system-defined local route.

Cevap

Delete the user-defined route with the prefix 10.201.0.0/16 (Route 2) from the Route Table so that traffic within the virtual network is handled by the default system-defined local route.
Deleting the user-defined route with the prefix 10.201.0.0/16 allows the default system-defined local virtual network route to handle traffic within the virtual network. In Azure, UDRs with the exact same prefix as system routes will override them. Removing this route allows servers in the application subnet to communicate directly with the database subnet without going through the NVA, satisfying the latency constraint while keeping the security rules for internet and Key Vault traffic intact.

Adım Adım Çözüm

1
Analyze the current route table configuration and identify conflicts with requirements.
Route 2 has the address prefix 10.201.0.0/16, which matches the local virtual network's CIDR block.
Identify why traffic from the application subnet to the database subnet within the same virtual network is failing.
2
Evaluate the route selection logic in Azure.
User-defined routes (UDRs) with the same prefix length as system routes override the default system routes. Thus, Route 2 overrides the default '10.201.0.0/16 -> Local' route.
Determine how Route 2 affects traffic destined for resources inside the same virtual network.
3
Formulate a resolution that satisfies all design constraints.
By deleting Route 2, the system route '10.201.0.0/16 -> Local' becomes active again, allowing intra-virtual network traffic to bypass the NVA. Outbound internet traffic and Key Vault traffic still match Route 1 and Route 3 respectively.
Restore the default system local route while preserving forced tunneling for internet traffic and direct path access for Azure Key Vault.

Anahtar Kavram

Azure Route Selection and User Defined Route (UDR) Override Behaviors
Tahmini Süre:2m 0s
Soru 43Soru

A biotechnology firm is designing a serverless container-based system on Azure to process genomic sequencing data. The architecture must support the following workloads:

* Workload 1: A research portal web application that accepts sequencing requests. The application must scale dynamically based on HTTP traffic, scale down to zero instances during idle periods to minimize costs, and support custom domain names with TLS termination.
* Workload 2: A sequencing analysis processor. Each execution is triggered by a new message in an Azure Service Bus queue, runs to completion, and can take up to three hours to finish. The processor must automatically scale its instances horizontally based on the number of messages in the queue.

You need to recommend the container compute solutions for both workloads. The solution must minimize administrative and operational overhead.

Which services should you recommend?

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps for Workload 1 and Azure Container Apps Jobs for Workload 2

Cevap

Azure Container Apps for Workload 1 and Azure Container Apps Jobs for Workload 2
The correct recommendation is to use Azure Container Apps for the web application (Workload 1) and Azure Container Apps Jobs for the batch sequencing analysis processor (Workload 2). Azure Container Apps is optimized for HTTP-based, serverless workloads that need to scale down to zero replicas. Azure Container Apps Jobs is designed specifically for run-to-completion tasks triggered by events (such as queue messages) and can run for up to 24 hours, satisfying the 3-hour requirement while natively supporting KEDA-based horizontal scaling to zero.

Adım Adım Çözüm

1
Analyze the requirements for Workload 1
Workload 1 is a web application requiring HTTP routing, TLS termination, auto-scaling to zero, and serverless compute. Azure Container Apps is a managed platform that natively supports these features with minimal administrative effort.
Identify the best serverless host for HTTP-triggered web portals without the overhead of AKS.
2
Analyze the requirements for Workload 2
Workload 2 is a queue-triggered, run-to-completion processor that can run for up to three hours and requires event-driven horizontal scaling.
Determine the execution patterns and runtime limitations of the workloads.
3
Evaluate candidate compute services for Workload 2 against runtime and scaling constraints
Azure Functions Consumption plan has a 10-minute execution limit, making it invalid. Azure Container Instances (ACI) lacks native auto-scaling on queue length, requiring custom orchestration. Azure Container Apps Jobs supports run-to-completion execution up to 24 hours and includes native KEDA scalers for Service Bus queues.
Select the option that satisfies the timeout and scaling requirements with the lowest operational overhead.

Anahtar Kavram

Selecting the appropriate Azure container hosting option (Azure Container Apps vs. Azure Container Apps Jobs vs. AKS vs. ACI) based on workload execution patterns, scaling behaviors, runtime timeouts, and operational overhead constraints.
Soru 44Soru

A logistics company is designing the Azure infrastructure for a new core order-tracking application. The application will run on Azure Virtual Machines, requires a 99.99%99.99\% availability SLA, and must remain operational even if a primary datacenter within the Azure region experiences a power outage. Which virtualization deployment strategy should you recommend?

Cevabı ve açıklamayı göster

Cevap: Deploy standard Azure Virtual Machines distributed across multiple Availability Zones in the region.

Cevap

Deploy standard Azure Virtual Machines distributed across multiple Availability Zones in the region.
Deploying standard virtual machines across multiple Availability Zones provides independent physical locations within a region, protecting the application from datacenter-level power outages and enabling a 99.99% SLA.

Adım Adım Çözüm

1
Analyze the availability and disaster resilience requirements.
The application requires a 99.99% availability SLA and must survive a power outage at a primary datacenter.
This rules out single datacenter (single zone) deployments and single VM solutions.
2
Evaluate the workload stability requirements.
The application is a core order-tracking system, representing a steady-state production workload.
This rules out Azure Spot VMs due to the risk of eviction.
3
Select the appropriate deployment architecture.
Deploying standard virtual machines across multiple Availability Zones provides zone redundancy and satisfies the 99.99% SLA.
Availability Zones physically isolate workloads across separate datacenters with independent power, cooling, and networking within a region.

Anahtar Kavram

Designing high-availability compute solutions using Availability Zones
Tahmini Süre:1m 0s
Soru 45Soru

A financial services company is designing a container-based credit scoring application on Azure. The application has the following design requirements:

* A real-time scoring API that must scale dynamically to zero during periods of inactivity and automatically scale up in response to HTTP request spikes, with minimal administrative and infrastructure management effort.
* A batch risk-processing engine that executes long-running, CPU-intensive simulation tasks that can take up to 4 hours to complete.

Which two container hosting solutions should you recommend to meet these requirements?

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

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps for the real-time scoring API; Azure Container Apps Jobs for the batch risk-processing engine

Cevap

Azure Container Apps for the real-time scoring API and Azure Container Apps Jobs for the batch risk-processing engine.
Selecting Azure Container Apps for the real-time scoring API provides native scale-to-zero capabilities and automatic HTTP scaling without the administrative overhead of cluster management. Selecting Azure Container Apps Jobs for the batch risk-processing engine supports containerized tasks that run to completion and can execute for up to 24 hours, satisfying the 4-hour processing requirement.

Adım Adım Çözüm

1
Evaluate hosting options for the real-time scoring API requiring scale-to-zero capability and minimal administrative overhead.
Azure Container Apps natively scales to zero based on HTTP traffic and requires minimal management. In contrast, Azure Kubernetes Service (AKS) adds significant cluster management overhead, and Azure Container Instances (ACI) lacks native HTTP-based scale-to-zero autoscaling.
This matches the API requirements with the lower-overhead serverless container options.
2
Evaluate hosting options for the batch risk-processing engine running 4-hour simulation tasks.
Azure Container Apps Jobs is selected because it supports batch tasks running up to 24 hours. Azure Functions on a Consumption plan is ruled out because it has a 10-minute maximum execution timeout.
This ensures the long-running task does not time out during execution.

Anahtar Kavram

Choosing Azure container solutions based on operational overhead, scaling behavior, and execution limits.
Soru 46Soru

Your company has an Azure environment with a hub virtual network named `vnet-hub-core` (10.10.0.0/1610.10.0.0/16) and a spoke virtual network named `vnet-prod-spoke` (10.20.0.0/1610.20.0.0/16). The virtual networks are peered. A firewall is deployed in the hub virtual network with the private IP address 10.10.1.410.10.1.4. You are configuring a route table for the subnets in `vnet-prod-spoke` to ensure all internet-bound traffic is routed through the firewall in the hub. Which route should you add to the route table to meet this requirement without breaking local communication within the spoke virtual network?

Cevabı ve açıklamayı göster

Cevap: A route with address prefix 0.0.0.0/00.0.0.0/0, next hop type Virtual appliance, and next hop IP address 10.10.1.410.10.1.4

Cevap

A route with address prefix 0.0.0.0/00.0.0.0/0, next hop type Virtual appliance, and next hop IP address 10.10.1.410.10.1.4
The correct option is the route with address prefix 0.0.0.0/00.0.0.0/0, next hop type Virtual appliance, and next hop IP address 10.10.1.410.10.1.4. This configuration directs all traffic destined for the internet through the Azure Firewall in the hub virtual network. Because Azure uses Longest Prefix Match (LPM), the default local system route for the spoke (10.20.0.0/1610.20.0.0/16) will take precedence for internal traffic, leaving local subnet-to-subnet communication intact.

Adım Adım Çözüm

1
Identify the target destination for internet-bound traffic.
The target destination prefix for all internet-bound traffic is 0.0.0.0/00.0.0.0/0.
In IP routing, 0.0.0.0/00.0.0.0/0 represents the default route, which matches any destination address not covered by other routing entries.
2
Determine the next hop type and IP address of the firewall virtual appliance.
The next hop type is Virtual appliance, and the next hop IP address is 10.10.1.410.10.1.4.
Azure Firewall acts as a network virtual appliance, so traffic must be directed to its private IP address in the hub.
3
Verify that local communication within the spoke virtual network is preserved.
The route table will contain the custom default route (0.0.0.0/00.0.0.0/0), but the system route for 10.20.0.0/1610.20.0.0/16 remains active.
Azure uses Longest Prefix Match (LPM) routing. The local system route (10.20.0.0/1610.20.0.0/16) has a longer prefix than the custom default route (0.0.0.0/00.0.0.0/0), ensuring internal spoke traffic stays local.

Anahtar Kavram

Azure User-Defined Routes (UDR) and Longest Prefix Match (LPM) routing rules.
Soru 47Soru

A company is planning the deployment of two workloads to Azure Virtual Machines:
- Workload 1: A non-critical development testing application that runs intermittently, can tolerate interruptions, and requires the lowest possible compute cost.
- Workload 2: A production database that runs continuously in a steady state and requires high availability.

Which two of the following VM configuration strategies should you include in the design?

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

Cevabı ve açıklamayı göster

Cevap: Deploy Workload 1 on Azure Spot Virtual Machines.; Deploy Workload 2 on standard Azure Virtual Machines with Azure Reservations.

Cevap

Deploy Workload 1 on Azure Spot Virtual Machines and deploy Workload 2 on standard Azure Virtual Machines with Azure Reservations.
For the development workload that is non-critical and can be interrupted, Azure Spot Virtual Machines provide the lowest cost. For the steady-state production database, standard Virtual Machines combined with Azure Reservations offer cost efficiency without eviction risk.

Adım Adım Çözüm

1
Analyze Workload 1 requirements.
Workload 1 is a non-critical development workload that can be interrupted and requires minimal cost.
This matches the profile of Azure Spot Virtual Machines, which offer deep discounts in exchange for the possibility of eviction when capacity is needed.
2
Analyze Workload 2 requirements.
Workload 2 is a steady-state production database requiring high availability.
This requires standard VMs with reservations to reduce cost without risking eviction, and deploying across multiple availability zones for high availability.

Anahtar Kavram

Selecting the appropriate virtual machine pricing and availability options based on workload criticalness and usage patterns.
Tahmini Süre:1m 0s
Soru 48Soru

A logistics enterprise is designing a containerized system to process real-time shipping telemetry data. The system must meet the following requirements:

* Host containerized microservices that process messages from an Azure Service Bus queue.
* Scale compute instances dynamically down to zero when no messages are in the queue.
* Support long-running background tasks that run continuously for up to 20 minutes to aggregate data.
* Minimize administrative and operational overhead, as the development team has no experience managing container orchestrators.
* Ensure high availability for steady-state production workloads without the risk of infrastructure eviction.

Which Azure compute service should you recommend to host this containerized system?

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps

Cevap

Azure Container Apps
Azure Container Apps is a serverless container platform that allows hosting microservices and background tasks without the operational burden of managing Kubernetes infrastructure. It natively supports scaling to zero based on event queues (using KEDA) and allows background workloads to execute beyond 10 minutes, making it the ideal solution for this scenario.

Adım Adım Çözüm

1
Evaluate the management and operational overhead constraints.
The requirement to minimize administrative overhead and the team's lack of container orchestration experience rules out solutions like Azure Kubernetes Service (AKS) which require manual cluster and infrastructure management.
Managed serverless offerings are preferred when team expertise in Kubernetes is low and operational overhead must be minimized.
2
Assess scaling and execution duration limits.
The workload must scale to zero when idle but requires up to 20 minutes of continuous execution for background aggregation.
This rules out Azure Functions on a Consumption plan because it enforces a hard 10-minute execution timeout limit.
3
Verify eviction and availability requirements.
Steady-state production workloads requiring high availability cannot use Spot instances.
This rules out Azure Spot Virtual Machine Scale Sets due to their interruptible nature and potential for sudden eviction.

Anahtar Kavram

Selecting Azure container compute services based on operational overhead, scaling, and execution duration requirements.
Tahmini Süre:1m 30s
Soru 49Soru

You are designing a serverless background processing solution in Azure. The solution must run a data import job once daily. The job takes approximately 25 minutes to complete. You need to select an Azure Functions hosting option that supports this execution duration while minimizing cost and management overhead. Which hosting plan should you recommend?

Cevabı ve açıklamayı göster

Cevap: Azure Functions Premium plan

Cevap

Azure Functions Premium plan
The Azure Functions Premium plan is the correct choice because it supports a default execution duration of 30 minutes (which can be customized to be unlimited), satisfying the 25-minute requirement. It also offers dynamic scaling and avoids the administrative overhead of managing full virtual machines or Kubernetes clusters.

Adım Adım Çözüm

1
Analyze the execution duration requirement of the background job.
The job requires 25 minutes of continuous execution.
This establishes the minimum execution timeout requirement for the hosting service.
2
Evaluate the execution limits of serverless compute options in Azure.
The Consumption plan limits execution to a maximum of 10 minutes, whereas the Premium plan allows 30 minutes by default and can be configured to run indefinitely.
Choosing the Consumption plan would lead to job failures due to timeouts, so the Premium plan is required for serverless execution.
3
Assess administrative overhead and cost-efficiency requirements.
Kubernetes and dedicated virtual machines introduce high setup and maintenance costs, whereas Azure Functions Premium scales down when idle.
The Premium plan minimizes operational overhead and optimizes costs compared to running dedicated infrastructure.

Anahtar Kavram

Selecting appropriate Azure serverless compute options based on execution timeout and scaling requirements.
Soru 50Soru

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

* Hub VNet (`vnet-hub-prod`): CIDR 10.200.0.0/1610.200.0.0/16 containing a Network Virtual Appliance (NVA) at IP address 10.200.1.1010.200.1.10.
* Spoke VNet A (`vnet-spoke-web`): CIDR 10.201.0.0/1610.201.0.0/16.
* Spoke VNet B (`vnet-spoke-data`): CIDR 10.202.0.0/1610.202.0.0/16.

Virtual network peering is configured between `vnet-hub-prod` and `vnet-spoke-web`, and between `vnet-hub-prod` and `vnet-spoke-data`. No direct peering exists between the two spokes.

You are designing the routing tables for `vnet-spoke-web` to satisfy these requirements:
1. All outbound traffic destined for the database servers in `vnet-spoke-data` must transit through the NVA.
2. All outbound traffic destined for the management services in the hub VNet (`vnet-hub-prod`) must transit through the NVA.
3. Subnet-to-subnet traffic within `vnet-spoke-web` must remain direct and must not be sent to the NVA.

Which two routing configurations should you implement in the route table associated with the subnets in `vnet-spoke-web`?

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

Cevabı ve açıklamayı göster

Cevap: A route for 10.200.0.0/1610.200.0.0/16 with the next hop set to Virtual Appliance and the IP address 10.200.1.1010.200.1.10; A route for 10.202.0.0/1610.202.0.0/16 with the next hop set to Virtual Appliance and the IP address 10.200.1.1010.200.1.10

Cevap

Configure two routes in the route table for the web spoke subnets: one route for the hub range of 10.200.0.0/1610.200.0.0/16 pointing to the Network Virtual Appliance (NVA) at 10.200.1.1010.200.1.10, and another route for the database spoke range of 10.202.0.0/1610.202.0.0/16 pointing to the same NVA IP address.
To route traffic from the web spoke to the hub VNet through the NVA, a route matching the exact prefix of the hub (10.200.0.0/1610.200.0.0/16) must be defined. This overrides the system-defined VNet peering route. To route traffic to the database spoke, a route for 10.202.0.0/1610.202.0.0/16 must also be defined pointing to the NVA, as there is no default system route for non-peered spokes. Leaving the local web spoke range (10.201.0.0/1610.201.0.0/16) out of the custom route table ensures that local traffic utilizes the default system route and remains direct.

Adım Adım Çözüm

1
Analyze default system routes in the web spoke virtual network.
The web spoke contains a local system route for 10.201.0.0/1610.201.0.0/16 (Virtual Network next hop) and a peering system route for 10.200.0.0/1610.200.0.0/16 (VNet Peering next hop). No route exists for the database spoke (10.202.0.0/1610.202.0.0/16).
Understanding the baseline system routes is critical to determining which traffic flows need to be explicitly overridden or added using User Defined Routes (UDRs).
2
Design the route to override the default hub peering path through the NVA.
Create a UDR for 10.200.0.0/1610.200.0.0/16 pointing to the NVA IP address (10.200.1.1010.200.1.10).
UDRs override system routes of the same prefix length. This successfully redirects hub-bound traffic through the NVA.
3
Design the route to reach the database spoke via the NVA.
Create a UDR for 10.202.0.0/1610.202.0.0/16 pointing to the NVA IP address (10.200.1.1010.200.1.10).
Because the spoke VNets are not directly peered, a route must be added to direct database-bound traffic to the NVA for transit routing.
4
Verify that local traffic remains unaffected.
No UDR is added for the 10.201.0.0/1610.201.0.0/16 prefix, meaning the default local system route handles intra-VNet communication.
This satisfies the requirement that subnet-to-subnet traffic within the web spoke must remain direct and not transit the NVA.

Anahtar Kavram

Azure Longest Prefix Match (LPM) and Route Precedence
Soru 51Soru

An insurance firm is designing a container-based application that processes claims from an Azure Service Bus queue. The design must satisfy the following requirements:

* Scale dynamically from zero to hundreds of instances using Kubernetes Event-driven Autoscaling (KEDA) based on the queue depth.
* Establish private connectivity to secure back-end databases within an Azure Virtual Network.
* Minimize the administrative effort required to manage the container orchestration platform.
* Support execution times of up to 15 minutes per message without timeout.

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: Azure Container Apps to host the containerized workloads; Azure Container Apps scale rules configured for Azure Service Bus queue length

Cevap

Azure Container Apps to host the containerized workloads, and Azure Container Apps scale rules configured for Azure Service Bus queue length.
The design requirement is best met by combining Azure Container Apps (ACA) to host the containers and configuring scale rules based on the Service Bus queue length. ACA is a serverless environment that natively supports KEDA-driven scaling down to zero and up to hundreds of instances. It also supports deployment into custom virtual networks for private database access, allows executions to exceed 10 minutes, and significantly reduces administrative overhead compared to managing an AKS cluster.

Adım Adım Çözüm

1
Evaluate the administrative effort and container hosting options.
Azure Container Apps (ACA) is selected over Azure Kubernetes Service (AKS) because ACA is a fully managed serverless platform that eliminates cluster management overhead.
The requirement specifically demands minimizing administrative effort.
2
Assess scaling mechanisms and execution limits.
Native KEDA scaling rules in ACA are chosen, and Azure Functions on a Consumption plan is eliminated due to its 10-minute timeout constraint.
The processing task can take up to 15 minutes, which exceeds the Consumption plan's timeout.
3
Verify virtual network integration and private connectivity.
Azure Container Apps supports deployment within a custom Azure Virtual Network (VNet) to secure database connections privately.
This satisfies the requirement to establish private connectivity to secure back-end databases.

Anahtar Kavram

Selecting serverless container hosting (Azure Container Apps) to minimize operational overhead while utilizing native KEDA integrations for queue-based scaling and avoiding platform-specific execution timeouts.
Soru 52Soru

An enterprise is designing a multi-region container-based solution on Azure. The solution requires hosting two distinct workloads:

- Workload 1: A backend service that must scale from zero dynamically based on the volume of messages in an Azure Service Bus queue. The enterprise wants to minimize ongoing administrative overhead and avoid managing container orchestration infrastructure.
- Workload 2: A security monitoring tool that requires direct access to the underlying Kubernetes API, custom daemonsets for host-level network packet inspection, and custom kernel parameter modifications.

Additionally, regulatory compliance policies mandate that log data must be isolated regionally and cannot leave the respective geographic boundaries of each deployment region.

Which two configurations should you include in the design to meet these requirements?

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

Cevabı ve açıklamayı göster

Cevap: Deploy Workload 1 to Azure Container Apps (ACA).; Deploy Workload 2 to Azure Kubernetes Service (AKS).

Cevap

Deploy Workload 1 to Azure Container Apps (ACA) and deploy Workload 2 to Azure Kubernetes Service (AKS).
Deploying the event-driven scaling workload to Azure Container Apps meets the requirement for automatic KEDA-based scaling to zero while minimizing operational overhead. Deploying the security component to Azure Kubernetes Service is necessary because it requires host-level daemonsets, custom kernel parameters, and direct Kubernetes API access, which are not supported in serverless container environments.

Adım Adım Çözüm

1
Analyze Workload 1 requirements.
Workload 1 needs event-driven queue scaling to zero and minimum management. Azure Container Apps natively integrates KEDA and abstracts host management, satisfying this requirement.
Matching the serverless scale-to-zero queue requirements with the lowest overhead service.
2
Analyze Workload 2 requirements.
Workload 2 requires deep host integration, custom daemonsets, and Kubernetes API access. This requires Azure Kubernetes Service (AKS), as these features are locked down in serverless container solutions.
Differentiating container runtimes based on administrative control and platform restrictions.
3
Evaluate the logging requirements against regulatory boundaries.
Separate Log Analytics workspaces must be deployed in each region to comply with data sovereignty regulations, ruling out a single centralized workspace.
Ensuring compliance with local geographic data boundaries.

Anahtar Kavram

Selecting the appropriate Azure container service based on orchestration complexity, Kubernetes API access, node-level control, and regional logging compliance requirements.
Soru 53Soru

An enterprise plans to migrate a mission-critical, stateful database application to Azure. The application has the following requirements:
- Strict regulatory compliance mandates physical isolation at the hardware level, ensuring no other customer workloads run on the same physical host.
- The database is highly memory-intensive, requiring a memory-to-vCPU ratio of at least 8:1.
- The transaction log storage requires at least 80,000 IOPS with consistent sub-millisecond latency.
- The compute infrastructure must achieve a 99.99% availability service level agreement (SLA).
- The solution must support Azure Hybrid Benefit to minimize licensing costs.

Which compute and storage architecture should you recommend to meet these requirements?

Cevabı ve açıklamayı göster

Cevap: Deploy Azure Dedicated Hosts using the Ebsv5-series host group across two Availability Zones, deploy the database Virtual Machines on these hosts, and configure Premium SSD v2 storage for the transaction logs.

Cevap

Deploy Azure Dedicated Hosts using the Ebsv5-series host group across two Availability Zones, deploy the database Virtual Machines on these hosts, and configure Premium SSD v2 storage for the transaction logs.
Deploying Azure Dedicated Hosts using the Ebsv5-series host group provides physical isolation at the hardware level, satisfying regulatory compliance. The Ebsv5-series is memory-optimized, meeting the required memory-to-vCPU ratio. To achieve the 99.99% availability SLA, the Dedicated Hosts must be deployed across at least two Availability Zones in the same region. Finally, Premium SSD v2 storage supports the required 80,000 IOPS with sub-millisecond latency, and Dedicated Hosts support host-level Azure Hybrid Benefit for license cost optimization.

Adım Adım Çözüm

1
Evaluate the requirement for hardware-level isolation and Azure Hybrid Benefit.
Determine that Azure Dedicated Hosts are necessary.
Standard multi-tenant VMs do not guarantee hardware isolation, whereas Dedicated Hosts provide physical servers dedicated to a single subscription and support licensing at the host level.
2
Select the appropriate compute series and storage configuration for high performance.
Select Ebsv5-series VMs and Premium SSD v2 storage.
The database needs an 8:1 memory-to-vCPU ratio (satisfied by the memory-optimized E-series) and a storage solution supporting 80,000 IOPS with sub-millisecond latency (satisfied by Premium SSD v2).
3
Configure the deployment architecture to meet the target availability SLA.
Distribute the Dedicated Hosts across at least two Availability Zones.
To achieve a 99.99% VM availability SLA when using Azure Dedicated Hosts, the hosts must be deployed in different Availability Zones within the same region.

Anahtar Kavram

Designing high-availability compute virtualization solutions on isolated hardware with specific performance constraints.
Soru 54Soru

An enterprise is designing virtual network routing for a spoke virtual network named `vnet-prod-spoke` (address space: 10.200.0.0/1610.200.0.0/16). The spoke VNet contains two subnets: `snet-app` (10.200.1.0/2410.200.1.0/24) and `snet-db` (10.200.2.0/2410.200.2.0/24). The spoke VNet is peered with a hub virtual network named `vnet-hub-weur` (address space: 10.100.0.0/1610.100.0.0/16), which hosts a Network Virtual Appliance (NVA) firewall at IP address 10.100.1.410.100.1.4.

You configure a route table named `rt-app` and associate it with the `snet-app` subnet to meet the following requirements:
- Requirement 1: All traffic to the on-premises network (172.16.0.0/12172.16.0.0/12) must be routed through the NVA firewall.
- Requirement 2: Traffic to other subnets within `vnet-prod-spoke` must route directly (not through the NVA) to minimize latency.
- Requirement 3: Traffic to the hub virtual network (10.100.0.0/1610.100.0.0/16) must be routed through the NVA firewall.

To implement this, you add the following user-defined routes to `rt-app`:
- `Route_Hub`: Prefix 10.100.0.0/1610.100.0.0/16, Next hop: Virtual appliance (10.100.1.410.100.1.4)
- `Route_OnPrem`: Prefix 172.16.0.0/12172.16.0.0/12, Next hop: Virtual appliance (10.100.1.410.100.1.4)
- `Route_Local`: Prefix 10.200.0.0/1610.200.0.0/16, Next hop: Virtual appliance (10.100.1.410.100.1.4)

Which of the following statements correctly describe the impact of this configuration and the required action to satisfy the requirements? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Traffic destined for snet-db is incorrectly routed to the NVA firewall because Route_Local matches the local virtual network prefix exactly, and User Defined Routes take precedence over default system routes with the same prefix.; Deleting Route_Local from the route table resolves the local communication failure, allowing the default system route for the virtual network to direct traffic directly between the subnets.

Cevap

Traffic destined for the database subnet is sent to the NVA firewall because the user-defined route has the same prefix as the default local route and overrides it. To resolve the issue, the user-defined route matching the local VNet prefix must be deleted.
The user-defined route matching the local virtual network address space exactly (10.200.0.0/1610.200.0.0/16) overrides the default local system route because UDRs have higher precedence than system routes for identical prefixes. Removing this route resolves the issue, as the default system route will then correctly direct local subnet-to-subnet traffic directly.

Adım Adım Çözüm

1
Identify the default system routes generated for the subnet.
A default local system route for 10.200.0.0/1610.200.0.0/16 is created to route traffic within the virtual network directly.
To understand the baseline routing behavior before UDRs are applied.
2
Compare the user-defined Route_Local (10.200.0.0/1610.200.0.0/16 -> NVA) with the default local system route.
Both routes have the identical prefix 10.200.0.0/1610.200.0.0/16. In Azure, UDRs take precedence over system routes when prefixes match exactly.
To determine how Azure resolves conflicting routes of the same prefix length.
3
Determine the corrective action to meet the requirement of direct routing.
Deleting Route_Local allows the default local system route to handle local VNet traffic directly, while Route_Hub and Route_OnPrem continue to handle hub and on-premises traffic via the NVA.
To restore direct routing for local subnets without impacting other UDRs.

Anahtar Kavram

User-Defined Route precedence over default virtual network system routes of the same prefix length
Tahmini Süre:2m 0s
Soru 55Soru

You are designing the hosting infrastructure for two new workloads in Azure:
- Workload 1: A lightweight microservice that processes HTTP requests and must scale down to zero instances to minimize costs during idle periods.
- Workload 2: A data processing job that executes triggered events and runs for up to 3030 minutes per execution.

Which of the following service plans should you recommend for these workloads? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Azure Container Apps to host Workload 1; Azure Functions on a Premium plan to host Workload 2

Cevap

Azure Container Apps to host Workload 1 and Azure Functions on a Premium plan to host Workload 2
Azure Container Apps is the ideal choice for Workload 1 because it allows simple containerized microservices to scale down to zero instances when idle, minimizing costs without the management complexity of a Kubernetes cluster. Azure Functions on a Premium plan is correct for Workload 2 because it supports execution durations of up to 3030 minutes, whereas the Consumption plan has a maximum execution limit of 1010 minutes.

Adım Adım Çözüm

1
Analyze the scaling and operational requirements of Workload 1.
Workload 1 requires scaling to zero instances to minimize costs and low operational overhead. Azure Container Apps supports scaling to zero based on HTTP traffic without the cluster management overhead of Azure Kubernetes Service.
This identifies the most cost-effective and low-maintenance hosting option for the microservice.
2
Analyze the execution duration requirements of Workload 2.
Workload 2 runs for up to 3030 minutes, which exceeds the 1010-minute maximum execution timeout of the Azure Functions Consumption plan. Azure Functions on a Premium plan supports execution durations of up to 3030 minutes.
This ensures the selected plan supports the execution duration without experiencing timeout failures.

Anahtar Kavram

Selecting Azure compute and serverless hosting plans based on execution duration limits, scaling behavior, and operational overhead.
Soru 56Soru

An enterprise is designing a container-based application on Azure that consists of a payment microservice and three operational microservices.

The design must satisfy the following requirements:
* Scale the compute resources dynamically based on message queue depth using KEDA, including scaling down to zero when idle.
* Minimize the administrative effort of managing container infrastructure, including OS patching, cluster upgrades, and node scaling.
* Route the console and system logs of the payment microservice to a dedicated regional Log Analytics workspace to meet compliance requirements.
* Route the logs of the operational microservices to a separate, shared Log Analytics workspace.
* Enable all microservices to communicate with each other securely over a private network.

Which architecture should you recommend?

Cevabı ve açıklamayı göster

Cevap: Deploy the payment microservice and the operational microservices into separate Azure Container Apps environments integrated with different subnets of the same Azure Virtual Network. Configure each environment with its own Log Analytics workspace.

Cevap

Deploy the payment microservice and the operational microservices into separate Azure Container Apps environments integrated with different subnets of the same Azure Virtual Network, configuring each environment with its own Log Analytics workspace.
The correct solution uses Azure Container Apps to meet the need for serverless scaling (KEDA) to zero and minimal operational overhead. Since logging is configured at the Environment level in Azure Container Apps, routing logs to different Log Analytics workspaces requires deploying the services into two separate Container Apps environments. By integrating these environments into different subnets of the same virtual network, secure and private inter-service communication is achieved.

Adım Adım Çözüm

1
Evaluate the scaling and operational overhead requirements.
Azure Container Apps (ACA) is identified as the optimal serverless option because it natively supports KEDA-based scale-to-zero and eliminates container infrastructure management (no VMs or cluster upgrades).
This filters out AKS due to high administrative effort and ACI due to lack of native event-driven KEDA scaling.
2
Evaluate the log segregation requirement.
Logging configuration in ACA is bound to the Container Apps Environment level. Therefore, microservices requiring separate Log Analytics workspaces must be deployed into separate ACA Environments.
This rules out deploying all services in a single ACA Environment with access control filters.
3
Evaluate secure private communication between separate environments.
Deploy the separate ACA environments into different subnets within the same Azure Virtual Network.
This allows the microservices to communicate securely over a private network boundary with minimal latency while keeping their log destinations separate.

Anahtar Kavram

Selecting and configuring serverless container hosting platforms in Azure to align scaling, management overhead, private networking, and compliance monitoring requirements.
Tahmini Süre:3m 0s
Soru 57Soru

A transit authority is designing a containerized telemetry processing system to monitor municipal bus fleets across two geographical sectors. The system consists of multiple microservices that ingest GPS coordinates and engine diagnostics from an Azure IoT Hub.

The architecture must meet the following requirements:
- Support event-driven scaling using KEDA based on message queue depth.
- Minimize administrative effort and operational overhead for managing the underlying compute infrastructure.
- Satisfy strict regional compliance regulations by ensuring that telemetry logs from each sector are stored exclusively within their respective Azure regions and are not co-mingled.

Which infrastructure design should you recommend?

Cevabı ve açıklamayı göster

Cevap: Deploy Azure Container Apps in each region, and configure a separate Log Analytics workspace in each region.

Cevap

Deploy Azure Container Apps in each region, and configure a separate Log Analytics workspace in each region.
The correct design uses Azure Container Apps because it natively supports KEDA-based scaling and minimizes operational and administrative overhead compared to managing full Kubernetes clusters. Additionally, deploying separate Log Analytics workspaces in each region satisfies the compliance requirement by ensuring data residency and preventing log co-mingling across different geographical jurisdictions.

Adım Adım Çözüm

1
Evaluate the scaling and operational requirements for the compute platform.
Identify that Azure Container Apps supports event-driven scaling using KEDA natively and operates as a serverless platform, minimizing administrative overhead compared to Azure Kubernetes Service.
This addresses the requirement to support KEDA scaling while minimizing compute management effort.
2
Evaluate the compliance and logging requirements.
Determine that separate Log Analytics workspaces must be deployed in each region to ensure regional log isolation and compliance.
A single centralized workspace would co-mingle telemetry data from different sectors, violating the regional compliance constraints.
3
Combine the compute and logging evaluations to select the optimal design.
Select the combination of regional Azure Container Apps and separate regional Log Analytics workspaces.
This combined design satisfies both the low-administrative compute overhead constraint and the strict log isolation compliance mandate.

Anahtar Kavram

Designing serverless container workloads with regional data residency and compliance auditing.
Tahmini Süre:2m 30s
Soru 58Soru

An organization deploys an Azure virtual network named `vnet-prod-eastus` with the address space 10.95.0.0/1610.95.0.0/16. The virtual network contains three subnets:
* `snet-web` (10.95.1.0/2410.95.1.0/24)
* `snet-db` (10.95.2.0/2410.95.2.0/24)
* `snet-nva` (10.95.10.0/2410.95.10.0/24), which hosts a Network Virtual Appliance (NVA) at the IP address 10.95.10.410.95.10.4.

The organization intends to inspect all traffic from `snet-web` to `snet-db` using the NVA. An administrator creates a route table named `rt-prod-web`, associates it with `snet-web`, and adds a user-defined route (UDR) with the address prefix 10.95.0.0/1610.95.0.0/16 and the next hop pointing to the NVA.

After applying the route table, virtual machines in `snet-web` can no longer communicate with each other, and all intra-subnet traffic within `snet-web` fails.

What is the primary cause of this communication failure?

Cevabı ve açıklamayı göster

Cevap: The user-defined route overrides the default virtual network system route for the entire address space, redirecting local intra-subnet traffic to the NVA.

Cevap

The user-defined route overrides the default virtual network system route for the entire address space, redirecting local intra-subnet traffic to the NVA.
The correct answer explains that user-defined routes take precedence over default system routes when the destination prefixes match. The system route for local virtual network traffic is 10.95.0.0/1610.95.0.0/16 ('Virtual network'). By defining a UDR with the prefix 10.95.0.0/1610.95.0.0/16 pointing to the NVA, all local traffic within the virtual network—including traffic between hosts in the same subnet (`snet-web`)—is redirected to the NVA. If the NVA cannot process or loop back this traffic, intra-subnet communication fails.

Adım Adım Çözüm

1
Analyze the virtual network layout and system routes.
The virtual network `vnet-prod-eastus` has the prefix 10.95.0.0/1610.95.0.0/16, which creates a default Azure system route of 10.95.0.0/1610.95.0.0/16 with next hop 'Virtual network'.
Understanding the default system routing behavior is necessary to evaluate how user-defined routes interact with it.
2
Evaluate the user-defined route (UDR) prefix and destination.
The UDR configures prefix 10.95.0.0/1610.95.0.0/16 with next hop 'Virtual Appliance' (10.95.10.410.95.10.4).
This shows that the UDR prefix exactly matches the default virtual network system route.
3
Apply Azure route selection precedence rules.
For identical prefixes (10.95.0.0/1610.95.0.0/16), the user-defined route (UDR) takes precedence over the system route. Consequently, all traffic within the VNet, including intra-subnet traffic in `snet-web`, is sent to the NVA, breaking local communication if the NVA is not configured to handle it.
Azure determines the next hop by looking for the longest prefix match, and if prefixes are equal, it prioritizes UDR over default system routes.

Anahtar Kavram

Azure route selection and precedence rules between User Defined Routes (UDR) and default system routes.
Soru 59Soru

An enterprise implements a hub-and-spoke network topology in Azure. The topology contains a hub virtual network named `vnet-weur-hub` (10.10.0.0/1610.10.0.0/16) and a spoke virtual network named `vnet-weur-spoke` (10.20.0.0/1610.20.0.0/16). A network virtual appliance (NVA) is deployed in the hub at 10.10.1.410.10.1.4.

You need to configure routing for the subnets in `vnet-weur-spoke` to meet the following requirements:
1. All traffic destined for the internet must route through the NVA at 10.10.1.410.10.1.4.
2. All traffic destined for resources within `vnet-weur-spoke` must route directly between those resources.

Which two routes must be active in the effective routes of `vnet-weur-spoke` to meet these requirements? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: A user-defined route with the address prefix 0.0.0.0/00.0.0.0/0 and a next hop type of Virtual appliance pointing to 10.10.1.410.10.1.4.; A system-defined route with the address prefix 10.20.0.0/1610.20.0.0/16 and a next hop type of Virtual network.

Cevap

A user-defined route with the address prefix 0.0.0.0/00.0.0.0/0 pointing to the virtual appliance at 10.10.1.410.10.1.4 as next hop, and the default system-defined route with the address prefix 10.20.0.0/1610.20.0.0/16 pointing to the Virtual network.
The correct configurations include the user-defined route for 0.0.0.0/00.0.0.0/0 pointing to the firewall's IP address of 10.10.1.410.10.1.4, which overrides the default internet path and routes all external traffic through the firewall. Additionally, the default system-defined route for the local virtual network prefix (10.20.0.0/1610.20.0.0/16 with next hop Virtual network) must remain the active route for internal traffic. Since Azure routing uses Longest Prefix Match (LPM), the local system route (10.20.0.0/1610.20.0.0/16) takes precedence over the user-defined route (0.0.0.0/00.0.0.0/0) for any traffic destined within the spoke, allowing local traffic to bypass the firewall without requiring extra UDRs.

Adım Adım Çözüm

1
Analyze the requirement for outbound internet traffic routing.
To route all outbound internet traffic (0.0.0.0/00.0.0.0/0) to the NVA at 10.10.1.410.10.1.4, we must define a User-Defined Route (UDR) with prefix 0.0.0.0/00.0.0.0/0 and next hop Virtual appliance pointing to 10.10.1.410.10.1.4. This overrides the default system route for internet traffic.
By default, Azure routes internet-bound traffic directly to the Internet. A UDR is required to override this default behavior.
2
Analyze the requirement for internal spoke-to-spoke traffic routing.
Traffic within `vnet-weur-spoke` (10.20.0.0/1610.20.0.0/16) is handled by the default system route with the prefix 10.20.0.0/1610.20.0.0/16 and next hop Virtual network.
Azure system routes automatically handle intra-VNet routing. Leaving this route active allows direct local communication without traversing the hub firewall.
3
Evaluate route precedence (Longest Prefix Match).
For local traffic (e.g., to 10.20.1.510.20.1.5), Azure evaluates both routes: 10.20.0.0/1610.20.0.0/16 (system route) and 0.0.0.0/00.0.0.0/0 (UDR). The system route is a longer prefix match, so it takes precedence.
Longest Prefix Match ensures that local traffic is routed locally, while all other traffic falls back to the 0.0.0.0/00.0.0.0/0 default route pointing to the firewall.

Anahtar Kavram

Azure virtual network routing uses User-Defined Routes (UDRs) to override default system routes. Azure selects routes based on the Longest Prefix Match (LPM) algorithm. A route for 0.0.0.0/00.0.0.0/0 redirects all non-local traffic to the specified next hop (NVA/firewall), while local traffic continues to route directly via the system route for the VNet's CIDR block.
Soru 60Soru

A financial institution is designing the Azure compute infrastructure for two separate workloads:

- Workload 1: A core transaction processing system that runs steady-state, 24/7, requires physical isolation at the physical hardware level to meet regulatory compliance, and must be deployed across multiple availability zones to ensure zone-level high availability.
- Workload 2: A batch risk-modeling application that runs on weekends, is highly parallelizable, tolerant of interruptions, and must be deployed at the lowest possible cost.

Which two compute virtualization strategies should you recommend to meet these requirements? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: Deploy Workload 1 on Azure Dedicated Hosts allocated across multiple availability zones.; Deploy Workload 2 on Azure Spot Virtual Machines.

Cevap

Deploy Workload 1 on Azure Dedicated Hosts allocated across multiple availability zones, and deploy Workload 2 on Azure Spot Virtual Machines.
Deploying the core transaction processing system on Azure Dedicated Hosts across multiple availability zones satisfies both the physical hardware isolation requirement and the zone-level high availability requirement. Deploying the batch risk-modeling application on Azure Spot Virtual Machines leverages the cost-savings of unused Azure capacity for workloads that are highly tolerant of interruptions.

Adım Adım Çözüm

1
Analyze the requirements for Workload 1.
Workload 1 requires 24/7 steady-state operation, zone-level high availability, and physical isolation at the hardware level.
This establishes that multi-tenant Azure virtual machines (even with Reserved Instances) and Spot VMs are ruled out, requiring dedicated physical hardware (Azure Dedicated Hosts) configured across multiple availability zones.
2
Analyze the requirements for Workload 2.
Workload 2 runs on weekends, is highly parallelizable, can handle interruptions, and must be highly cost-effective.
This aligns perfectly with Azure Spot VMs, which utilize excess Azure capacity at a significant discount with the trade-off of potential eviction.
3
Evaluate the proposed options against the findings.
The strategy of deploying Workload 1 on Dedicated Hosts across zones and Workload 2 on Spot VMs satisfies all constraints.
This completes the selection of the correct two options while discarding options that violate high availability, physical isolation, or workload stability constraints.

Anahtar Kavram

Azure compute virtualization strategies matching isolation, cost-efficiency, and availability SLA requirements.
ÖncekiSayfa 3 / 18Sonraki
Design Infrastructure Solutions Alıştırma Soruları — Microsoft Azure Solutions Architect (AZ-305) — Sayfa 3 | Examkin