0
0
Microservicessystem_design~20 mins

Linkerd overview in Microservices - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Linkerd Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is the primary role of Linkerd in a microservices architecture?
Linkerd is a service mesh used in microservices. What is its main function?
AIt replaces the need for load balancers in the network.
BIt stores data persistently for microservices to access.
CIt acts as a database query optimizer for microservices.
DIt manages communication between microservices by providing observability, reliability, and security.
Attempts:
2 left
💡 Hint
Think about what a service mesh does for microservices communication.
Architecture
intermediate
2:00remaining
Which component in Linkerd handles the proxying of network traffic between services?
In Linkerd's architecture, which part is responsible for intercepting and managing the network traffic between microservices?
AService Registry
BControl Plane
CData Plane Proxy (sidecar proxy)
DAPI Gateway
Attempts:
2 left
💡 Hint
This component runs alongside each service instance.
scaling
advanced
2:30remaining
How does Linkerd ensure scalability when managing thousands of microservices?
Linkerd must handle communication for many microservices. Which design aspect helps it scale efficiently?
AStoring all service data in a single database
BDistributed sidecar proxies running alongside each service instance
CUsing a single monolithic control plane to manage all services
DCentralized proxy for all traffic to reduce overhead
Attempts:
2 left
💡 Hint
Think about how distributing work helps scale systems.
tradeoff
advanced
2:30remaining
What is a tradeoff when using Linkerd's sidecar proxy model in microservices?
Using sidecar proxies adds benefits but also some costs. Which is a common tradeoff?
AIncreased network latency due to extra proxy hops
BElimination of the need for service discovery
CSimplified deployment with no additional resource use
DReduced security because proxies bypass encryption
Attempts:
2 left
💡 Hint
Adding a proxy means traffic passes through an extra step.
estimation
expert
3:00remaining
Estimate the additional CPU overhead per service instance when deploying Linkerd sidecar proxies at scale.
If each Linkerd sidecar proxy adds approximately 5% CPU overhead to a service instance, what is the total CPU overhead for 1000 instances running on identical hardware?
A5000% total CPU overhead across all instances
B5% total CPU overhead across all instances
C50% total CPU overhead across all instances
D100% total CPU overhead across all instances
Attempts:
2 left
💡 Hint
Multiply the overhead per instance by the number of instances.