0
0
Azurecloud~10 mins

Disaster recovery strategies in Azure - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify the Azure service used for disaster recovery.

Azure
resource = azure.[1].RecoveryServicesVault('myRecoveryVault')
Drag options to blanks, or click blank then click option'
ANetwork
BCompute
CStorage
DRecoveryServices
Attempts:
3 left
💡 Hint
Common Mistakes
Using Storage instead of RecoveryServices.
Confusing Compute or Network services with disaster recovery.
2fill in blank
medium

Complete the code to define the replication type for Azure Site Recovery.

Azure
replication = vault.replication_policies.create('policy1', replication_type='[1]')
Drag options to blanks, or click blank then click option'
ALocallyRedundant
BGeoRedundant
CHyperVReplicaAzure
DZoneRedundant
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing GeoRedundant which is a storage replication type.
Confusing LocallyRedundant with replication for disaster recovery.
3fill in blank
hard

Fix the error in the code to enable replication for a virtual machine.

Azure
vm.enable_replication(vault, replication_policy=[1])
Drag options to blanks, or click blank then click option'
A'policy1'
Bvault.replication_policy
Cvault.policy1
Dpolicy1
Attempts:
3 left
💡 Hint
Common Mistakes
Passing the policy name without quotes causing a NameError.
Using incorrect attribute references.
4fill in blank
hard

Fill both blanks to configure failover direction and recovery point type.

Azure
failover_config = FailoverSettings(direction='[1]', recovery_point_type='[2]')
Drag options to blanks, or click blank then click option'
APrimaryToRecovery
BRecoveryToPrimary
CLatest
DCustom
Attempts:
3 left
💡 Hint
Common Mistakes
Reversing failover direction.
Using 'Custom' recovery point type without proper configuration.
5fill in blank
hard

Fill all three blanks to create a recovery plan with a group and action.

Azure
plan = RecoveryPlan(name='myPlan', groups=[RecoveryPlanGroup(name='[1]', actions=[RecoveryPlanAction(action_type='[2]', vm_name='[3]')])])
Drag options to blanks, or click blank then click option'
AGroup1
BFailover
Cvm01
DStart
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect action types like 'Start' instead of 'Failover'.
Mismatching group or VM names.