0
0
Azurecloud~10 mins

Backend pools and health probes 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 define a backend pool in an Azure Load Balancer configuration.

Azure
backendAddressPools: [
  {
    name: 'myBackendPool',
    [1]: [
      { name: 'address1', ipAddress: '10.0.0.4' },
      { name: 'address2', ipAddress: '10.0.0.5' }
    ]
  }
]
Drag options to blanks, or click blank then click option'
AhealthProbes
BfrontendIPConfigurations
CbackendAddresses
DloadBalancingRules
Attempts:
3 left
💡 Hint
Common Mistakes
Using frontendIPConfigurations instead of backendAddresses
Confusing healthProbes with backendAddresses
2fill in blank
medium

Complete the code to define a health probe that checks HTTP on port 80.

Azure
healthProbes: [
  {
    name: 'httpProbe',
    protocol: [1],
    port: 80,
    requestPath: '/health'
  }
]
Drag options to blanks, or click blank then click option'
AHttp
BTcp
CHttps
DFtp
Attempts:
3 left
💡 Hint
Common Mistakes
Using Tcp protocol when HTTP is needed
Using Https without SSL configuration
3fill in blank
hard

Fix the error in the health probe configuration by selecting the correct property name for the probe interval.

Azure
healthProbes: [
  {
    name: 'tcpProbe',
    protocol: 'Tcp',
    port: 443,
    [1]: 15
  }
]
Drag options to blanks, or click blank then click option'
AprobeIntervalInSeconds
BintervalInSeconds
Cinterval
DprobeFrequency
Attempts:
3 left
💡 Hint
Common Mistakes
Using probeIntervalInSeconds which is invalid
Using interval without units
4fill in blank
hard

Fill both blanks to configure a backend pool and associate it with a health probe.

Azure
loadBalancingRules: [
  {
    name: 'rule1',
    frontendPort: 80,
    backendPort: 80,
    backendAddressPool: [1],
    probe: [2]
  }
]
Drag options to blanks, or click blank then click option'
A'myBackendPool'
B'httpProbe'
C'tcpProbe'
D'frontendPool'
Attempts:
3 left
💡 Hint
Common Mistakes
Using frontendPool instead of backend pool
Using tcpProbe when HTTP probe is expected
5fill in blank
hard

Fill all three blanks to define a health probe with HTTPS protocol, port 443, and a custom request path.

Azure
healthProbes: [
  {
    name: [1],
    protocol: [2],
    port: [3],
    requestPath: '/customhealth'
  }
]
Drag options to blanks, or click blank then click option'
A'httpsProbe'
B'Https'
C443
D'Http'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Http' protocol for HTTPS port
Using numeric port as string