Tüm alıştırma soruları
1252 soru
An administrator is configuring a new virtual network named `vnet-prod` in an Azure subscription. The virtual network is assigned the address space .
The administrator needs to deploy the following components:
- A Route-based VPN Gateway that supports future coexistence with ExpressRoute.
- An Azure Bastion host using the minimum supported subnet size.
- An application tier named `subnet-app` that must host at least 60 virtual machines.
Which subnet configuration meets all of these requirements while minimizing IP address waste?
An administrator configures the virtual network components in an Azure subscription as shown in the tables below:
Virtual Machines and Subnet Associations:
| Virtual Machine | Private IP | Subnet | Network Security Group (NSG) | Application Security Group (ASG) |
|---|---|---|---|---|
| VM1 | 10.1.1.4 | Subnet1 | NSG-NIC1 (NIC-level) | ASG-App |
| VM2 | 10.1.2.4 | Subnet2 | None | ASG-DB |
* `Subnet1` is associated with `NSG-Subnet1`.
* `Subnet2` is not associated with any subnet-level NSG.
* `VM2` does not have any NIC-level NSG.
NSG-Subnet1 Inbound Rules:
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 110 | 1433 | TCP | 10.1.2.0/24 | ASG-App | Allow |
| 120 | 1433 | TCP | Any | Any | Deny |
NSG-Subnet1 Outbound Rules:
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 110 | 1433 | TCP | ASG-App | 10.1.2.0/24 | Deny |
| 120 | 1433 | TCP | Any | Any | Allow |
NSG-NIC1 Inbound Rules:
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 150 | 1433 | TCP | 10.1.2.4 | Any | Deny |
| 160 | 1433 | TCP | Any | Any | Allow |
NSG-NIC1 Outbound Rules:
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 150 | 1433 | TCP | Any | ASG-DB | Allow |
| 160 | 1433 | TCP | Any | Any | Deny |
Which of the following describes the status of the connection attempts on TCP port 1433?
An organization has an Azure subscription containing two peered virtual networks: `VNet-Corp` (address space ) and `VNet-External` (address space ).
`VNet-Corp` contains three subnets:
- `Subnet-Transit` ()
- `Subnet-App` ()
- `Subnet-DB` ()
A Network Virtual Appliance (NVA) with the private IP address is deployed in `Subnet-Transit`. IP forwarding is enabled on its network interface.
A route table named `RT-App` is associated with `Subnet-App`. The route table contains the following user-defined routes (UDRs):
- Route 1: Destination , Next hop type: `Virtual appliance`, Next hop:
- Route 2: Destination , Next hop type: `Virtual network`
- Route 3: Destination , Next hop type: `Virtual appliance`, Next hop:
A virtual machine in `Subnet-App` attempts to send traffic to the following destinations:
- Destination 1: (a database server in `Subnet-DB`)
- Destination 2: (a server in `VNet-External`)
Which next hops will Azure use to route the traffic to Destination 1 and Destination 2?
To secure outbound communication, a security administrator associates a Network Security Group (NSG) named `NSG-Outbound` with a subnet. The NSG contains the following custom outbound security rules:
* `Deny-Internet-All`: Priority 180, Destination: `Internet`, Port: `Any`, Protocol: `Any`, Action: Deny
* `Allow-Web-Outbound`: Priority 240, Destination: `Internet`, Port: 443, Protocol: TCP, Action: Allow
A virtual machine residing in the subnet attempts to connect to an external web service over port 443.
What is the status of this outbound connection attempt?
Your company has an Azure subscription containing a virtual network named `VNet1`. `VNet1` contains two subnets named `Subnet1` and `Subnet2`.
You have the following virtual machines and network configurations:
* `VM1` is in `Subnet1`. Its network interface `NIC1` is associated with an Application Security Group named `ASG-Web`.
* `VM2` is in `Subnet2`. Its network interface `NIC2` is associated with an Application Security Group named `ASG-Database`.
* A Network Security Group named `NSG-Subnet1` is associated with `Subnet1`.
* A Network Security Group named `NSG-NIC1` is associated with `NIC1`.
* A Network Security Group named `NSG-Subnet2` is associated with `Subnet2`.
* A Network Security Group named `NSG-NIC2` is associated with `NIC2`.
The Network Security Groups are configured with the following custom inbound rules:
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 100 | 80 | TCP | Any | ASG-Web | Allow |
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 110 | 80 | TCP | Any | Any | Deny |
| 120 | 80 | TCP | Any | ASG-Web | Allow |
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 130 | 1433 | TCP | ASG-Web | ASG-Database | Allow |
| Priority | Port | Protocol | Source | Destination | Action |
|---|---|---|---|---|---|
| 140 | 1433 | TCP | Any | Any | Deny |
| 150 | 1433 | TCP | ASG-Web | ASG-Database | Allow |
All other settings are at their default configurations.
A user on the internet attempts to establish an HTTP connection to `VM1` on TCP port 80. Simultaneously, `VM1` attempts to establish a SQL Server connection to `VM2` on TCP port 1433.
Which of the following describes the outcome of these connection attempts?
An administrator plans to configure Azure File Sync. The environment contains the following resources:
* A Storage Sync Service named SyncService1
* An Azure Storage account named sa1 that contains two Azure file shares: shareA and shareB
* Two registered on-premises Windows servers: Server1 and Server2
The administrator must configure synchronization to meet the following requirements:
* Files in the folder Docs on Server1 must synchronize with shareA.
* Files in the folder Data on Server2 must synchronize with shareB.
Which of the following actions are required to configure the synchronization? (Select two.)
Geçerli olan tümünü seçin
You are deploying a containerized batch-processing utility to Azure Container Instances (ACI). The utility has the following requirements:
- It must run to completion, processing objects from an Azure storage queue.
- If the utility encounters an error during execution and terminates with a non-zero exit code, it must attempt to restart and run again.
- Once the utility completes processing successfully, it must shut down and not restart.
- The ACI container group must run inside a private virtual network named VNet1.
Which of the following configuration options should you select to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
An administrator is designing a virtual network routing solution. A virtual network contains two subnets named `SubnetA` and `SubnetB`. A firewall virtual machine named `NVA1` is deployed in `SubnetB`. The administrator wants to route all outbound internet traffic from the virtual machines in `SubnetA` through `NVA1` for inspection before it reaches the internet.
Which two actions must the administrator perform to achieve this goal?
Geçerli olan tümünü seçin
Your company has an Azure environment with three virtual networks in the East US region:
* VNet-Hub () contains a Virtual Network Gateway configured for ExpressRoute. A virtual machine named VM-Hub is deployed in a subnet within VNet-Hub.
* VNet-SpokeA () contains a virtual machine named VM-SpokeA deployed in a subnet within VNet-SpokeA.
* VNet-SpokeB () contains a virtual machine named VM-SpokeB deployed in a subnet within VNet-SpokeB.
You configure virtual network peering between VNet-Hub and VNet-SpokeA, and between VNet-Hub and VNet-SpokeB.
You have the following requirements:
1. VM-SpokeA must be able to communicate with on-premises resources via the ExpressRoute gateway in VNet-Hub.
2. VM-SpokeB must NOT be able to communicate with on-premises resources, but must still communicate directly with VM-Hub.
Which two configurations should you perform to meet these requirements? (Select two.)
Geçerli olan tümünü seçin
An administrator manages an Azure environment with the following resource hierarchy:
* A management group named `Tenant-MG`.
* An Azure subscription named `Sub-Development` that is a child of `Tenant-MG`.
* A resource group named `RG-ProdMock` in `Sub-Development`.
* A resource group named `RG-Scratch` in `Sub-Development`.
The administrator applies the following policy assignments:
* Assignment 1: An Azure Policy definition that restricts allowed virtual machine SKUs to `Standard_D2s_v3` (using the `Deny` effect) is assigned to `Tenant-MG`. The assignment includes `RG-Scratch` in its Exclusions list.
* Assignment 2: An Azure Policy definition that requires the tag `Dept` (using the `Deny` effect) is assigned to `Sub-Development`. No exclusions are configured.
Which of the following virtual machine deployments will be successfully created? (Select TWO)
Geçerli olan tümünü seçin
Your Azure subscription contains a virtual network named `VNet1` with two subnets: `Subnet-Web` and `Subnet-Data`. An NSG named `NSG-Data` is associated with `Subnet-Data`. `NSG-Data` contains the following custom inbound security rule:
* Priority:
* Source: `*`
* Destination: `*`
* Destination Port Range: `*`
* Protocol: Any
* Action: Deny
You have a virtual machine named `VM-Web` in `Subnet-Web` associated with an Application Security Group (ASG) named `ASG-Web`.
You have a virtual machine named `VM-SQL` in `Subnet-Data` associated with an ASG named `ASG-SQL`.
You need to allow database traffic (TCP port ) and management traffic (TCP port ) from `VM-Web` to `VM-SQL`. The solution must enforce the principle of least privilege.
Which two inbound security rules should you add to `NSG-Data`?
Geçerli olan tümünü seçin
Your company has a Microsoft Entra ID tenant that contains both cloud-only users and hybrid users synced from an on-premises Active Directory Domain Services (AD DS) domain. The tenant contains a mix of Microsoft Entra ID Free and Microsoft Entra ID P1 licenses.
You need to configure Self-Service Password Reset (SSPR) to meet the following requirements:
1. All hybrid users must be able to reset their passwords, and the changes must synchronize back to the on-premises AD DS.
2. Standard cloud-only users must be subject to a two-gate SSPR policy that requires two authentication methods to reset their passwords.
Which of the following statements describe the licensing and configuration requirements to support this SSPR setup? Select two.
Geçerli olan tümünü seçin
You manage an Azure Storage account named datashareprod that contains a blob container named exports. A partner company requires access to download files from the container. You must grant access that meets the following security requirements:
- The partner must only be allowed to read blobs.
- Access must be restricted to the public IP address .
- You must be able to revoke the access immediately if needed, without rotating the storage account access keys and without affecting other applications that access the storage account.
Which configuration should you use to generate the shared access signature (SAS)?
You have two virtual networks named VNet-Prod () and VNet-Dev () with virtual machines deployed in their subnets. When configuring virtual network peering between VNet-Prod and VNet-Dev, you must enable 'Allow gateway transit', 'Use remote gateways', and 'Allow forwarded traffic' to establish basic bidirectional IP connectivity between the virtual machines. Is this statement true or false?
Your company has an Azure subscription that contains a virtual network named `VNet1` in the East US region. `VNet1` is configured with the address space of ``. You plan to deploy the following resources to `VNet1`:
- An Azure Bastion host to provide secure administrative access to your virtual machines.
- A web application tier that requires at least `` usable IP addresses.
You need to configure the subnets for these resources while minimizing the allocated address space for each subnet. Which two of the following subnet configurations should you recommend? (Select two.)
Geçerli olan tümünü seçin
You have an Azure subscription containing three peered virtual networks:
* `VNet-Hub` () containing a subnet named `Subnet-NVA` ()
* `VNet-Spoke1` () containing a subnet named `Subnet-Web` ()
* `VNet-Spoke2` () containing two subnets named `Subnet-DB` () and `Subnet-Mgmt` ()
A Network Virtual Appliance (NVA) is deployed in `Subnet-NVA` with the IP address .
You have already configured a route table associated with `Subnet-Web` that contains a route for with a next hop of the NVA at .
You need to ensure that:
1. Traffic from `Subnet-Web` to `Subnet-DB` is routed through the NVA.
2. Traffic from `Subnet-Web` to `Subnet-Mgmt` bypasses the NVA and is routed directly across the peered virtual networks.
3. The NVA can successfully receive and forward packets that are not destined for itself.
Which two configurations should you perform? (Select two.)
Geçerli olan tümünü seçin
Your company has an on-premises Windows Server named Server-Lon1 that is registered to a Storage Sync Service named SyncService-UK in the UK South region. You deploy a new Storage Sync Service named SyncService-EU in the West Europe region, which is linked to a new Azure file share. You need to synchronize a local folder on Server-Lon1 with the new Azure file share in West Europe using SyncService-EU. What should you do first?
An administrator is configuring routing in an Azure hub-and-spoke virtual network topology. The hub virtual network contains a VPN gateway and a Network Virtual Appliance (NVA) at IP address . A spoke virtual network contains a subnet named `Workload-Subnet` ().
A route table named `RT-Workload` is associated with `Workload-Subnet`, and gateway route propagation is enabled. The VPN gateway propagates two routes learned via BGP from an on-premises network:
- with the next hop pointing to the VPN gateway
- with the next hop pointing to the VPN gateway
To route traffic through the NVA, the administrator adds the following User-Defined Routes (UDRs) to `RT-Workload`:
- Route A: Prefix , Next Hop: Virtual Appliance ()
- Route B: Prefix , Next Hop: Virtual Appliance ()
A virtual machine in `Workload-Subnet` attempts to transmit packets to a database server at and a web server at .
Which next hops will Azure use to route the traffic, and what configuration is required on the NVA to ensure packets are not dropped?
You plan to deploy two Azure virtual machines named VM1 and VM2 to host a two-tier application. The deployment must meet the following requirements:
- Protect the virtual machines against localized hardware failures, such as power or network outages, within a single datacenter.
- Keep the virtual machines in close physical proximity to maintain the lowest possible network latency between the tiers.
- Minimize costs associated with inter-zone data transfer.
Which availability option should you configure when creating the virtual machines?
You have an Azure subscription that contains a virtual network named `VNet1`. `VNet1` contains a single subnet named `Subnet1`.
`Subnet1` contains two virtual machines: `VM1` and `VM2`.
- The network interface of `VM1` is associated with an Application Security Group named `ASG-Web`.
- The network interface of `VM2` is associated with an Application Security Group named `ASG-DB`.
A Network Security Group named `NSG1` is associated with `Subnet1`. No other Network Security Groups are deployed.
`NSG1` contains the rules shown in the following tables:
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| Any | ASG-DB | TCP | Deny | ||
| ASG-Web | ASG-DB | TCP | Allow |
| Priority | Source | Destination | Port | Protocol | Action |
|---|---|---|---|---|---|
| ASG-Web | Any | TCP | Allow | ||
| ASG-Web | ASG-DB | TCP | Deny |
A database application running on `VM2` listens on TCP port . `VM1` attempts to establish a connection to `VM2` on TCP port .
What is the result of the connection attempt?