0
0
MLOpsdevops~10 mins

Multi-region deployment in MLOps - 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 deployment region in the configuration.

MLOps
deployment_region = "[1]"
Drag options to blanks, or click blank then click option'
Aus-east-1
Basia-south1
Ceu-west-1
Dlocal
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a local or unrelated region code.
2fill in blank
medium

Complete the code to set the failover region for multi-region deployment.

MLOps
failover_region = "[1]"
Drag options to blanks, or click blank then click option'
Aus-east-1
Bus-west-2
Ceu-central-1
Dap-northeast-1
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting the same region as primary, which defeats failover purpose.
3fill in blank
hard

Fix the error in the deployment command to specify the correct region flag.

MLOps
deploy [1] --app myapp
Drag options to blanks, or click blank then click option'
A--region us-east-1
B-r us-east-1
Cregion=us-east-1
D-region us-east-1
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect flag syntax causing command failure.
4fill in blank
hard

Fill both blanks to configure the deployment script for primary and secondary regions.

MLOps
primary_region = "[1]"
secondary_region = "[2]"
Drag options to blanks, or click blank then click option'
Aus-east-1
Beu-west-1
Cap-southeast-1
Dus-west-2
Attempts:
3 left
💡 Hint
Common Mistakes
Using the same region for both primary and secondary.
5fill in blank
hard

Fill all three blanks to complete the multi-region deployment configuration dictionary.

MLOps
deployment_config = {
  "primary": "[1]",
  "secondary": "[2]",
  "strategy": "[3]"
}
Drag options to blanks, or click blank then click option'
Aus-east-1
Bus-west-2
Cactive-active
Dpassive
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing deployment strategies or using same region twice.