0
0
Kubernetesdevops~20 mins

Linkerd as lightweight alternative in Kubernetes - 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
Why choose Linkerd over other service meshes?

Linkerd is known as a lightweight service mesh. Which of the following reasons best explains why someone might choose Linkerd instead of a heavier service mesh like Istio?

ALinkerd has a smaller resource footprint and simpler setup, making it easier to run on limited hardware.
BLinkerd supports more complex policy configurations and custom resource definitions than Istio.
CLinkerd requires manual sidecar injection, which gives more control over deployments.
DLinkerd uses a custom network protocol that replaces HTTP/2 for faster communication.
Attempts:
2 left
💡 Hint

Think about what 'lightweight' means in terms of resource use and complexity.

💻 Command Output
intermediate
2:00remaining
Output of Linkerd check command

What is the expected output when running linkerd check on a healthy Kubernetes cluster with Linkerd installed?

Kubernetes
linkerd check
AStatus check results are all green with messages like 'linkerd control plane is up and running' and 'data plane proxies are injected and ready'.
BError messages indicating missing CRDs and control plane pods not found.
CA syntax error because 'linkerd check' requires additional flags.
DOutput showing only the version of Linkerd installed without any status checks.
Attempts:
2 left
💡 Hint

Think about what a health check command should report if everything is working.

Configuration
advanced
2:00remaining
Configuring automatic proxy injection in Linkerd

You want to enable automatic sidecar proxy injection for a Kubernetes namespace named production. Which command correctly enables this feature?

Akubectl annotate namespace production linkerd.io/auto-inject=true
Bkubectl annotate namespace production linkerd.io/inject=enabled
Ckubectl label namespace production linkerd.io/auto-inject=true
Dkubectl label namespace production linkerd.io/inject=enabled
Attempts:
2 left
💡 Hint

Think about whether Linkerd uses labels or annotations for enabling injection.

Troubleshoot
advanced
2:00remaining
Diagnosing Linkerd proxy injection failure

You deployed an application in a namespace annotated for Linkerd injection, but the pods do not have the Linkerd proxy sidecar. Which of the following is the most likely cause?

AThe application container image is missing the Linkerd proxy binary.
BThe Linkerd control plane pods are running but the Kubernetes API server is down.
CThe namespace annotation <code>linkerd.io/inject=enabled</code> was applied after the pods were created.
DThe pod spec has <code>linkerd.io/inject: disabled</code> annotation overriding the namespace annotation.
Attempts:
2 left
💡 Hint

Consider when annotations take effect and how pods get injected.

🔀 Workflow
expert
3:00remaining
Steps to migrate from Istio to Linkerd with minimal downtime

You want to replace Istio with Linkerd in your Kubernetes cluster without causing downtime. Which sequence of steps is the correct order to achieve this?

A1,3,2,4
B2,1,3,4
C2,3,1,4
D1,2,3,4
Attempts:
2 left
💡 Hint

Think about installing Linkerd first, then enabling injection, then restarting pods, and finally removing Istio.