Complete the code to define a service mesh component that manages communication between microservices.
service_mesh = [1]('linker')
The Sidecar pattern is used in service mesh to manage communication by running alongside each microservice.
Complete the code to enable secure communication between services in a service mesh.
service_mesh.enable_tls([1]=True)
Mutual TLS (mTLS) is used in service mesh to secure communication by authenticating both client and server.
Fix the error in the code to correctly configure traffic routing in a service mesh.
service_mesh.route_traffic(source='frontend', destination=[1])
The destination should be the backend-service to route traffic from frontend to backend correctly.
Fill both blanks to create a policy that limits requests and retries in a service mesh.
policy = [1](max_requests=100, retry=[2])
The RateLimiter controls request limits, and 3 retries is a common retry count.
Fill all three blanks to define a service mesh configuration that includes observability and fault injection.
config = {
'[1]': True,
'fault_injection': {'delay': [2], 'percentage': [3]
}Observability enables monitoring, 100ms delay simulates latency, and 10% fault injection rate tests resilience.