Courseiva
Back to Microsoft Azure Solutions Architect Expert AZ-305 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise Microsoft Azure Solutions Architect Expert AZ-305 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
AZ-305
exam code
Microsoft
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related AZ-305 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1hardmultiple choice
Full question →

Refer to the exhibit. You deploy this ARM template to create a storage account in the West US region. The business continuity requirement states that if the primary region becomes unavailable, the storage account must be readable within 1 hour. What is the most important limitation of this configuration?

Exhibit

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "resources": [
    {
      "type": "Microsoft.Storage/storageAccounts",
      "apiVersion": "2023-01-01",
      "name": "mystorageaccount",
      "location": "[resourceGroup().location]",
      "sku": {
        "name": "Standard_GRS",
        "tier": "Standard"
      },
      "kind": "StorageV2",
      "properties": {
        "accessTier": "Hot",
        "supportsHttpsTrafficOnly": true
      }
    }
  ]
}
Question 2hardmultiple choice
Review the full routing breakdown →

A company is designing a hub-spoke network topology in Azure. The hub contains a third-party network virtual appliance (NVA) for inspection. Spokes need to communicate with each other, and all inter-spoke traffic must be routed through the NVA in the hub. Which configuration should they use?

Question 3hardmultiple choice
Full question →

Refer to the exhibit. You are reviewing a Bicep template for a storage account. You need to ensure that the storage account is only accessible via HTTPS and uses TLS 1.2. Which property validates this requirement?

Exhibit

subscriptions:
  - name: sub-prod
    location: eastus
    resourceGroups:
      - name: rg-prod
        resources:
          - type: Microsoft.Storage/storageAccounts
            name: stprod001
            properties:
              accessTier: Hot
              supportsHttpsTrafficOnly: true
              minimumTlsVersion: TLS1_2
Question 4hardmultiple choice
Full question →

Refer to the exhibit. An administrator runs the PowerShell script to enable replication for a VM. The script fails with an error that the VM is not found. What is the most likely cause?

Exhibit

Refer to the exhibit.

$rg = Get-AzResourceGroup -Name "DR-RG"
$vault = Get-AzRecoveryServicesVault -ResourceGroupName $rg.ResourceGroupName -Name "ContosoVault"
Set-AzRecoveryServicesAsrVaultContext -Vault $vault
$fabric = Get-AzRecoveryServicesAsrFabric -Name "ContosoFabric"
$protectionContainer = Get-AzRecoveryServicesAsrProtectionContainer -Fabric $fabric
$policy = Get-AzRecoveryServicesAsrPolicy -Name "ContosoReplicationPolicy"
$vm = Get-AzVM -ResourceGroupName "PROD-RG" -Name "WebVM01"
New-AzRecoveryServicesAsrReplicationProtectedItem -VM $vm -ProtectionContainer $protectionContainer -Policy $policy
Question 5easymultiple choice
Full question →

Refer to the exhibit. You deploy this ARM template to a resource group in the East US region. You specify the parameter storageAccountType as 'Standard_GRS'. Which of the following is true about the deployed storage account?

Exhibit

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "storageAccountType": {
      "type": "string",
      "defaultValue": "Standard_LRS",
      "allowedValues": [
        "Standard_LRS",
        "Standard_GRS",
        "Standard_ZRS",
        "Premium_LRS"
      ]
    }
  },
  "resources": [
    {
      "type": "Microsoft.Storage/storageAccounts",
      "apiVersion": "2023-01-01",
      "name": "[format('storage{0}', uniqueString(resourceGroup().id))]",
      "location": "[resourceGroup().location]",
      "sku": {
        "name": "[parameters('storageAccountType')]"
      },
      "kind": "StorageV2"
    }
  ]
}
Question 6hardmultiple choice
Full question →

Refer to the exhibit. A company is analyzing Azure Storage diagnostic logs using this KQL query. They notice a high number of GetBlob operations on BlockBlobs. The storage account is used for a web application that serves static content. What should they recommend to reduce the number of GetBlob operations?

Exhibit

{
  "query": "AzureDiagnostics | where ResourceProvider == \"MICROSOFT.STORAGE\" | where OperationName == \"GetBlob\" | summarize Count = count() by BlobType, bin(TimeGenerated, 1h) | order by TimeGenerated desc",
  "result": [
    {"BlobType": "BlockBlob", "Count": 1200, "TimeGenerated": "2026-03-15T10:00:00Z"},
    {"BlobType": "PageBlob", "Count": 50, "TimeGenerated": "2026-03-15T10:00:00Z"},
    {"BlobType": "AppendBlob", "Count": 200, "TimeGenerated": "2026-03-15T10:00:00Z"}
  ]
}
Question 7hardmultiple choice
Full question →

Refer to the exhibit. This ARM template configures backup for an Azure App Service web app. The backup is scheduled daily. What is the primary limitation of this backup strategy in meeting a disaster recovery RPO of 4 hours?

Exhibit

{
  "type": "Microsoft.Web/sites",
  "apiVersion": "2022-09-01",
  "name": "myapp",
  "location": "[resourceGroup().location]",
  "kind": "app",
  "properties": {
    "siteConfig": {
      "alwaysOn": true,
      "minTlsVersion": "1.2"
    },
    "backup": {
      "enabled": true,
      "storageAccountUrl": "https://mybackups.blob.core.windows.net/backups?sv=2020-08-04&ss=b&srt=sco&sp=rwdl&se=2025-12-31T23:59:59Z&st=2023-01-01T00:00:00Z&spr=https&sig=...",
      "schedule": {
        "frequencyInterval": 1,
        "frequencyUnit": "Day",
        "retentionPeriodInDays": 30
      }
    }
  }
}
Question 8mediummultiple choice
Full question →

You are reviewing a PowerShell script for Azure SQL Database. The exhibit shows the script that sets backup retention. What is the effect of running this script?

Exhibit

Refer to the exhibit.

```
$rg = Get-AzResourceGroup -Name "myRG"
$server = Get-AzSqlServer -ResourceGroupName $rg.ResourceGroupName -ServerName "myserver"
$database = Get-AzSqlDatabase -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName "mydb"
Set-AzSqlDatabaseBackupShortTermRetentionPolicy -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -DatabaseName $database.DatabaseName -RetentionDays 7
```
Question 9hardmultiple choice
Full question →

Refer to the exhibit. You deploy this Azure Network Watcher connection monitor to test TCP connectivity on port 443 between two VMs. The test consistently shows 'Unreachable' status. Both VMs are running and have correct NSG rules allowing inbound port 443 from the source VM's IP. What is the most likely cause?

Exhibit

Refer to the exhibit.
{
  "type": "Microsoft.Network/networkWatchers/connectionMonitors",
  "apiVersion": "2022-01-01",
  "properties": {
    "endpoints": [
      {
        "name": "sourceVM",
        "resourceId": "/subscriptions/123/resourceGroups/rg-prod/providers/Microsoft.Compute/virtualMachines/vm1"
      },
      {
        "name": "destinationVM",
        "resourceId": "/subscriptions/123/resourceGroups/rg-prod/providers/Microsoft.Compute/virtualMachines/vm2",
        "address": "10.0.1.4"
      }
    ],
    "testConfigurations": [
      {
        "name": "TCPTest",
        "protocol": "TCP",
        "tcpConfiguration": {
          "port": 443
        }
      }
    ],
    "testGroups": [
      {
        "name": "TestGroup1",
        "disable": false,
        "sources": ["sourceVM"],
        "destinations": ["destinationVM"],
        "testConfigurations": ["TCPTest"]
      }
    ]
  }
}
Question 10hardmultiple choice
Full question →

A company has a hub-spoke network topology in Azure. They have multiple spoke VNets connected to a hub VNet via peering. They need to ensure that all east-west traffic between spoke VNets goes through a network virtual appliance (NVA) in the hub for inspection. Additionally, all outbound internet traffic from spoke VMs must use a single public IP address. What should they configure?

Question 11mediummultiple choice
Full question →

A company has multiple on-premises sites and Azure VNets in different regions. They need to connect all networks with a single mesh topology, ensuring that any network can communicate with any other network directly. They also want to minimize administrative overhead. Which Azure service should they use?

Question 12hardmultiple choice
Review the full routing breakdown →

A company has multiple Azure virtual networks (VNets) in different regions and an on-premises data center connected via ExpressRoute. They need to implement a hub-and-spoke topology where a hub VNet hosts shared network virtual appliances (NVAs) for traffic inspection. All traffic between spokes and between spokes and on-premises must be routed through the hub. The company wants to minimize the administrative overhead of configuring and maintaining routing. Which Azure solution should they implement?

Question 13hardmultiple choice
Full question →

Refer to the exhibit. An administrator configured Azure Site Recovery for a VM. The replication is ongoing but the health shows a warning. What is the most likely cause?

Exhibit

Refer to the exhibit.

{
  "properties": {
    "provisioningState": "Succeeded",
    "recoveryPlan": null,
    "replicationFrequencyInSeconds": 300,
    "allowedReplicationIntervalInMinutes": [15],
    "recoveryPointRetentionInMinutes": 1440,
    "primaryLocation": "eastus",
    "recoveryLocation": "westus",
    "protectionState": "Protected",
    "health": "Warning",
    "healthErrors": [
      {
        "errorCode": "0x80070005",
        "errorMessage": "Access denied or insufficient privileges."
      }
    ]
  }
}
Question 14mediummultiple choice
Full question →

Refer to the exhibit. The JSON shows role assignments for user1. The role definition IDs are: b24988ac-6180-42a0-ab88-20f7382dd24c = Key Vault Secrets User, 8e3af657-a8ff-443c-a75c-2fe8c4bcb635 = Reader. User1 reports being unable to list secrets in the key vault 'vault-prod' using Azure CLI. What is the most likely cause?

Exhibit

{
  "roleAssignments": [
    {
      "principalId": "user1@contoso.com",
      "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c",
      "scope": "/subscriptions/1234-5678/resourceGroups/rg-prod/providers/Microsoft.KeyVault/vaults/vault-prod"
    },
    {
      "principalId": "user1@contoso.com",
      "roleDefinitionId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
      "scope": "/subscriptions/1234-5678/resourceGroups/rg-prod"
    }
  ]
}
Question 15hardmultiple choice
Full question →

A company has multiple Azure VNets deployed in a hub-spoke topology. They want to inspect all outbound internet traffic from spoke VMs using a central firewall and ensure that traffic from all VNets goes through the firewall before reaching the internet. They also need to log all outbound connections. Which architecture should they implement?

These AZ-305 practice questions are part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style AZ-305 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.