Service Mesh

0%
Theory
Quiz

    Ambient & Sidecarless Models

    • Can you use a Service Mesh without sidecars?

      Mid
    • Discuss the architectural shift towards 'sidecar-less' or 'ambient' service mesh models. What problems do these newer models address compared to the traditional sidecar approach, and what are their tradeoffs?

      Senior
    • How does ambient mesh interoperate with sidecars in the same environment?

      Senior
    • How does Istio's Ambient Mode reduce overhead?

      Senior
    • How does the security model (mTLS, L4/L7 authorization) differ between sidecar and ambient mode?

      Senior
    • What is a waypoint proxy in ambient mode, and how does it differ in responsibilities from the ztunnel?

      Senior
    • What is Cilium's eBPF-based service mesh, and how does it avoid per-pod sidecars?

      Senior
    • What is HBONE and why is it important in Istio Ambient Mesh?

      Senior

    Mesh Implementations Comparison

    • Conceptually compare and contrast different service mesh implementations like Istio, Linkerd, and HashiCorp Consul Connect, highlighting their design philosophies and typical use cases.

      Senior
    • How does Consul Connect's model of service mesh differ architecturally from Istio?

      Senior
    • How does Linkerd's Rust micro-proxy differ from Envoy, and what tradeoffs does that design choice bring?

      Senior
    • What are some alternatives to Istio, such as Linkerd or Consul Connect?

      Mid
    • When would you choose Istio over other Service Meshes like Linkerd or Consul Connect?

      Senior
    • When would you choose Linkerd over other Service Meshes?

      Senior

    Load Balancing & Service Discovery

    • Describe how a service mesh handles load balancing between service instances.

      Mid
    • Explain how a service mesh can provide Layer 7 load balancing, and why this is more granular than Layer 4 load balancing.

      Mid
    • How does a service mesh handle non-HTTP protocols like raw TCP or gRPC traffic?

      Mid
    • How does a service mesh integrate with existing service discovery, and does it replace or augment Kubernetes DNS-based discovery?

      Mid
    • What is locality-aware load balancing, and why is it valuable in a multi-zone or multi-region mesh?

      Senior
    • What is the role of service discovery within a service mesh?

      Junior

    Sidecar Pattern & Injection

    • Describe the Sidecar Proxy pattern in a Service Mesh — what are its advantages and disadvantages in terms of functionality, performance, and operational overhead?

      Mid
    • Explain the concept of automatic sidecar injection and its importance.

      Mid
    • How does a service mesh typically intercept and manage traffic without requiring changes to application code?

      Mid
    • How does the mutating admission webhook enable automatic sidecar injection in Kubernetes?

      Mid
    • What is a sidecar proxy and what role does it play in a Service Mesh?

      Junior
    • What ordering or race-condition problems can arise from sidecar container startup, and how are they addressed?

      Senior

    Performance Cost & Operations

    • Discuss the resource overhead in CPU, memory, and latency that a service mesh with sidecars can introduce, and how it can be mitigated.

      Senior
    • How does a service mesh add per-request latency, and where in the request path does that overhead come from?

      Mid
    • What are the costs and tradeoffs of adopting a Service Mesh, such as performance overhead, operational complexity, and learning curve?

      Mid
    • What challenges have you faced while implementing a Service Mesh, and how did you resolve them?

      Senior
    • What strategies do you follow to ensure smooth upgrades and compatibility when dealing with new Service Mesh versions?

      Senior

    Observability & Debugging

    • Explain how a service mesh aids in distributed tracing, and what are the responsibilities of the application versus the mesh in propagating trace context?

      Senior
    • How can you monitor the performance of Istio itself?

      Senior
    • How does a service mesh enhance observability by providing L7 metrics like request rate, error rates, and latency without modifying application code?

      Mid
    • How does a tool like Kiali build and present the service topology or dependency graph?

      Mid
    • How would you debug why traffic between two meshed services is failing, and what proxy-level tools help?

      Senior
    • How would you use Istio's observability and monitoring capabilities?

      Mid
    • What access logs does a service mesh emit, and how do they complement metrics and traces?

      Junior
    • What kind of observability does a Service Mesh provide out-of-the-box, in terms of metrics, tracing, and logging?

      Junior
    • Which trace-context headers (e.g. B3 or W3C traceparent) must applications propagate for mesh-assisted distributed tracing to work end-to-end?

      Mid

    Fundamentals & Value Proposition

    • Explain the concept of north-south versus east-west traffic in a distributed system, and how a service mesh primarily addresses one of these.

      Mid
    • How does a service mesh differ from an API Gateway, and when would you use one over the other, or both?

      Mid
    • How does a Service Mesh differ from traditional load balancing and traditional networking?

      Mid
    • What is a service mesh, and what core problem does it aim to solve in a microservices architecture?

      Junior
    • What is the Service Mesh Interface (SMI), and what problem does it try to standardize?

      Senior
    • When considering API versioning across microservices, how can a service mesh assist in managing and coordinating these changes?

      Senior
    • When is a service mesh truly necessary, and when might it be considered overkill for a given application or organization?

      Mid
    • When should you install Istio in a Kubernetes cluster?

      Mid
    • Why would you use a service mesh instead of implementing cross-cutting concerns like retries, timeouts, and security directly in application code or client-side libraries?

      Mid

    Resilience & Rate Limiting

    • Explain the concept of outlier detection in a service mesh and its purpose.

      Senior
    • How can a service mesh enforce rate limiting at the mesh level?

      Mid
    • How can retries in a service mesh cause retry storms, and how do retry budgets mitigate this?

      Senior
    • How does a Service Mesh improve latency management in distributed systems?

      Senior
    • How does a Service Mesh provide resilience features such as circuit breaking, retries, and timeouts?

      Mid
    • What is fault injection in a service mesh, and how is it used for testing and improving system resilience?

      Mid
    • What is the difference between circuit breaking and outlier detection in a service mesh?

      Senior
    • What is the difference between local and global rate limiting in a service mesh?

      Senior

    Envoy & Xds Configuration

    • Explain the conceptual purpose of Envoy's xDS APIs (LDS, CDS, RDS, EDS) in dynamically configuring data plane proxies.

      Senior
    • Explain the role of Envoy proxy in modern Service Mesh implementations and why Envoy is a popular choice.

      Mid
    • What is Envoy, and why is it a popular choice as a data plane proxy in service meshes? Explain the conceptual role of xDS APIs (LDS, CDS, RDS, EDS) in dynamically configuring Envoy.

      Senior
    • Where does Istio's Envoy proxy run in the architecture?

      Junior

    Architecture Control & Data Plane

    • Explain the fundamental architecture of a service mesh, differentiating between the data plane and the control plane.

      Junior
    • How does the Control Plane dynamically configure the Data Plane proxies without downtime?

      Senior
    • What are the key components of a Service Mesh control plane, such as Istiod and CRDs like VirtualService, DestinationRule, and Gateway?

      Mid
    • What are the responsibilities of the Data Plane in a Service Mesh?

      Junior
    • What happens to the data plane if the control plane becomes unavailable?

      Senior
    • What is the conceptual mapping between Envoy's listeners, clusters, routes, and endpoints?

      Senior
    • Which Istio component handles traffic management?

      Junior

    Traffic Management & Routing

    • How can you customize a Service Mesh's behavior through policies and routing rules?

      Mid
    • How does a mesh control egress traffic, and why would you route it through an egress gateway?

      Mid
    • How does a Service Mesh enable advanced traffic management features like canary deployments, blue-green deployments, weighted routing, and traffic mirroring?

      Mid
    • How does a service mesh handle ingress and egress traffic for services within the mesh?

      Mid
    • How does a service mesh perform request routing based on headers, paths, or other request attributes?

      Mid
    • How does the Kubernetes Gateway API relate to a mesh's own traffic APIs, and why is the ecosystem shifting toward it?

      Senior
    • What are DestinationRules in Istio, and why are they used?

      Mid
    • What is a mesh (ingress) gateway, and how does it differ from a plain Kubernetes Ingress?

      Mid
    • What is a ServiceEntry, and when would you need one to bring external services into the mesh?

      Mid
    • What is an Istio VirtualService, and how does it differ from a DestinationRule?

      Mid
    • What is the purpose of the Sidecar CRD, and how can it be used to limit a proxy's configuration scope?

      Senior
    • What is traffic mirroring or shadowing in a service mesh, and when would you use it?

      Mid

    Security Identity & Mtls

    • How does a service mesh allow you to define and enforce service-to-service authorization policies?

      Mid
    • How does a Service Mesh improve security in microservices communication?

      Junior
    • How does a service mesh support workload identity and zero-trust networking?

      Mid
    • How does Istio handle authentication and authorization?

      Mid
    • What is mutual TLS (mTLS) in the context of a Service Mesh, why is it important, and how does the mesh enable it?

      Mid
    • What is SPIFFE, and what is an SVID in the context of workload identity in a service mesh?

      Senior
    • What is the difference between PeerAuthentication and AuthorizationPolicy in a service mesh?

      Senior
    • What is the role of the mesh Certificate Authority in a service mesh, and how does it manage certificate issuance and rotation for workloads?

      Senior

    Multi Cluster & Hybrid Topologies

    • How does a service mesh expand to include VMs or workloads running outside Kubernetes?

      Senior
    • How does a service mesh integrate with and extend Kubernetes networking capabilities?

      Mid
    • How does a service mesh support multi-cluster or hybrid cloud environments?

      Senior
    • What are the different approaches to multi-cluster mesh topologies, such as shared versus replicated control planes?

      Senior