0
0
Kubernetesdevops~5 mins

Sidecar proxy concept (Envoy) in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a sidecar proxy in Kubernetes?
A sidecar proxy is a helper container that runs alongside the main application container in the same pod. It manages network traffic, security, and communication without changing the main app.
Click to reveal answer
beginner
What role does Envoy play as a sidecar proxy?
Envoy acts as a sidecar proxy to handle service-to-service communication, load balancing, and security features like encryption, making apps more reliable and secure.
Click to reveal answer
intermediate
Why use a sidecar proxy instead of modifying the application?
Using a sidecar proxy lets you add features like traffic control and security without changing the app code. It keeps the app simple and focuses on its main job.
Click to reveal answer
intermediate
How does Envoy improve security in a Kubernetes environment?
Envoy encrypts traffic between services and can enforce policies, helping protect data and control who talks to whom inside the cluster.
Click to reveal answer
beginner
What is the main benefit of running Envoy as a sidecar proxy in a pod?
It provides consistent network features like retries, timeouts, and monitoring for the app without changing the app itself.
Click to reveal answer
What does a sidecar proxy typically run alongside in Kubernetes?
AThe Kubernetes master node
BA separate pod in the cluster
CThe main application container in the same pod
DA different namespace
Which of the following is a key feature of Envoy as a sidecar proxy?
ARunning database queries
BStoring application data
CScheduling pods
DManaging service-to-service communication
Why is a sidecar proxy preferred over modifying the application for network features?
AIt avoids changing the app code
BIt makes the app slower
CIt requires more resources
DIt disables security
How does Envoy enhance security between services?
ABy encrypting traffic and enforcing policies
BBy storing passwords
CBy running antivirus scans
DBy blocking all traffic
What is NOT a responsibility of a sidecar proxy like Envoy?
ALoad balancing
BApplication business logic
CTraffic routing
DMonitoring network traffic
Explain the concept of a sidecar proxy and why Envoy is commonly used for this purpose in Kubernetes.
Think about how adding helpers can improve communication without changing the main worker.
You got /4 concepts.
    Describe how Envoy as a sidecar proxy improves security and reliability in a Kubernetes environment.
    Consider how Envoy acts like a traffic controller and security guard for app communication.
    You got /4 concepts.