0
0
Microservicessystem_design~20 mins

Why service mesh manages inter-service traffic in Microservices - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Service Mesh Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Why use a service mesh for inter-service communication?

Which of the following best explains why a service mesh is used to manage inter-service traffic in microservices?

AIt stores all service data in a single database to simplify data management.
BIt replaces the need for any API gateways by directly exposing all services to the internet.
CIt provides a centralized way to handle service discovery, load balancing, and secure communication between services without changing service code.
DIt automatically scales the number of services based on CPU usage without configuration.
Attempts:
2 left
💡 Hint

Think about how a service mesh helps services talk to each other safely and efficiently.

💻 Command Output
intermediate
2:00remaining
Output of service mesh sidecar proxy status command

What is the expected output when running the command istioctl proxy-status in a Kubernetes cluster with Istio service mesh installed?

Microservices
istioctl proxy-status
A
NAME                                                   CDS        LDS        EDS        RDS        ISTIOD
productpage-5d8f7d6f7f-abcde.default                    SYNCED     SYNCED     SYNCED     SYNCED     istiod-1234567890-xyz
reviews-6f7d8c9d7f-fghij.default                        SYNCED     SYNCED     SYNCED     SYNCED     istiod-1234567890-xyz
BError: command not found
CNo proxies found in the cluster
DPod productpage-5d8f7d6f7f-abcde is not ready
Attempts:
2 left
💡 Hint

This command shows the synchronization status of sidecar proxies managed by Istio.

🔀 Workflow
advanced
3:00remaining
Steps to enable mutual TLS in a service mesh

Which sequence correctly describes the steps to enable mutual TLS (mTLS) between services in a service mesh?

A2,1,3,4
B2,3,1,4
C1,3,2,4
D1,2,3,4
Attempts:
2 left
💡 Hint

Think about configuring policies before deploying and verifying certificates.

Troubleshoot
advanced
2:00remaining
Troubleshooting failed inter-service calls in a service mesh

You notice that service A cannot reach service B in a service mesh environment. Which of the following is the most likely cause?

AThe database used by service A is down.
BThe sidecar proxy for service B is not running or crashed.
CService A has no CPU resources allocated.
DThe Kubernetes node running service B is out of disk space.
Attempts:
2 left
💡 Hint

Focus on components directly involved in inter-service communication.

Best Practice
expert
2:30remaining
Best practice for managing inter-service traffic with a service mesh

Which practice is considered best for managing inter-service traffic in a service mesh to ensure reliability and security?

AUse sidecar proxies to enforce policies like retries, timeouts, and mutual TLS without modifying service code.
BDisable all sidecar proxies and let services handle communication directly for better performance.
CStore all service credentials in environment variables inside each service container.
DAllow all traffic between services without restrictions to reduce configuration complexity.
Attempts:
2 left
💡 Hint

Think about how to keep services secure and reliable without changing their code.