Complete the code to specify the primary region for deployment.
resourceGroup = new ResourceGroup('myResourceGroup', { location: '[1]' });
The primary region is set to westus2 to deploy resources in that Azure region.
Complete the code to create a secondary region resource group for disaster recovery.
secondaryResourceGroup = new ResourceGroup('mySecondaryRG', { location: '[1]' });
The secondary resource group is created in eastus2 to enable multi-region redundancy.
Fix the error in the code to enable geo-replication for the storage account.
storageAccount = new StorageAccount('mystorage', { location: 'westus2', sku: { name: '[1]' } });
Using Standard_GRS enables geo-redundant storage for multi-region replication.
Fill both blanks to configure traffic manager profile with priority routing and specify the primary endpoint.
const profile = new TrafficManagerProfile('tmProfile', { routingMethod: '[1]', endpoints: [{ name: 'primaryEndpoint', type: 'azureEndpoints', targetResourceId: '[2]' }] });
The routing method Priority directs traffic to the primary endpoint specified by the resource ID primaryIP.
Fill all three blanks to define an Azure Front Door with two backend pools for multi-region failover.
const frontDoor = new FrontDoor('myFrontDoor', { backendPools: [ { name: '[1]', backends: [{ address: '[2]' }] }, { name: '[3]', backends: [{ address: 'secondary.example.com' }] } ] });
The backend pools are named primaryPool and secondaryPool with addresses primary.example.com and secondary.example.com respectively for failover.