0
0
Microservicessystem_design~20 mins

Distributed tracing (Jaeger, Zipkin) in Microservices - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Distributed Tracing Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the purpose of distributed tracing
Which of the following best describes the main purpose of distributed tracing tools like Jaeger and Zipkin in a microservices architecture?
ATo automatically scale microservices based on incoming traffic patterns.
BTo replace traditional logging systems by storing all logs in a centralized database.
CTo monitor and visualize the flow of requests across multiple microservices to identify latency and errors.
DTo encrypt all communication between microservices for enhanced security.
Attempts:
2 left
💡 Hint
Think about what problem distributed tracing solves in complex systems.
Architecture
intermediate
2:00remaining
Key components of a distributed tracing system
Which component is NOT typically part of a distributed tracing system like Jaeger or Zipkin?
ALoad balancer that distributes incoming user requests to microservices.
BCollector that receives and processes trace data from instrumented services.
CStorage backend that saves trace data for querying and visualization.
DAgent that runs alongside services to capture and forward trace data.
Attempts:
2 left
💡 Hint
Consider which components are specific to tracing versus general infrastructure.
scaling
advanced
2:00remaining
Scaling distributed tracing in high-traffic microservices
In a high-traffic microservices environment, what is the best approach to ensure distributed tracing data does not overwhelm storage and processing systems?
AStore all trace data indefinitely to ensure complete historical records.
BDisable tracing on all services during peak traffic to avoid overload.
CSend trace data directly from clients to the storage backend without processing.
DSample traces by collecting only a subset of requests to reduce data volume.
Attempts:
2 left
💡 Hint
Think about balancing data completeness with system performance.
tradeoff
advanced
2:00remaining
Tradeoffs in choosing between Jaeger and Zipkin
Which statement correctly describes a tradeoff when choosing between Jaeger and Zipkin for distributed tracing?
AJaeger offers better integration with Kubernetes but Zipkin has a simpler architecture and easier setup.
BZipkin supports more programming languages natively than Jaeger.
CJaeger does not support sampling, while Zipkin supports advanced sampling techniques.
DZipkin requires proprietary storage solutions, whereas Jaeger only supports open-source databases.
Attempts:
2 left
💡 Hint
Consider differences in deployment and architecture complexity.
estimation
expert
3:00remaining
Estimating storage needs for distributed tracing data
A microservices system handles 100,000 requests per minute. Each trace generates approximately 10KB of data. If you sample 10% of traces for storage, what is the estimated storage needed per day (in GB)?
AApproximately 864 GB
BApproximately 144 GB
CApproximately 1,440 GB
DApproximately 86.4 GB
Attempts:
2 left
💡 Hint
Calculate total data per minute, apply sampling, then scale to one day.