Frequently asked questions and answers of Service Mesh (Istio, Linkerd) in Cloud Computing of Computer Science to enhance your skills, knowledge on the selected topic. We have compiled the best Service Mesh (Istio, Linkerd) Interview question and answer, trivia quiz, mcq questions, viva question, quizzes to prepare. Download Service Mesh (Istio, Linkerd) FAQs in PDF form online for academic course, jobs preparations and for certification exams .
Intervew Quizz is an online portal with frequently asked interview, viva and trivia questions and answers on various subjects, topics of kids, school, engineering students, medical aspirants, business management academics and software professionals.
Question-1. What is a service mesh?
Answer-1: A service mesh is a dedicated infrastructure layer for handling service-to-service communication in a microservices architecture.
Question-2. Why is a service mesh important?
Answer-2: It provides observability, traffic control, security, and reliability for microservices without changing application code.
Question-3. What are the key components of a service mesh?
Answer-3: The key components are data plane (sidecar proxies) and control plane (manages configuration and policies).
Question-4. What is Istio?
Answer-4: Istio is a popular open-source service mesh that provides advanced traffic management, security, and observability for microservices.
Question-5. What is Linkerd?
Answer-5: Linkerd is a lightweight, open-source service mesh designed for simplicity, performance, and security.
Question-6. What is a sidecar proxy?
Answer-6: A sidecar proxy is a separate container or process deployed alongside each service instance to intercept and manage network traffic.
Question-7. What proxy does Istio use?
Answer-7: Istio uses Envoy as its sidecar proxy.
Question-8. What proxy does Linkerd use?
Answer-8: Linkerd uses its own lightweight Rust-based proxy called `linkerd2-proxy`.
Question-9. How does a service mesh improve observability?
Answer-9: It collects telemetry data like metrics, logs, and traces from the sidecar proxies.
Question-10. What is mutual TLS (mTLS) in service mesh?
Answer-10: mTLS is a security feature where both client and server authenticate each other to establish trust and encrypt communication.
Question-11. Does Istio support mTLS?
Answer-11: Yes, Istio supports automatic mutual TLS between services.
Question-12. How does Linkerd simplify mTLS configuration?
Answer-12: Linkerd enables mTLS by default with minimal configuration, making security easy to adopt.
Question-13. What is traffic shifting in Istio?
Answer-13: Traffic shifting allows gradual rollout of new versions by sending a percentage of traffic to different service versions.
Question-14. Can Linkerd perform traffic splitting?
Answer-14: Yes, Linkerd supports traffic splitting for canary deployments and A/B testing.
Question-15. What is the control plane in a service mesh?
Answer-15: The control plane manages the configuration and policy rules for the data plane.
Question-16. What is the data plane in a service mesh?
Answer-16: The data plane handles the actual network traffic between services using sidecar proxies.
Question-17. What is Istiod?
Answer-17: Istiod is Istio?s control plane component that manages configuration, certificates, and policy enforcement.
Question-18. How does Linkerd differ from Istio?
Answer-18: Linkerd is simpler and lighter, with easier setup and fewer dependencies, while Istio offers more advanced features.
Question-19. What is Envoy?
Answer-19: Envoy is a high-performance proxy developed by Lyft and used by Istio as its sidecar.
Question-20. What programming language is Linkerd?s proxy written in?
Answer-20: Linkerd's proxy is written in Rust for performance and safety.
Question-21. What is telemetry in service mesh?
Answer-21: Telemetry includes collecting metrics, logs, and traces to monitor and troubleshoot service communication.
Question-22. Can Istio integrate with Prometheus?
Answer-22: Yes, Istio integrates natively with Prometheus for metrics collection.
Question-23. Can Linkerd integrate with Grafana?
Answer-23: Yes, Linkerd works well with Grafana for visualizing metrics and service performance.
Question-24. What is a virtual service in Istio?
Answer-24: A virtual service defines how requests are routed to a service in Istio.
Question-25. What is a destination rule in Istio?
Answer-25: A destination rule defines policies for traffic to a service, such as load balancing and TLS settings.
Question-26. How does Linkerd provide observability?
Answer-26: Linkerd provides built-in dashboards, metrics, and tap features for live traffic inspection.
Question-27. What is automatic sidecar injection?
Answer-27: Automatic sidecar injection automatically adds the sidecar proxy to pods in specified namespaces.
Question-28. What is circuit breaking in service mesh?
Answer-28: Circuit breaking prevents cascading failures by stopping requests to services that are failing or overloaded.
Question-29. Does Istio support circuit breaking?
Answer-29: Yes, Istio supports circuit breaking through destination rules.
Question-30. How can retries be configured in Istio?
Answer-30: Retries can be configured in the virtual service with retry count and timeout settings.
Question-31. What is rate limiting in service mesh?
Answer-31: Rate limiting controls the number of requests a service can receive in a given time frame.
Question-32. How does Istio enable rate limiting?
Answer-32: Istio supports rate limiting using Envoy filters or external policy systems like Redis.
Question-33. What is ingress gateway in Istio?
Answer-33: An ingress gateway manages external traffic entering the mesh.
Question-34. What is egress gateway in Istio?
Answer-34: An egress gateway controls external traffic leaving the mesh to ensure security and visibility.
Question-35. What is the role of namespaces in Istio?
Answer-35: Namespaces group services and allow applying policies and configurations to specific environments.
Question-36. How is Linkerd installed?
Answer-36: Linkerd can be installed using the Linkerd CLI and requires minimal configuration.
Question-37. What are the prerequisites for installing Istio?
Answer-37: Istio requires Kubernetes and tools like `istioctl` or Helm for installation.
Question-38. What is service discovery in service mesh?
Answer-38: Service discovery enables automatic detection of services and routing between them.
Question-39. How does Istio perform service discovery?
Answer-39: Istio uses Kubernetes DNS and service registry to discover services.
Question-40. What is tap in Linkerd?
Answer-40: `linkerd tap` is a CLI command to observe real-time request and response data for a service.
Question-41. Can Istio be used with non-Kubernetes environments?
Answer-41: Istio is primarily designed for Kubernetes but can be extended to VMs with additional setup.
Question-42. What is SMI (Service Mesh Interface)?
Answer-42: SMI is a standard interface specification to provide a common way for service meshes to expose capabilities.
Question-43. Does Linkerd support SMI?
Answer-43: Yes, Linkerd supports SMI for compatibility with tools and environments.
Question-44. What is a mesh expansion?
Answer-44: Mesh expansion is the process of adding non-Kubernetes workloads or VMs to the service mesh.
Question-45. How do you monitor Linkerd?
Answer-45: Using the Linkerd dashboard, Prometheus, and Grafana.
Question-46. What logging tools are used with Istio?
Answer-46: Istio supports integration with Fluentd, Elasticsearch, and Kibana for centralized logging.
Question-47. What is zero-trust security in service mesh?
Answer-47: Zero-trust means enforcing authentication, authorization, and encryption for every communication.
Question-48. How is authorization managed in Istio?
Answer-48: Istio uses authorization policies based on roles and attributes to allow or deny requests.
Question-49. What are the main use cases of service mesh?
Answer-49: Use cases include observability, secure service communication, traffic control, and resilience in microservices.
Question-50. What is the future of service mesh technology?
Answer-50: Service mesh is evolving toward greater simplicity, interoperability, and deeper integration with DevOps and CI/CD pipelines.
Frequently Asked Question and Answer on Service Mesh (Istio, Linkerd)
Service Mesh (Istio, Linkerd) Interview Questions and Answers in PDF form Online
Service Mesh (Istio, Linkerd) Questions with Answers
Service Mesh (Istio, Linkerd) Trivia MCQ Quiz